/* ============================================
   DeepSeis — Marketing Landing Page Styles
   ============================================ */

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

:root {
    --color-bg: #0a0a0f;
    --color-surface: #12121a;
    --color-surface-2: #1a1a26;
    --color-border: #2a2a3a;
    --color-text: #eff0f8;
    --color-text-muted: #c8c8e0;
    --color-text-dim: #9898b0;
    --color-primary: #6366f1;
    --color-primary-light: #818cf8;
    --color-primary-dark: #4f46e5;
    --color-accent: #06b6d4;
    --color-accent-light: #22d3ee;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --gradient-primary: linear-gradient(135deg, #6366f1, #06b6d4);
    --gradient-hero: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(99,102,241,0.15);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
.text-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99,102,241,0.45);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
    background: rgba(99,102,241,0.05);
}

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
}

.logo-icon {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

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

.nav-links .btn-primary {
    color: #fff;
}

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

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99,102,241,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, rgba(6,182,212,0.06) 40%, transparent 70%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-primary-light);
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.35);
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: #fff;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid rgba(99,102,241,0.3);
    max-width: 500px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-mono);
    text-shadow: 0 0 20px rgba(99,102,241,0.5);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* --- Hero Screenshot --- */
.hero-screenshot {
    margin: 48px auto 0;
    max-width: 900px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(99, 102, 241, 0.15);
    transition: all 0.3s ease;
}

.hero-screenshot:hover {
    border-color: var(--color-primary);
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.6), 0 0 80px rgba(99, 102, 241, 0.25);
    transform: translateY(-4px);
}

.hero-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

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

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    background: rgba(6,182,212,0.15);
    border: 1px solid rgba(6,182,212,0.35);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Features Section --- */
.features {
    padding: 120px 0;
    background: var(--color-surface);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

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

.feature-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--color-primary-light);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* --- Workflow Section --- */
.workflow {
    padding: 120px 0;
    position: relative;
}

.workflow-steps {
    max-width: 800px;
    margin: 0 auto;
}

.workflow-step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    font-family: var(--font-mono);
    box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.65;
}

.step-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-details li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.step-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary-light);
    font-weight: 600;
}

.workflow-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-border));
    margin-left: 27px;
    margin-bottom: 32px;
    border-radius: 2px;
}

/* --- Use Cases Section --- */
.usecases {
    padding: 120px 0;
    background: var(--color-surface);
    position: relative;
}

.usecases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

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

.usecase-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.usecase-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(6,182,212,0.1);
}

.usecase-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.usecase-pattern {
    position: absolute;
    inset: 0;
}

.pattern-1 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.pattern-1::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(99,102,241,0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(6,182,212,0.2) 0%, transparent 50%);
}

.pattern-2 {
    background: linear-gradient(135deg, #1a2e1a 0%, #162e21 100%);
}

.pattern-2::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 40% 30%, rgba(16,185,129,0.3) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(6,182,212,0.2) 0%, transparent 50%);
}

.pattern-3 {
    background: linear-gradient(135deg, #2e1a1a 0%, #2e1621 100%);
}

.pattern-3::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(245,158,11,0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 40%, rgba(99,102,241,0.2) 0%, transparent 50%);
}

.usecase-content {
    padding: 28px;
}

.usecase-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    background: rgba(6,182,212,0.1);
    border: 1px solid rgba(6,182,212,0.2);
    margin-bottom: 14px;
}

.usecase-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.usecase-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* --- Specs Section --- */
.specs {
    padding: 120px 0;
}

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

.spec-item {
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s ease;
}

.spec-item:hover {
    border-color: var(--color-primary);
}

.spec-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-dim);
}

.spec-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    font-family: var(--font-mono);
}

/* --- CTA Section --- */
.cta {
    padding: 120px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0,0,0,0.2) 0%, transparent 50%);
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cta-note {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

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

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

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 12px;
}

.footer-desc {
    color: var(--color-text-muted);
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

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

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

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

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Page Hero (sub-pages) --- */
.page-hero {
    padding: 180px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--color-surface-2) 0%, var(--color-bg) 100%);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero .section-tag {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    text-wrap: balance;
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--color-text);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* --- Overview Section (home) --- */
.overview {
    padding: 100px 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

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

.overview-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    display: block;
}

.overview-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.overview-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--color-primary-light);
}

.overview-icon svg {
    width: 100%;
    height: 100%;
}

.overview-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.overview-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

.card-arrow {
    display: inline-block;
    color: var(--color-primary-light);
    font-weight: 600;
    font-size: 1.2rem;
}

/* --- Features Detailed --- */
.features-detailed {
    padding: 100px 0;
}

.feature-row {
    margin-bottom: 80px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.feature-row-content > p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-row-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    color: var(--color-primary-light);
}

.feature-row-icon svg {
    width: 100%;
    height: 100%;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary-light);
    font-weight: 600;
}

/* --- Feature Screenshot --- */
.feature-screenshot {
    margin-top: 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.feature-screenshot:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.feature-screenshot img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto;
}

/* --- Workflow Detailed --- */
.workflow-detailed {
    padding: 100px 0;
}

.step-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 20px 0;
}

