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

:root {
    --bg-primary: #060a14;
    --bg-secondary: #0c1322;
    --bg-card: #111a2e;
    --bg-card-hover: #162040;
    --bg-card-glass: rgba(17, 26, 46, 0.7);
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-indigo: #6366f1;
    --accent-teal: #14b8a6;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --gradient-1: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-2: linear-gradient(135deg, #06b6d4, #3b82f6);
    --gradient-3: linear-gradient(135deg, #8b5cf6, #ec4899);
    --gradient-4: linear-gradient(135deg, #10b981, #06b6d4);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);
    --shadow-card-hover: 0 20px 60px rgba(0, 0, 0, 0.35);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== AMBIENT GLOW ===== */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    animation: glowDrift1 20s ease-in-out infinite;
}

.glow-2 {
    width: 500px;
    height: 500px;
    top: 40%;
    right: -150px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    animation: glowDrift2 25s ease-in-out infinite;
}

.glow-3 {
    width: 450px;
    height: 450px;
    bottom: -100px;
    left: 30%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    animation: glowDrift3 22s ease-in-out infinite;
}

@keyframes glowDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, 60px) scale(1.1); }
    66% { transform: translate(-40px, 30px) scale(0.95); }
}

@keyframes glowDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-60px, -40px) scale(1.05); }
    66% { transform: translate(30px, 50px) scale(0.9); }
}

@keyframes glowDrift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.08); }
    66% { transform: translate(-70px, 20px) scale(0.92); }
}

/* ===== BACKGROUND CLOUDS ===== */
.placeholder-page-header {
    padding: 140px 2rem 60px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.placeholder-card {
    background: var(--bg-card-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
    text-align: center;
    color: var(--text-secondary);
    margin: 0 auto 100px;
    max-width: 800px;
}
.placeholder-card h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
}
.placeholder-card p {
    margin-bottom: 32px;
}

.page-content {
    max-width: 1000px;
    margin: 0 auto 100px;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.content-card {
    background: var(--bg-card-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .content-card {
        padding: 20px;
    }
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-animation .cloud {
    position: absolute;
    display: block;
    border-radius: 50%;
    animation: floatCloud 25s infinite;
    filter: blur(2px);
}

.bg-animation .cloud:nth-child(1) { width: 80px; height: 80px; top: 10%; left: 10%; animation-delay: 0s; animation-duration: 20s; background: rgba(59, 130, 246, 0.04); }
.bg-animation .cloud:nth-child(2) { width: 50px; height: 50px; top: 20%; left: 80%; animation-delay: 2s; animation-duration: 28s; background: rgba(139, 92, 246, 0.04); }
.bg-animation .cloud:nth-child(3) { width: 120px; height: 120px; top: 60%; left: 30%; animation-delay: 4s; animation-duration: 22s; background: rgba(6, 182, 212, 0.03); }
.bg-animation .cloud:nth-child(4) { width: 60px; height: 60px; top: 75%; left: 70%; animation-delay: 1s; animation-duration: 30s; background: rgba(236, 72, 153, 0.03); }
.bg-animation .cloud:nth-child(5) { width: 90px; height: 90px; top: 40%; left: 50%; animation-delay: 3s; animation-duration: 26s; background: rgba(16, 185, 129, 0.03); }
.bg-animation .cloud:nth-child(6) { width: 40px; height: 40px; top: 85%; left: 15%; animation-delay: 6s; animation-duration: 18s; background: rgba(245, 158, 11, 0.04); }
.bg-animation .cloud:nth-child(7) { width: 100px; height: 100px; top: 5%; left: 55%; animation-delay: 5s; animation-duration: 32s; background: rgba(59, 130, 246, 0.02); }
.bg-animation .cloud:nth-child(8) { width: 70px; height: 70px; top: 50%; left: 90%; animation-delay: 7s; animation-duration: 24s; background: rgba(139, 92, 246, 0.03); }
.bg-animation .cloud:nth-child(9) { width: 55px; height: 55px; top: 30%; left: 5%; animation-delay: 8s; animation-duration: 35s; background: rgba(6, 182, 212, 0.04); }
.bg-animation .cloud:nth-child(10) { width: 110px; height: 110px; top: 90%; left: 45%; animation-delay: 2.5s; animation-duration: 27s; background: rgba(236, 72, 153, 0.02); }
.bg-animation .cloud:nth-child(11) { width: 65px; height: 65px; top: 15%; left: 40%; animation-delay: 9s; animation-duration: 23s; background: rgba(99, 102, 241, 0.03); }
.bg-animation .cloud:nth-child(12) { width: 85px; height: 85px; top: 70%; left: 60%; animation-delay: 4.5s; animation-duration: 29s; background: rgba(20, 184, 166, 0.03); }

@keyframes floatCloud {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.5; }
    25% { transform: translateY(-40px) translateX(20px) scale(1.1); opacity: 0.7; }
    50% { transform: translateY(-20px) translateX(-30px) scale(0.95); opacity: 0.4; }
    75% { transform: translateY(-50px) translateX(15px) scale(1.05); opacity: 0.6; }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 10, 20, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    padding: 0 2rem;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(6, 10, 20, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
}

.logo-svg {
    filter: drop-shadow(0 4px 6px rgba(59, 130, 246, 0.3));
    transition: transform var(--transition-normal);
}

.logo:hover .logo-svg {
    transform: translateY(-2px) scale(1.05);
}

.logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-chevron {
    transition: transform var(--transition-fast);
    opacity: 0.5;
}

.nav-item:hover .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-item:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-normal);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.sub-menu .nav-link {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
}

.sub-menu .nav-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--gradient-1);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-1);
    border-radius: inherit;
    z-index: -1;
    filter: blur(12px);
    opacity: 0.4;
    transition: opacity var(--transition-normal);
}

