@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    /* Premium Dark Theme */
    --bg-primary: #000000;
    --bg-secondary: #050505;
    --bg-tertiary: #111111;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.4);

    /* Brand Colors (Teal & Orange) */
    --accent: #52c1ca;
    --accent-hover: #74dadd;
    --accent-gradient: linear-gradient(135deg, #52c1ca 0%, #ef7e20 100%);

    /* Depth, Materials & Liquid Glass (Dark) */
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);
    --glass-bg: rgba(15, 15, 15, 0.45);
    --glass-card: rgba(20, 20, 20, 0.55);
    --glass-card-hover: rgba(30, 30, 30, 0.7);
    --edge-light: inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.03);

    --success: #10b981;
    --error: #ef4444;

    /* Spatial Shadows (Ambient Occlusion) */
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.8), 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 80px rgba(82, 193, 202, 0.2), 0 0 32px rgba(239, 126, 32, 0.1);

    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 36px;
    --radius-xl: 48px;

    /* Spring Physics */
    --spring-duration: 0.6s;
    --spring-easing: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Light mode */
[data-theme="light"] {
    --bg-primary: #fcfcfc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f4f4f5;
    --text-primary: #111111;
    --text-secondary: rgba(0, 0, 0, 0.6);
    --text-tertiary: rgba(0, 0, 0, 0.4);

    --accent: #3a97a0;
    --accent-hover: #21737c;
    --accent-gradient: linear-gradient(135deg, #3a97a0 0%, #d6640a 100%);

    /* Depth, Materials & Liquid Glass (Light) */
    --border: rgba(0, 0, 0, 0.05);
    --border-hover: rgba(0, 0, 0, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-card: rgba(255, 255, 255, 0.6);
    --glass-card-hover: rgba(255, 255, 255, 0.95);
    --edge-light: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 20px rgba(255, 255, 255, 0.4);

    /* Spatial Shadows */
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 80px rgba(58, 151, 160, 0.15), 0 0 32px rgba(214, 100, 10, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Noise Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 9999;
    pointer-events: none;
}

[data-theme="light"] body::before {
    opacity: 0.015;
}

/* Ambient Mesh Gradient (Spatial UI Backdrop) */
body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 30%, rgba(82, 193, 202, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(239, 126, 32, 0.06) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
    animation: ambient-mesh 25s infinite alternate cubic-bezier(0.25, 1, 0.5, 1);
}

[data-theme="light"] body::after {
    background:
        radial-gradient(circle at 30% 30%, rgba(82, 193, 202, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(239, 126, 32, 0.1) 0%, transparent 40%);
}

@keyframes ambient-mesh {
    0% {
        transform: rotate(0deg) scale(1) translate(0%, 0%);
    }

    50% {
        transform: rotate(5deg) scale(1.05) translate(-2%, 2%);
    }

    100% {
        transform: rotate(-5deg) scale(1) translate(2%, -2%);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

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

/* Header - Apple Floating Island (Liquid Glass) */
.header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1232px;
    background: rgba(15, 15, 15, 0.65);
    /* Dark theme glass */
    backdrop-filter: blur(48px) saturate(180%);
    -webkit-backdrop-filter: blur(48px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    z-index: 1000;
    height: 72px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--text-primary);
}

.logo svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.logo .logo-light {
    display: none;
}

[data-theme="light"] .logo .logo-dark {
    display: none;
}

[data-theme="light"] .logo .logo-light {
    display: block;
}

.logo img {
    height: 72px;
    width: 72px;
    object-fit: cover;
    border-radius: 50%;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-mobile-extras {
    display: none;
}

.nav-mobile-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent);
    color: var(--accent);
}

.icon-btn svg {
    width: 18px;
    height: 18px;
}



/* Base Mobile Menu (Hidden on Desktop) */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero#live {
    min-height: auto;
    padding: 160px 0 80px;
}

.hero#live .hero-subtitle {
    margin-bottom: 0;
}

.hero#live .hero-title span {
    display: inline;
}

.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate3d(calc(var(--mouse-x, 50vw) - 50%), calc(var(--mouse-y, 50vh) - 50%), 0);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(82, 193, 202, 0.4) 0%, rgba(239, 126, 32, 0.15) 30%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    mix-blend-mode: normal;
    filter: blur(50px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

[data-theme="light"] .hero-background {
    background: radial-gradient(circle at center, rgba(82, 193, 202, 0.6) 0%, rgba(239, 126, 32, 0.3) 40%, transparent 70%);
    mix-blend-mode: normal;
    /* In light mode, pure color over normal works best if opacity is low */
    opacity: 0.6;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-badge svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.hero-title {
    font-size: clamp(40px, 6vw, 80px);
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-title span {
    display: block;
    background: var(--accent-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease-in-out infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 56px;
    line-height: 1.5;
}

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 8px;
    /* Removed tight coupling, now distinct glass items */
    margin-bottom: 56px;
    background: transparent;
    padding: 0;
}

.stat-item {
    background: var(--glass-card);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid var(--border);
    padding: 24px 40px;
    flex: 1;
    border-radius: var(--radius-lg) !important;
    transition: all var(--spring-duration) var(--spring-easing);
    box-shadow: var(--shadow-sm), var(--edge-light);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

[data-theme="light"] .stat-item {
    background: var(--glass-card);
    box-shadow: var(--shadow-sm), var(--edge-light);
}

.stat-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px) scale(1.02);
    background: var(--glass-card-hover);
    box-shadow: var(--shadow-md), var(--shadow-glow), var(--edge-light);
}

[data-theme="light"] .stat-item:hover {
    border-color: var(--accent);
    background: var(--glass-card-hover);
    box-shadow: var(--shadow-md), var(--shadow-glow), var(--edge-light);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    text-align: center;
}

.stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--spring-duration) var(--spring-easing);
    box-shadow: var(--shadow-sm), var(--edge-light);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-md), var(--shadow-glow), var(--edge-light);
    background: var(--text-primary);
    color: var(--bg-primary);
    letter-spacing: 0.01em;
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-arrow svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow svg {
    transform: translateX(4px);
}

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

.btn-outline:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

.hero-action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Common Sections */
.section {
    padding: 160px 0;
    position: relative;
    z-index: 10;
}

.section-header {
    margin-bottom: 64px;
}

.section-label {
    font-size: 13px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
}

/* Bento Grid Services */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 24px;
}

