/* CSS Reset & Variables */
:root {
    --bg-dark: #0d0d0d;
    --bg-darker: #050505;
    --text-main: #ededed;
    --text-muted: #a1a1aa;
    --brand-emerald: #3ecf8e;
    --brand-emerald-glow: rgba(62, 207, 142, 0.2);
    --glass-bg: rgba(28, 28, 28, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(40, 40, 40, 0.8);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}


/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

.text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--brand-emerald) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite alternate;
    background-size: 200% 200%;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.text-gray { color: var(--text-muted); }
.text-green { color: var(--brand-emerald); }
.text-white { color: #fff; }

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.ml-2 { margin-left: 0.5rem; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.bg-darker { background-color: var(--bg-darker); }
.hidden { display: none !important; }

/* Components */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.glass-panel {
    background: rgba(28, 28, 28, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-panel:hover {
    border-color: rgba(62, 207, 142, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(62, 207, 142, 0.05);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    border-radius: 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--brand-emerald);
    color: var(--bg-dark);
    border-radius: 8px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a:not(.btn):not(.nav-link-icon)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--brand-emerald);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):not(.nav-link-icon):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-link-icon {
    display: flex;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-emerald) 0%, #27c93f 100%);
    color: var(--bg-dark);
    box-shadow: 0 2px 8px rgba(62, 207, 142, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #35b37a 0%, #22a832 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(62, 207, 142, 0.35);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; border-radius: 12px; letter-spacing: -0.01em; }

/* Sections */
.section {
    padding: 6rem 0;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animated Hero Backgrounds */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.03),
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 24px
    );
    mask-image: radial-gradient(ellipse at top center, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at top center, black 0%, transparent 80%);
    animation: driftDiagonal 40s linear infinite;
}

@keyframes driftDiagonal {
    0% { background-position: 0 0; }
    100% { background-position: -100vw 100vw; }
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: drift 20s infinite alternate ease-in-out;
}

.bg-glow-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background-color: rgba(62, 207, 142, 0.15);
    animation-delay: 0s;
}

.bg-glow-2 {
    bottom: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background-color: rgba(100, 100, 255, 0.15);
    animation-delay: -5s;
}

.bg-glow-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background-color: rgba(153, 50, 204, 0.12);
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, 50px) scale(1.1); }
    100% { transform: translate(-50px, 100px) scale(0.9); }
}

/* Social Proof */
.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.proof-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-ctas {
    margin-bottom: 4rem;
}

/* Hero Visual Demo */
.hero-visual {
    max-width: 800px;
    margin: 0 auto;
    transform: perspective(1000px) rotateX(5deg) scale(0.95);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(62, 207, 142, 0.06);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.6s ease;
}

.hero-visual:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1);
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(62, 207, 142, 0.08);
}

.mockup-window {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 12px;
    overflow: hidden;
}

