/* ============================================================
   Landing Page — Contract Box Realty
   Public marketing page (index.html)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:        #1a3a5c;
    --navy-dark:   #0f2440;
    --navy-mid:    #243d5c;
    --gold:        #c9a84c;
    --gold-dark:   #a8872e;
    --gold-light:  #e8c96a;
    --white:       #ffffff;
    --off-white:   #f8f9fc;
    --text:        #1a1a2e;
    --text-mid:    #444;
    --text-muted:  #777;
    --border:      #dde3ec;
    --radius:      12px;
    --radius-lg:   20px;
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:   0 6px 24px rgba(0,0,0,0.12);
    --shadow-lg:   0 16px 48px rgba(0,0,0,0.18);
    --font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

/* ── Containers ─────────────────────────────────────────────────────────────── */
.ln-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Shared section styles ──────────────────────────────────────────────────── */
.ln-section { padding: 80px 0; }
.ln-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 52px;
}
.ln-section-eyebrow {
    display: inline-block;
    background: rgba(201,168,76,0.12);
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.ln-section-header h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 14px;
}
.ln-section-header p {
    font-size: 17px;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ── NAV ─────────────────────────────────────────────────────────────────────── */
.ln-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.ln-nav.scrolled {
    background: var(--navy-dark);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.ln-nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ln-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}
.ln-logo strong { font-weight: 700; }
.ln-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--gold);
    flex-shrink: 0;
}
.ln-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ln-nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 15px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.15s;
}
.ln-nav-links a:hover { color: var(--white); }

.ln-btn-outline {
    border: 1px solid rgba(255,255,255,0.4) !important;
    color: var(--white) !important;
}
.ln-btn-outline:hover { border-color: rgba(255,255,255,0.8) !important; background: rgba(255,255,255,0.08) !important; }

.ln-btn-solid {
    background: var(--gold) !important;
    color: var(--navy-dark) !important;
    font-weight: 700 !important;
    border-radius: 8px;
    padding: 9px 20px !important;
    transition: background 0.15s !important;
}
.ln-btn-solid:hover { background: var(--gold-light) !important; }

/* Hamburger */
.ln-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.ln-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.25s;
    transform-origin: center;
}
.ln-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ln-hamburger.open span:nth-child(2) { opacity: 0; }
.ln-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.ln-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 24px 20px;
    background: var(--navy-dark);
    border-top: 1px solid rgba(255,255,255,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.ln-mobile-menu.open { display: flex; max-height: 400px; }
.ln-mobile-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ln-mobile-cta {
    margin-top: 12px;
    text-align: center;
    border-radius: 8px;
    padding: 13px 20px !important;
    font-size: 16px;
}

/* ── HERO ─────────────────────────────────────────────────────────────────────── */
.ln-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    overflow: hidden;
}
.ln-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1e4d7b 100%);
    z-index: 0;
}
.ln-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.ln-hero > .ln-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.ln-hero-eyebrow {
    display: inline-block;
    background: rgba(201,168,76,0.15);
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.ln-hero-headline {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.ln-gold { color: var(--gold); }
.ln-hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 500px;
}
.ln-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.ln-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--navy-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 10px;
    transition: background 0.15s, transform 0.15s;
}
.ln-hero-btn-primary svg { width: 18px; height: 18px; }
.ln-hero-btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.ln-hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 24px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.15s;
}
.ln-hero-btn-ghost:hover { border-color: rgba(255,255,255,0.7); color: var(--white); }

