/* ============================================
   FLUXMATERIA DESIGN SYSTEM
   Version: 2.0
   ============================================ */

/* ============================================
   SELF-HOSTED FONTS (IBM Plex Sans + Mono)
   ============================================ */

/* IBM Plex Mono - Regular 400 */
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Mono - Medium 500 */
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Sans - Regular 400 */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/ibm-plex-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/ibm-plex-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Sans - Medium 500 */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/ibm-plex-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/ibm-plex-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Sans - SemiBold 600 */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/ibm-plex-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/ibm-plex-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Sans - Bold 700 */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/ibm-plex-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/ibm-plex-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* VIOLET PALETTE */
    --violet-deep: #2a1548;
    --violet-dark: #3d2466;
    --violet-medium: #7c4dbd;
    --violet-bright: #a78bfa;
    --violet-light: #c4b5fd;
    --violet-glow: #e0d4ff;
    --violet-lightest: #ede9fe;
    --violet-50: #f5f3ff;
    --violet-wash: #f8f6ff;

    /* FONT STACKS */
    --font-mono: 'IBM Plex Mono', monospace;
    
    /* NEUTRAL PALETTE */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    
    /* STATUS COLORS */
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-100: #dcfce7;
    --amber-500: #f59e0b;
    --amber-100: #fef3c7;
    --red-500: #ef4444;
    --red-100: #fee2e2;
    
    /* SEMANTIC */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --border: var(--gray-200);
    --border-light: var(--gray-100);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.mono { font-family: 'IBM Plex Mono', monospace; }

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    color: var(--violet-medium);
    text-decoration: none;
}

a:hover {
    color: var(--violet-dark);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--violet-medium);
    outline-offset: 2px;
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--violet-deep);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 6px 6px;
    z-index: 9999;
    font-weight: 500;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
    outline: none;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 3.5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
    padding: 1rem 0;
}

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

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--violet-deep);
    text-decoration: none;
}

.logo span { color: var(--violet-medium); }

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

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

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

.nav-links a.active { color: var(--violet-medium); }

.nav-links a.btn-primary {
    color: var(--white);
}

.nav-links a.btn-primary:hover {
    color: var(--white);
}

/* Navigation dropdowns */
.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-item > a::after {
    content: '▾';
    font-size: 0.65rem;
    opacity: 0.6;
    transition: transform 0.2s;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s, visibility 0.15s;
    z-index: 200;
    margin-top: 0.5rem;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
}

.nav-item:hover > a::after {
    transform: rotate(180deg);
}

.nav-dropdown a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.1s, color 0.1s;
}

.nav-dropdown a:hover {
    background: var(--violet-wash);
    color: var(--violet-medium);
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 0.5rem 0;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-700);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.15s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--violet-medium);
    color: var(--white);
}

.btn-primary:hover { 
    background: var(--violet-dark); 
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--violet-medium);
    border: 1px solid var(--violet-medium);
}

.btn-secondary:hover { background: var(--violet-wash); }

.btn-ghost {
    background: transparent;
    color: var(--violet-medium);
}

