/* AlexMapX Website — Clean Professional Design v3.0 */

:root {
    --bg: #0a0a10;
    --bg2: #111118;
    --bg3: #18181f;
    --surface: #1c1c26;
    --surface2: #232330;
    --accent: #8b5cf6;
    --accent2: #a78bfa;
    --accent3: #7c3aed;
    --text: #eeeef4;
    --text2: #a0a0b8;
    --text3: #64647a;
    --border: rgba(255,255,255,0.08);
    --border2: rgba(255,255,255,0.12);
    --font: 'IBM Plex Sans Thai', 'Inter', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', 'Consolas', monospace;
    --green: #34d399;
    --gold: #fbbf24;
    --radius: 12px;
    --radius-lg: 20px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

#nav { z-index: 1000; }
#preloader { z-index: 9999; }
#footer { position: relative; z-index: 1; }
.marquee-strip { position: relative; z-index: 1; }

/* ═══════════════════════════════
   PRELOADER
   ═══════════════════════════════ */

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.preloader-logo {
    width: 56px;
    height: 56px;
    animation: preloaderPulse 1.8s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 99px;
    overflow: hidden;
}

.preloader-bar span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent3), var(--accent2));
    border-radius: inherit;
    transition: width 0.4s var(--ease);
}

.preloader-text {
    font-size: 12px;
    font-family: var(--mono);
    color: var(--text3);
    letter-spacing: 0.08em;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1); }
}

/* ═══════════════════════════════
   NAVIGATION
   ═══════════════════════════════ */

#nav {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 1000;
    border-radius: 16px;
    background: rgba(10, 10, 16, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    transition: background 0.3s, box-shadow 0.3s;
}

#nav.scrolled {
    background: rgba(10, 10, 16, 0.95);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 60px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 650;
    color: var(--text);
    letter-spacing: -0.01em;
    text-decoration: none;
}

.nav-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.nav-links a {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text2);
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: rgba(255,255,255,0.04);
}

.nav-cta {
    margin-left: 8px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border-radius: 10px;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}

.nav-cta:hover {
    background: var(--accent2);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0 16px 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s var(--ease), opacity 0.3s, padding 0.3s;
}

.nav-mobile a {
    display: block;
    padding: 12px 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text2);
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-mobile a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.04);
}

.nav-mobile-cta {
    margin-top: 8px;
    text-align: center;
    background: var(--accent) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
}

#nav.nav-open {
    border-radius: 20px;
}

#nav.nav-open .nav-mobile {
    max-height: 400px;
    opacity: 1;
    padding: 8px 16px 16px;
}

#nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
#nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════
   BUTTONS
   ═══════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
}

.btn-primary:hover {
    background: #9b6fff;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border2);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.btn-gold {
    background: rgba(251, 191, 36, 0.12);
    color: var(--gold);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.btn-gold:hover {
    background: rgba(251, 191, 36, 0.18);
    border-color: rgba(251, 191, 36, 0.35);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 14px;
}

.btn-full { width: 100%; }

/* ═══════════════════════════════
   CHIP / BADGE
   ═══════════════════════════════ */

.chip {
    display: inline-block;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent2);
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 999px;
}

/* ═══════════════════════════════
   SECTION HEAD
   ═══════════════════════════════ */

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-head .chip {
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-head p {
    font-size: 16px;
    color: var(--text2);
    line-height: 1.7;
}

/* ═══════════════════════════════
   HERO
   ═══════════════════════════════ */

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    filter: blur(60px);
}

#circuitCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-content .chip {
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(52px, 7vw, 84px);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text) 0%, rgba(200, 190, 240, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 500;
    color: rgba(238, 238, 244, 0.88);
    margin-bottom: 16px;
    line-height: 1.4;
}

.hero-desc {
    font-size: 15px;
    color: var(--text2);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 24px;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.metric strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    font-family: var(--mono);
    letter-spacing: -0.02em;
}

.metric span {
    font-size: 12px;
    color: var(--text3);
}

.metric-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-app-window {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border2);
    background: rgba(17, 17, 24, 0.85);
    box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03);
}

.app-window-img {
    width: 100%;
    display: block;
}

/* Floating cards */
.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(17, 17, 24, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border2);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    animation: floatCard 4s ease-in-out infinite;
}

.hero-fc-1 {
    top: -20px;
    right: -20px;
}

.hero-fc-2 {
    bottom: 40px;
    left: -30px;
    animation-delay: -2s;
}

.fc-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.12);
    color: var(--accent2);
    flex-shrink: 0;
}

.fc-icon-green {
    background: rgba(52, 211, 153, 0.12);
    color: var(--green);
}

.fc-label {
    display: block;
    font-size: 11px;
    color: var(--text3);
    font-family: var(--mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fc-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ═══════════════════════════════
   MARQUEE
   ═══════════════════════════════ */

.marquee-strip {
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(17, 17, 24, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-track span {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--text3);
    flex-shrink: 0;
}

.marquee-dot {
    width: 4px !important;
    height: 4px !important;
    border-radius: 50%;
    background: var(--accent) !important;
    letter-spacing: 0 !important;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ═══════════════════════════════
   FEATURES
   ═══════════════════════════════ */

#features { background: transparent; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.feat-card {
    position: relative;
    padding: 28px 24px;
    background: rgba(17, 17, 24, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.feat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border2);
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.feat-card-new {
    border-color: rgba(139, 92, 246, 0.15);
}

.feat-card-new:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.feat-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    font-family: var(--mono);
    letter-spacing: 0.08em;
    color: var(--accent2);
    background: rgba(139, 92, 246, 0.1);
    border-radius: 999px;
}

.feat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.04);
    color: var(--text2);
}

.feat-icon-accent {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent2);
}

