:root {
    --color-bg: #0a0a0a;
    --color-bg-elevated: #111111;
    --color-surface: #1a1a1a;
    --color-surface-hover: #222222;

    --color-primary: #0090ff;
    --color-primary-dim: rgba(0, 144, 255, 0.5);
    --color-error: #ef4444;

    --color-text: #ffffff;
    --color-text-muted: #999999;
    --color-text-dim: #666666;

    --gradient-primary: linear-gradient(135deg, #0090ff 0%, #0070cc 100%);
    --gradient-surface: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 144, 255, 0.3);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    top: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.nav-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    box-shadow: var(--shadow-lg);
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-highlight {
    color: var(--color-primary);
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    background: var(--gradient-primary);
    border-radius: 100px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

@media (max-width: 768px) {
    .floating-nav {
        top: var(--spacing-sm);
    }

    .nav-content {
        gap: var(--spacing-xs);
        padding: 0.4rem var(--spacing-sm);
    }

    .brand {
        font-size: 1rem;
    }

    .nav-cta {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-md);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.3;
    width: 100%;
    height: 100%;
}

#hero-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.title-line:nth-child(3) {
    animation-delay: 0.5s;
}

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

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease forwards 0.7s;
    opacity: 0;
    padding: var(--spacing-md);
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    animation: fadeInUp 0.8s ease forwards 0.9s;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.btn-hero {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.cta-note {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-text-dim);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

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

/* Sections */
section {
    padding: var(--spacing-xl) 0;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 144, 255, 0.1);
    border: 1px solid rgba(0, 144, 255, 0.2);
    border-radius: 100px;
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.section-intro {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
}

/* Problem Section */
.problem-section {
    background: var(--color-bg-elevated);
}

.scene-context {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--gradient-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
}

.context-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

.scene-context p {
    color: var(--color-text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .scene-context {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

.comparison-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.panel-iframe {
    width: 100%;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.panel-iframe:hover {
    border-color: rgba(0, 144, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 144, 255, 0.15);
}

.translation-panel.competitor {
    border-color: rgba(239, 68, 68, 0.3);
}

.translation-panel.lighttl {
    border-color: rgba(0, 144, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 144, 255, 0.1);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: rgba(26, 26, 26, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
}

.badge {
    padding: 0.3rem 0.8rem;
    background: rgba(0, 144, 255, 0.15);
    border: 1px solid rgba(0, 144, 255, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
}

.panel-body {
    padding: var(--spacing-md);
}

.translation-line {
    padding: var(--spacing-sm);
    margin: var(--spacing-xs) 0;
    line-height: 1.8;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.translation-line:hover {
    background: rgba(255, 255, 255, 0.03);
}

.translation-line.error {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid var(--color-error);
    padding-left: calc(var(--spacing-sm) - 3px);
}

.error-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: var(--spacing-sm);
    padding: 0.3rem 0.6rem;
    background: var(--color-error);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.translation-line.speaker-ai {
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.translation-line.speaker-narrator {
    border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.translation-line.speaker-protagonist {
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.translation-line.speaker-nina {
    border-left: 3px solid rgba(0, 144, 255, 0.5);
}

.translation-line.highlighted {
    background: rgba(0, 144, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 144, 255, 0.2);
}

.line-num {
    display: inline-block;
    width: 30px;
    color: var(--color-text-dim);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.translation-line .text {
    flex: 1;
}

.expand-btn {
    background: none;
    border: none;
    color: var(--color-text-dim);
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 4px;
    transition: var(--transition);
}

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

.line-details {
    display: none;
    margin: var(--spacing-sm) 0;
    padding: var(--spacing-md);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
    animation: slideDown 0.3s ease;
}

.line-details.show {
    display: block;
}

.detail-row {
    display: flex;
    gap: var(--spacing-md);
    margin: var(--spacing-sm) 0;
}

.detail-label {
    min-width: 80px;
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.detail-value {
    flex: 1;
    color: var(--color-text);
}

.detail-value.japanese {
    font-size: 1.1rem;
}

.detail-row.highlight {
    background: rgba(0, 168, 255, 0.1);
    padding: var(--spacing-sm);
    border-radius: 6px;
    margin-top: var(--spacing-md);
}

.detail-row.highlight .detail-value {
    color: var(--color-primary);
}

.panel-footer {
    padding: var(--spacing-md);
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.issue {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.issue i {
    color: var(--color-error);
    margin-top: 0.2rem;
}

.comparison-note {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(0, 144, 255, 0.05);
    border: 1px solid rgba(0, 144, 255, 0.15);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-lg);
}

.note-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1rem;
}

.note-label i {
    font-size: 1rem;
}

.comparison-note p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.note-hint {
    color: var(--color-primary);
    font-style: italic;
    font-size: 0.9rem;
}

.cta-inline {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-lg);
}

/* Positioning Section */
.positioning-section {
    background: var(--color-bg);
}

.positioning-chart-wrapper {
    margin: var(--spacing-xl) 0;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 800px;
    background: var(--gradient-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-sm);
    overflow: visible;
}

.chart-y-axis {
    position: absolute;
    left: 30px;
    top: 30px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chart-y-axis::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.15);
}

.chart-y-axis .axis-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.75rem;
    color: var(--color-text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
    transform: translateX(-20px);
}

.chart-y-axis .axis-arrow {
    font-size: 1.2rem;
    color: var(--color-text-dim);
    position: relative;
    z-index: 1;
}

.chart-x-axis {
    position: absolute;
    left: 40px;
    right: 30px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.chart-x-axis::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
}

.chart-x-axis .axis-label {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: var(--spacing-sm);
    transform: translateY(20px);
}

.chart-x-axis .axis-arrow {
    font-size: 1.2rem;
    color: var(--color-text-dim);
    position: relative;
    z-index: 1;
}

.chart-grid {
    position: absolute;
    inset: 30px 30px 40px 40px;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255, 255, 255, 0.03) 49px, rgba(255, 255, 255, 0.03) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255, 255, 255, 0.03) 49px, rgba(255, 255, 255, 0.03) 50px);
}

.chart-position {
    position: absolute;
    cursor: pointer;
}

.position-dot {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid var(--color-bg);
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.position-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

.chart-position:hover .position-dot {
    transform: scale(1.3);
    background: var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 144, 255, 0.5);
}

.chart-position.featured .position-dot {
    background: var(--color-primary);
    width: 28px;
    height: 28px;
}

.chart-position.featured .position-label {
    color: var(--color-primary);
}

.position-dot.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 144, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(0, 144, 255, 0);
    }
}

/* Approach Cards - positioned within chart */
.chart-position .approach-card {
    position: absolute;
    width: 240px;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: var(--spacing-sm);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

/* Desktop: Show all cards by default */
@media (min-width: 769px) {
    .chart-position .approach-card {
        opacity: 1;
        pointer-events: auto;
    }

    .chart-position[data-card="mt"] .approach-card,
    .chart-position[data-card="ai"] .approach-card,
    .chart-position[data-card="lighttl"] .approach-card {
        transform: translateX(-50%) scale(1);
    }
}

/* Mobile: Hide cards by default, show on tap */
@media (max-width: 768px) {
    .chart-position .approach-card {
        opacity: 0;
        pointer-events: none;
    }

    .chart-position.active .approach-card {
        opacity: 1;
        pointer-events: auto;
    }

    .chart-position[data-card="mt"].active .approach-card,
    .chart-position[data-card="ai"].active .approach-card,
    .chart-position[data-card="lighttl"].active .approach-card {
        transform: translateX(-50%) scale(1);
    }
}

/* Card positioning relative to dot */
.chart-position[data-card="mt"] .approach-card {
    bottom: 100%;
    left: 50%;
    margin-bottom: var(--spacing-xs);
}

.chart-position[data-card="ai"] .approach-card {
    bottom: 100%;
    left: 50%;
    margin-bottom: var(--spacing-xs);
}

.chart-position[data-card="lighttl"] .approach-card {
    bottom: 100%;
    left: 50%;
    margin-bottom: var(--spacing-xs);
}

.approach-card.featured {
    border-color: rgba(0, 144, 255, 0.4);
    background: linear-gradient(135deg, rgba(0, 144, 255, 0.08) 0%, rgba(17, 17, 17, 0.98) 100%);
    box-shadow: 0 0 40px rgba(0, 144, 255, 0.25);
}

.card-header {
    margin-bottom: var(--spacing-xs);
}

.tier-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tier-badge.tier-free {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-badge.tier-mid {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-badge.tier-premium {
    background: rgba(0, 144, 255, 0.15);
    color: var(--color-primary);
    border: 1px solid rgba(0, 144, 255, 0.3);
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.card-subtitle {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    margin-bottom: var(--spacing-xs);
}

.card-description {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
}

.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.card-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    font-size: 0.8rem;
    line-height: 1.4;
}

.card-features li.positive {
    color: var(--color-text);
}

.card-features li.positive i {
    color: var(--color-primary);
    margin-top: 0.15rem;
}

.card-features li.negative {
    color: var(--color-text);
}

.card-features li.negative i {
    color: var(--color-error);
    margin-top: 0.15rem;
}

.positioning-note {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(0, 144, 255, 0.05);
    border: 1px solid rgba(0, 144, 255, 0.15);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-lg);
}

.positioning-note p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.chart-hint {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-dim);
    margin-top: var(--spacing-md);
    font-style: italic;
}

.desktop-hint {
    display: none;
}

.mobile-hint {
    display: none;
}

@media (max-width: 768px) {
    .mobile-hint {
        display: inline;
    }

    .chart-container {
        height: 500px;
    }

    .position-label {
        font-size: 0.8rem;
    }

    .chart-position .approach-card {
        width: 220px;
        font-size: 0.85rem;
    }
}

/* Features Section */
.features-section {
    background: var(--color-bg-elevated);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

@media (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: var(--spacing-lg) var(--spacing-md);
    background: var(--gradient-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    cursor: default;
}

.feature-card:hover {
    border-color: rgba(0, 144, 255, 0.3);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 144, 255, 0.15);
    border: 1px solid rgba(0, 144, 255, 0.3);
    border-radius: 50%;
    font-size: 1.5rem;
    color: rgba(0, 144, 255, 0.8);
    filter: drop-shadow(0 4px 12px rgba(0, 144, 255, 0.15));
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: rgba(0, 144, 255, 0.2);
    color: rgba(0, 144, 255, 0.95);
    filter: drop-shadow(0 6px 16px rgba(0, 144, 255, 0.25));
    transform: translateY(-2px);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Final CTA */
.final-cta {
    background: var(--gradient-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.cta-features i {
    color: var(--color-primary);
}

/* Footer */
.footer {
    padding: var(--spacing-lg) 0;
    background: var(--color-bg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

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

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

.footer-bottom {
    text-align: center;
    color: var(--color-text-dim);
    font-size: 0.9rem;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
    }

    .hero {
        padding-top: 6rem;
    }

    .nav-content {
        gap: var(--spacing-md);
    }

    .brand {
        font-size: 1.2rem;
    }

    .comparison-wrapper {
        grid-template-columns: 1fr;
    }

    .chart-container {
        height: 500px;
        overflow: visible;
    }

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

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .cta-features {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .scroll-indicator {
        display: none;
    }

    .panel-iframe {
        height: 500px;
    }

    /* Mobile chart card positioning */
    .chart-position .approach-card {
        width: 280px;
        font-size: 0.9rem;
    }

    .chart-position[data-card="mt"] .approach-card {
        left: 0;
        transform: translateX(0) scale(0.95);
    }

    .chart-position[data-card="mt"].active .approach-card {
        transform: translateX(0) scale(1);
    }

    .chart-position[data-card="ai"] .approach-card {
        left: 50%;
        transform: translateX(-50%) scale(0.95);
    }

    .chart-position[data-card="ai"].active .approach-card {
        transform: translateX(-50%) scale(1);
    }

    .chart-position[data-card="lighttl"] .approach-card {
        left: auto;
        right: 0;
        transform: translateX(0) scale(0.95);
    }

    .chart-position[data-card="lighttl"].active .approach-card {
        transform: translateX(0) scale(1);
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-subtitle {
        font-size: 0.85rem;
    }

    .card-description {
        font-size: 0.85rem;
    }

    .card-features {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .nav-content {
        padding: var(--spacing-xs) var(--spacing-sm);
        gap: var(--spacing-sm);
    }

    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .section-label {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}
