:root {
    --primary: #1a365d;
    --primary-light: #2b6cb0;
    --accent: #3182ce;
    --accent-soft: #ebf4ff;
    --text: #2d3748;
    --text-light: #718096;
    --bg: #ffffff;
    --bg-alt: #f7fafc;
    --border: #e2e8f0;
    --success: #38a169;
    --highlight: #ed8936;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    font-size: 17px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 0.8rem 0;
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-icon {
    width: 32px;
    height: 32px;
}
.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent); }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--primary);
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }

/* Sections */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

/* Hero */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    text-align: center;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero h1 span { color: var(--accent); }
.hero .tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}
.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}
.hero-cta {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: background 0.2s;
}
.hero-cta:hover { background: var(--primary-light); }

/* Stats bar */
.stats-bar {
    background: var(--primary);
    color: white;
    padding: 2.5rem 2rem;
}
.stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-item .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}
.stat-item .stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin-top: 0.3rem;
}
.stat-item .stat-source {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.65);
    margin-top: 0.2rem;
}

/* Problem / Value Prop */
.value-section { background: var(--bg-alt); }
.value-section h2 {
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
}
.value-section .lead {
    text-align: center;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.value-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.value-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.value-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.value-card p { color: var(--text-light); font-size: 0.95rem; }
.value-card .stat-highlight {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-top: 0.75rem;
}

/* Features */
.features h2 {
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.75rem;
}
.features .section-lead {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}
.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3.5rem;
}
.feature-row:nth-child(even) { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-visual {
    flex: 1;
    background: var(--accent-soft);
    border-radius: 8px;
    padding: 2rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-visual.has-screenshot {
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.feature-visual.has-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}
.feature-visual.has-screenshot img.tall-screenshot {
    width: auto;
    max-height: 420px;
    margin: 0 auto;
}
.feature-visual .diagram {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--primary);
    white-space: pre;
    line-height: 1.4;
    overflow-x: auto;
    max-width: 100%;
}
.feature-visual svg.ontology-diagram {
    width: 100%;
    max-width: 420px;
    height: auto;
}
.feature-text .label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.feature-text h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.feature-text p { color: var(--text-light); margin-bottom: 0.75rem; }
.feature-list {
    list-style: none;
    padding: 0;
}
.feature-list li {
    padding: 0.3rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}
.feature-list li::before {
    content: "\2713";
    color: var(--success);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* How It Works */
.how-section { background: var(--bg-alt); }
.how-section h2 {
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
}
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}
.step-num {
    display: inline-flex;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.steps h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.steps p { color: var(--text-light); font-size: 0.9rem; }

/* Use Cases */
.usecases h2 {
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
}
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.usecase {
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--accent);
    background: var(--accent-soft);
    border-radius: 0 6px 6px 0;
}
.usecase h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}
.usecase p { color: var(--text-light); font-size: 0.9rem; }

/* Contact */
.contact {
    background: var(--primary);
    color: white;
    text-align: center;
}
.contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.contact p {
    color: rgba(255,255,255,0.8);
    max-width: 550px;
    margin: 0 auto 2rem;
}
.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.contact-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.7rem 1.8rem;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 6px;
    transition: all 0.2s;
}
.contact-link:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
}

/* Footer */
footer {
    background: #0f2440;
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
}
footer .sources {
    max-width: 800px;
    margin: 1rem auto 0;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}
footer .sources a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
}
footer .sources a:hover { color: rgba(255,255,255,0.85); }

/* Skip-to-content link (accessibility) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 0 4px 4px;
    z-index: 200;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* Section CTA */
.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* FAQ */
.faq-section { background: var(--bg-alt); }
.faq-section h2 {
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
}
.faq-list {
    max-width: 750px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 0.75rem;
    background: white;
}
.faq-item summary {
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--accent);
    font-weight: 400;
    flex-shrink: 0;
    margin-left: 1rem;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}
.faq-item a { color: var(--accent); }