.feat-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.feat-card p {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.7;
}

/* ═══════════════════════════════
   SCREENSHOTS
   ═══════════════════════════════ */

#screenshots {
    background: transparent;
}

.screenshotSwiper {
    padding: 20px 0 60px;
}

.ss-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(10, 10, 16, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.ss-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.ss-card img {
    width: 100%;
    display: block;
}

.ss-caption {
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text2);
    border-top: 1px solid var(--border);
}

.swiper-pagination-bullet {
    background: var(--text3) !important;
    opacity: 0.5 !important;
    width: 8px !important;
    height: 8px !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent) !important;
    opacity: 1 !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* ═══════════════════════════════
   PRICING
   ═══════════════════════════════ */

#pricing { background: transparent; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: rgba(17, 17, 24, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.price-card-featured {
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, rgba(17, 17, 24, 0.8) 40%);
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.08);
}

.price-card-featured:hover {
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.12);
}

.price-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 16px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--mono);
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--accent);
    border-radius: 999px;
    white-space: nowrap;
}

.price-head {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.price-tier {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--mono);
    letter-spacing: 0.1em;
    color: var(--text3);
    margin-bottom: 12px;
}

.price-tier-gold {
    color: var(--gold);
}

.price-amount {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--text);
    margin-bottom: 6px;
}

.price-amount .currency {
    font-size: 22px;
    font-weight: 600;
    color: var(--text2);
    vertical-align: top;
    margin-right: 2px;
}

.price-period {
    font-size: 13px;
    color: var(--text3);
}

.price-desc {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text2);
    line-height: 1.5;
}

.price-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text2);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.price-features li:last-child { border-bottom: none; }

.price-features li svg { flex-shrink: 0; }

.price-features li.included svg { color: var(--green); }
.price-features li.excluded svg { color: var(--text3); opacity: 0.4; }
.price-features li.excluded { color: var(--text3); }
.price-features li.highlight { color: var(--accent2); font-weight: 500; }

/* ═══════════════════════════════
   DOWNLOAD
   ═══════════════════════════════ */

#download {
    background: transparent;
}

.download-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 56px 40px;
    text-align: center;
    background: rgba(10, 10, 16, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.12), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-content .chip {
    margin-bottom: 20px;
}

.download-content h2 {
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.download-ver {
    font-size: 14px;
    color: var(--text2);
    margin-bottom: 28px;
}

.download-tags {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.download-tags span {
    font-size: 12px;
    color: var(--text3);
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
}

/* ═══════════════════════════════
   CHANGELOG / TIMELINE
   ═══════════════════════════════ */

#changelog { background: transparent; }

.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent3), var(--border), transparent);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child { padding-bottom: 0; }

.tl-dot {
    position: absolute;
    left: -28px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3);
}

.timeline-item:not(:first-child) .tl-dot {
    background: var(--surface2);
    box-shadow: 0 0 0 2px var(--border);
}

.tl-card {
    padding: 24px;
    background: rgba(17, 17, 24, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.tl-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.tl-head h3 {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--mono);
}

.tl-tag {
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    font-family: var(--mono);
    letter-spacing: 0.06em;
    color: var(--green);
    background: rgba(52, 211, 153, 0.1);
    border-radius: 999px;
}

.tl-card time {
    display: block;
    font-size: 13px;
    color: var(--text3);
    margin-bottom: 16px;
}

.tl-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tl-card li {
    font-size: 14px;
    color: var(--text2);
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}

.tl-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text3);
}

/* ═══════════════════════════════
   FOOTER
   ═══════════════════════════════ */

#footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--border);
    background: rgba(10, 10, 16, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 650;
    font-size: 15px;
}

.footer-brand img { border-radius: 8px; }

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

.footer-links a {
    font-size: 13px;
    color: var(--text3);
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-contact {
    font-size: 13px;
    color: var(--text3);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text3);
    text-align: center;
}

/* ═══════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-metrics {
        justify-content: center;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-fc-1 { right: -10px; }
    .hero-fc-2 { left: -10px; }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

@media (max-width: 768px) {
    section { padding: 72px 0; }

    .nav-links, .nav-cta { display: none; }

    .nav-toggle {
        display: flex;
    }

    .nav-mobile {
        display: flex;
    }

    #hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(40px, 12vw, 64px);
    }

    .hero-floating-card {
        display: none;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 12px;
    }

    .metric-divider {
        width: 40px;
        height: 1px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .section-head h2 {
        font-size: clamp(24px, 7vw, 32px);
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .download-card {
        padding: 40px 24px;
    }

    .timeline {
        padding-left: 28px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }

    #nav { top: 10px; left: 10px; right: 10px; }

    .nav-inner { height: 54px; padding: 0 14px; }

    .download-tags {
        flex-direction: column;
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { transition: none !important; }
    .hero-floating-card { animation: none !important; }
    .marquee-track { animation: none !important; }
    .preloader-logo { animation: none !important; }
}
