:root {
    --bg-dark: #030305;
    --bg-card: rgba(10, 12, 16, 0.6);
    --accent-signal: #00f2ff;
    --accent-signal-glow: rgba(0, 242, 255, 0.4);
    --accent-signal-dim: rgba(0, 242, 255, 0.1);
    --accent-purple: #9d00ff;
    --accent-purple-dim: rgba(157, 0, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #8b949e;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --section-padding: 8rem 2rem;
}

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

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

/* Cinematic Background */
.bg-orchestra {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background: radial-gradient(circle at 50% 0%, #151025 0%, var(--bg-dark) 60%);
}

.glow-orb {
    position: fixed;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-signal-glow) 0%, var(--accent-purple-dim) 40%, transparent 70%);
    border-radius: 50%;
    z-index: -2;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.6;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
    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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Liquid Glass Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(180deg, #fff 20%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.signal-text {
    color: var(--accent-signal);
    text-shadow: 0 0 24px var(--accent-signal-glow);
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
}

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

/* Navigation */
.glass-header {
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 3, 5, 0.5);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s, color 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-cta {
    color: var(--accent-signal) !important;
    opacity: 1 !important;
    text-shadow: 0 0 10px var(--accent-signal-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: scale(1.05);
}

.glow-effect:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 8rem 2rem 8rem; /* Increased padding-bottom to prevent overlap */
}

.hero-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    margin-top: auto; /* Push content towards center but allow space */
    margin-bottom: auto;
}

.hero h1 {
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 0.85;
    margin-bottom: 2rem;
    text-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.8;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    z-index: 5;
}

.mouse-wheel {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-signal);
    border-radius: 2px;
    animation: scrollMove 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scrollMove {
    0% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Feed Container */
.feed-section {
    padding: var(--section-padding);
    position: relative;
}

.feed-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-signal);
    border-color: var(--accent-signal-dim);
    margin-bottom: 2rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-signal-dim);
    color: var(--accent-signal);
}

.icon-wrapper svg {
    width: 16px;
    height: 16px;
}

/* Mockup Container */
.feed-mockup {
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.feed-mockup::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100px;
    background: linear-gradient(180deg, var(--accent-signal-dim) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0.5;
}

/* Post Cards */
.post-card {
    background: rgba(20, 20, 25, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.signal-post {
    border-color: var(--accent-signal-dim);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.05);
}

.post-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar svg {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.7);
}

.bg-signal svg {
    color: var(--accent-signal);
}

.bg-noise { background: #333; }
.bg-signal { 
    background: var(--accent-signal-dim); 
    border: 1px solid var(--accent-signal);
}

.post-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.post-author {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.post-handle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.post-text {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-actions {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.post-actions span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.post-actions span:hover {
    color: var(--accent-signal);
}

.post-actions svg {
    width: 16px;
    height: 16px;
}


/* Collapsed State (The "Magic") */
.post-card.collapsed {
    background: var(--glass-bg);
    border: 1px solid var(--accent-signal);
    padding: 1rem 1.5rem;
    transform: scale(0.98);
    display: flex;
    align-items: center;
    box-shadow: 0 0 20px var(--accent-signal-dim);
}

.post-reason {
    display: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-signal);
    align-items: center;
    gap: 0.8rem;
    width: 100%;
}

.post-reason svg {
    width: 18px;
    height: 18px;
}

.post-card.collapsed .post-reason { display: flex; }
.post-card.collapsed .post-content { display: none; }

/* Features */
.features {
    padding: var(--section-padding);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1300px;
    margin: 5rem auto 0;
    perspective: 1000px;
    align-items: stretch;
}

.feature-card {
    padding: 4rem 3rem;
    border-radius: 24px;
    text-align: center;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    height: 100%;
    min-height: 380px;
}

.feature-card:hover {
    border-color: var(--accent-signal);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px var(--accent-signal-dim);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--accent-signal-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 242, 255, 0.2);
    transform: translateZ(30px);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent-signal);
    filter: drop-shadow(0 0 10px var(--accent-signal-glow));
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transform: translateZ(20px);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    transform: translateZ(10px);
}

/* Statistics */
.stats-container {
    padding: 4rem 2rem 8rem;
    text-align: center;
}

.stats-panel {
    max-width: 1000px;
    margin: 0 auto;
    padding: 6rem 2rem;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.stats-panel::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60%; height: 60%;
    background: radial-gradient(circle, var(--accent-purple-dim) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
}

.stat-huge {
    font-size: clamp(5rem, 15vw, 12rem);
    line-height: 0.8;
    margin-bottom: 2rem;
}

.stats-panel h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.stats-panel p {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 0 2rem 8rem;
    text-align: center;
}

.cta-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 8rem 2rem;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.8) 0%, rgba(5, 5, 8, 0.8) 100%);
    border: 1px solid var(--glass-border);
}

.cta-content h2 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    margin-bottom: 3rem;
}

/* Footer */
footer {
    padding: 4rem;
    border-top: 1px solid var(--glass-border);
    background: #020202;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

@media (max-width: 968px) {
    :root {
        --section-padding: 5rem 1.5rem;
    }
    .glass-header {
        padding: 1.5rem;
    }
    .nav-links {
        display: none; /* Simplified for mobile */
    }
    .feed-grid, .feature-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .hero {
        padding-top: 8rem;
    }
    .hero h1 {
        font-size: 4.5rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
