/* VibeDNA Landing Page Styles */
/* Color Palette based on logo: Cyan (#00D4FF), Magenta (#E91E8C), Purple (#8B5CF6) */

:root {
    /* Primary Colors */
    --cyan: #00D4FF;
    --cyan-dark: #00A8CC;
    --magenta: #E91E8C;
    --magenta-dark: #C41574;
    --purple: #8B5CF6;
    --purple-dark: #7C3AED;

    /* Neutrals */
    --bg-dark: #0A0B14;
    --bg-card: #12141F;
    --bg-card-hover: #1A1D2E;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A3B1;
    --text-muted: #6B7280;
    --border: rgba(255, 255, 255, 0.1);

    /* Nucleotide Colors */
    --adenine: #00D4FF;
    --thymine: #E91E8C;
    --cytosine: #8B5CF6;
    --guanine: #10B981;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--cyan) 0%, var(--magenta) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--magenta) 0%, var(--purple) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(233, 30, 140, 0.2) 100%);

    /* Spacing */
    --container-width: 1280px;
    --section-padding: 120px;

    /* Animation */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* DNA Background Canvas */
.dna-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

#dnaCanvas {
    width: 100%;
    height: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 11, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition-normal);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-icon {
    height: 40px;
    width: auto;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

.nav-btn {
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-normal);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--cyan);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

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

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-scroll span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--cyan);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

/* Demo Section */
.demo-section {
    padding: 60px 0 var(--section-padding);
}

.demo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.demo-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.demo-tabs {
    display: flex;
    gap: 8px;
}

.demo-tab {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.demo-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--text-primary);
}

.demo-body {
    padding: 24px;
}

.demo-input-group,
.demo-output-group {
    margin-bottom: 20px;
}

.demo-input-group label,
.demo-output-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.demo-input-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 80px;
    transition: var(--transition-fast);
}

.demo-input-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.demo-btn {
    width: 100%;
    padding: 14px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    margin-bottom: 20px;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.dna-output {
    min-height: 80px;
    padding: 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    word-break: break-all;
    line-height: 1.8;
}

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

.dna-output .nucleotide {
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 3px;
    margin: 1px;
    display: inline-block;
}

.nucleotide.a { color: var(--adenine); background: rgba(0, 212, 255, 0.1); }
.nucleotide.t { color: var(--thymine); background: rgba(233, 30, 140, 0.1); }
.nucleotide.c { color: var(--cytosine); background: rgba(139, 92, 246, 0.1); }
.nucleotide.g { color: var(--guanine); background: rgba(16, 185, 129, 0.1); }

.demo-info {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.info-item {
    display: flex;
    gap: 8px;
    font-size: 0.875rem;
}

.info-label {
    color: var(--text-muted);
}

.info-value {
    color: var(--text-primary);
    font-weight: 500;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.02) 50%, transparent 100%);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition-normal);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--cyan);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* How It Works Section */
.how-it-works {
    padding: var(--section-padding) 0;
}

.process-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 12px;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.step-visual {
    padding: 12px;
    background: var(--bg-dark);
    border-radius: 8px;
}

.step-visual code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--cyan);
    word-break: break-all;
}

.mapping {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.map-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
}

.map-item code {
    color: var(--text-primary);
}

.arrow {
    color: var(--text-muted);
}

.container-visual {
    display: flex;
    gap: 4px;
}

.segment {
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
}

.segment.header { background: rgba(0, 212, 255, 0.2); color: var(--cyan); }
.segment.data { background: rgba(139, 92, 246, 0.2); color: var(--purple); flex: 2; }
.segment.ecc { background: rgba(16, 185, 129, 0.2); color: var(--guanine); }
.segment.footer { background: rgba(233, 30, 140, 0.2); color: var(--magenta); }

.dna-sequence-display {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.process-connector {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    padding-top: 60px;
}

/* Codecs Section */
.codecs {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(233, 30, 140, 0.02) 50%, transparent 100%);
}

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

.codec-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.codec-card:hover {
    transform: translateY(-4px);
    border-color: rgba(233, 30, 140, 0.3);
}

.codec-header {
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.codec-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 800;
}

.codec-icon.quaternary { background: rgba(0, 212, 255, 0.2); color: var(--cyan); }
.codec-icon.balanced { background: rgba(139, 92, 246, 0.2); color: var(--purple); }
.codec-icon.rll { background: rgba(16, 185, 129, 0.2); color: var(--guanine); }
.codec-icon.triplet { background: rgba(233, 30, 140, 0.2); color: var(--magenta); }

.codec-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.codec-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.codec-body {
    padding: 24px;
}