.btn-glow:hover::after {
    opacity: 0.6;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 100;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    z-index: 1;
    padding: 140px 2rem 60px;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(17, 26, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease;
    backdrop-filter: blur(12px);
    overflow: hidden;
    cursor: default;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.badge-glow {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: badgeShine 3s infinite;
}

@keyframes badgeShine {
    0% { left: -100%; }
    20%, 100% { left: 200%; }
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
    font-size: clamp(2.8rem, 6.5vw, 5.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 .gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero h1 .gradient-text-2 {
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* ===== HERO VISUAL (MOCKUP) ===== */
.hero-visual-wrapper {
    margin-top: 70px;
    width: 100%;
    max-width: 1000px;
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
    perspective: 1000px;
}

.hero-visual {
    position: relative;
    width: 100%;
    transform: rotateX(8deg) rotateY(-2deg);
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-visual:hover {
    transform: rotateX(2deg) rotateY(0deg) translateY(-10px);
}

.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(59, 130, 246, 0.15) 40%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.mockup-window {
    position: relative;
    z-index: 1;
    background: var(--bg-card-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    backdrop-filter: blur(20px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    height: 40px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }

.mockup-body {
    display: flex;
    height: 420px;
}

.mockup-sidebar {
    width: 220px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(0, 0, 0, 0.1);
}

.ms-item {
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s;
}
.ms-item.active {
    background: rgba(59, 130, 246, 0.15);
    border-left: 3px solid var(--accent-blue);
}

.mockup-content {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.mc-title {
    width: 200px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
}

.mc-btn {
    width: 100px;
    height: 32px;
    border-radius: 8px;
    background: var(--gradient-1);
    opacity: 0.8;
}

.mc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mc-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mc-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.15);
}

.mc-card-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
}
.mc-card-line.short {
    width: 60%;
}

.mc-chart {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex;
    align-items: flex-end;
    padding: 24px 32px;
    gap: 20px;
}

.mc-chart-bar {
    flex: 1;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.6));
    border-radius: 6px 6px 0 0;
    transition: height 1s ease;
    animation: growBar 1.5s ease backwards;
}

.mc-chart-bar:nth-child(2) { animation-delay: 0.1s; }
.mc-chart-bar:nth-child(3) { animation-delay: 0.2s; }
.mc-chart-bar:nth-child(4) { animation-delay: 0.3s; }
.mc-chart-bar:nth-child(5) { animation-delay: 0.4s; }
.mc-chart-bar:nth-child(6) { animation-delay: 0.5s; }

@keyframes growBar {
    from { height: 0 !important; }
}

/* Floating Badges */
.float-badge {
    position: absolute;
    z-index: 10;
    background: rgba(17, 26, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(16px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    animation: floatBadgeAnim 6s infinite ease-in-out;
}

.float-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.float-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.float-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.float-avatars {
    display: flex;
    align-items: center;
}

.f-av {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: 2px solid #111a2e;
    margin-left: -10px;
}
.f-av:first-child { margin-left: 0; background: linear-gradient(135deg, #10b981, #06b6d4); }
.f-av:nth-child(2) { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.f-av.count {
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.float-1 {
    top: 60px;
    left: -40px;
    animation-delay: 0s;
    transform: translateZ(40px);
}

.float-2 {
    bottom: 80px;
    right: -60px;
    animation-delay: 2s;
    transform: translateZ(60px);
}

.float-3 {
    top: 200px;
    right: -30px;
    animation-delay: 4s;
    transform: translateZ(50px);
}

@keyframes floatBadgeAnim {
    0%, 100% { transform: translateY(0) translateZ(40px); }
    50% { transform: translateY(-15px) translateZ(40px); }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 80px;
    width: 100%;
    max-width: 1000px;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.stat-card {
    background: var(--bg-card-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.stat-emoji {
    font-size: 1.4rem;
    margin-bottom: 8px;
    display: block;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

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

/* ===== SECTION COMMON ===== */
.section {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 90px 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 14px;
    padding: 5px 14px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 100px;
    border: 1px solid rgba(59, 130, 246, 0.12);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    max-width: 1280px;
    margin: 0 auto;
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 12px;
}

.feature-card {
    background: var(--bg-card-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 120px;
    z-index: 1;
}

/* Bento Grid Layout Mapping */
.feature-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.feature-card:nth-child(2) { grid-column: span 1; grid-row: span 1; }
.feature-card:nth-child(3) { grid-column: span 1; grid-row: span 2; }
.feature-card:nth-child(4) { grid-column: span 1; grid-row: span 1; }
.feature-card:nth-child(5) { grid-column: span 2; grid-row: span 1; }
.feature-card:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.feature-card:nth-child(7) { grid-column: span 1; grid-row: span 1; }
.feature-card:nth-child(8) { grid-column: span 1; grid-row: span 1; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.04), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

/* Ambient glow inside card */
.feature-card::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    filter: blur(45px);
    opacity: 0.12;
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card.blue::after { background: var(--accent-blue); top: -40px; right: -40px; }
.feature-card.purple::after { background: var(--accent-purple); bottom: -40px; left: -40px; }
.feature-card.cyan::after { background: var(--accent-cyan); top: 50%; right: -40px; transform: translateY(-50%); }
.feature-card.orange::after { background: var(--accent-orange); top: -20px; left: 20%; }
.feature-card.green::after { background: var(--accent-green); bottom: -20px; right: 10%; }
.feature-card.pink::after { background: var(--accent-pink); top: -40px; right: -40px; }
.feature-card.indigo::after { background: var(--accent-indigo); bottom: -40px; left: -40px; }
.feature-card.teal::after { background: var(--accent-teal); top: -20px; left: -20px; }

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
}

.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after {
    opacity: 0.25;
    transform: scale(1.2) translateY(0);
}
.feature-card.cyan:hover::after { transform: scale(1.2) translateY(-40%); }

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
    transition: transform var(--transition-normal);
}

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

.feature-card:nth-child(1) .feature-icon-svg,
.feature-card:nth-child(6) .feature-icon-svg {
    width: 22px;
    height: 22px;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon.blue { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); box-shadow: 0 4px 16px rgba(59,130,246,0.1); }
.feature-icon.purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); box-shadow: 0 4px 16px rgba(139,92,246,0.1); }
.feature-icon.cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); box-shadow: 0 4px 16px rgba(6,182,212,0.1); }
.feature-icon.pink { background: rgba(236, 72, 153, 0.15); color: var(--accent-pink); box-shadow: 0 4px 16px rgba(236,72,153,0.1); }
.feature-icon.green { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); box-shadow: 0 4px 16px rgba(16,185,129,0.1); }
.feature-icon.orange { background: rgba(245, 158, 11, 0.15); color: var(--accent-orange); box-shadow: 0 4px 16px rgba(245,158,11,0.1); }
.feature-icon.indigo { background: rgba(99, 102, 241, 0.15); color: var(--accent-indigo); box-shadow: 0 4px 16px rgba(99,102,241,0.1); }
.feature-icon.teal { background: rgba(20, 184, 166, 0.15); color: var(--accent-teal); box-shadow: 0 4px 16px rgba(20,184,166,0.1); }

.feature-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    margin-top: 10px;
    letter-spacing: -0.2px;
}

.feature-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Larger styling for span-2 cards */
.feature-card:nth-child(1) .feature-title,
.feature-card:nth-child(6) .feature-title {
    font-size: 1.05rem;
    margin-bottom: 4px;
    margin-top: 10px;
    letter-spacing: -0.2px;
}

.feature-card:nth-child(1) .feature-desc,
.feature-card:nth-child(6) .feature-desc {
    font-size: 0.82rem;
    max-width: 95%;
}

.feature-card:nth-child(1) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

/* ===== HOW IT WORKS ===== */
.steps-wrapper {
    position: relative;
    padding: 20px 0;
}

.steps-line {
    position: absolute;
    top: 52px; /* Aligns with step-number center (20px padding + 32px half of icon) */
    left: 12%;
    right: 12%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
    overflow: hidden;
}

.steps-line-glow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-purple), transparent);
    animation: flowLine 3.5s infinite linear;
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.8));
}

@keyframes flowLine {
    0% { transform: translateX(-150%); }
    100% { transform: translateX(450%); }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--transition-slow);
}

.step-card:hover {
    transform: translateY(-8px);
}

.step-icon-wrap {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    box-shadow: 0 0 0 8px var(--bg-primary); /* Masks the line behind it */
    transition: transform var(--transition-normal);
    z-index: 2;
}

.step-number {
    font-size: 1.4rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.step-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    z-index: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    transition: opacity var(--transition-normal), box-shadow var(--transition-normal);
    opacity: 0.3;
}

.step-card:hover .step-icon-wrap {
    transform: scale(1.15);
}

.step-icon-wrap.n1 { color: var(--accent-blue); background: linear-gradient(rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.12)), var(--bg-primary); border: 2px solid rgba(59, 130, 246, 0.25); }
.step-icon-wrap.n2 { color: var(--accent-purple); background: linear-gradient(rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0.12)), var(--bg-primary); border: 2px solid rgba(139, 92, 246, 0.25); }
.step-icon-wrap.n3 { color: var(--accent-cyan); background: linear-gradient(rgba(6, 182, 212, 0.12), rgba(6, 182, 212, 0.12)), var(--bg-primary); border: 2px solid rgba(6, 182, 212, 0.25); }
.step-icon-wrap.n4 { color: var(--accent-green); background: linear-gradient(rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.12)), var(--bg-primary); border: 2px solid rgba(16, 185, 129, 0.25); }