.bento-card {
    background: var(--glass-card);
    backdrop-filter: blur(48px) saturate(200%);
    -webkit-backdrop-filter: blur(48px) saturate(200%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--spring-duration) var(--spring-easing);
    position: relative;
    overflow: hidden;
    text-align: left;
    box-shadow: var(--shadow-sm), var(--edge-light);
}

[data-theme="light"] .bento-card {
    background: var(--glass-card);
    box-shadow: var(--shadow-sm), var(--edge-light);
}

.bento-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px) scale(1.01);
    background: var(--glass-card-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow), var(--edge-light);
}

[data-theme="light"] .bento-card:hover {
    border-color: var(--accent);
    background: var(--glass-card-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow), var(--edge-light);
}

.bento-card.large {
    grid-column: span 2;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: auto;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

/* Telegram Feed Grid */
.telegram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tg-post-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.tg-post-card:hover {
    border-color: #2AABEE;
    /* Telegram Blue accent */
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 40px rgba(42, 171, 238, 0.15);
}

.tg-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tg-avatar {
    width: 32px;
    height: 32px;
    background: #2AABEE;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tg-name {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.tg-body {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 24px;
}

.tg-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
}

.tg-time {
    color: var(--text-tertiary);
}

.tg-read {
    color: #2AABEE;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Split Section (News + Request) */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.news-card {
    background: var(--glass-card);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 16px;
    transition: all var(--spring-duration) var(--spring-easing);
    box-shadow: var(--shadow-sm), var(--edge-light);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .news-card {
    background: var(--glass-card);
    box-shadow: var(--shadow-sm), var(--edge-light);
}

.news-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px) scale(1.01);
    background: var(--glass-card-hover);
    box-shadow: var(--shadow-md), var(--shadow-glow), var(--edge-light);
}

[data-theme="light"] .news-card:hover {
    border-color: var(--accent);
    background: var(--glass-card-hover);
    box-shadow: var(--shadow-md), var(--shadow-glow), var(--edge-light);
}

.news-date {
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 8px;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.05em;
}

.news-card p {
    font-size: 15px;
    line-height: 1.5;
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-tertiary);
}

.btn-full {
    width: 100%;
}

.form-message {
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-top: 24px;
    font-size: 14px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 5vw, 48px);
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
}

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

.modal-close svg {
    width: 24px;
    height: 24px;
}

/* Redesigned Footer - Apple Floating Island */
.footer {
    width: calc(100% - 48px);
    max-width: 1232px;
    margin: 40px auto;
    padding: 64px 0 40px;
    background: rgba(15, 15, 15, 0.65);
    /* Dark theme glass */
    backdrop-filter: blur(48px) saturate(180%);
    -webkit-backdrop-filter: blur(48px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.02);
    position: relative;
    z-index: 10;
}

[data-theme="light"] .footer {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

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

.footer-brand .logo {
    margin-bottom: 16px;
    display: inline-flex;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 320px;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 15px;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    display: inline-flex;
    width: fit-content;
}

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

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

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

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

.footer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 13px;
    font-weight: 500;
}

.footer-badge svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: calc(100% + 12px);
        left: 24px;
        width: calc(100% - 48px);
        background: var(--bg-primary);
        /* Solid Opaque background for mobile menu */
        border: 1px solid var(--border);
        border-radius: 24px;
        flex-direction: column;
        padding: 24px;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-mobile-extras {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 16px;
        padding-top: 24px;
        border-top: 1px solid var(--border);
        width: 100%;
        gap: 16px;
    }

    .nav-mobile-btn {
        flex-grow: 1;
        padding: 12px 24px;
        font-size: 14px;
    }

    .nav-mobile-theme {
        flex-shrink: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-card {
        padding: 24px;
    }

    .bento-card.large {
        grid-column: span 1;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        background: transparent;
        border-radius: 0;
    }

    .stat-item,
    .stat-item:first-child,
    .stat-item:last-child {
        border-radius: var(--radius-md);
        border: 1px solid var(--border);
        padding: 16px 20px;
    }

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

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

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

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

    .footer-badges {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 140px 0 80px;
    }

    .section {
        padding: 80px 0;
    }

    .stat-number {
        font-size: 28px;
    }

    .btn {
        width: 100%;
    }

    .header-controls {
        gap: 8px;
    }
}

/* Smooth reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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