/* ═══════════════════════════════════════════
   DESIGN TOKENS — Luban-Inspired Warm Dark
   ═══════════════════════════════════════════ */
:root {
    --bg-base: #0c0907;
    --bg-surface: rgba(26, 18, 12, 0.65);
    --bg-surface-solid: #1a120c;
    --bg-raised: #241810;
    --bg-elevated: #2e1e14;
    --accent-primary: #ff8c00;
    --accent-secondary: #ffb347;
    --accent-tertiary: #ff5e00;
    --accent-glow: rgba(255, 140, 0, 0.35);
    --accent-gradient: linear-gradient(135deg, #ff5e00 0%, #ff8c00 40%, #ffb347 100%);
    --green: #34d399;
    --green-glow: rgba(52, 211, 153, 0.15);
    --amber: #ffb347;
    --amber-glow: rgba(255, 179, 71, 0.15);
    --peach: #f5e6da;
    --peach-glow: rgba(245, 230, 218, 0.06);
    --text-primary: #f5e6da;
    --text-secondary: #b8a08e;
    --text-tertiary: #7a6455;
    --border: rgba(255, 200, 150, 0.06);
    --border-hover: rgba(255, 200, 150, 0.14);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

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

/* ═══════════════════════════════════════════
   MOUSE GLOW
   ═══════════════════════════════════════════ */
#mouse-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: opacity 0.3s;
}

/* ═══════════════════════════════════════════
   BACKGROUND EFFECTS
   ═══════════════════════════════════════════ */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -2;
    pointer-events: none;
}
.glow-1 { top: -15%; left: -15%; width: 700px; height: 700px; background: var(--accent-tertiary); opacity: 0.12; }
.glow-2 { top: 25%; right: -10%; width: 500px; height: 500px; background: var(--accent-primary); opacity: 0.06; }
.glow-3 { bottom: -15%; left: 25%; width: 600px; height: 600px; background: var(--accent-secondary); opacity: 0.04; }

.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 180, 120, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 180, 120, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 0%, black 10%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* Particles */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.particle {
    position: absolute;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFade linear infinite;
}
@keyframes particleFade {
    0% { opacity: 0; transform: translateY(0) scale(0.5); }
    20% { opacity: 0.3; }
    80% { opacity: 0.15; }
    100% { opacity: 0; transform: translateY(-100px) scale(1.2); }
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY UTILITIES
   ═══════════════════════════════════════════ */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--accent-primary);
    color: #1a0f0a;
    box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover {
    background: #e67e00;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-primary:active { transform: translateY(-1px); }

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: var(--accent-gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    filter: blur(14px);
}
.btn-glow:hover::after { opacity: 0.5; }

.btn-secondary {
    background: rgba(245, 230, 218, 0.04);
    border: 1px solid var(--border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(245, 230, 218, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.btn-large { padding: 16px 32px; font-size: 1rem; }
.btn-nav { padding: 10px 20px; font-size: 0.9rem; }

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    background: transparent;
    transition: all 0.4s var(--ease);
}
.navbar.scrolled {
    background: rgba(12, 9, 7, 0.9);
    border-bottom-color: var(--border);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
}
.logo-icon {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 140, 0, 0.15);
    overflow: hidden;
}
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-sm) - 1px);
}
.nav-links {
    display: flex;
    gap: 36px;
}
.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s var(--ease);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease);
    border-radius: 1px;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 200;
}
.mobile-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}
.mobile-menu.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu.open span:nth-child(2) { opacity: 0; }
.mobile-menu.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 160px 32px 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px 6px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 140, 0, 0.08);
    border: 1px solid rgba(255, 140, 0, 0.15);
    color: var(--accent-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}
.pulse-dot {
    width: 8px; height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-primary);
    animation: pulse 2.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 140, 0, 0); }
    100% { transform: scale(0.9); }
}
.hero-title {
    font-size: 3.8rem;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    line-height: 1.1;
}
.hero-gradient {
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.7;
}
.hero-subtitle strong { color: var(--text-primary); }
.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-item strong {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
    display: inline;
}
.stat-suffix {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-secondary);
    margin-left: 2px;
}
.stat-label {
    font-size: 0.82rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 2px;
}
.stat-divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent, var(--border-hover), transparent);
}

/* ═══════════════════════════════════════════
   HERO VISUAL (Animated Mockup)
   ═══════════════════════════════════════════ */