.step-icon-wrap.n1::after { background: linear-gradient(135deg, var(--accent-blue), transparent); }
.step-icon-wrap.n2::after { background: linear-gradient(135deg, var(--accent-purple), transparent); }
.step-icon-wrap.n3::after { background: linear-gradient(135deg, var(--accent-cyan), transparent); }
.step-icon-wrap.n4::after { background: linear-gradient(135deg, var(--accent-green), transparent); }

.step-card:hover .step-icon-wrap.n1::after { opacity: 0.8; box-shadow: 0 0 15px rgba(59, 130, 246, 0.4); }
.step-card:hover .step-icon-wrap.n2::after { opacity: 0.8; box-shadow: 0 0 15px rgba(139, 92, 246, 0.4); }
.step-card:hover .step-icon-wrap.n3::after { opacity: 0.8; box-shadow: 0 0 15px rgba(6, 182, 212, 0.4); }
.step-card:hover .step-icon-wrap.n4::after { opacity: 0.8; box-shadow: 0 0 15px rgba(16, 185, 129, 0.4); }

.step-content {
    background: var(--bg-card-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.step-card:hover .step-content {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
    background: var(--bg-card-hover);
}

.step-card:hover .step-icon-wrap.n1 + .step-content::before { background: var(--accent-blue); opacity: 1; }
.step-card:hover .step-icon-wrap.n2 + .step-content::before { background: var(--accent-purple); opacity: 1; }
.step-card:hover .step-icon-wrap.n3 + .step-content::before { background: var(--accent-cyan); opacity: 1; }
.step-card:hover .step-icon-wrap.n4 + .step-content::before { background: var(--accent-green); opacity: 1; }

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-list-card {
    background: var(--bg-card-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 220px; /* Fixed height for consistent list look */
}

.project-list-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
    box-shadow: var(--shadow-card-hover);
}

.project-list-image {
    width: 320px;
    min-width: 320px;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--border-color);
}

.project-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.project-list-card:hover .project-list-image img {
    transform: scale(1.05);
}

.project-list-content {
    padding: 24px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.project-list-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.project-list-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.project-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.project-list-title-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.project-status {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.status-active { background: rgba(16, 185, 129, 0.12); color: var(--accent-green); }
.status-new { background: rgba(59, 130, 246, 0.12); color: var(--accent-blue); }
.status-hot { background: rgba(245, 158, 11, 0.12); color: var(--accent-orange); }

.project-list-title {
    font-size: 1.15rem;
    font-weight: 700;
    transition: color var(--transition-fast);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-list-card:hover .project-list-title {
    color: var(--accent-blue);
}

.project-list-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.project-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    padding: 3px 10px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--accent-blue);
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}

.tag:hover { border-color: rgba(59, 130, 246, 0.2); }
.tag.purple { background: rgba(139, 92, 246, 0.08); color: var(--accent-purple); }
.tag.purple:hover { border-color: rgba(139, 92, 246, 0.2); }
.tag.cyan { background: rgba(6, 182, 212, 0.08); color: var(--accent-cyan); }
.tag.cyan:hover { border-color: rgba(6, 182, 212, 0.2); }
.tag.green { background: rgba(16, 185, 129, 0.08); color: var(--accent-green); }
.tag.green:hover { border-color: rgba(16, 185, 129, 0.2); }
.tag.orange { background: rgba(245, 158, 11, 0.08); color: var(--accent-orange); }
.tag.orange:hover { border-color: rgba(245, 158, 11, 0.2); }
.tag.indigo { background: rgba(99, 102, 241, 0.08); color: var(--accent-indigo); }
.tag.indigo:hover { border-color: rgba(99, 102, 241, 0.2); }
.tag.teal { background: rgba(20, 184, 166, 0.08); color: var(--accent-teal); }
.tag.teal:hover { border-color: rgba(20, 184, 166, 0.2); }

.project-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.meta-item:hover { color: var(--text-secondary); }

.meta-item svg {
    width: 14px;
    height: 14px;
}

.project-link-btn {
    padding: 7px 16px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-sm);
    color: var(--accent-blue);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.project-link-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(2px);
}

.project-link-btn svg {
    width: 12px;
    height: 12px;
}

/* ===== FORUM ===== */
.forum-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.forum-item {
    background: var(--bg-card-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all var(--transition-normal);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.forum-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Vote block desktop */
.desktop-vote {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 52px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 8px 4px;
}

/* Vote block mobile */
.mobile-vote {
    display: none;
}

.vote-btn {
    width: 32px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 6px;
    color: var(--accent-purple);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.vote-btn:hover {
    background: rgba(139, 92, 246, 0.25);
    transform: scale(1.1);
    border-color: rgba(139, 92, 246, 0.4);
}

.vote-btn svg { width: 14px; height: 14px; }

.vote-count {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
}

.forum-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.forum-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.forum-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-question { background: rgba(59, 130, 246, 0.12); color: var(--accent-blue); }
.cat-poll { background: rgba(245, 158, 11, 0.12); color: var(--accent-orange); }
.cat-idea { background: rgba(16, 185, 129, 0.12); color: var(--accent-green); }
.cat-discussion { background: rgba(236, 72, 153, 0.12); color: var(--accent-pink); }

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

.forum-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.forum-item:hover .forum-title {
    color: var(--accent-purple);
}

.forum-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.forum-footer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.forum-replies {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.forum-replies svg { width: 15px; height: 15px; }

/* ===== POLL ===== */
.poll-card {
    background: var(--bg-card-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px;
    max-width: 720px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.poll-question {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.poll-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.poll-option {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.poll-option:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.04);
}

.poll-option.selected {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.06);
}

.poll-option-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: var(--radius-md);
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.poll-bar-blue { background: rgba(59, 130, 246, 0.1); }
.poll-bar-purple { background: rgba(139, 92, 246, 0.1); }
.poll-bar-cyan { background: rgba(6, 182, 212, 0.1); }
.poll-bar-green { background: rgba(16, 185, 129, 0.1); }

.poll-option-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.poll-option-label {
    font-size: 0.88rem;
    font-weight: 500;
}

.poll-option-percent {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 40px;
    text-align: right;
}

.poll-total {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== CTA ===== */
.cta-section {
    text-align: center;
    padding: 90px 2rem;
    position: relative;
    z-index: 1;
}

.cta-box {
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-2xl);
    padding: 64px 48px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cta-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0.3;
    animation: ctaFloat 6s infinite ease-in-out;
}

.cta-particles span:nth-child(1) { top: 20%; left: 15%; background: var(--accent-blue); animation-delay: 0s; }
.cta-particles span:nth-child(2) { top: 60%; left: 80%; background: var(--accent-purple); animation-delay: 1s; animation-duration: 8s; }
.cta-particles span:nth-child(3) { top: 80%; left: 30%; background: var(--accent-cyan); animation-delay: 2s; animation-duration: 7s; }
.cta-particles span:nth-child(4) { top: 30%; left: 70%; background: var(--accent-pink); animation-delay: 3s; animation-duration: 5s; }
.cta-particles span:nth-child(5) { top: 50%; left: 50%; background: var(--accent-green); animation-delay: 4s; animation-duration: 9s; }
.cta-particles span:nth-child(6) { top: 10%; left: 60%; background: var(--accent-orange); animation-delay: 2.5s; animation-duration: 6.5s; }

@keyframes ctaFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(15px, -20px) scale(1.5); opacity: 0.6; }
    50% { transform: translate(-10px, -35px) scale(1); opacity: 0.2; }
    75% { transform: translate(20px, -15px) scale(1.3); opacity: 0.5; }
}

.cta-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.cta-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-color);
    padding: 52px 2rem 28px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

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

.footer-brand .logo { margin-bottom: 14px; }

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    padding: 5px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-blue);
    transform: translateX(3px);
}

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

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

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-normal);
}

