/* ========== SHARED STYLES ========== */
/* Common styles used across all Sendero Coaching pages */

/* ========== CSS VARIABLES ========== */
:root {
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --emerald-300: #6ee7b7;
    --emerald-200: #a7f3d0;
    --emerald-100: #d1fae5;
    --emerald-50: #ecfdf5;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ========== RESET + BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--slate-50);
    color: var(--slate-700);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ========== HEADER ========== */
header {
    padding: 18px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
}
header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-mark {
    width: 38px; height: 38px;
    background: linear-gradient(145deg, var(--emerald-600), var(--emerald-500));
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 600; font-size: 19px;
    font-family: var(--font-display);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}
.logo-text {
    font-family: var(--font-display);
    font-size: 21px; font-weight: 600;
    color: var(--slate-900);
    letter-spacing: -0.03em;
}
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a {
    font-size: 14px; font-weight: 500;
    color: var(--slate-500); text-decoration: none;
    transition: color 0.2s;
}
.header-nav a:hover { color: var(--slate-900); }
a.btn-header {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 20px;
    background: var(--emerald-600); color: white;
    border-radius: 9px; font-size: 14px; font-weight: 600;
    text-decoration: none; transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}
a.btn-header:hover {
    background: var(--emerald-700); color: white;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
    transform: translateY(-1px);
}
a.btn-header svg { width: 16px; height: 16px; }

/* Mobile hamburger button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--slate-700);
}
.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

/* Mobile navigation panel */
.mobile-nav {
    display: none;
    position: fixed;
    top: 74px; /* below header */
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    z-index: 99;
    padding: 16px 24px 24px;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav.open {
    display: flex;
}
.mobile-nav a {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--slate-700);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.15s;
}
.mobile-nav a:hover {
    background: var(--slate-50);
    color: var(--slate-900);
}
.mobile-nav a.mobile-cta {
    display: block;
    margin-top: 8px;
    padding: 14px 16px;
    background: var(--emerald-600);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}
.mobile-nav a.mobile-cta:hover {
    background: var(--emerald-700);
}

/* ========== MEGA-MENU DROPDOWN ========== */
.nav-dropdown-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nav-dropdown-trigger .chevron-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}
.nav-dropdown-wrap.open .nav-dropdown-trigger .chevron-icon {
    transform: rotate(180deg);
}
.features-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
    z-index: 200;
    min-width: 520px;
}
.nav-dropdown-wrap.open .features-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 12px;
}
.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s ease;
}
.mega-menu-item:hover {
    background: var(--slate-50);
}
.mega-menu-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--emerald-50);
    color: var(--emerald-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.mega-menu-icon svg {
    width: 18px;
    height: 18px;
}
.mega-menu-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-900);
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}
.mega-menu-desc {
    font-size: 12.5px;
    color: var(--slate-500);
    line-height: 1.4;
}

/* ========== MOBILE FEATURES ACCORDION ========== */
.mobile-features-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.mobile-features-toggle .chevron-icon {
    width: 16px;
    height: 16px;
    color: var(--slate-400);
    transition: transform 0.2s ease;
}
.mobile-features-toggle.open .chevron-icon {
    transform: rotate(180deg);
}
.mobile-features-sub {
    display: none;
    flex-direction: column;
    gap: 0;
    padding-left: 16px;
    border-left: 2px solid var(--emerald-200);
    margin-left: 16px;
    margin-bottom: 4px;
    overflow: hidden;
}
.mobile-features-sub.open {
    display: flex;
}
.mobile-features-sub a {
    padding: 8px 16px !important;
    font-size: 14px !important;
    color: var(--slate-500) !important;
}
.mobile-features-sub a:hover {
    color: var(--emerald-600) !important;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px;
    background: var(--emerald-600); color: white;
    border-radius: 12px; font-size: 16px; font-weight: 600;
    text-decoration: none; transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
    font-family: var(--font-body);
}
.btn-primary:hover {
    background: var(--emerald-700);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    transform: translateY(-2px);
}
.btn-primary svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 24px;
    color: var(--slate-600); border-radius: 12px;
    font-size: 16px; font-weight: 500;
    text-decoration: none; transition: all 0.2s;
    border: 1px solid var(--slate-200);
    background: var(--white);
}
.btn-ghost:hover {
    border-color: var(--slate-300);
    color: var(--slate-900);
    background: var(--slate-50);
}