.hero-visual {
    position: relative;
    perspective: 1200px;
}
.mockup-frame {
    background: var(--bg-surface-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow:
        0 30px 80px rgba(0,0,0,0.6),
        0 0 0 1px rgba(245, 230, 218, 0.03) inset,
        0 0 60px rgba(255, 140, 0, 0.04);
    transform: rotateY(-8deg) rotateX(4deg);
    transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
    overflow: hidden;
    position: relative;
}
.mockup-frame:hover {
    transform: rotateY(-2deg) rotateX(1deg);
    box-shadow:
        0 40px 100px rgba(0,0,0,0.7),
        0 0 0 1px rgba(245, 230, 218, 0.05) inset,
        0 0 80px rgba(255, 140, 0, 0.08);
}
.mockup-header {
    background: var(--bg-raised);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}
.dots { display: flex; gap: 7px; }
.dots span {
    width: 11px; height: 11px;
    border-radius: 50%;
}
.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #eab308; }
.dots span:nth-child(3) { background: #22c55e; }
.mockup-url {
    margin: 0 auto;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    background: var(--bg-base);
    padding: 5px 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border);
    font-family: var(--font-mono);
}
.mockup-actions {
    color: var(--text-tertiary);
    font-size: 1.2rem;
    letter-spacing: 2px;
}
.mockup-body {
    padding: 32px;
    position: relative;
    height: 420px;
    background: radial-gradient(circle at 50% 40%, var(--bg-raised) 0%, var(--bg-surface-solid) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Scanner */
.scanner-container {
    position: relative;
    width: 200px;
    height: 280px;
}
.person-photo, .garment-overlay {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.person-photo img, .garment-overlay img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
}
.garment-overlay {
    animation: garmentReveal 4s ease-in-out infinite;
    z-index: 2;
}
@keyframes garmentReveal {
    0%, 15% { clip-path: inset(0 0 100% 0); }
    85%, 100% { clip-path: inset(0 0 0% 0); }
}
.scan-line {
    position: absolute;
    left: -15px; right: -15px;
    height: 2px;
    background: var(--accent-primary);
    box-shadow:
        0 0 8px var(--accent-primary),
        0 0 20px rgba(255, 140, 0, 0.4),
        0 0 40px rgba(255, 94, 0, 0.1);
    animation: scanMove 4s ease-in-out infinite;
    border-radius: 2px;
    z-index: 3;
}
@keyframes scanMove {
    0%, 10% { top: 0%; opacity: 0; }
    15% { top: 0%; opacity: 1; }
    85% { top: 100%; opacity: 1; }
    90%, 100% { top: 100%; opacity: 0; }
}

/* Floating Garment Thumbnail */
.garment-thumbnail {
    position: absolute;
    top: -20px;
    right: -30px;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255, 140, 0, 0.3);
    background: var(--bg-surface-solid);
    overflow: hidden;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: floatBadge 5s ease-in-out infinite alternate;
}
.garment-thumbnail img {
    width: 100%; height: 100%;
    object-fit: contain;
    background: #fff;
    padding: 2px;
}

/* Corner brackets */
.corner-bracket {
    position: absolute;
    width: 20px; height: 20px;
    border-color: var(--accent-primary);
    border-style: solid;
    border-width: 0;
    opacity: 0.4;
}
.corner-bracket.tl { top: -5px; left: -5px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 4px; }
.corner-bracket.tr { top: -5px; right: -5px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 4px; }
.corner-bracket.bl { bottom: -5px; left: -5px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 4px; }
.corner-bracket.br { bottom: -5px; right: -5px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 4px; }

/* Status */
.mockup-status {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--accent-secondary);
    font-weight: 500;
    justify-content: center;
}
.spinner {
    width: 14px; height: 14px;
    border: 2px solid rgba(255, 140, 0, 0.2);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.status-progress {
    width: 100%;
    height: 3px;
    background: var(--bg-elevated);
    border-radius: 3px;
    overflow: hidden;
}
.progress-bar {
    width: 60%;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
    animation: progressPulse 4s ease-in-out infinite;
}
@keyframes progressPulse {
    0% { width: 10%; }
    50% { width: 85%; }
    80% { width: 95%; }
    100% { width: 10%; }
}

/* Floating badges */
.floating-badge {
    position: absolute;
    background: rgba(12, 9, 7, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    z-index: 5;
}
.fb-1 {
    top: 60px; right: -40px;
    animation: floatBadge 6s ease-in-out infinite;
}
.fb-2 {
    bottom: 80px; left: -30px;
    animation: floatBadge 7s ease-in-out infinite 1s;
}
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ═══════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════ */
.brand-marquee {
    margin: 80px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.marquee-track {
    display: flex;
    overflow: hidden;
}
.marquee-content {
    display: flex;
    gap: 48px;
    animation: marqueeScroll 20s linear infinite;
    flex-shrink: 0;
    padding-right: 48px;
}
.brand-item {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
    white-space: nowrap;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 32px;
    position: relative;
    z-index: 2;
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.feature-card:hover {
    background: rgba(36, 24, 16, 0.8);
    border-color: rgba(255, 140, 0, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(255, 140, 0, 0.04);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 52px; height: 52px;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    margin-bottom: 24px;
    transition: all 0.3s var(--ease);
}
.feature-card:hover .feature-icon {
    background: rgba(255, 140, 0, 0.15);
    transform: scale(1.05);
}
.icon-green { background: var(--green-glow); color: var(--green); border-color: rgba(52, 211, 153, 0.12); }
.icon-amber { background: var(--amber-glow); color: var(--amber); border-color: rgba(255, 179, 71, 0.12); }

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.6;
}
.feature-metric {
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.metric-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
}
.metric-green { color: var(--green); }
.metric-amber { color: var(--amber); }
.metric-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */
.workflow {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
}
.step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}
.step-num {
    width: 72px; height: 72px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    position: relative;
    transition: all 0.4s var(--ease);
}
.step-num span {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.step:hover .step-num {
    box-shadow: 0 0 30px var(--accent-glow);
    border-color: rgba(255, 140, 0, 0.3);
    transform: scale(1.1);
}
.step-content h3 { margin-bottom: 10px; font-size: 1.15rem; }
.step-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }
.step-visual {
    margin-top: 20px;
    color: var(--text-tertiary);
}
.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 36px;
    min-width: 60px;
    position: relative;
}
.connector-line {
    width: 100%;
    height: 1px;
    background: var(--accent-gradient);
    opacity: 0.3;
}
.connector-dot {
    position: absolute;
    width: 8px; height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
}

/* ═══════════════════════════════════════════
   INTEGRATION
   ═══════════════════════════════════════════ */
.integration {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 64px;
    position: relative;
    overflow: hidden;
}
.integration::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}
.integration-content h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}
.integration-content p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.7;
}
.check-list { list-style: none; }
.check-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    font-weight: 500;
    font-size: 0.95rem;
}
.check-icon {
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-glow);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Code Window */
.code-window {
    background: #0a0806;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 200, 150, 0.06);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
.code-header {
    background: #120e0a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 200, 150, 0.05);
}
.tabs {
    display: flex;
    gap: 0;
    margin-left: 12px;
}
.tab {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 6px 14px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: all 0.2s;
    font-family: var(--font-mono);
}
.tab:hover { color: var(--text-secondary); }
.tab.active {
    color: var(--text-primary);
    background: #0a0806;
    border: 1px solid rgba(255, 200, 150, 0.05);
    border-bottom-color: #0a0806;
}
.copy-btn {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-tertiary);
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all 0.2s;
}
.copy-btn:hover {
    color: var(--text-secondary);
    background: rgba(245, 230, 218, 0.04);
    border-color: var(--border);
}
.code-body { padding: 24px; overflow-x: auto; }
.code-tab-content { display: none; }
.code-tab-content.active { display: block; }

pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #d4c4b5;
    line-height: 1.7;
    tab-size: 2;
}
.ln { color: #3d3329; user-select: none; display: inline-block; width: 2.5ch; text-align: right; margin-right: 1.5ch; }
.c { color: #5e4d3e; font-style: italic; }  /* comment */
.t { color: #ff7b54; }                       /* tag */
.a { color: #ffb347; }                       /* attribute */
.s { color: #7ee787; }                       /* string */
.k { color: #ff7b54; }                       /* keyword */
.f { color: #ffb347; }                       /* function */

/* ═══════════════════════════════════════════
   SECURITY
   ═══════════════════════════════════════════ */
.security {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 32px;
}
.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.security-card {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.4s var(--ease);
}
.security-card:hover {
    background: rgba(36, 24, 16, 0.8);
    border-color: rgba(255, 140, 0, 0.15);
    transform: translateY(-5px);
}
.security-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}
.security-card h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}
.security-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════
   BOTTOM CTA
   ═══════════════════════════════════════════ */
.bottom-cta {
    text-align: center;
    padding: 40px 32px 100px;
}
.cta-box {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 80px 48px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-tertiary), var(--accent-primary), var(--accent-secondary), transparent);
}
.cta-glow {
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 400px; height: 300px;
    background: var(--accent-primary);
    filter: blur(120px);
    opacity: 0.06;
    pointer-events: none;
}
.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
}
.cta-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 36px;
    position: relative;
}
.cta-buttons { position: relative; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
footer {
    border-top: 1px solid var(--border);
    padding: 64px 32px 24px;
    background: rgba(26, 18, 12, 0.3);
    position: relative;
    z-index: 2;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}
.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 0.9rem;
    max-width: 280px;
    line-height: 1.6;
}
.footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}
.footer-col a {
    display: block;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: all 0.2s var(--ease);
}
.footer-col a:hover {
    color: var(--accent-primary);
    transform: translateX(4px);
}
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.82rem;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; text-align: center; gap: 48px; padding-top: 120px; }
    .hero-subtitle { margin: 0 auto 36px; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .mockup-frame { transform: none; }
    .mockup-frame:hover { transform: none; }
    .fb-1 { right: -10px; }
    .fb-2 { left: -10px; }
    .feature-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .integration { grid-template-columns: 1fr; padding: 40px 24px; }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .workflow { flex-direction: column; align-items: center; }
    .step-connector { transform: rotate(90deg); min-width: 0; width: 60px; padding: 0; margin: -10px 0; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(12, 9, 7, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 16px 0; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 32px; }
    .mobile-menu { display: flex; }
    .btn-nav { display: none; }
    .hero { padding-top: 100px; }
    .hero-title { font-size: 2.4rem; }
    .section-header h2 { font-size: 2rem; }
    .integration-content h2 { font-size: 1.8rem; }
    .cta-box h2 { font-size: 1.8rem; }
    .cta-box { padding: 48px 24px; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .stat-divider { display: none; }
    .security-grid { grid-template-columns: 1fr; }
    #mouse-glow { display: none; }
}