.social-link:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-2px);
}

.social-link svg { width: 16px; height: 16px; }

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 120px;
    }
    .feature-card:nth-child(1),
    .feature-card:nth-child(6) {
        grid-column: span 2 !important;
    }
    .feature-card:nth-child(1) .feature-title,
    .feature-card:nth-child(6) .feature-title {
        font-size: 1rem;
    }
    .feature-card:nth-child(1) .feature-desc,
    .feature-card:nth-child(6) .feature-desc {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .float-badge { transform: scale(0.85); }
    .float-1 { left: -20px; }
    .float-2 { right: -20px; }
    .float-3 { right: -10px; }
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

    .steps-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        height: calc(100vh - 68px);
        background: rgba(6, 10, 20, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu .nav-link {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius-md);
    }

    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        margin-left: 16px;
        padding: 4px;
    }

    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 1.5rem 60px;
    }

    .mockup-window { display: none; }
    .hero-visual {
        transform: none;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .hero-visual:hover { transform: none; }
    .hero-visual-wrapper { margin-top: 40px; perspective: none; }
    .float-badge {
        position: relative;
        top: auto; left: auto; right: auto; bottom: auto;
        transform: none !important;
        animation: none !important;
        width: 100%;
        justify-content: flex-start;
    }
    .float-1 { order: 1; }
    .float-3 { order: 2; }
    .float-2 { order: 3; }

    .hero-stats {
        gap: 12px;
    }

    .stat-card {
        padding: 18px 12px;
    }

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

    .section {
        padding: 60px 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-card,
    .feature-card:nth-child(1),
    .feature-card:nth-child(6) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: auto;
    }

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

    .forum-item {
        padding: 16px;
    }

    .desktop-vote {
        display: none;
    }

    .mobile-vote {
        display: flex;
        flex-direction: row;
        align-items: center;
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 100px;
        padding: 4px;
        gap: 8px;
    }

    .mobile-vote .vote-btn {
        width: 28px;
        height: 28px;
        border-radius: 50%;
    }

    .forum-footer {
        justify-content: space-between;
        width: 100%;
    }

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

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

    .poll-card {
        padding: 24px 18px;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .project-list-card {
        flex-direction: column;
        height: auto;
        padding: 16px;
    }

    .project-list-image {
        display: none; /* Скрываем большую картинку для компактности */
    }
    
    .project-list-content {
        padding: 0;
    }
    
    .project-list-header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .project-list-title-wrap {
        gap: 12px;
        flex: 1;
        width: auto;
    }

    .project-avatar {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .project-list-title {
        font-size: 1.05rem;
    }

    .project-status {
        align-self: flex-start;
        flex-shrink: 0;
        padding: 4px 8px;
        font-size: 0.65rem;
    }

    .project-list-desc {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .project-list-footer {
        padding-top: 12px;
    }

    .project-link-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .hero-desc {
        font-size: 1rem;
    }

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

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

/* ===== MARKDOWN CONTENT STYLES ===== */
.topic-content, .reply-content, .project-content, .timeline-content {
    line-height: 1.7;
}
.topic-content h1, .reply-content h1, .project-content h1, .timeline-content h1 { font-size: 2em; }
.topic-content h2, .reply-content h2, .project-content h2, .timeline-content h2 { font-size: 1.5em; }
.topic-content h3, .reply-content h3, .project-content h3, .timeline-content h3 { font-size: 1.25em; }
.topic-content h4, .reply-content h4, .project-content h4, .timeline-content h4 { font-size: 1em; }
.topic-content h5, .reply-content h5, .project-content h5, .timeline-content h5 { font-size: 0.875em; }
.topic-content h6, .reply-content h6, .project-content h6, .timeline-content h6 { font-size: 0.85em; }

.topic-content h1, .topic-content h2, .topic-content h3, .topic-content h4, .topic-content h5, .topic-content h6,
.reply-content h1, .reply-content h2, .reply-content h3, .reply-content h4, .reply-content h5, .reply-content h6,
.project-content h1, .project-content h2, .project-content h3, .project-content h4, .project-content h5, .project-content h6,
.timeline-content h1, .timeline-content h2, .timeline-content h3, .timeline-content h4, .timeline-content h5, .timeline-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: var(--text-primary);
    font-weight: 700;
}
.topic-content p, .reply-content p, .project-content p, .timeline-content p {
    margin-bottom: 1em;
}
.topic-content a, .reply-content a, .project-content a, .timeline-content a {
    color: var(--accent-blue);
    text-decoration: underline;
}
.topic-content ul, .reply-content ul, .project-content ul, .timeline-content ul {
    margin-bottom: 1em;
    padding-left: 20px;
    list-style-type: disc;
}
.topic-content ul ul, .reply-content ul ul, .project-content ul ul, .timeline-content ul ul,
.topic-content ol ul, .reply-content ol ul, .project-content ol ul, .timeline-content ol ul {
    list-style-type: circle;
    margin-bottom: 0;
}
.topic-content ol, .reply-content ol, .project-content ol, .timeline-content ol {
    margin-bottom: 1em;
    padding-left: 20px;
    list-style-type: decimal;
}
.topic-content ol ol, .reply-content ol ol, .project-content ol ol, .timeline-content ol ol,
.topic-content ul ol, .reply-content ul ol, .project-content ul ol, .timeline-content ul ol {
    list-style-type: lower-alpha;
    margin-bottom: 0;
}
.topic-content li, .reply-content li, .project-content li, .timeline-content li {
    margin-bottom: 0.25em;
}
.topic-content code, .reply-content code, .project-content code, .timeline-content code {
    background: rgba(255,255,255,0.1);
    padding: 2px 4px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}
.topic-content pre, .reply-content pre, .project-content pre, .timeline-content pre {
    background: rgba(0,0,0,0.3);
    padding: 1em;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-bottom: 1em;
}
.topic-content pre code, .reply-content pre code, .project-content pre code, .timeline-content pre code {
    background: transparent;
    padding: 0;
}
.topic-content blockquote, .reply-content blockquote, .project-content blockquote, .timeline-content blockquote {
    border-left: 4px solid var(--accent-blue);
    padding-left: 1em;
    color: var(--text-secondary);
    margin-bottom: 1em;
    background: rgba(59,130,246,0.05);
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.topic-content img, .reply-content img, .project-content img, .timeline-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 1em;
}

/* Compact poll styles */
.compact-poll {
    padding: 24px;
}
.compact-poll .poll-question {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 600;
}
.compact-poll .poll-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.compact-poll .poll-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.compact-poll .poll-option {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
}
.compact-poll .poll-option-label {
    font-size: 0.85rem;
}
.compact-poll .poll-total {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
    margin-bottom: 0;
}

/* EasyMDE Dark Theme Overrides */
.editor-toolbar {
    display: none !important;
}

.CodeMirror {
    background: rgba(255, 255, 255, 0.02) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    text-align: left !important;
    font-family: inherit !important;
    min-height: 120px !important;
    height: auto !important;
    box-sizing: border-box !important;
    direction: ltr !important;
    padding: 0 !important;
}

.CodeMirror-lines {
    padding: 12px 10px !important;
}

.CodeMirror-vscrollbar,
.CodeMirror-hscrollbar {
    background: transparent !important;
}

.CodeMirror-scroll {
    min-height: 100px !important;
    box-sizing: border-box !important;
    padding-bottom: 20px;
}

.CodeMirror pre.CodeMirror-line,
.CodeMirror pre.CodeMirror-line-like {
    color: var(--text-primary) !important;
    text-align: left !important;
}

.cm-s-easymde .cm-header {
    color: var(--text-primary) !important;
}

.cm-s-easymde .cm-link {
    color: var(--accent-blue) !important;
}

.cm-s-easymde .cm-url {
    color: var(--accent-cyan) !important;
}

.cm-s-easymde .cm-quote {
    color: var(--text-secondary) !important;
}

.cm-s-easymde .cm-string {
    color: var(--accent-green) !important;
}

.cm-s-easymde .cm-variable-2 {
    color: var(--text-primary) !important;
}

.CodeMirror-cursor {
    border-left-color: var(--text-primary) !important;
}

.editor-preview, .editor-preview-side {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    text-align: left;
    padding: 10px !important;
}

.editor-statusbar {
    color: var(--text-muted) !important;
    text-align: right;
    padding: 4px 10px;
}

.cm-s-easymde .cm-formatting {
    color: var(--text-muted) !important;
}

/* ===== REPORT BUTTON & MODAL ===== */
.report-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.report-btn:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.report-btn svg {
    width: 14px;
    height: 14px;
}