.btn-ghost:hover { background: var(--violet-wash); }

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.btn-loading::after {
    content: '';
    position: absolute;
    width: 1.125rem;
    height: 1.125rem;
    top: 50%;
    left: 50%;
    margin-top: -0.5625rem;
    margin-left: -0.5625rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

.btn-primary:active {
    transform: translateY(1px);
}

/* Dark background variant */
.btn-secondary-dark {
    border-color: var(--violet-bright);
    color: var(--violet-bright);
    background: transparent;
}

.btn-secondary-dark:hover {
    background: rgba(167, 139, 250, 0.1);
}

/* White outline button for dark backgrounds */
.btn-outline-light {
    background: transparent;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.btn-outline-light:visited {
    color: white !important;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    padding: 4rem 0 2rem;
    background: linear-gradient(180deg, var(--violet-wash) 0%, var(--white) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.hero-content h1 .highlight {
    color: var(--violet-medium);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.trust-line {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Simple hero (no grid) */
.hero-simple {
    padding: 2.5rem 0 2rem;
    background: linear-gradient(180deg, var(--violet-wash) 0%, var(--white) 100%);
    text-align: center;
}

.hero-simple h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.hero-simple h1 .highlight {
    color: var(--violet-medium);
}

.hero-simple .subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.hero-simple .hero-ctas {
    justify-content: center;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--gray-900);
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--violet-bright);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: var(--gray-400);
}

/* ============================================
   DEMO PREVIEW (Hero)
   ============================================ */
.hero-demo {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(42, 21, 72, 0.1), 0 0 0 1px var(--border);
    overflow: hidden;
}

.demo-header {
    background: var(--gray-50);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}

.demo-dot.red { background: #ef4444; }
.demo-dot.yellow { background: #f59e0b; }
.demo-dot.green { background: #22c55e; }

.demo-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.demo-body {
    padding: 1.5rem;
}

.demo-input-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.demo-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.demo-input:focus {
    outline: none;
    border-color: var(--violet-medium);
    box-shadow: 0 0 0 3px var(--violet-wash);
}

.demo-run-btn {
    padding: 0.75rem 1.25rem;
    background: var(--violet-medium);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.demo-results {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 1rem;
}

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

.demo-results-header h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-time {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--green-500);
    background: var(--green-100);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.property-item {
    background: var(--white);
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

.property-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
}

.property-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.property-value span {
    font-weight: 600;
    font-size: 0.95rem;
}

.confidence-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.confidence-dot.high { background: var(--green-500); }
.confidence-dot.medium { background: var(--amber-500); }
.confidence-dot.low { background: var(--red-500); }

/* ============================================
   WORKFLOW STEPS
   ============================================ */
.workflow-section {
    background: var(--white);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    position: relative;
}

.workflow-step {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.workflow-step:hover {
    border-color: var(--violet-light);
    box-shadow: 0 4px 16px rgba(108, 59, 170, 0.1);
    transform: translateY(-2px);
}

.step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    background: var(--violet-lightest);
    border: 2px solid var(--violet-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Step number - standalone (no icon) */
.step-number {
    width: 36px;
    height: 36px;
    margin: 0 auto 1rem;
    background: var(--violet-medium);
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Step number when alongside icon - badge style */
.workflow-step .step-icon + .step-number,
.workflow-step .step-icon ~ .step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    margin: 0;
    font-size: 0.75rem;
}

.workflow-step h3 {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
    font-weight: 600;
}

.workflow-step p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* ============================================
   WHY SECTION - COMPETITIVE POSITIONING
   ============================================ */
.why-section {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-card {
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.why-card.why-problem {
    background: var(--gray-50);
}

.why-card.why-solution {
    background: var(--violet-wash);
    border-color: var(--violet-medium);
}

.why-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.why-verdict {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    display: inline-block;
}

.why-verdict.problem {
    background: var(--red-100);
    color: var(--red-500);
}

.why-verdict.solution {
    background: var(--green-100);
    color: #15803d;
}

.why-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.why-card ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.why-card.why-problem ul li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--red-500);
    font-weight: bold;
}

.why-card.why-solution ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-500);
    font-weight: bold;
}

.why-result {
    font-size: 0.9rem;
    font-weight: 600;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-bottom: 0;
}

.why-card.why-problem .why-result {
    color: var(--text-muted);
}

.why-card.why-solution .why-result {
    color: var(--violet-medium);
}

/* ============================================
   MODULE CARDS
   ============================================ */
.modules-section {
    background: var(--gray-50);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.module-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.module-card:hover {
    border-color: var(--violet-medium);
    box-shadow: 0 8px 24px rgba(124, 77, 189, 0.12);
    transform: translateY(-2px);
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--violet-medium);
    opacity: 0;
    transition: opacity 0.2s;
}

.module-card:hover::before {
    opacity: 1;
}

.module-icon {
    width: 48px;
    height: 48px;
    background: var(--violet-wash);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.module-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.module-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.module-badge.production {
    background: var(--green-100);
    color: #15803d;
}

.module-badge.beta {
    background: var(--violet-wash);
    color: var(--violet-medium);
}

.module-badge.preview {
    background: var(--amber-100);
    color: #b45309;
}

.module-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.module-features {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--border-light);
    padding-top: 0.75rem;
}

.module-features li {
    font-size: 0.8rem;
    color: var(--violet-dark);
    font-weight: 600;
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.module-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--violet-medium);
    font-weight: 700;
}

.module-card.module-featured {
    border-color: var(--violet-medium);
    background: var(--violet-wash);
}

.module-card.module-featured::before {
    opacity: 1;
    background: linear-gradient(90deg, var(--violet-medium), var(--violet-bright));
}

.module-unique {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: var(--violet-medium);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-align: center;
}

.module-stat {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}

.module-stat .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--violet-medium);
}

.module-stat .label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Module page specific - larger cards */
.modules-grid-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.modules-grid-large .module-card {
    padding: 2rem;
}

.modules-grid-large .module-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.modules-grid-large .module-card p {
    font-size: 0.95rem;
}

/* ============================================
   OUTPUT SHOWCASE
   ============================================ */
.output-showcase {
    background: var(--white);
    overflow: hidden;
}

.output-container {
    background: var(--gray-900);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.output-header {
    background: var(--gray-800);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.output-tabs {
    display: flex;
    gap: 0.5rem;
}

.output-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--gray-400);
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
}

.output-tab.active {
    background: var(--gray-700);
    color: var(--white);
}

.output-actions {
    display: flex;
    gap: 0.5rem;
}

.output-action {
    padding: 0.5rem 0.75rem;
    background: var(--gray-700);
    color: var(--gray-300);
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
}

.output-body {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
}

/* Molecule Visualization */
.molecule-viz {
    background: var(--gray-800);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.molecule-canvas {
    aspect-ratio: 1;
    background: radial-gradient(circle at center, var(--gray-700) 0%, var(--gray-800) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.molecule-svg {
    width: 80%;
    height: 80%;
}

.molecule-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.molecule-info-item {
    background: var(--gray-700);
    padding: 0.5rem;
    border-radius: 4px;
}

.molecule-info-item .label {
    font-size: 0.65rem;
    color: var(--gray-400);
    text-transform: uppercase;
}

.molecule-info-item .value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: var(--white);
}

/* Results Panel */
.results-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.results-section {
    background: var(--gray-800);
    border-radius: 8px;
    padding: 1rem;
}

.results-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-700);
}

.results-section-header h4 {
    font-size: 0.8rem;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.confidence-legend {
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    color: var(--gray-400);
}

.confidence-legend span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.result-item {
    background: var(--gray-700);
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid transparent;
}

.result-item.high { border-left-color: var(--green-500); }
.result-item.medium { border-left-color: var(--amber-500); }
.result-item.low { border-left-color: var(--red-500); }

.result-item .property {
    font-size: 0.7rem;
    color: var(--gray-400);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.result-item .value-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-item .value {
    font-weight: 600;
    color: var(--white);
}

.result-item .confidence {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
}

.result-item .confidence.high {
    background: rgba(34, 197, 94, 0.2);
    color: var(--green-500);
}

.result-item .confidence.medium {
    background: rgba(245, 158, 11, 0.2);
    color: var(--amber-500);
}

.result-item .confidence.low {
    background: rgba(239, 68, 68, 0.2);
    color: var(--red-500);
}

/* ============================================
   CONFIDENCE SECTION
   ============================================ */
.confidence-section {
    background: var(--violet-wash);
}

.confidence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.confidence-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.confidence-content > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.confidence-levels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.confidence-level {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.confidence-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.confidence-indicator.high { background: var(--green-500); }
.confidence-indicator.medium { background: var(--amber-500); }
.confidence-indicator.low { background: var(--red-500); }

.confidence-level h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.confidence-level p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.confidence-visual {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(42, 21, 72, 0.08);
}

.confidence-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chart-label {
    width: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.chart-bar-container {
    flex: 1;
    height: 32px;
    background: var(--gray-100);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.chart-bar {
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.chart-bar.high { background: var(--green-500); }
.chart-bar.medium { background: var(--amber-500); }
.chart-bar.low { background: var(--red-500); }

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-section {
    background: var(--white);
}

/* Comparison Table - Standardized Style (Kinetics Pattern) */
.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
}

.comparison-table th {
    font-weight: 600;
    background: var(--gray-100);
}

/* FluxMateria column header - violet accent */
.comparison-table th.flux-col {
    text-align: center;
    color: var(--violet-medium);
}

/* Other centered column headers */
.comparison-table th.center {
    text-align: center;
}

.comparison-table td {
    border-bottom: 1px solid var(--border-light);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Centered data cells */
.comparison-table td.center {
    text-align: center;
}

/* Winning/superior values - green highlight */
.comparison-table .winner-value {
    font-weight: 700;
    color: var(--green-600);
    text-align: center;
}

/* Winner column styling */
.comparison-table .winner-flux {
    text-align: center;
    color: var(--violet-medium);
    font-weight: 600;
}

.comparison-table .winner-tie {
    text-align: center;
    color: var(--gray-500);
}

/* Status indicators for benchmark tables */
.comparison-table .status-pass {
    color: var(--green-600);
    font-weight: 600;
}

.comparison-table .status-fail {
    color: var(--red-500);
    font-weight: 600;
}

/* Legacy support */
.check-icon {
    color: var(--green-500);
    font-weight: bold;
}

.x-icon {
    color: var(--gray-400);
}

.table-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.table-note a {
    color: var(--violet-medium);
    text-decoration: none;
}

/* ============================================
   BENCHMARKS SECTION
   ============================================ */
.benchmarks-section {
    background: var(--gray-900);
    color: var(--white);
}

.benchmarks-section .section-header h2 {
    color: var(--white);
}

.benchmarks-section .section-header p {
    color: var(--gray-400);
}

.benchmark-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benchmark-card {
    background: var(--gray-800);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--gray-700);
}

.benchmark-card h4 {
    color: var(--violet-bright);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.benchmark-metric {
    margin-bottom: 1rem;
}

.benchmark-metric .value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.benchmark-metric .unit {
    font-size: 1rem;
    color: var(--gray-400);
    margin-left: 0.25rem;
}

.benchmark-metric .label {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.benchmark-card p {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.5;
}

.benchmark-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
}

.benchmark-cta p {
    color: var(--gray-400);
    margin-bottom: 1rem;
}

/* ============================================
   DEMO CARDS
   ============================================ */
.demos-section {
    background: var(--white);
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.demo-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.2s;
}

.demo-card:hover {
    border-color: var(--violet-medium);
    box-shadow: 0 8px 24px rgba(124, 77, 189, 0.1);
}

.demo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.demo-card h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
}

.demo-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.demo-badge.free {
    background: var(--green-100);
    color: #15803d;
}

.demo-badge.email {
    background: var(--violet-wash);
    color: var(--violet-medium);
}

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

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-section {
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--violet-medium);
    box-shadow: 0 8px 24px rgba(124, 77, 189, 0.15);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.pricing-card .description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-500);
    font-weight: bold;
}

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

/* ============================================
   FEATURE GRID (Platform, About pages)
   ============================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: 10px;
    border: 1px solid var(--border-light);
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

.feature-card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Numbered features */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-number {
    width: 48px;
    height: 48px;
    background: var(--violet-medium);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   FORM STYLES
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-label .optional {
    color: var(--text-muted);
    font-weight: 400;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-400);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: var(--gray-300);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--violet-medium);
    box-shadow: 0 0 0 3px var(--violet-wash);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.form-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--violet-medium);
}

.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.375rem;
}

.form-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.5rem 0;
}

.required {
    color: var(--red-500);
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    background: linear-gradient(135deg, var(--violet-deep) 0%, var(--violet-dark) 100%);
    color: var(--white);
    padding: 3.5rem 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.final-cta p {
    color: var(--violet-light);
    max-width: 500px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.final-cta .btn-primary {
    background: var(--white);
    color: var(--violet-deep);
    font-weight: 600;
}

.final-cta .btn-primary:hover {
    background: var(--violet-light);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--gray-900);
    padding: 3rem 0;
}

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

.footer-logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

.footer-logo span {
    color: var(--violet-bright);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
}

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

.footer-copy {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-violet { color: var(--violet-medium); }

/* ============================================
   SOLUTION PAGES
   ============================================ */
.solution-modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.solution-module-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.solution-module-card:hover {
    border-color: var(--violet-medium);
    box-shadow: 0 4px 16px rgba(124, 77, 189, 0.1);
}

.solution-module-card .module-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.solution-module-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.solution-module-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.solution-module-card .module-badge {
    margin-bottom: 0.75rem;
}

/* Homepage industry selector */
.solutions-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.solution-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.solution-card:hover {
    border-color: var(--violet-medium);
    box-shadow: 0 8px 24px rgba(124, 77, 189, 0.12);
    transform: translateY(-2px);
}

.solution-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.solution-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

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

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-method {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-method:hover {
    border-color: var(--violet-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-method-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-method h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-method p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.contact-method a {
    color: var(--violet-medium);
    font-weight: 500;
}

.contact-method a:hover {
    color: var(--violet-dark);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-ctas {
        justify-content: center;
    }

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

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

    .output-body {
        grid-template-columns: 1fr;
    }

    .confidence-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

    .solutions-selector {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-simple h1 {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

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

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

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

    .modules-grid,
    .modules-grid-large,
    .benchmark-cards,
    .demos-grid,
    .solution-modules-grid,
    .solutions-selector {
        grid-template-columns: 1fr;
    }

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

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

    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-top: 1px solid var(--gray-200);
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
        margin-top: 0.5rem;
    }
    
    .nav-toggle {
        display: block;
    }

    nav .container {
        position: relative;
    }

    /* Mobile dropdown styles */
    .nav-item > a::after {
        display: none;
    }

    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: var(--gray-50);
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        min-width: auto;
    }

    .nav-dropdown a {
        padding: 0.5rem 1.5rem;
        font-size: 0.85rem;
        color: var(--text-muted);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .final-cta h2 {
        font-size: 1.75rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }
    
    .workflow-steps {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FORM FEEDBACK (errors, success, honeypot)
   ============================================ */
.form-error-banner {
    display: none;
    background: var(--red-100);
    border: 1px solid var(--red-100);
    border-left: 4px solid var(--red-500);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--red-500);
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-error-banner.show {
    display: block;
}

.field-error {
    color: var(--red-500);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.field-error.show {
    display: block;
}

.form-input-error {
    border-color: var(--red-500) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.form-success-banner {
    display: none;
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--green-100);
    border: 1px solid var(--green-500);
    border-radius: 12px;
}

.form-success-banner.show {
    display: block;
}

.form-success-banner::before {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--green-600);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 12 10 16 18 8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px;
}

.form-success-banner h3 {
    margin-bottom: 0.5rem;
    color: var(--green-700);
}

.form-success-banner p {
    color: var(--green-700);
    font-size: 0.95rem;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ============================================
   HERO PREVIEW STACK (Multi-domain cards)
   ============================================ */
.hero-preview-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-preview-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 8px rgba(42, 21, 72, 0.06);
}

.hero-preview-card .preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.hero-preview-card .preview-domain {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--violet-medium);
}

.hero-preview-card .preview-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-preview-card .preview-rows {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-preview-card .preview-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
}

.hero-preview-card .preview-row .label {
    color: var(--text-muted);
}

.hero-preview-card .preview-row .value {
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================
   STATS BAR — 5-column override
   ============================================ */
.stats-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    text-align: center;
}

/* ============================================
   ONE PHYSICS ENGINE — Unified visual
   ============================================ */
.unified-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.unified-text h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.unified-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.unified-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.unified-feature h4 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.unified-feature p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.unified-visual {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(42, 21, 72, 0.08);
    border: 1px solid var(--border);
}

.unified-core {
    background: var(--violet-deep);
    color: var(--white);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    margin-bottom: 1rem;
}

.unified-core h4 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.unified-core p {
    font-size: 0.8rem;
    color: var(--violet-light);
    margin-bottom: 0;
}

.unified-domains {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.unified-domain {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border-light);
}

.unified-domain h5 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--violet-medium);
}

.unified-domain ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.unified-domain ul li {
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 0.15rem 0;
}

/* ============================================
   BENCHMARK CARDS — 4-column variant
   ============================================ */
.benchmark-cards-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* ============================================
   MODULE GRID — Grouped by domain
   ============================================ */
.module-group {
    margin-bottom: 2rem;
}

.module-group:last-child {
    margin-bottom: 0;
}

.module-group-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--violet-medium);
    margin-bottom: 0.75rem;
    padding-left: 0.25rem;
}

.module-group-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

/* ============================================
   DEMOS GRID — 3-column variant
   ============================================ */
.demos-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ============================================
   HOMEPAGE RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 1024px) {
    .stats-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .unified-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .demos-grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .stats-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .benchmark-cards-4,
    .demos-grid-3 {
        grid-template-columns: 1fr;
    }

    .unified-domains {
        grid-template-columns: 1fr;
    }

    .hero-preview-card .preview-rows {
        flex-direction: column;
        gap: 0.35rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --violet-medium: #5c2d91;
        --text-secondary: var(--gray-700);
        --text-muted: var(--gray-600);
        --border: var(--gray-400);
    }
    
    .btn-primary {
        border: 2px solid var(--white);
    }
    
    .btn-secondary {
        border-width: 2px;
    }
}