/* Footer links */
.footer-links {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}
.footer-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
}
.footer-links a:hover { color: rgba(255,255,255,0.85); }

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Animated logo: boxes rotate clockwise */
@keyframes logo-cw-tl {
    0%   { transform: translate(0, 0);       animation-timing-function: ease-in-out; }
    25%  { transform: translate(16px, 0);    animation-timing-function: ease-in-out; }
    50%  { transform: translate(16px, 16px); animation-timing-function: ease-in-out; }
    75%  { transform: translate(0, 16px);    animation-timing-function: ease-in-out; }
    100% { transform: translate(0, 0); }
}
@keyframes logo-cw-tr {
    0%   { transform: translate(0, 0);        animation-timing-function: ease-in-out; }
    25%  { transform: translate(0, 16px);     animation-timing-function: ease-in-out; }
    50%  { transform: translate(-16px, 16px); animation-timing-function: ease-in-out; }
    75%  { transform: translate(-16px, 0);    animation-timing-function: ease-in-out; }
    100% { transform: translate(0, 0); }
}
@keyframes logo-cw-bl {
    0%   { transform: translate(0, 0);        animation-timing-function: ease-in-out; }
    25%  { transform: translate(0, -16px);    animation-timing-function: ease-in-out; }
    50%  { transform: translate(16px, -16px); animation-timing-function: ease-in-out; }
    75%  { transform: translate(16px, 0);     animation-timing-function: ease-in-out; }
    100% { transform: translate(0, 0); }
}
@keyframes logo-cw-br {
    0%   { transform: translate(0, 0);         animation-timing-function: ease-in-out; }
    25%  { transform: translate(-16px, 0);     animation-timing-function: ease-in-out; }
    50%  { transform: translate(-16px, -16px); animation-timing-function: ease-in-out; }
    75%  { transform: translate(0, -16px);     animation-timing-function: ease-in-out; }
    100% { transform: translate(0, 0); }
}
.logo-intro.logo-box-tl { animation: logo-cw-tl 4s linear 2; }
.logo-intro.logo-box-tr { animation: logo-cw-tr 4s linear 2; }
.logo-intro.logo-box-bl { animation: logo-cw-bl 4s linear 2; }
.logo-intro.logo-box-br { animation: logo-cw-br 4s linear 2; }
@media (hover: hover) {
    .logo-animated:hover .logo-box-tl { animation: logo-cw-tl 4s linear infinite; }
    .logo-animated:hover .logo-box-tr { animation: logo-cw-tr 4s linear infinite; }
    .logo-animated:hover .logo-box-bl { animation: logo-cw-bl 4s linear infinite; }
    .logo-animated:hover .logo-box-br { animation: logo-cw-br 4s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
    .logo-box { animation: none !important; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero .subtitle { font-size: 1.05rem; }
    .feature-row, .feature-row:nth-child(even) { flex-direction: column; }
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid var(--border);
        padding: 1rem 2rem;
        flex-direction: column;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        margin-left: 0;
        padding: 0.75rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-links a:last-child { border-bottom: none; }
    section { padding: 3rem 1.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .stat-item .stat-number { font-size: 1.8rem; }
}

/* ===== Dropdown Navigation ===== */
.nav-dropdown {
    position: relative;
    display: inline-block;
}
.nav-dropdown > a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.95rem;
    transition: color 0.2s;
    cursor: pointer;
}
.nav-dropdown > a:hover,
.nav-dropdown > a:focus-visible { color: var(--accent); }
.nav-dropdown > a::after {
    content: " \25BE";
    font-size: 0.75em;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 2rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 200px;
    padding: 0.5rem 0;
    z-index: 200;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
}
.dropdown-menu a {
    display: block;
    padding: 0.5rem 1.25rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s;
    margin-left: 0;
}
.dropdown-menu a:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

/* ===== Page Hero (sub-pages) ===== */
.page-hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    text-align: center;
    background: var(--bg-alt);
}
.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.page-hero h1 span { color: var(--accent); }
.page-hero .subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

/* ===== Pain Point Cards ===== */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.pain-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--highlight);
}
.pain-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.pain-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}
.pain-card .stat-highlight {
    display: inline-block;
    background: #fff3e0;
    color: var(--highlight);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

/* ===== Solution Cards ===== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.solution-card {
    background: var(--accent-soft);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}
.solution-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.solution-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Section Headings (sub-pages) ===== */
.section-heading {
    font-size: 1.8rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
}
.section-lead {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

/* ===== CTA Bar ===== */
.cta-bar {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}
.cta-bar h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.cta-bar p {
    color: rgba(255,255,255,0.8);
    max-width: 550px;
    margin: 0 auto 2rem;
}
.cta-bar .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cta-bar .btn-primary {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}
.cta-bar .btn-primary:hover { background: var(--accent-soft); }
.cta-bar .btn-secondary {
    display: inline-block;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    border: 2px solid rgba(255,255,255,0.4);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}
.cta-bar .btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
}

/* ===== Capability List ===== */
.capability-list {
    max-width: 700px;
    margin: 2rem auto 0;
    list-style: none;
    padding: 0;
}
.capability-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}
.capability-list li::before {
    content: "\2713";
    color: var(--success);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* ===== Partner Tracks ===== */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}
