/* ═══════════════════════════════════════════════════════
   Tax Efficiency — Landing Page
   Premium financial advisory aesthetic
   ═══════════════════════════════════════════════════════ */

/* ── Foundations ── */
:root {
    --navy:        #0c1a2e;
    --navy-light:  #142640;
    --blue:        #1e6ab5;
    --blue-light:  #4a9fd4;
    --gold:        #c9a84c;
    --gold-light:  #ddc478;
    --white:       #ffffff;
    --off-white:   #f7f8fa;
    --gray-50:     #f0f2f5;
    --gray-100:    #e4e7ec;
    --gray-300:    #9aa5b4;
    --gray-600:    #4a5568;
    --gray-800:    #1a2332;
    --text:        #1a2c4e;
    --text-muted:  #5a7a9e;
    --radius:      6px;
    --radius-lg:   10px;
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.06);
    --shadow-md:   0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg:   0 12px 40px rgba(0,0,0,0.12);
    --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
.section-eyebrow.light { color: var(--gold-light); }

.section-title {
    font-size: 2.4rem;
    color: var(--navy);
    margin-bottom: 1rem;
    max-width: 600px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 3rem;
}

.section-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ═══════════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════════ */
.nav-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(12, 26, 46, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow var(--transition);
}
.nav-bar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.25); }

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-icon { font-size: 1.5rem; }
.brand-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    margin-left: auto;
}
.nav-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}
.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.nav-login {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}
.nav-login:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
}

/* ═══════════════════════════════════════════════════════
   Hero
   ═══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, var(--navy) 0%, #0f2a4a 40%, #143358 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(30,106,181,0.15) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(201,168,76,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    padding: 8rem 2rem 6rem;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-sub {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--gold);
    color: var(--navy);
    padding: 0.85rem 2.25rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    letter-spacing: 0.01em;
}
.btn-hero-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    padding: 0.85rem 2.25rem;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════════════════════════════
   Value Strip
   ═══════════════════════════════════════════════════════ */
.value-strip {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.value-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.value-item { text-align: center; }

.value-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.value-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.value-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-100);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   Expertise / Features
   ═══════════════════════════════════════════════════════ */
.expertise {
    padding: 6rem 0;
    background: var(--off-white);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.expertise-card {
    position: relative;
    background: var(--white);
    padding: 2.25rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    overflow: hidden;
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-accent {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--gold) 100%);
    opacity: 0;
    transition: opacity var(--transition);
}
.expertise-card:hover .card-accent { opacity: 1; }

.card-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.expertise-card h3 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.expertise-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════
   Approach
   ═══════════════════════════════════════════════════════ */
.approach {
    padding: 6rem 0;
    background: var(--white);
}

.approach-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-text p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.approach-text .section-title { max-width: 460px; }

.approach-highlights {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--navy);
}

.highlight-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

/* Visual comparison bars */
.approach-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visual-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-100);
}
.visual-card.accent {
    background: var(--navy);
    border-color: var(--navy);
}
.visual-card.accent .visual-label,
.visual-card.accent .visual-caption { color: rgba(255,255,255,0.6); }

.visual-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.visual-bar {
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.bar-before {
    background: var(--gray-100);
    color: var(--navy);
    width: 100%;
}

.bar-after {
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
    color: var(--white);
    width: 81%;
}

.visual-caption {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.visual-saving {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold);
}

/* ═══════════════════════════════════════════════════════
   Results / Scenarios
   ═══════════════════════════════════════════════════════ */
.results {
    padding: 6rem 0;
    background: var(--off-white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.result-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.result-card:hover { box-shadow: var(--shadow-md); }

.result-card.featured {
    background: var(--navy);
    border-color: var(--navy);
    transform: scale(1.04);
    box-shadow: var(--shadow-lg);
}
.result-card.featured .result-header,
.result-card.featured .result-label { color: rgba(255,255,255,0.6); }
.result-card.featured .result-amount { color: var(--white); }

.result-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 1rem;
    border-radius: 20px;
}

.result-header {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.result-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.result-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.result-detail {
    border-top: 1px solid var(--gray-100);
    padding-top: 1.25rem;
}
.result-card.featured .result-detail { border-top-color: rgba(255,255,255,0.1); }

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray-600);
    padding: 0.35rem 0;
}
.result-card.featured .detail-row { color: rgba(255,255,255,0.55); }
.detail-row.saving {
    color: var(--gold);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════ */
.cta {
    padding: 6rem 2rem;
    background: linear-gradient(160deg, var(--navy) 0%, #0f2a4a 100%);
    text-align: center;
}

.cta-inner { max-width: 600px; margin: 0 auto; }

.cta h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════ */
.site-footer {
    background: var(--gray-800);
    color: rgba(255,255,255,0.6);
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

.footer-brand .brand-icon { font-size: 1.3rem; }
.footer-brand .brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.footer-tagline {
    width: 100%;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.75rem;
    max-width: 280px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.footer-col a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* ═══════════════════════════════════════════════════════
   Login Modal
   ═══════════════════════════════════════════════════════ */
.login-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 26, 46, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.login-modal.active { display: flex; }

.login-card {
    position: relative;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 400px;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.login-brand {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.login-card h2 {
    font-size: 1.6rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 0.25rem;
}

.login-card > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
}
.form-group input {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    transition: border-color var(--transition);
    background: var(--off-white);
}
.form-group input:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--white);
}

.login-btn {
    width: 100%;
    background: var(--navy);
    color: var(--white);
    padding: 0.8rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition);
    margin-top: 0.5rem;
}
.login-btn:hover { background: var(--blue); }

.login-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--gray-300);
    transition: color var(--transition);
    line-height: 1;
}
.login-close:hover { color: var(--navy); }

/* ═══════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .expertise-grid { grid-template-columns: repeat(2, 1fr); }
    .approach-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .nav-links.open { display: flex; }
    .nav-mobile-toggle { display: flex; }
    .nav-login { display: none; }

    .hero-content { padding: 7rem 1.5rem 4rem; }
    .hero h1 { font-size: 2.6rem; }
    .hero-sub { font-size: 1.05rem; }

    .value-inner { flex-direction: column; gap: 1.5rem; }
    .value-divider { width: 48px; height: 1px; }

    .section-container { padding: 0 1.5rem; }
    .section-title { font-size: 1.8rem; }
    .expertise, .approach, .results { padding: 4rem 0; }

    .expertise-grid,
    .results-grid { grid-template-columns: 1fr; }
    .result-card.featured { transform: scale(1); }

    .footer-inner { flex-direction: column; }
    .footer-links { gap: 2rem; }

    .cta h2 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-actions { flex-direction: column; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; text-align: center; }
}
