/* ==========================================================================
   Foxen Landing Page - Monochrome Modern CSS Design System
   Color Palette: Pure Black, Charcoal, Gray Tones, Pure White
   ========================================================================== */

:root {
    --bg-black: #030303;
    --bg-card: #0b0b0d;
    --bg-card-hover: #121216;
    --bg-elevated: #17171c;
    --bg-glass: rgba(18, 18, 22, 0.65);
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.15);
    --border-active: rgba(255, 255, 255, 0.35);
    --border-glow: rgba(255, 255, 255, 0.6);

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #6b7280;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --glow-soft: 0 0 40px rgba(255, 255, 255, 0.06);
    --glow-strong: 0 0 60px rgba(255, 255, 255, 0.12);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    background-color: var(--bg-black);
    font-family: var(--font-main);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body {
    background-color: var(--bg-black);
    overflow-x: clip;
    max-width: 100vw;
    width: 100%;
    position: relative;
    line-height: 1.6;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Background Ambient Glows & Grid */
.bg-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.aurora-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    max-width: 100vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    /* Never extend the document width */
    overflow: hidden;
}

.aurora-glow.top-center {
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.aurora-glow.mid-right {
    top: 45%;
    right: -250px;
}

.aurora-glow.bottom-left {
    bottom: 5%;
    left: -200px;
}

/* Containers */
.container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    margin-bottom: 16px;
}

.kicker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-primary);
    box-shadow: 0 0 10px #ffffff;
}

.h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.subtext {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 1.6;
}

/* Buttons & CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background-color: #e4e4e7;
    border-color: #e4e4e7;
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--border-medium);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--border-active);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Header & Nav */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    padding: 12px 0;
    background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Prevent flex children from overflowing */
    min-width: 0;
    max-width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
    min-width: 0;
}

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-medium);
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-badge-item svg {
    color: var(--text-primary);
}

/* Browser Mockup Frame & Carousel */
.browser-frame {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--glow-soft);
    transition: var(--transition-smooth);
}

.browser-frame:hover {
    border-color: var(--border-active);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), var(--glow-strong);
}

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

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.browser-url {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 16px;
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
    width: 60%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browser-body {
    padding: 24px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 0%, transparent 70%), var(--bg-card);
    position: relative;
}

/* Carousel Control Bar below browser mockup */
.carousel-controls {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.carousel-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.carousel-num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.carousel-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.carousel-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--border-medium);
    border-color: var(--border-active);
}

/* Mock Previews inside Carousel */
.mock-slide {
    display: none;
    animation: fadeIn 0.4s ease;
}

.mock-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.mock-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px;
}

.mock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.mock-row:last-child {
    border-bottom: none;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid var(--border-medium);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 0 8px #ffffff;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

/* Stats Section */
.stats-strip {
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(11, 11, 13, 0.5);
    margin-bottom: 100px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 16px;
}

.stat-number {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Bento Grid Section */
.bento-section {
    padding: 60px 0 100px 0;
}

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

.section-head.center {
    text-align: center;
}

.section-head.center .subtext {
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: var(--border-active);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), var(--glow-soft);
}

.span-8 { grid-column: span 8; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-12 { grid-column: span 12; }

.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    border: 1px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.bento-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.bento-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* AI Spotlight Feature Box */
.ai-spotlight {
    background: linear-gradient(135deg, #0b0b0e 0%, #16161c 100%);
    border: 1px solid var(--border-active);
    border-radius: var(--radius-xl);
    padding: 48px;
    margin: 60px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.ai-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.ai-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.ai-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.ai-feature-item svg {
    color: var(--text-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

/* Browsers Grid */
.browsers-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-subtle);
}

.browsers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.browser-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.browser-card:hover {
    border-color: var(--border-active);
    transform: translateY(-2px);
    background: var(--bg-card-hover);
}

.browser-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.bento-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.browser-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.browser-status {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Telegram / Community Section */
.community-section {
    padding: 80px 0;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Telegram & Release Widget News Section */
.news-section {
    padding: 90px 0;
    border-top: 1px solid var(--border-subtle);
    position: relative;
}

.news-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.news-widget-card {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    transition: max-height 0.55s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    max-height: 340px;
}

.news-widget-card.expanded {
    max-height: 3000px;
}

/* Dark fog overlay at bottom of card */
.news-card-fog {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(11, 11, 13, 0.6) 35%,
        rgba(11, 11, 13, 0.92) 65%,
        rgba(11, 11, 13, 0.99) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 18px;
    transition: opacity 0.4s ease;
}

.news-widget-card.expanded .news-card-fog {
    opacity: 0;
    pointer-events: none;
}

/* Subtle expand button inside the fog */
.btn-expand {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 6px 18px;
    border-radius: 100px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    letter-spacing: 0.04em;
}

.btn-expand:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.9);
}

.news-widget-card:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), var(--glow-soft);
    background: var(--bg-card-hover);
}

.news-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 20px;
}

.news-widget-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-widget-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border-medium);
}

