/* ================================================
   酷搜宝 — Light Premium Minimal
   ================================================ */

:root {
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --emerald: #059669;
    --rose: #e11d48;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --ease: cubic-bezier(.4,0,.2,1);
    --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
    --shadow-md: 0 4px 24px rgba(0,0,0,.07);
    --shadow-lg: 0 12px 48px rgba(0,0,0,.09);
}

/* ===== Global continuous background ===== */
body {
    color: var(--gray-700);
    background:
        /* Large floating orbs */
        radial-gradient(ellipse 900px 700px at 85% 3%, rgba(199,210,254,.55), transparent),
        radial-gradient(ellipse 700px 600px at 5% 18%, rgba(252,231,243,.5), transparent),
        radial-gradient(ellipse 800px 600px at 75% 32%, rgba(245,208,254,.35), transparent),
        radial-gradient(ellipse 700px 500px at 10% 48%, rgba(191,219,254,.45), transparent),
        radial-gradient(ellipse 600px 500px at 80% 58%, rgba(252,231,243,.3), transparent),
        radial-gradient(ellipse 800px 600px at 20% 72%, rgba(199,210,254,.4), transparent),
        radial-gradient(ellipse 700px 500px at 70% 85%, rgba(209,250,229,.35), transparent),
        radial-gradient(ellipse 600px 400px at 30% 95%, rgba(245,208,254,.3), transparent),
        /* Base gradient */
        linear-gradient(180deg,
            #f0f4ff 0%,
            #f5f0ff 12%,
            #fdf2f8 24%,
            #f0f7ff 36%,
            #faf5ff 48%,
            #f0fdf4 60%,
            #eef2ff 72%,
            #fdf2f8 84%,
            #f5f7ff 100%);
    background-attachment: fixed;
}
.req { color: var(--rose); }

/* ===== Header ===== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100; height: 64px;
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.scrolled {
    background: rgba(255,255,255,.78);
    border-bottom-color: rgba(0,0,0,.06);
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.header-inner {
    max-width: 1120px; margin: 0 auto;
    padding: 0 24px; height: 100%;
    display: flex; align-items: center;
}

/* Logo */
.header-logo, .footer-logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-icon {
    width: 32px; height: 32px; border-radius: 9px;
    background: var(--gray-900); color: #fff;
    font-size: 15px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}
.logo-text { font-size: 16px; font-weight: 700; color: var(--gray-900); letter-spacing: -.3px; }

/* Nav */
.header-nav { flex: 1; display: flex; align-items: center; gap: 4px; justify-content: center; }
.nav-link {
    padding: 6px 14px; font-size: 13px; font-weight: 500;
    color: var(--gray-500); border-radius: 8px;
    transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--gray-900); background: rgba(0,0,0,.04); }
.nav-link.active { color: var(--gray-900); background: rgba(0,0,0,.04); }
.nav-cta {
    margin-left: auto; padding: 7px 18px;
    font-size: 13px; font-weight: 600;
    background: var(--gray-900); color: #fff;
    border-radius: var(--radius-full);
    transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--gray-800); transform: translateY(-1px); }

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
    padding: 6px 14px; font-size: 13px; font-weight: 500;
    color: var(--gray-500); border-radius: 8px;
    background: none; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 4px;
    transition: color .15s, background .15s;
    font-family: inherit; line-height: 1.6;
}
.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger { color: var(--gray-900); background: rgba(0,0,0,.04); }
.nav-dropdown-trigger svg { transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-panel {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px);
    min-width: 220px; padding: 8px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius); box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden;
    transition: opacity .2s, visibility .2s, transform .2s;
}
.nav-dropdown::after {
    content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px;
}
.nav-dropdown:hover .nav-dropdown-panel {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-item {
    display: block; padding: 10px 14px; border-radius: 8px;
    transition: background .15s;
}
.dropdown-item:hover { background: rgba(0,0,0,.04); }
.dropdown-item-title { display: block; font-size: 13px; font-weight: 500; color: var(--gray-900); }
.dropdown-item-desc { display: block; font-size: 12px; color: var(--gray-400); margin-top: 2px; }

/* Mobile toggle */
.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span {
    display: block; width: 20px; height: 1.5px;
    background: var(--gray-800); border-radius: 1px;
    transition: transform .2s;
}

/* ===== Hero ===== */
.hero {
    position: relative; overflow: hidden;
    padding: 160px 24px 120px;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    background: transparent;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-shape {
    position: absolute; border-radius: 50%;
    filter: blur(90px); opacity: .7;
}
.hero-shape-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(199,210,254,.8) 0%, rgba(191,219,254,.4) 50%, transparent 70%);
    top: -250px; right: -150px;
    animation: hero-drift-1 20s ease-in-out infinite alternate;
}
.hero-shape-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(252,231,243,.8) 0%, rgba(245,208,254,.4) 50%, transparent 70%);
    bottom: -200px; left: -100px;
    animation: hero-drift-2 16s ease-in-out infinite alternate;
}
@keyframes hero-drift-1 {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 25px) scale(1.06); }
}
@keyframes hero-drift-2 {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.08); }
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: .5;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 10%, transparent 70%);
}

