:root {
    /* Graphite Palette */
    --bg-0: #070708;
    --bg-1: #0b0b0d;
    --bg-2: #101012;
    --bg-3: #16161a;
    --bg-4: #1c1c21;
    --bg-5: #24242a;
    --bg-elevated: #1a1a1f;
    
    /* Graphite Accents */
    --graphite-50: #fafafa;
    --graphite-100: #f4f4f5;
    --graphite-200: #e4e4e7;
    --graphite-300: #d4d4d8;
    --graphite-400: #a1a1aa;
    --graphite-500: #71717a;
    --graphite-600: #52525b;
    --graphite-700: #3f3f46;
    --graphite-800: #27272a;
    --graphite-900: #18181b;
    
    /* Semantic */
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    --text-muted: #52525b;
    
    --border-subtle: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    
    --accent: #e4e4e7;
    --accent-muted: #a1a1aa;
    --glow: rgba(228, 228, 231, 0.06);
    --glow-strong: rgba(228, 228, 231, 0.12);
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Sizing */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: 0.3s var(--ease);
    --transition-slow: 0.6s var(--ease);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 40px 80px rgba(0, 0, 0, 0.6);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-0);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

::selection {
    background: var(--graphite-700);
    color: var(--graphite-100);
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--graphite-700); }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button { font-family: inherit; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== BACKGROUND EFFECTS ===== */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.bg-noise {
    position: fixed;
    inset: 0;
    opacity: 0.025;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1200px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: rgba(11, 11, 13, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(11, 11, 13, 0.85);
    box-shadow: var(--shadow);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    flex-shrink: 0;
    padding: 2px;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    display: block;
    max-width: 36px;
    max-height: 36px;
}

.logo-mark svg {
    position: relative;
    z-index: 1;
    color: var(--graphite-200);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.nav-links a {
    padding: 8px 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

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

.nav-cta {
    padding: 8px 16px;
    background: var(--graphite-100);
    color: var(--bg-0);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    margin-left: 8px;
}

.nav-cta:hover {
    background: white;
    color: var(--bg-0) !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 180px 24px 120px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center top, var(--glow-strong) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(42px, 6.5vw, 84px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.hero h1 .gradient {
    background: linear-gradient(180deg, var(--graphite-50) 0%, var(--graphite-500) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--graphite-100);
    color: var(--bg-0);
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: var(--bg-3);
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--bg-4);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-strong);
    background: var(--bg-2);
}

/* Cron marketplace CTA */
.btn-cron {
    background: linear-gradient(135deg, #1c1c21 0%, #27272a 100%);
    color: var(--graphite-100);
    border: 1px solid var(--border-strong);
    position: relative;
    overflow: hidden;
}
.btn-cron::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
    background-size: 200% 100%;
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    pointer-events: none;
}
.btn-cron:hover::before { transform: translateX(100%); }
.btn-cron:hover {
    border-color: var(--graphite-400);
    background: linear-gradient(135deg, #27272a 0%, #3f3f46 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.btn svg { width: 16px; height: 16px; }

/* ===== MOCKUP ===== */
.mockup-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 80px auto 0;
    z-index: 2;
}

.mockup-wrapper::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, var(--glow-strong) 0%, transparent 60%);
    filter: blur(60px);
    z-index: -1;
}

.mockup {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--graphite-500), transparent);
    opacity: 0.4;
}

.mockup-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-r { background: #ef4444; opacity: 0.7; }
.dot-y { background: #f59e0b; opacity: 0.7; }
.dot-g { background: #10b981; opacity: 0.7; }

.mockup-url {
    font-size: 12px;
    color: var(--text-tertiary);
    padding: 4px 12px;
    background: var(--bg-3);
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
}

.mockup-body {
    display: grid;
    grid-template-columns: 72px 240px 1fr;
    height: 480px;
}

.server-rail {
    background: var(--bg-0);
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-right: 1px solid var(--border-subtle);
}

.server-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--bg-3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.server-icon:hover {
    background: var(--bg-4);
    border-radius: 10px;
}

.server-icon.active {
    background: linear-gradient(135deg, var(--graphite-300), var(--graphite-500));
    color: var(--bg-0);
    border-radius: 10px;
}

.server-icon.active::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: var(--graphite-200);
    border-radius: 0 2px 2px 0;
}

.server-divider {
    width: 28px;
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

.channel-list {
    background: var(--bg-1);
    padding: 16px 10px;
    border-right: 1px solid var(--border-subtle);
    overflow-y: auto;
}

.channel-group {
    margin-bottom: 20px;
}

.channel-group-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 8px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.channel-group-title:hover {
    color: var(--text-secondary);
}

.channel {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    font-size: 14px;
    color: var(--text-tertiary);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.channel:hover {
    background: var(--bg-3);
    color: var(--text-secondary);
}

.channel.active {
    background: var(--bg-4);
    color: var(--text-primary);
    font-weight: 500;
}

.channel-icon {
    font-size: 16px;
    opacity: 0.7;
}

.channel-badge {
    margin-left: auto;
    background: var(--graphite-200);
    color: var(--bg-0);
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

.chat-area {
    display: flex;
    flex-direction: column;
    background: var(--bg-2);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-2);
}

.chat-header-title {
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-header-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
}

.chat-header-desc {
    font-size: 13px;
    color: var(--text-tertiary);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.message {
    display: flex;
    gap: 14px;
    padding: 8px 20px;
    transition: background 0.15s;
}

.message:hover {
    background: rgba(255, 255, 255, 0.02);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--bg-0);
    flex-shrink: 0;
}

.avatar-1 { background: linear-gradient(135deg, #a1a1aa, #71717a); }
.avatar-2 { background: linear-gradient(135deg, #d4d4d8, #a1a1aa); }
.avatar-3 { background: linear-gradient(135deg, #71717a, #52525b); }

.message-body { flex: 1; min-width: 0; }

.message-head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 3px;
}

.message-author {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.message-time {
    font-size: 11px;
    color: var(--text-muted);
}

.message-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    word-wrap: break-word;
}

.message-text code {
    background: var(--bg-4);
    padding: 1px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--graphite-200);
}

.chat-input-wrap {
    padding: 16px 20px;
}

.chat-input {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.chat-input:focus-within {
    border-color: var(--border-strong);
}

.chat-input-text {
    color: var(--text-muted);
    font-size: 14px;
    flex: 1;
}

.chat-input-actions {
    display: flex;
    gap: 4px;
}

.icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: transparent;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.icon-btn:hover {
    background: var(--bg-4);
    color: var(--text-secondary);
}

/* ===== SECTION HEADERS ===== */
.section {
    padding: 120px 24px;
    position: relative;
}

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

.section-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.section-title .muted {
    color: var(--text-tertiary);
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== BENTO FEATURES ===== */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), var(--glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.bento-xl { grid-column: span 4; min-height: 320px; }
.bento-lg { grid-column: span 3; min-height: 280px; }
.bento-md { grid-column: span 2; min-height: 240px; }
.bento-sm { grid-column: span 2; min-height: 200px; }

.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-4);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--graphite-200);
    margin-bottom: 20px;
}

.bento-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.bento-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 16px;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-2);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 22px;
    font-weight: 700;
    color: var(--graphite-200);
    position: relative;
    box-shadow: 0 0 0 8px var(--bg-0);
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    z-index: -1;
}

.step h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.step p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-strong);
}

.faq-item.active {
    background: var(--bg-3);
    border-color: var(--border-strong);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    transition: var(--transition);
    gap: 16px;
}

.faq-q:hover { color: var(--graphite-100); }

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--graphite-200);
    color: var(--bg-0);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.faq-item.active .faq-a {
    max-height: 300px;
}

.faq-a p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
    padding: 120px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1000px;
    height: 500px;
    background: radial-gradient(ellipse at center, var(--glow-strong) 0%, transparent 60%);
    pointer-events: none;
}

.cta-card {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 40px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.cta-card h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.cta-card p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    padding: 80px 24px 40px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto 64px;
}

.footer-brand p {
    color: var(--text-tertiary);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

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

.footer-legal a {
    color: var(--text-tertiary);
    font-size: 13px;
    transition: var(--transition);
}

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

.footer-socials {
    display: flex;
    gap: 8px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--bg-4);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ===== SCROLL TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    z-index: 999;
    backdrop-filter: blur(12px);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--bg-4);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s var(--ease-out);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--bg-4);
    color: var(--text-primary);
}

.modal-body h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.modal-body p, .modal-body li {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.modal-body ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.modal-body h4 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* ===== UTILS ===== */
.emoji-icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
    color: var(--text-secondary);
}

/* ===== ANIMATIONS ===== */
[data-aos] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="fade-left"] { transform: translateX(24px); }
[data-aos="zoom-in"] { transform: scale(0.96); }

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .bento-xl, .bento-lg, .bento-md, .bento-sm {
        grid-column: span 3;
    }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        background: rgba(11, 11, 13, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
    
    .mobile-toggle { display: flex; }
    
    .hero { padding: 140px 20px 80px; }
    
    .section { padding: 80px 20px; }
    
    .mockup-body { grid-template-columns: 1fr; }
    .server-rail, .channel-list { display: none; }
    .mockup-body { height: 380px; }
    
    .bento-xl, .bento-lg, .bento-md, .bento-sm {
        grid-column: span 6;
    }
    
    .steps { grid-template-columns: 1fr; gap: 32px; }
    .steps::before { display: none; }
    
    .stats-grid { grid-template-columns: 1fr 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    
    .hero-actions, .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 480px) {
    .hero { padding: 120px 16px 60px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-value { font-size: 36px; }
}