.codec-body p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.codec-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.codec-stat {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.codec-stat .stat-label {
    color: var(--text-muted);
}

.codec-stat .stat-value {
    font-weight: 600;
    color: var(--text-primary);
}

.codec-mapping {
    padding: 12px;
    background: var(--bg-dark);
    border-radius: 8px;
    text-align: center;
}

.codec-mapping code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--cyan);
}

/* Architecture Section */
.architecture {
    padding: var(--section-padding) 0;
}

.arch-diagram {
    max-width: 900px;
    margin: 0 auto;
}

.arch-layer {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 0;
}

.layer-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.layer-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.module {
    padding: 10px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.module:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.arch-layer.interfaces .module:hover { border-color: var(--cyan); color: var(--cyan); }
.arch-layer.core .module:hover { border-color: var(--magenta); color: var(--magenta); }
.arch-layer.storage .module:hover { border-color: var(--purple); color: var(--purple); }
.arch-layer.compute .module:hover { border-color: var(--guanine); color: var(--guanine); }
.arch-layer.ecc .module:hover { border-color: var(--magenta); color: var(--magenta); }

.arch-connector {
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, var(--border) 0%, transparent 50%, var(--border) 100%);
    margin: 0 auto;
}

.arch-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Code Examples Section */
.code-examples {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.02) 50%, transparent 100%);
}

.code-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.code-tab {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.code-tab:hover {
    background: rgba(255, 255, 255, 0.05);
}

.code-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--text-primary);
}

.code-panels {
    max-width: 900px;
    margin: 0 auto;
}

.code-panel {
    display: none;
}

.code-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.code-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

.code-lang {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.copy-btn {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.code-block pre {
    padding: 20px;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
}

.code-block code {
    color: var(--text-primary);
}

.code-block .comment { color: var(--text-muted); }
.code-block .keyword { color: var(--magenta); }
.code-block .string { color: var(--guanine); }
.code-block .builtin { color: var(--cyan); }
.code-block .output { color: var(--text-muted); font-style: italic; }

/* File Format Section */
.file-format {
    padding: var(--section-padding) 0;
}

.format-diagram {
    max-width: 900px;
    margin: 0 auto 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.format-section {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.format-section:last-child {
    border-bottom: none;
}

.format-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.format-size {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.format-fields {
    display: flex;
    gap: 4px;
}

.format-fields .field {
    flex: var(--width, 1);
    min-width: 0;
    padding: 12px 8px;
    background: var(--bg-dark);
    border-radius: 6px;
    text-align: center;
    overflow: hidden;
}

.format-fields .field span {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.format-fields .field small {
    display: block;
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.header-section .field { background: rgba(0, 212, 255, 0.1); }
.data-section .field { background: rgba(139, 92, 246, 0.1); }
.footer-section .field { background: rgba(233, 30, 140, 0.1); }

.block-repeat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.block-item {
    flex: 1;
    display: flex;
    gap: 4px;
}

.block-header { background: rgba(139, 92, 246, 0.2) !important; flex: 1; }
.block-data { background: rgba(139, 92, 246, 0.1) !important; flex: 4; }
.block-parity { background: rgba(16, 185, 129, 0.2) !important; flex: 1; }

.repeat-indicator {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    white-space: nowrap;
}

.format-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.info-card h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.info-card code {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    color: var(--cyan);
    margin-bottom: 12px;
}

.info-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.05) 50%, rgba(233, 30, 140, 0.05) 100%);
}

.cta .container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.install-command {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.install-command code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--cyan);
}

.install-command .copy-btn {
    padding: 6px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.install-command .copy-btn:hover {
    color: var(--text-primary);
}

.cta-visual {
    position: relative;
}

.floating-dna {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.floating-logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 212, 255, 0.3));
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

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

.footer-bottom a {
    color: var(--cyan);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes dnaRotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

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

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

    .arch-row {
        grid-template-columns: 1fr;
    }

    .format-info {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-visual {
        display: none;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border);
        padding: 24px;
        flex-direction: column;
        gap: 16px;
    }

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

    .nav-toggle {
        display: flex;
    }

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

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

    .process-flow {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        max-width: 100%;
    }

    .process-connector {
        transform: rotate(90deg);
        padding: 0;
    }

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

    .code-tabs {
        flex-wrap: wrap;
    }

    .format-fields {
        flex-wrap: wrap;
    }

    .format-fields .field {
        min-width: calc(33.33% - 4px);
        flex: auto;
    }

    .format-info {
        grid-template-columns: 1fr;
    }

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

    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

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

    .demo-info {
        flex-direction: column;
        gap: 12px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .install-command {
        width: 100%;
        justify-content: space-between;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Selection */
::selection {
    background: rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
}