.hero-body { position: relative; z-index: 1; max-width: 680px; }
.hero-chip {
    display: inline-flex; align-items: center;
    padding: 5px 16px; margin-bottom: 28px;
    font-size: 12px; font-weight: 600; letter-spacing: .5px;
    color: var(--blue-600);
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(59,130,246,.15);
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-title {
    font-size: 56px; font-weight: 800; color: var(--gray-900);
    letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 20px;
}
.hero-desc {
    font-size: 17px; line-height: 1.8; color: var(--gray-500);
    margin-bottom: 36px;
}
.hero-desc br { display: block; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 28px; border: none; border-radius: var(--radius-full);
    background: var(--gray-900); color: #fff;
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s;
    font-family: inherit;
}
.btn-primary:hover {
    background: var(--gray-800);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.btn-primary:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-block { width: 100%; justify-content: center; }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 28px; border: 1px solid rgba(0,0,0,.12); border-radius: var(--radius-full);
    background: rgba(255,255,255,.6); color: var(--gray-700);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: border-color .2s, background .2s, transform .2s;
    font-family: inherit;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    border-color: rgba(0,0,0,.2); background: rgba(255,255,255,.8);
    transform: translateY(-1px);
}

/* ===== Feature Sections ===== */
.feat {
    position: relative;
    padding: 100px 24px;
    background: transparent;
}

.feat-anchor { position: absolute; top: -72px; }

.feat-inner {
    max-width: 1040px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
    position: relative; z-index: 1;
}
.feat-reverse { direction: rtl; }
.feat-reverse > * { direction: ltr; }

/* Animate on scroll */
.feat-content, .feat-media {
    opacity: 0; transform: translateY(32px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.feat-media { transition-delay: .1s; }
.feat-content.visible, .feat-media.visible { opacity: 1; transform: none; }

.feat-num {
    display: inline-block;
    font-size: 12px; font-weight: 700; font-family: 'Inter', monospace;
    color: var(--gray-400); letter-spacing: 1px;
    margin-bottom: 16px;
}
.feat-title {
    font-size: 32px; font-weight: 700; color: var(--gray-900);
    letter-spacing: -.5px; line-height: 1.25; margin-bottom: 12px;
}
.feat-sub {
    font-size: 15px; font-weight: 500; color: var(--blue-600);
    margin-bottom: 12px;
}
.feat-desc {
    font-size: 15px; color: var(--gray-500); line-height: 1.8;
}

/* Image card */
.feat-img-wrap {
    border-radius: var(--radius-lg); overflow: hidden;
    background: rgba(255,255,255,.5);
    border: 1px solid rgba(0,0,0,.06);
    aspect-ratio: 16/10; position: relative;
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.feat-img-wrap:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.feat-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.feat-placeholder-wrap { background: rgba(255,255,255,.35); }
.feat-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--gray-400);
}
.feat-placeholder svg { width: 48px; height: 48px; margin-bottom: 12px; opacity: .35; }
.feat-placeholder span { font-size: 13px; font-weight: 500; }

/* Carousel */
.carousel { position: relative; width: 100%; height: 100%; }
.carousel-slides { position: relative; width: 100%; height: 100%; }
.carousel-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity .5s ease;
    pointer-events: none;
}
.carousel-slide.active { opacity: 1; pointer-events: auto; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-dots {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 5px;
    background: rgba(0,0,0,.25); backdrop-filter: blur(6px);
    padding: 5px 10px; border-radius: var(--radius-full);
}
.carousel-dot {
    width: 6px; height: 6px; border-radius: var(--radius-full);
    background: rgba(255,255,255,.45); border: none; cursor: pointer;
    transition: all .15s;
}
.carousel-dot.active { background: #fff; width: 18px; border-radius: 3px; }

/* ===== CTA ===== */
.cta {
    padding: 100px 24px;
    text-align: center;
    position: relative; overflow: hidden;
}
.cta-card {
    max-width: 600px; margin: 0 auto;
    background: var(--gray-900);
    border-radius: 28px;
    padding: 64px 48px;
    position: relative; overflow: hidden;
    box-shadow: 0 20px 60px rgba(17,24,39,.25);
}
.cta-card::before {
    content: ''; position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,.15), transparent 70%);
    top: -200px; right: -150px;
    filter: blur(40px); pointer-events: none;
}
.cta-card::after {
    content: ''; position: absolute;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(6,182,212,.1), transparent 70%);
    bottom: -150px; left: -100px;
    filter: blur(40px); pointer-events: none;
}
.cta-inner {
    position: relative; z-index: 1;
}
.cta-title {
    font-size: 32px; font-weight: 700; color: #fff;
    letter-spacing: -.5px; margin-bottom: 10px;
}
.cta-desc {
    font-size: 15px; color: var(--gray-400); margin-bottom: 36px;
    line-height: 1.7;
}
.cta-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin-bottom: 12px;
}
.cta .field label, .modal-form label {
    display: block; font-size: 12px; font-weight: 500;
    margin-bottom: 5px; text-align: left;
}
.cta .field label { color: var(--gray-400); }
.cta .field input {
    width: 100%; padding: 11px 14px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px; color: #fff; font-size: 14px;
    outline: none; font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.cta .field input::placeholder { color: var(--gray-500); }
.cta .field input:focus {
    border-color: rgba(255,255,255,.3);
    box-shadow: 0 0 0 3px rgba(255,255,255,.06);
}

.cta-toggle {
    display: flex; align-items: center; gap: 10px;
    justify-content: center; margin-bottom: 20px;
}
.cta-toggle span { font-size: 13px; color: var(--gray-400); }

.cta .btn-primary {
    background: #fff; color: var(--gray-900);
}
.cta .btn-primary:hover {
    background: var(--gray-100);
    box-shadow: 0 6px 20px rgba(255,255,255,.1);
}

.cta-ok {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 24px 0; min-height: 200px;
}
.cta-ok-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(5,150,105,.12);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.cta-ok-icon svg { width: 26px; height: 26px; color: var(--emerald); }
.cta-ok h3 { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.cta-ok p { font-size: 14px; color: var(--gray-400); }

/* ===== Toggle switch ===== */
.toggle-switch {
    position: relative; width: 40px; height: 22px;
    background: var(--gray-300); border-radius: 11px;
    cursor: pointer; transition: background .15s; flex-shrink: 0;
}
.toggle-switch.active { background: var(--blue-600); }
.toggle-switch::after {
    content: ''; position: absolute; top: 2px; left: 2px;
    width: 18px; height: 18px; background: #fff;
    border-radius: 50%; transition: transform .2s var(--ease);
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.toggle-switch.active::after { transform: translateX(18px); }

/* ===== Footer ===== */
.footer {
    background: transparent;
    border-top: 1px solid rgba(0,0,0,.06);
}
.footer-inner {
    max-width: 1040px; margin: 0 auto;
    padding: 64px 24px 40px;
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}
.footer-brand p { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin-top: 14px; }
.footer-col h4 {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: var(--gray-900); margin-bottom: 16px;
}
.footer-col a {
    display: block; padding: 4px 0;
    font-size: 14px; color: var(--gray-500);
    transition: color .15s;
}
.footer-col a:hover { color: var(--gray-900); }
.footer-bottom {
    max-width: 1040px; margin: 0 auto;
    padding: 20px 24px; text-align: center;
    font-size: 12px; color: var(--gray-400);
    border-top: 1px solid rgba(0,0,0,.06);
}

/* ===== Float Button ===== */
.referral-float {
    position: fixed; right: 24px; bottom: 28%;
    z-index: 999; display: none;
}
.referral-float.show { display: block; }
.referral-btn {
    background: var(--gray-900); color: #fff; border: none;
    border-radius: var(--radius); padding: 16px 18px;
    font-size: 15px; font-weight: 700; cursor: pointer;
    box-shadow: var(--shadow-lg);
    animation: float-bob 3s ease-in-out infinite;
    text-align: center; line-height: 1.4;
    transition: transform .2s, box-shadow .2s;
}
.referral-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 48px rgba(0,0,0,.18);
}
.referral-btn span { display: block; }
.referral-btn .btn-sub { font-size: 11px; font-weight: 500; opacity: .65; }
@keyframes float-bob {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000; display: none;
    align-items: center; justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal-card {
    background: var(--white);
    border-radius: var(--radius-lg); padding: 36px;
    width: 400px; max-width: 92vw;
    box-shadow: var(--shadow-lg);
    animation: modal-in .3s var(--ease);
    border: 1px solid var(--gray-200);
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(16px) scale(.97); }
    to   { opacity: 1; transform: none; }
}
.modal-close {
    float: right; background: none; border: none;
    font-size: 18px; color: var(--gray-400);
    cursor: pointer; padding: 2px 6px; border-radius: 6px;
    transition: color .15s, background .15s; line-height: 1;
}
.modal-close:hover { color: var(--gray-700); background: var(--gray-100); }
.modal-title {
    font-size: 20px; font-weight: 700; color: var(--gray-900);
    margin-bottom: 4px;
}
.modal-subtitle { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; }
.modal-form .form-group { margin-bottom: 14px; }
.modal-form label { color: var(--gray-600); font-size: 13px; font-weight: 500; }
.modal-form input[type="tel"],
.modal-form input[type="text"] {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--gray-200); border-radius: 10px;
    font-size: 14px; outline: none; font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
    background: var(--white); color: var(--gray-800);
}
.modal-form input::placeholder { color: var(--gray-400); }
.modal-form input:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
.toggle-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.toggle-label { font-size: 13px; color: var(--gray-600); }

.modal-success { text-align: center; padding: 20px 0; }
.modal-success .check-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(5,150,105,.08);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.modal-success .check-icon svg { width: 26px; height: 26px; color: var(--emerald); }
.modal-success h3 { font-size: 18px; font-weight: 600; color: var(--gray-900); margin-bottom: 4px; }
.modal-success p { font-size: 14px; color: var(--gray-500); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header-nav {
        display: none; position: fixed;
        top: 64px; left: 0; right: 0;
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column; padding: 12px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
    }
    .header-nav.open { display: flex; }
    .nav-link { padding: 10px 14px; font-size: 14px; }
    .nav-cta { margin: 8px 14px 4px; text-align: center; }
    .menu-toggle { display: flex; }

    .nav-dropdown { width: 100%; }
    .nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 10px 14px; font-size: 14px; }
    .nav-dropdown::after { display: none; }
    .nav-dropdown-panel,
    .nav-dropdown:hover .nav-dropdown-panel {
        position: static; transform: none;
        opacity: 1; visibility: visible;
        display: none; width: 100%;
        box-shadow: none; border: none; background: transparent;
        backdrop-filter: none; -webkit-backdrop-filter: none;
        padding: 0 0 0 14px; min-width: unset;
    }
    .nav-dropdown.open .nav-dropdown-panel { display: block; }
    .nav-dropdown:hover .nav-dropdown-trigger svg { transform: none; }
    .nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }

    .hero { padding: 130px 20px 80px; }
    .hero-title { font-size: 36px; }
    .hero-desc { font-size: 15px; }
    .hero-desc br { display: none; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn-primary,
    .hero-actions .btn-ghost { width: 100%; justify-content: center; }

    .feat { padding: 60px 20px; }
    .feat-inner { grid-template-columns: 1fr; gap: 36px; }
    .feat-reverse { direction: ltr; }
    .feat-title { font-size: 26px; }

    .cta { padding: 60px 20px; }
    .cta-card { padding: 40px 24px; border-radius: 20px; }
    .cta-row { grid-template-columns: 1fr; }
    .cta-title { font-size: 26px; }

    .footer-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-logo { justify-content: center; }

    .modal-card { padding: 28px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 30px; }
    .feat-title { font-size: 24px; }
    .cta-title { font-size: 24px; }
}

