:root {
    --primary: #0EA5A9;
    --primary-dark: #0D9488;
    --primary-light: #14B8A6;
    --accent: #F59E0B;
    --accent-light: #FBBF24;
    --danger: #EF4444;
    --success: #22C55E;
    --dark: #1F2937;
    --dark-medium: #374151;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --border: #E5E7EB;
    --light: #F9FAFB;
    --cream: #FEF3C7;
    --cream-light: #FFFBEB;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0EA5A9 0%, #14B8A6 100%);
    --gradient-dark: linear-gradient(180deg, #1F2937 0%, #111827 100%);
    --gradient-hero: linear-gradient(180deg, #F0FDFA 0%, #ffffff 100%);
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--dark-medium);
    line-height: 1.7;
    font-size: 16px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.875rem 2rem;
    transition: box-shadow 0.3s;
}

nav.nav-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-icon { width: 40px; height: 40px; }
.logo-icon svg { width: 40px; height: 40px; }
.logo-icon img { width: 40px; height: 40px; object-fit: contain; }

.logo-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

.nav-cta {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Hamburger Menu */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 2rem 5rem;
    background: var(--gradient-hero);
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--dark);
}

.hero-content h1 span { color: var(--primary); }

.hero-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 460px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.9rem 1.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(14, 165, 169, 0.25);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: white;
    color: var(--dark);
    padding: 0.9rem 1.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    margin-top: 0.15rem;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-dark);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mock-ui {
    width: 94%;
    height: 90%;
    background: #111827;
    border-radius: 10px;
    padding: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mock-header {
    display: flex;
    gap: 0.4rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mock-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.mock-dot.red { background: #ff5f56; }
.mock-dot.yellow { background: #ffbd2e; }
.mock-dot.green { background: #27ca40; }

.mock-content {
    flex: 1;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0.75rem;
}

.mock-sidebar {
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    padding: 0.6rem;
}

.mock-nav-item {
    padding: 0.4rem 0.6rem;
    margin-bottom: 0.2rem;
    border-radius: 5px;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.mock-nav-item.active {
    background: var(--primary);
    color: white;
}

.mock-chart {
    flex: 1;
    background: rgba(255,255,255,0.02);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.mock-wave {
    position: absolute;
    bottom: 15%;
    left: 0;
    right: 0;
    height: 70%;
}

.mock-wave svg { width: 100%; height: 100%; }

/* Section Styles */
.section-container { max-width: 1200px; margin: 0 auto; }

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Stats Banner */
.stats-banner {
    padding: 4rem 2rem;
    background: var(--dark);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 0.35rem;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Features */
.features {
    padding: 6rem 2rem;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.feature-card:hover {
    background: white;
    border-left-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(14, 165, 169, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--primary);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-description {
    color: var(--gray);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* Algorithms Section */
.algorithms {
    padding: 6rem 2rem;
    background: var(--gradient-dark);
    color: white;
}

.algorithms .section-label { color: var(--primary-light); }
.algorithms .section-title { color: white; }
.algorithms .section-subtitle { color: var(--gray-light); }

.algo-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.algo-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}

.algo-category-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.algo-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.algo-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.algo-item-name {
    font-weight: 600;
    color: white;
    min-width: 90px;
    font-size: 0.9rem;
}

.algo-item-desc {
    font-size: 0.85rem;
    color: var(--gray-light);
    line-height: 1.5;
}

/* DSP Section */
.dsp-section {
    padding: 6rem 2rem;
    background: var(--light);
}

.dsp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}

.dsp-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.dsp-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.dsp-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.dsp-card ul {
    list-style: none;
    font-size: 0.85rem;
    color: var(--gray);
}

.dsp-card li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.dsp-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

/* Validation Section */
.validation {
    padding: 6rem 2rem;
    background: white;
}

.validation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.validation-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.validation-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.validation-list {
    list-style: none;
}

.validation-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}

.validation-list li:last-child { border-bottom: none; }

.validation-list .check {
    width: 20px;
    height: 20px;
    background: rgba(14, 165, 169, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.validation-list .check svg {
    width: 12px;
    height: 12px;
    fill: var(--primary);
}

.validation-list strong {
    color: var(--dark);
    font-weight: 600;
}

.validation-list span {
    color: var(--gray);
    font-size: 0.92rem;
}

.validation-visual {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.mac-matrix {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    max-width: 280px;
    margin: 0 auto 1.5rem;
}

.mac-cell {
    aspect-ratio: 1;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.mac-high { background: var(--primary); }
.mac-med { background: var(--accent); }
.mac-low { background: var(--gray-light); }

.mac-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--gray);
}

.mac-legend span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mac-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

/* Workflow */
.workflow {
    padding: 6rem 2rem;
    background: var(--light);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.75rem;
    margin-top: 3rem;
}

.workflow-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.3s;
}

.workflow-step:hover .step-number {
    background: var(--primary);
    color: white;
}

.step-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.step-desc {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Auto OMA */
.auto-oma {
    padding: 6rem 2rem;
    background: var(--cream-light);
    border-top: 1px solid rgba(245, 158, 11, 0.15);
}

.auto-oma-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.auto-oma-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.auto-oma-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.pipeline-stages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.pipeline-stage {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
}

.pipeline-stage-num {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pipeline-stage-text {
    font-size: 0.85rem;
    color: var(--dark);
    font-weight: 500;
}

.auto-oma-visual {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.stabilization-preview {
    background: var(--dark);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
    height: 280px;
}

.stab-axes {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    top: 1.5rem;
    border-left: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.stab-label-x, .stab-label-y {
    position: absolute;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
}

.stab-label-x { bottom: -1.25rem; left: 50%; transform: translateX(-50%); }
.stab-label-y { left: -2.5rem; top: 50%; transform: rotate(-90deg); }

.stab-poles {
    position: absolute;
    inset: 0;
}

.stab-pole {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stab-pole.stable { background: var(--success); }
.stab-pole.unstable { background: var(--danger); opacity: 0.5; }

/* FEA Section */
.fea-section {
    padding: 6rem 2rem;
    background: white;
}

.fea-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.fea-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s;
}

.fea-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.fea-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(14, 165, 169, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.fea-card-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 1.5;
}

.fea-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.fea-card p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Use Cases */
.use-cases {
    padding: 6rem 2rem;
    background: var(--light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.case-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.case-image {
    height: 140px;
    background: linear-gradient(135deg, rgba(14, 165, 169, 0.1) 0%, rgba(14, 165, 169, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.case-image svg {
    width: 48px;
    height: 48px;
    fill: var(--primary);
    opacity: 0.6;
}

.case-content { padding: 1.25rem; }

.case-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--dark);
}

.case-desc {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Pricing */
.pricing {
    padding: 6rem 2rem;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.pricing-card.featured {
    background: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.pricing-card-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pricing-card h4 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.pricing-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gray);
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    padding: 0.4rem 0;
    font-size: 0.88rem;
    color: var(--dark-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: '\2713';
    color: var(--primary);
    font-weight: 700;
}

.pricing-features li.disabled {
    color: var(--gray-light);
}

.pricing-features li.disabled::before {
    content: '\2014';
    color: var(--gray-light);
}

.pricing-btn {
    display: block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.pricing-btn-primary {
    background: var(--primary);
    color: white;
}

.pricing-btn-primary:hover {
    background: var(--primary-dark);
}

.pricing-btn-secondary {
    background: white;
    color: var(--dark);
    border: 1px solid var(--border);
}

.pricing-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pricing-download-link {
    display: block;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--gray);
    text-align: center;
}

.pricing-download-link a {
    color: var(--primary);
    text-decoration: none;
}

.pricing-download-link a:hover {
    text-decoration: underline;
}

/* Coming Soon Editions */
.coming-soon {
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray);
    text-align: center;
    margin-bottom: 1.25rem;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.coming-soon-card {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    border: 1px dashed var(--border);
    opacity: 0.8;
}

.coming-soon-card h5 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.coming-soon-card p {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.coming-soon-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: var(--cream);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
}

/* Tech Specs */
.tech-specs {
    padding: 6rem 2rem;
    background: var(--gradient-dark);
    color: white;
}

.tech-specs .section-label { color: var(--primary-light); }
.tech-specs .section-title { color: white; }

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.spec-group h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.spec-group ul {
    list-style: none;
}

.spec-group li {
    padding: 0.4rem 0;
    font-size: 0.88rem;
    color: var(--gray-light);
    display: flex;
    justify-content: space-between;
}

.spec-group li span {
    color: white;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: var(--cream-light);
    border-top: 1px solid rgba(245, 158, 11, 0.15);
}

.contact-inner {
    max-width: 640px;
    margin: 0 auto;
}

.contact h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
    text-align: center;
    letter-spacing: -0.02em;
}

.contact > .section-container > p,
.contact-inner > p {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark);
    background: white;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hp { position: absolute; left: -9999px; }

.form-message {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.field-error {
    font-size: 0.8rem;
    color: var(--danger);
    margin-top: 0.2rem;
}

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
    border-color: var(--danger);
}

.contact-fallback {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.contact-fallback a {
    color: var(--primary);
    text-decoration: none;
}

.contact-fallback a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 4rem 2rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand .logo { margin-bottom: 0.75rem; }
.footer-brand .logo-text { color: white; }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; }

.footer-title {
    font-family: var(--font-display);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--primary-light); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-bottom p { opacity: 0.7; }
.footer-company { color: var(--primary-light); font-weight: 500; }

/* Responsive */
@media (max-width: 1200px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 2rem; }
    .hero-buttons, .hero-stats { justify-content: center; }
    .hero-visual { max-width: 550px; margin: 2rem auto 0; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid, .fea-grid { grid-template-columns: repeat(2, 1fr); }
    .algo-categories { grid-template-columns: 1fr; }
    .dsp-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .workflow-steps { grid-template-columns: repeat(4, 1fr); }
    .validation-grid, .auto-oma-grid { grid-template-columns: 1fr; }
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
    .coming-soon-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-links li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
    .nav-links li:last-child { border-bottom: none; }
    .hero-content h1 { font-size: 2.25rem; }
    .section-title { font-size: 1.75rem; }
    .stats-grid, .features-grid, .dsp-grid, .cases-grid, .fea-grid, .pricing-grid { grid-template-columns: 1fr; }
    .workflow-steps { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
    .pricing-card.featured { transform: none; }
    .pipeline-stages { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .coming-soon-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .coming-soon-grid { grid-template-columns: 1fr; }
}