.partner-track {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.partner-track h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.partner-track .revenue-highlight {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    margin: 1rem 0;
}
.partner-track ul {
    list-style: none;
    padding: 0;
}
.partner-track li {
    padding: 0.4rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}
.partner-track li::before {
    content: "\2713";
    color: var(--success);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* ===== Pricing Card ===== */
.pricing-card {
    max-width: 500px;
    margin: 2rem auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    border: 2px solid var(--accent);
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}
.pricing-card .price-unit {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}
.pricing-card .price-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ===== Journey Stepper ===== */
.journey-steps {
    max-width: 800px;
    margin: 2rem auto 0;
    position: relative;
}
.journey-steps::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border);
}
.journey-step {
    position: relative;
    padding-left: 64px;
    padding-bottom: 2.5rem;
}
.journey-step:last-child { padding-bottom: 0; }
.journey-step .step-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 1;
}
.journey-step h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    padding-top: 0.6rem;
}
.journey-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Contact Form ===== */
.contact-form {
    max-width: 550px;
    margin: 2rem auto 0;
}
.contact-form .form-group {
    margin-bottom: 1.25rem;
}
.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.3rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(49,130,206,0.15);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn-submit {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.8rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-form .btn-submit:hover { background: var(--primary-light); }

/* ===== Benefits Grid (used on partners, pricing) ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.benefit-item {
    text-align: center;
    padding: 1.5rem;
}
.benefit-item .icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}
.benefit-item h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}
.benefit-item p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ===== Active Nav Indicator ===== */
.nav-links a.active,
.nav-dropdown > a.active {
    color: var(--accent);
    font-weight: 600;
}

/* ===== Differentiation Section ===== */
.differentiation-section { background: var(--bg-alt); }

.diff-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
}
.diff-column {
    padding: 2rem;
    border-radius: 8px;
}
.diff-doc {
    background: white;
    border: 1px solid var(--border);
}
.diff-twin {
    background: var(--accent-soft);
    border: 2px solid var(--accent);
}
.diff-column h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}
.diff-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.diff-list {
    list-style: none;
    padding: 0;
}
.diff-list li {
    padding: 0.35rem 0;
    font-size: 0.95rem;
    color: var(--text-light);
}
.diff-list-weak li::before {
    content: "\2022";
    color: var(--text-light);
    font-weight: 700;
    margin-right: 0.5rem;
}
.diff-list-strong li::before {
    content: "\2713";
    color: var(--success);
    font-weight: 700;
    margin-right: 0.5rem;
}

.evidence-section {
    margin-top: 3rem;
}
.evidence-section h3 {
    font-size: 1.3rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
}
.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.evidence-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: center;
}
.evidence-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}
.evidence-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.4rem;
    line-height: 1.5;
}
.evidence-source {
    font-size: 0.7rem;
    color: var(--text-light);
    opacity: 0.7;
    margin-top: 0.5rem;
    font-style: italic;
}

.insight-callout {
    background: var(--primary);
    color: white;
    padding: 2.5rem;
    border-radius: 8px;
    margin-top: 2.5rem;
}
.insight-callout h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.insight-callout p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.insight-callout p:last-child { margin-bottom: 0; }
.insight-callout strong { color: white; }

/* ===== Comparison Table ===== */
.compare-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.compare-table thead {
    background: var(--primary);
    color: white;
}
.compare-table th {
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}
.compare-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
}
.compare-table td:first-child {
    font-weight: 600;
    color: var(--text);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--bg-alt); }
.compare-yes { color: var(--text-light); }
.compare-no { color: #a0aec0; }
.compare-strong {
    color: var(--accent) !important;
    font-weight: 600;
}
.compare-partial {
    color: var(--text-light);
    font-style: italic;
}

/* ===== Language Switcher ===== */
.lang-switcher {
    display: inline;
    vertical-align: middle;
    margin-left: 1.5rem;
}
.lang-switcher select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px 20px 2px 6px;
    font-size: 0.8rem;
    color: var(--text-light);
    cursor: pointer;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23718096'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 8px;
    outline: none;
    transition: border-color 0.2s;
}
.lang-switcher select:hover,
.lang-switcher select:focus {
    border-color: var(--accent);
}

/* ===== Mobile overrides for new components ===== */
@media (max-width: 768px) {
    .nav-dropdown > a::after { content: " \25BE"; }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 1rem;
        background: transparent;
    }
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        display: none;
    }
    .nav-dropdown.open .dropdown-menu {
        display: block;
    }
    .dropdown-menu a {
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 0.95rem;
    }
    .lang-switcher { margin-left: 0; margin-top: 0.5rem; }
    .page-hero h1 { font-size: 1.8rem; }
    .pain-grid, .solution-grid { grid-template-columns: 1fr; }
    .partner-grid { grid-template-columns: 1fr; }
    .diff-comparison { grid-template-columns: 1fr; }
    .evidence-grid { grid-template-columns: repeat(2, 1fr); }
    .evidence-number { font-size: 1.8rem; }
    .journey-step { padding-left: 56px; }
}