.ln-hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.ln-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}
.ln-trust-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* Hero card */
.ln-hero-visual { display: flex; justify-content: center; }
.ln-hero-card {
    background: var(--white);
    border-radius: 20px;
    padding: 28px 28px 24px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 360px;
}
.ln-hc-address { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.ln-hc-price   { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.ln-hc-row     { font-size: 13px; color: var(--text-mid); margin-bottom: 14px; }
.ln-hc-status  {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 7px 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.ln-status-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.3); }
}
.ln-hc-savings {
    border-top: 1px solid var(--border);
    padding-top: 18px;
}
.ln-savings-label  { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.ln-savings-amount { font-size: 28px; font-weight: 800; color: var(--gold-dark); }
.ln-savings-sub    { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── HOW IT WORKS ────────────────────────────────────────────────────────────── */
.ln-how { background: var(--off-white); }
.ln-how .ln-section-header h2 { color: var(--navy); }
.ln-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
}
.ln-step {
    flex: 1;
    text-align: center;
    padding: 28px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.ln-step-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ln-step-icon { font-size: 32px; margin-bottom: 12px; }
.ln-step h3   { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.ln-step p    { font-size: 14px; color: var(--text-mid); line-height: 1.55; }
.ln-step-arrow {
    flex-shrink: 0;
    align-self: center;
    font-size: 22px;
    color: var(--gold);
    padding: 0 8px;
    margin-top: -14px;
}

/* ── PRICING ─────────────────────────────────────────────────────────────────── */
.ln-pricing { background: var(--white); }
.ln-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
    margin-bottom: 28px;
}
.ln-tier {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}
.ln-tier:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ln-tier-featured {
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}
.ln-tier-featured:hover { transform: scale(1.02) translateY(-2px); }
.ln-tier-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}
.ln-tier-header { text-align: center; margin-bottom: 24px; }
.ln-tier-name  { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.ln-tier-price { font-size: 42px; font-weight: 800; color: var(--navy); line-height: 1; }
.ln-tier-sub   { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.ln-tier-features {
    list-style: none;
    flex: 1;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ln-tier-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.4;
}
.ln-tier-features svg { width: 16px; height: 16px; color: var(--gold-dark); flex-shrink: 0; margin-top: 1px; }

.ln-tier-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.15s;
    margin-top: auto;
}
.ln-tier-btn-outline {
    border: 2px solid var(--navy);
    color: var(--navy);
    background: transparent;
}
.ln-tier-btn-outline:hover { background: var(--navy); color: var(--white); }
.ln-tier-btn-primary {
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
}
.ln-tier-btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); }

.ln-pricing-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.ln-pricing-note a { color: var(--navy); }

/* ── WHY CONTRACT BOX ────────────────────────────────────────────────────────── */
.ln-why { background: var(--navy-dark); }
.ln-why .ln-section-header h2 { color: var(--white); }
.ln-why .ln-section-header p  { color: rgba(255,255,255,0.65); }
.ln-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.ln-why-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: background 0.2s, border-color 0.2s;
}
.ln-why-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(201,168,76,0.4); }
.ln-why-icon { font-size: 32px; margin-bottom: 14px; }
.ln-why-card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.ln-why-card p  { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.55; }

/* ── CTA BANNER ──────────────────────────────────────────────────────────────── */
.ln-cta-banner {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    padding: 72px 0;
}
.ln-cta-content { text-align: center; }
.ln-cta-content h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; color: var(--navy-dark); margin-bottom: 12px; }
.ln-cta-content p  { font-size: 17px; color: rgba(15,36,64,0.75); margin-bottom: 32px; }
.ln-cta-content .ln-hero-btn-primary {
    background: var(--navy-dark);
    color: var(--white);
}
.ln-cta-content .ln-hero-btn-primary:hover { background: var(--navy); }

/* ── FOOTER ──────────────────────────────────────────────────────────────────── */
.ln-footer {
    background: #08151f;
    padding: 56px 0 0;
    color: rgba(255,255,255,0.6);
}
.ln-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ln-footer-brand .ln-logo { margin-bottom: 14px; }
.ln-footer-brand p { font-size: 13px; line-height: 1.6; }
.ln-footer-links  { display: flex; gap: 48px; flex-wrap: wrap; }
.ln-footer-col    { display: flex; flex-direction: column; gap: 10px; }
.ln-footer-col-title { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.ln-footer-col a  { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; transition: color 0.15s; }
.ln-footer-col a:hover { color: var(--white); }
.ln-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 13px;
}
.ln-footer-staff { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 12px; }
.ln-footer-staff:hover { color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .ln-nav-links { display: none; }
    .ln-hamburger { display: flex; }

    .ln-hero > .ln-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .ln-hero-sub { max-width: 100%; }
    .ln-hero-actions { justify-content: center; }
    .ln-hero-trust   { justify-content: center; }
    .ln-hero-visual  { order: -1; }
    .ln-hero-card    { max-width: 320px; }

    .ln-tiers { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .ln-tier-featured { transform: scale(1); }
    .ln-tier-featured:hover { transform: translateY(-2px); }

    .ln-steps {
        flex-direction: column;
        max-width: 400px;
        margin: 0 auto;
    }
    .ln-step-arrow { transform: rotate(90deg); align-self: center; margin: 4px 0; }
}

@media (max-width: 600px) {
    .ln-section { padding: 56px 0; }
    .ln-hero { padding: 90px 0 60px; min-height: auto; }
    .ln-hero-headline { font-size: 32px; }
    .ln-hero-sub { font-size: 16px; }
    .ln-hero-actions { flex-direction: column; align-items: stretch; }
    .ln-hero-btn-primary, .ln-hero-btn-ghost { justify-content: center; }
    .ln-footer-inner { flex-direction: column; }
    .ln-footer-links { gap: 28px; }
    .ln-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