.step-panel h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.format-grid, .qc-grid, .param-grid, .input-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.format-item, .qc-item, .input-item {
    padding: 16px;
    background: var(--color-surface-2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.format-name, .qc-title, .input-name {
    display: block;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.format-desc, .qc-desc, .input-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.param-item {
    padding: 12px 16px;
    background: var(--color-surface-2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.param-name {
    font-weight: 600;
    color: var(--color-text);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.param-value {
    color: var(--color-primary-light);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.code-block {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 20px;
    overflow-x: auto;
}

.code-block pre {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* --- Use Cases Detailed --- */
.usecases-detailed {
    padding: 100px 0;
}

.usecase-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.usecase-full:last-child {
    margin-bottom: 0;
}

.usecase-full.reverse {
    direction: rtl;
}

.usecase-full.reverse > * {
    direction: ltr;
}

.usecase-full-image {
    height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.usecase-full-content .usecase-tag {
    margin-bottom: 16px;
}

.usecase-full-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.usecase-full-content > p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.usecase-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.detail-item {
    padding: 16px;
    background: var(--color-surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-dim);
    margin-bottom: 4px;
}

.detail-value {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 500;
}

/* --- Applications --- */
.applications {
    padding: 100px 0;
    background: var(--color-surface);
}

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

.app-item {
    padding: 28px;
    background: var(--color-surface-2);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.app-item:hover {
    border-color: var(--color-accent);
}

.app-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.app-item p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- Documentation --- */
.documentation {
    padding: 60px 0 100px;
}

.doc-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
}

.doc-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.doc-sidebar h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-dim);
    margin-bottom: 16px;
}

.doc-sidebar ul {
    list-style: none;
}

.doc-sidebar li {
    margin-bottom: 8px;
}

.doc-sidebar a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
    display: block;
    padding: 6px 0;
}

.doc-sidebar a:hover {
    color: var(--color-primary-light);
}

.doc-content {
    min-width: 0;
}

.doc-section {
    margin-bottom: 48px;
}

.doc-section h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.doc-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 24px 0 12px;
}

.doc-section p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.doc-section ul, .doc-section ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.doc-section li {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}

.info-box {
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 16px 0;
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

.info-box strong {
    color: var(--color-primary-light);
}

.param-table table, .trouble-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.param-table th, .trouble-table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--color-surface);
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--color-border);
}

.param-table td, .trouble-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* --- About Section --- */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

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

.about-stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-mono);
}

.about-stat-label {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-image {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-pattern {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.about-pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(99,102,241,0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(6,182,212,0.2) 0%, transparent 50%);
}

/* --- Team Section --- */
.team-section {
    padding: 100px 0;
    background: var(--color-surface);
}

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

.expertise-card {
    padding: 28px;
    background: var(--color-surface-2);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.expertise-card:hover {
    border-color: var(--color-primary);
}

.expertise-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

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

/* --- Contact Section --- */
.contact-section {
    padding: 100px 0;
}

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

.contact-card {
    padding: 36px 28px;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--color-primary-light);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.contact-link {
    display: inline-block;
    color: var(--color-primary-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-location, .contact-time {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .usecases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .format-grid, .qc-grid, .param-grid, .input-grid {
        grid-template-columns: 1fr;
    }
    
    .usecase-full {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .usecase-full.reverse {
        direction: ltr;
    }
    
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .doc-container {
        grid-template-columns: 1fr;
    }
    
    .doc-sidebar {
        position: static;
        margin-bottom: 32px;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--color-border);
    }
    
    .doc-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .doc-sidebar li {
        margin-bottom: 0;
    }
    
    .doc-sidebar a {
        padding: 4px 12px;
        background: var(--color-surface);
        border-radius: var(--radius-sm);
        border: 1px solid var(--color-border);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 300px;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        padding: 0;
    }
    
    .navbar.scrolled {
        background: var(--color-bg);
        box-shadow: none;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #0a0a0f;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 10000;
    }
    
    .nav-links.open {
        display: flex;
    }
    
    .nav-links a {
        font-size: 1.3rem;
        padding: 12px 24px;
        border-radius: var(--radius-md);
        transition: all 0.3s ease;
        color: #e4e4ef;
    }
    
    .nav-links a.btn {
        margin-top: 16px;
    }
    
    .nav-inner {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        padding-top: calc(12px + env(safe-area-inset-top, 0px));
        background: transparent;
        max-width: 100vw;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }
    
    /* Mobile hero - more compact */
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
        gap: 12px;
    }
    
    .hero-stats {
        gap: 20px;
        padding-top: 28px;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-screenshot {
        margin: 28px auto 0;
        max-width: 100%;
    }
    
    .hero-screenshot img {
        max-height: 50vh;
        object-fit: contain;
    }
    
    /* Overview section more visible on mobile */
    .overview {
        padding: 60px 0;
        background: var(--color-surface);
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .overview-card {
        padding: 24px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .usecases-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-step {
        flex-direction: column;
        gap: 16px;
    }
    
    .workflow-connector {
        margin-left: 0;
        height: 24px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .usecase-details {
        grid-template-columns: 1fr;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .page-hero h1 {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }
}

/* ============================================
   Results Showcase Section
   ============================================ */
.results-showcase {
    padding: 100px 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.result-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.result-card-visual {
    padding: 24px;
    background: var(--color-surface-2);
}

.result-card-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.result-card-info {
    padding: 40px 36px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    width: fit-content;
}

.result-badge--nmo {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
}

.result-card--nmo .result-card-visual img {
    border-radius: var(--radius-md);
}

.result-card-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
    line-height: 1.3;
}

.result-card-info p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.result-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.spec-item {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
}

.spec-label {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.spec-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-accent-light);
    font-family: var(--font-mono);
}

@media (max-width: 900px) {
    .result-card {
        grid-template-columns: 1fr;
    }
    
    .result-card-info {
        padding: 32px 24px;
    }
    
    .result-card-visual {
        padding: 16px;
    }
    
    .result-specs {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .results-showcase {
        padding: 60px 0;
    }
    
    .result-specs {
        grid-template-columns: 1fr;
    }
    
    .result-card-info h3 {
        font-size: 1.2rem;
    }
}