.mockup-header {
    background: rgba(30, 30, 30, 0.9);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

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

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff5f56;
}
.mockup-dots span:nth-child(2) { background-color: #ffbd2e; }
.mockup-dots span:nth-child(3) { background-color: #27c93f; }

.mockup-title {
    margin: 0 auto;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mockup-body {
    padding: 2rem;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.chat-bubble {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    max-width: 80%;
    font-size: 0.95rem;
}

.ai-bubble {
    background-color: rgba(255, 255, 255, 0.05);
    align-self: flex-start;
}

.injection-demo {
    margin-top: auto;
    position: relative;
}

.contxt-popup {
    position: absolute;
    bottom: 120%;
    right: 0;
    width: 280px;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 10;
}

.popup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.popup-logo {
    width: 20px; height: 20px;
    background: var(--brand-emerald);
    color: #000;
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}

.popup-stats {
    display: flex; justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    background: rgba(0,0,0,0.2);
    padding: 6px;
    border-radius: 4px;
}

.btn-inject {
    width: 100%;
    background-color: var(--brand-emerald);
    color: #000;
    padding: 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
}

.chat-input-area {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    min-height: 56px;
}

.chat-input.placeholder { color: var(--text-muted); }

.typing-animation::after {
    content: '|';
    animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comparison-card {
    padding: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.comparison-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.card-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.badge-red { background: rgba(255, 77, 79, 0.1); color: #ff4d4f; border: 1px solid rgba(255, 77, 79, 0.2); }
.badge-green { background: rgba(62, 207, 142, 0.1); color: var(--brand-emerald); border: 1px solid rgba(62, 207, 142, 0.2); }

.code-block {
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    background: rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    height: 250px;
    overflow-y: auto;
}

.demo-wrapper {
    position: relative;
    height: 250px;
}

.demo-click-action {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.btn-inject-demo {
    background: var(--brand-emerald);
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(62, 207, 142, 0); }
    100% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0); }
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1.5rem;
}

.bento-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(62, 207, 142, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bento-card:hover {
    background: var(--card-hover);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

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

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

.bento-wide {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.bento-wide .bento-content { max-width: 50%; }

.bento-content h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.bento-content p { color: var(--text-muted); font-size: 0.95rem; }

.bento-visual {
    margin-top: 2rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid var(--glass-border);
}

.bento-wide .bento-visual { margin-top: 0; min-width: 300px; }

.platform-logos {
    display: flex; gap: 1rem; flex-wrap: wrap;
}

.platform-logo {
    background: rgba(255,255,255,0.05);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.text-visual .highlight {
    color: #ffbd2e;
    font-family: monospace;
}

.privacy-alert {
    background: rgba(255, 189, 46, 0.1);
    color: #ffbd2e;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: monospace;
    border: 1px solid rgba(255, 189, 46, 0.3);
}

.fade-banner {
    background: rgba(255, 77, 79, 0.1);
    color: #ff4d4f;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(28, 28, 28, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.4s ease;
}

.step-card:hover {
    background: rgba(28, 28, 28, 0.5);
    transform: translateY(-4px);
    border-color: rgba(62, 207, 142, 0.15);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(62, 207, 142, 0.15) 0%, rgba(62, 207, 142, 0.05) 100%);
    border: 1px solid rgba(62, 207, 142, 0.2);
    color: var(--brand-emerald);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card h3 { margin-bottom: 1rem; font-size: 1.25rem; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* CTA Box */
.cta-box {
    padding: 5rem 3rem;
    background: linear-gradient(180deg, rgba(28,28,28,0.4) 0%, rgba(62,207,142,0.08) 100%);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(62, 207, 142, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h2 { font-size: 2.5rem; margin-bottom: 1rem; position: relative; }
.cta-box p { color: var(--text-muted); font-size: 1.1rem; position: relative; }
.cta-box .flex, .cta-box .mt-8 { position: relative; }

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0;
    margin-top: 0;
    background: linear-gradient(to top, rgba(5,5,5,1) 0%, var(--bg-dark) 100%);
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-main); }

/* Blog Cards */
.blog-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-emerald), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(62, 207, 142, 0.05) !important;
}

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

/* Section Dividers */
.section + .section,
.section + .footer {
    position: relative;
}

.comparison-section,
.features-section,
.how-it-works-section,
.contribute-section,
.blog-section,
.cta-section {
    position: relative;
}

.comparison-section::before,
.features-section::before,
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(62, 207, 142, 0.2), transparent);
}

/* Animations classes used by JS */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Infinite Marquee */
.hero-marquee-container {
    margin-top: 6rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.marquee-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
}

.marquee:before, .marquee:after {
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    content: "";
    z-index: 2;
}

.marquee:before {
    left: 0;
    background: linear-gradient(to right, #0a0a0a 0%, transparent 100%);
}

.marquee:after {
    right: 0;
    background: linear-gradient(to left, #0a0a0a 0%, transparent 100%);
}

.marquee-content {
    display: inline-flex;
    animation: marquee 35s linear infinite;
    gap: 4rem;
    padding-left: 4rem;
    align-items: center;
}

.marquee-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.marquee-item:hover {
    color: rgba(255, 255, 255, 0.9);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Contribution Section */
.contribute-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem;
    gap: 4rem;
    background: linear-gradient(135deg, rgba(28,28,28,0.8) 0%, rgba(62,207,142,0.05) 100%);
}

.contribute-content {
    flex: 1;
}

.contribute-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contribute-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.tech-stack {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tech-stack span {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 500;
}

.terminal-window {
    flex: 1;
    background: #0d0d0d;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    min-width: 400px;
}

.terminal-header {
    background: #1a1a1a;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.terminal-title {
    margin: 0 auto;
    font-size: 0.8rem;
    color: #888;
    font-family: monospace;
}

.terminal-body {
    padding: 1.5rem;
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    height: auto;
    background: transparent;
    border: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Personas Section */
.personas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.persona-card {
    padding: 2rem;
    text-align: center;
}

.persona-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.persona-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.persona-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Comparison Table Section */
.compare-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    background: rgba(28, 28, 28, 0.4);
    padding: 1px; /* for border */
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.compare-table th, .compare-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.compare-table th:first-child, .compare-table td:first-child {
    text-align: left;
}

.compare-table th {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.2);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.highlight-col {
    background: rgba(62, 207, 142, 0.05);
}

.table-check {
    color: var(--brand-emerald);
    font-weight: bold;
    font-size: 1.2rem;
}

.table-cross {
    color: #ff4d4f;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

details[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Section Textures */
.personas-section::after,
.features-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 60%);
    pointer-events: none;
}

.compare-table-section::after,
.how-it-works-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.02) 0px,
        rgba(255, 255, 255, 0.02) 1px,
        transparent 1px,
        transparent 16px
    );
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 900px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large, .bento-wide { grid-column: span 1; }
    .bento-wide { flex-direction: column; text-align: left; align-items: flex-start; }
    .bento-wide .bento-content { max-width: 100%; margin-bottom: 1.5rem; }
    .bento-wide .bento-visual { min-width: auto; width: 100%; }
    .personas-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .comparison-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .contribute-wrapper { flex-direction: column; padding: 2rem; gap: 2rem; }
    .terminal-window { min-width: 100%; }
    .footer-content { flex-direction: column; gap: 1.5rem; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero { padding-top: 7rem; padding-bottom: 3rem; }
    .hero-subtitle { font-size: 1.05rem; }
    
    .hero-ctas { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
    .hero-ctas .btn { width: 100%; }
    
    .section { padding: 4rem 0; }
    .container { padding: 0 1rem; }
    
    .mockup-window { transform: none; box-shadow: 0 10px 20px -5px rgba(0,0,0,0.5); }
    .hero-visual { transform: none !important; }
    
    .bento-card, .step-card, .comparison-card, .cta-box, .persona-card { padding: 1.5rem; }
    .personas-grid { grid-template-columns: 1fr; }
    
    .hero-social-proof { flex-direction: column; gap: 0.8rem; }
    .proof-divider { display: none; }
    
    .marquee-content { gap: 2rem; }
    .marquee-item { font-size: 1.2rem; }
    
    .compare-table th, .compare-table td { padding: 1rem; font-size: 0.95rem; }
    .compare-table th { font-size: 1rem; }
    
    .faq-question { padding: 1.25rem; font-size: 1rem; }
    .faq-answer { padding: 0 1.25rem 1.25rem; }
    
    .terminal-body { padding: 1rem; font-size: 0.8rem; }
    
    .platform-logos { flex-direction: column; align-items: stretch; width: 100%; }
    .platform-logo { text-align: center; }
    
    .cta-box .flex { flex-direction: column; gap: 1rem; }
    .cta-box .btn { width: 100%; margin: 0; }
    
    .contribute-btns { flex-direction: column; width: 100%; }
    .contribute-btns .btn { width: 100%; }
    
    .blog-grid { grid-template-columns: 1fr !important; }
    .blog-card { padding: 1.5rem !important; }
}
