/* ================================================================
   light.css — Light White + Gold premium layer
   Used by: index.html, pro.html  (load AFTER home.css / pro.css)
   Replaces the big teal blocks (hero, CTA, modal header, nav-over-hero)
   with soft white surfaces. Teal stays only as the brand accent
   (buttons, numbers, links). Delete this file to revert.
================================================================ */

:root {
    --gold-1: #9a6a10;
    --gold-2: #c6922a;
    --gold-3: #d6a636;
    --gold-4: #e8c04f;
    --gold-rgb: 201, 146, 42;
}

/* ─── Navigation: dark text on light hero (before scroll too) ─── */
nav .logo-text { color: var(--text); }
nav .logo-text span { color: var(--primary); }
.mobile-toggle { color: var(--text); }

.nav-links {
    background: rgba(255,255,255,0.72);
    border-color: rgba(15,23,42,0.08);
    box-shadow: 0 2px 14px rgba(15,23,42,0.05), inset 0 1px 0 rgba(255,255,255,0.9);
}
.nav-links a { color: #475569; }
.nav-links a:hover { color: var(--primary); background: rgba(15,118,110,0.07); }

.nav-cta .btn-nav,
.nav-cta .btn-primary {
    background: var(--gradient-2);
    border: 1px solid transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(15,118,110,0.22);
}
.nav-cta .btn-nav:hover,
.nav-cta .btn-primary:hover {
    background: var(--gradient-2);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(15,118,110,0.32);
}
.nav-cta .btn-login {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary-100);
    box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
.nav-cta .btn-login:hover { background: var(--primary-50); border-color: var(--primary-light); box-shadow: none; }
.nav-cta .btn-login::after { background: linear-gradient(100deg, transparent, rgba(var(--gold-rgb),.28), transparent); }

/* ─── Hero: white canvas, soft gold + teal glows ─── */
.hero {
    background: linear-gradient(180deg, #ffffff 0%, #fafdfc 50%, #f1f9f6 100%);
    color: var(--text);
}
.hero::before { background: radial-gradient(circle, rgba(233,196,94,0.22) 0%, transparent 65%); }
.hero::after  { background: radial-gradient(circle, rgba(20,184,166,0.10) 0%, transparent 60%); }
.hero-pattern { background-image: radial-gradient(rgba(15,23,42,0.055) 1px, transparent 1px); }

.hero-badge {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(var(--gold-rgb),0.38);
    color: #475569;
    box-shadow: 0 2px 14px rgba(var(--gold-rgb),0.12);
}
.hero-badge .dot { background: var(--gold-2); box-shadow: 0 0 0 3px rgba(var(--gold-rgb),0.18); }

.hero h1 { color: var(--text); }

/* Gold headline — "Every Industry." with slow shimmer + drawn underline */
.hero h1 .highlight {
    position: relative;
    display: inline-block;
    padding-bottom: 0.06em;
    background-image: linear-gradient(105deg,
        var(--gold-1) 0%, var(--gold-2) 18%, var(--gold-3) 34%,
        var(--gold-4) 42%, var(--gold-3) 50%, var(--gold-2) 66%,
        var(--gold-1) 84%, var(--gold-2) 100%);
    background-size: 260% 100%;
    background-position: 100% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 2px 14px rgba(var(--gold-rgb),0.28));
    animation: goldShimmer 6s ease-in-out infinite alternate;
}
.hero h1 .highlight::after {
    content: '';
    position: absolute;
    left: 3%; right: 3%; bottom: -0.02em;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, #d9ae43 20%, #f3d77c 50%, #d9ae43 80%, transparent);
    transform: scaleX(0);
    transform-origin: center;
    animation: goldLine 1.3s 0.5s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes goldShimmer { from { background-position: 100% 50%; } to { background-position: 0% 50%; } }
@keyframes goldLine { to { transform: scaleX(1); } }

.hero .subtitle,
.hero p { color: #475569; }

.hero-stats { border-top-color: rgba(15,23,42,0.08); }
.hero-stat h3 { color: var(--primary); }
.hero-stat p { color: #64748b; }

.hero-wave svg path { fill: #ffffff; }

/* Hero buttons: teal primary + white secondary (gold edge on hover) */
.hero .btn-white,
.hero .btn-primary {
    background: var(--gradient-2);
    color: #fff;
    box-shadow: 0 10px 28px rgba(15,118,110,0.25);
}
.hero .btn-white:hover,
.hero .btn-primary:hover { box-shadow: 0 14px 34px rgba(15,118,110,0.34); }
.hero .btn-glass,
.hero .btn-outline {
    background: #fff;
    color: var(--text);
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}
.hero .btn-glass:hover,
.hero .btn-outline:hover {
    background: #fffdf6;
    border-color: #d9b14f;
    box-shadow: 0 6px 18px rgba(var(--gold-rgb),0.18);
}

/* Pro hero: app preview + floating badges on white */
.app-preview {
    border: 1px solid #e2e8f0;
    box-shadow: 0 30px 70px rgba(15,23,42,0.14), 0 0 0 1px rgba(15,23,42,0.03);
}
.hero-float-badge {
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 32px rgba(15,23,42,0.12);
}

/* ─── CTA: light white, gold + teal glows ─── */
.cta,
.cta-section {
    background: linear-gradient(135deg, #fffcf3 0%, #f2faf7 50%, #ffffff 100%);
    color: var(--text);
    border-top: 1px solid #eef2f1;
}
.cta::before,
.cta-section::before {
    top: -200px; right: -160px; width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(233,196,94,0.20) 0%, transparent 65%);
}
.cta::after,
.cta-section::after {
    content: ''; position: absolute; bottom: -180px; left: -140px;
    width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(20,184,166,0.10) 0%, transparent 65%);
    pointer-events: none;
}
.cta h2,
.cta-content h2 { color: var(--text); line-height: 1.2; }
.cta h2::before,
.cta-content h2::before {
    content: ''; display: block; width: 56px; height: 3px; margin: 0 auto 22px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold-2), #f3d77c, var(--gold-2));
}
.cta p,
.cta-content p { color: var(--text-secondary); opacity: 1; }

.cta .btn-white,
.cta-section .btn-white {
    background: var(--gradient-2);
    color: #fff;
    box-shadow: 0 10px 28px rgba(15,118,110,0.25);
}
.cta .btn-white:hover,
.cta-section .btn-white:hover { box-shadow: 0 14px 34px rgba(15,118,110,0.34); }
.cta .btn-glass,
.cta-section .btn-outline {
    background: #fff;
    color: var(--text);
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}
.cta .btn-glass:hover,
.cta-section .btn-outline:hover {
    background: #fffdf6;
    border-color: #d9b14f;
    box-shadow: 0 6px 18px rgba(var(--gold-rgb),0.18);
}

/* ─── Modals: light header with gold hairline ─── */
.modal-header {
    background: linear-gradient(135deg, #fffcf3 0%, #f1faf7 100%);
    color: var(--text);
    border-bottom: 1px solid rgba(var(--gold-rgb),0.25);
}
.modal-header p { color: var(--text-secondary); opacity: 1; }
.modal-close { background: rgba(15,23,42,0.06); color: #334155; }
.modal-close:hover { background: rgba(15,23,42,0.12); }
.elite-badge {
    background: rgba(var(--gold-rgb),0.12);
    border-color: rgba(var(--gold-rgb),0.45);
    color: #8a5d0c;
}

/* ─── Reduced motion: keep the gold look, drop the movement ─── */
@media (prefers-reduced-motion: reduce) {
    .hero h1 .highlight { animation: none; background-position: 40% 50%; }
    .hero h1 .highlight::after { animation: none; transform: scaleX(1); }
}

@media (max-width: 480px) {
    .hero h1 .highlight::after { height: 2px; }
    .cta h2::before, .cta-content h2::before { margin-bottom: 16px; }
}