.news-widget-channel {
    display: flex;
    flex-direction: column;
}

.news-widget-name {
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
}

.news-widget-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.news-widget-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
}

.news-widget-content-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-widget-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.news-widget-body {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.63;
}

.news-widget-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.news-controls-bar {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-load-more:hover {
    background: var(--bg-elevated);
    border-color: var(--border-active);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .news-grid-container {
        grid-template-columns: 1fr;
    }
}

/* FAQ Accordion Section */
.faq-section {
    padding: 80px 0 100px 0;
    border-top: 1px solid var(--border-subtle);
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    background: var(--bg-card);
    overflow: hidden;
    transition: var(--transition-fast);
}

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

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: var(--font-main);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px 24px;
}

/* Final CTA Section */
.final-cta {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%), var(--bg-black);
    border-top: 1px solid var(--border-subtle);
    position: relative;
}

.cta-box {
    max-width: 760px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

/* Footer */
.site-footer {
    padding: 60px 0 40px 0;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-card);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-tag {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-col-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE — Tablet 1024px
   ============================================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

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

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

    .bento-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .span-8, .span-6 { grid-column: span 2; }
    .span-4 { grid-column: span 1; }
    .span-12 { grid-column: span 2; }

    .ai-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ai-spotlight {
        padding: 36px;
        margin: 40px 0 60px 0;
    }

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

    .browsers-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .news-wrapper,
    .community-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================
   RESPONSIVE — Mobile 768px
   ============================================================ */
@media (max-width: 768px) {
    /* Hide header entirely on mobile */
    .site-header {
        display: none;
    }

    /* Remove top padding since no header */
    .hero {
        padding-top: 48px;
    }

    /* Hide nav and burger entirely on mobile — clean header with logo + button only */
    .site-nav {
        display: none !important;
    }

    .mobile-menu-btn {
        display: none !important;
    }

    /* Show only the install button, hide Telegram */
    .header-actions .btn-secondary {
        display: none;
    }

    .header-actions .btn-primary {
        display: inline-flex;
        font-size: 0.82rem;
        padding: 8px 16px;
    }

    .header-actions {
        gap: 8px;
    }

    /* Hero */
    .hero {
        padding-top: 100px;
        padding-bottom: 48px;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    /* Hide browser mockup on narrow mobile — too wide */
    .browser-container {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        justify-content: center;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-badges {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    /* Stats */
    .stats-strip {
        margin-bottom: 60px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .stat-item {
        padding: 20px 12px;
        border-bottom: 1px solid var(--border-subtle);
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--border-subtle);
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Bento Grid */
    .bento-section {
        padding: 40px 0 60px 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .span-8, .span-6, .span-4, .span-12 {
        grid-column: span 1;
    }

    .bento-card {
        padding: 24px;
    }

    /* AI Spotlight */
    .ai-spotlight {
        padding: 28px 24px;
        margin: 32px 0 48px 0;
        border-radius: var(--radius-lg);
    }

    .ai-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ai-features-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Browsers */
    .browsers-section {
        padding: 48px 0;
    }

    .browsers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* News */
    .news-section {
        padding: 60px 0;
    }

    .news-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-widget-card {
        padding: 20px;
    }

    .news-widget-badge {
        display: none;
    }

    .news-widget-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* FAQ */
    .faq-section {
        padding: 48px 0 60px 0;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 16px 18px;
    }

    /* CTA */
    .final-cta {
        padding: 64px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .site-footer {
        padding: 48px 0 32px 0;
    }

    /* Section head */
    .section-head {
        margin-bottom: 32px;
    }

    /* Container padding */
    .container {
        padding: 0 16px;
    }

    /* Browser mockup */
    .browser-body {
        min-height: 260px;
        padding: 16px;
    }

    .carousel-controls {
        padding: 10px 14px;
    }

    .carousel-title {
        font-size: 0.8rem;
    }
}

/* ============================================================
   RESPONSIVE — Small Mobile 480px
   ============================================================ */
@media (max-width: 480px) {
    .h1 {
        font-size: 2.2rem;
    }

    .h2 {
        font-size: 1.75rem;
    }

    .brand-badge {
        display: none;
    }

    .hero {
        padding-top: 90px;
    }

    .bento-card {
        padding: 20px;
    }

    .bento-title {
        font-size: 1.15rem;
    }

    .browsers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .browser-card {
        padding: 12px 8px;
    }

    .browser-name {
        font-size: 0.78rem;
    }

    .news-widget-avatar {
        width: 36px;
        height: 36px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .ai-spotlight {
        padding: 22px 18px;
    }

    .kicker {
        font-size: 0.75rem;
    }
}