/* ===== Image Lightbox ===== */
.img-lightbox {
    position: fixed; inset: 0;
    z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
}
.img-lightbox.show { opacity: 1; visibility: visible; }
.lightbox-backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lightbox-content {
    position: relative; z-index: 1;
    max-width: 90vw; max-height: 90vh;
    display: flex; align-items: center; justify-content: center;
    transform: scale(.92);
    transition: transform .3s var(--ease);
}
.img-lightbox.show .lightbox-content { transform: scale(1); }
.lightbox-content img {
    max-width: 90vw; max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
    object-fit: contain;
}
.lightbox-close {
    position: absolute; top: -40px; right: -8px;
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, .15);
    border: none; border-radius: 50%;
    color: #fff; font-size: 20px; line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .3); }
.lightbox-prev, .lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    background: rgba(255, 255, 255, .15);
    border: none; border-radius: 50%;
    color: #fff; font-size: 22px; line-height: 1;
    cursor: pointer;
    display: none; align-items: center; justify-content: center;
    transition: background .15s;
}
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, .3); }
.lightbox-prev.visible, .lightbox-next.visible { display: flex; }
.lightbox-counter {
    position: absolute; bottom: -36px; left: 50%; transform: translateX(-50%);
    font-size: 13px; color: rgba(255,255,255,.7);
    display: none; white-space: nowrap;
}
.lightbox-counter.visible { display: block; }
@media (max-width: 768px) {
    .lightbox-prev { left: 12px; }
    .lightbox-next { right: 12px; }
    .lightbox-content { max-width: 95vw; }
    .lightbox-content img { max-width: 95vw; }
}