/* ========== ANIMATIONS / REVEAL ========== */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ========== SECTIONS + HEADINGS ========== */
section { padding: 100px 0; }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--emerald-600); margin-bottom: 16px;
}
.section-eyebrow::before {
    content: ''; width: 20px; height: 2px;
    background: var(--emerald-500); border-radius: 1px;
}
h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 40px); font-weight: 600;
    color: var(--slate-900); letter-spacing: -0.03em;
    line-height: 1.15; margin-bottom: 16px;
}
.section-sub {
    color: var(--slate-500); font-size: 17px;
    max-width: 540px; line-height: 1.6;
}
.section-header { margin-bottom: 56px; }

/* ========== FEATURE ROW LAYOUT ========== */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-text { max-width: 480px; }
.feature-text h2 { margin-bottom: 18px; }
.feature-text p { color: var(--slate-500); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 15px; color: var(--slate-600); line-height: 1.5;
}
.feature-list li svg { width: 20px; height: 20px; color: var(--emerald-500); flex-shrink: 0; margin-top: 2px; }
.feature-visual { border-radius: 20px; overflow: hidden; position: relative; }

/* ========== CTA SECTION ========== */
.cta-section { text-align: center; padding: 100px 0; position: relative; overflow: hidden; }
.cta-glow {
    position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, var(--emerald-50) 0%, transparent 70%);
    opacity: 0.5; pointer-events: none;
}
.cta-section h2 { position: relative; z-index: 1; font-size: clamp(32px, 5vw, 44px); margin-bottom: 16px; }
.cta-section p {
    position: relative; z-index: 1;
    font-size: 18px; color: var(--slate-500);
    margin-bottom: 36px; max-width: 500px;
    margin-left: auto; margin-right: auto;
}
.cta-section .hero-actions { position: relative; z-index: 1; }

/* ========== FOOTER ========== */
footer {
    padding: 56px 0 40px;
    border-top: 1px solid var(--slate-200);
    background: var(--white);
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--slate-400);
    line-height: 1.6;
}

.footer-columns {
    display: flex;
    gap: 56px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 14px;
    color: var(--slate-500);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--emerald-600);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--slate-100);
    gap: 16px;
    flex-wrap: wrap;
}

.footer-legal {
    font-size: 13px;
    color: var(--slate-400);
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    font-size: 13px;
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: var(--emerald-600);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: all 0.2s;
}

.footer-social a:hover {
    transform: translateY(-1px);
    background: var(--slate-50);
}

.footer-social svg {
    width: 22px;
    height: 22px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    border-top: 1px solid var(--slate-200);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    padding: 20px 24px;
    display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.cookie-banner-text {
    font-size: 14px;
    color: var(--slate-600);
    line-height: 1.5;
    flex: 1;
}
.cookie-banner-text a {
    color: var(--emerald-600);
    text-decoration: none;
}
.cookie-banner-text a:hover { text-decoration: underline; }
.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 9px 20px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.cookie-btn-accept {
    background: var(--emerald-600);
    color: white;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}
.cookie-btn-accept:hover {
    background: var(--emerald-700);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}
.cookie-btn-decline {
    background: var(--slate-100);
    color: var(--slate-600);
}
.cookie-btn-decline:hover {
    background: var(--slate-200);
    color: var(--slate-800);
}

@media (max-width: 640px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; }
    .cookie-banner-actions { justify-content: stretch; }
    .cookie-btn { flex: 1; text-align: center; }
}

/* ========== APP STORE BADGE ========== */
.app-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 20px 10px 16px;
    background: var(--white);
    color: var(--slate-900);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    border: 1px solid var(--slate-200);
}
.app-store-badge:hover {
    background: var(--slate-100);
    transform: translateY(-1px);
}
.app-store-badge svg {
    flex-shrink: 0;
}
.app-store-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
}
.app-store-badge-sub {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--slate-600);
}
.app-store-badge-sm {
    margin-top: 14px;
    padding: 8px 14px 8px 12px;
    border-radius: 8px;
}
.app-store-badge-sm .app-store-badge-text {
    font-size: 13px;
}
.app-store-badge-sm .app-store-badge-sub {
    font-size: 9px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .feature-row { grid-template-columns: 1fr; gap: 40px; }
    .feature-row.reverse { direction: ltr; }
    .footer-top { flex-direction: column; }
}

@media (max-width: 640px) {
    .header-nav { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    section { padding: 64px 0; }
    .footer-columns { gap: 32px; }
}
