@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette - Premium Obsidian & Copper (60-30-10 Architecture) */
    /* 60% Dominant Base - Deep Dark Obsidian & Matte Charcoal */
    --bg-primary: #030303;      /* Pure Obsidian */
    --bg-secondary: #080808;    /* Deep Matte Charcoal */
    --bg-tertiary: #121212;     /* Card obsidian base */
    
    /* Light Theme (Pale Cream / Ivory) */
    --bg-light: #FBF9F4;           /* Warm, pale cream / ivory background */
    --text-dark: #121212;          /* Charcoal text for light sections */
    --text-dark-secondary: #555555;/* Muted charcoal text */
    --border-light: rgba(0, 0, 0, 0.08); /* Light section border */
    
    /* 30% Secondary & Contrast - Muted Silvers & Tech Borders */
    --text-primary: #F4F4F5;     /* Zinc 100 */
    --text-secondary: #A1A1AA;   /* Zinc 400 */
    --text-light: #71717A;       /* Zinc 500 */
    --border-color: rgba(255, 255, 255, 0.06);     /* Ultra-thin border */
    --border-color-hover: rgba(255, 255, 255, 0.15); /* Slate border on focus */
    
    /* 10% Accent - Burnished Copper */
    --accent-copper: #C36D3B;       /* Premium Copper */
    --accent-copper-dark: #A95D31;  /* Darker Burnished Copper */
    --accent-copper-light: #E2844A; /* Brighter Radiant Copper */
    --accent-copper-glow: rgba(195, 109, 59, 0.15); /* Shadow Glow */
    --accent-amber: #F59E0B;        /* Golden Aura */
    
    /* Gradients */
    --gradient-copper: linear-gradient(135deg, #E2844A 0%, #C36D3B 50%, #8C3E14 100%);
    --gradient-copper-hover: linear-gradient(135deg, #F09862 0%, #E2844A 50%, #A95D31 100%);
    --gradient-dark: linear-gradient(180deg, rgba(18, 18, 18, 0.8) 0%, rgba(8, 8, 8, 0.95) 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(195, 109, 59, 0.15) 0%, transparent 70%);

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Layout & Spacing */
    --container-max-width: 1160px;
    --section-padding: 7rem 0; /* Premium spacing */
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Depth & Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.8);
    --shadow-md: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 50px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(195, 109, 59, 0.2);
}

/* --- Base & Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
    background-color: var(--bg-primary);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: #27272A;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-copper);
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.7rem);
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

p.lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

a {
    color: var(--accent-copper-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: #FFF;
}

strong {
    font-weight: 600;
    color: var(--text-primary);
}

code, pre, .mono {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--accent-copper-light);
}

/* --- Laser Grid Background --- */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 100%);
}

.grid-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: -200px;
    width: 200px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(195, 109, 59, 0.12), transparent);
    opacity: 0.7;
    filter: blur(15px);
    animation: grid-scan 15s linear infinite;
}

@keyframes grid-scan {
    0% { left: -200px; }
    100% { left: 120%; }
}

/* --- Drifting Auras --- */
.aura-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
    animation: aura-drift 25s infinite alternate ease-in-out;
}

.aura-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-copper);
    top: -150px;
    right: -100px;
}

.aura-orb-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-copper-light);
    bottom: -200px;
    left: -150px;
    animation-delay: -8s;
}

@keyframes aura-drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, -60px) scale(1.15); }
    100% { transform: translate(-40px, 40px) scale(0.9); }
}

/* --- Layout Components --- */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 2rem;
    padding-left: 2rem;
    position: relative;
    z-index: 1;
}

.section {
    padding: var(--section-padding);
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.section-secondary {
    background-color: var(--bg-secondary);
}

/* --- Light Section Theme (Pale Cream / Ivory) --- */
.section-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6,
.section-light strong {
    color: var(--text-dark);
}

.section-light p,
.section-light .lead {
    color: var(--text-dark-secondary);
}

.section-light a:not(.btn):not(.logo) {
    color: var(--accent-copper);
    text-decoration: underline;
}

.section-light a:not(.btn):not(.logo):hover {
    color: var(--accent-copper-dark);
}

.section-light .section-tag {
    background-color: rgba(195, 109, 59, 0.08);
    color: var(--accent-copper);
    border: 1px solid rgba(195, 109, 59, 0.2);
}

.section-light .grid-overlay {
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
}

.section-light .split-right {
    background-color: #ffffff !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-dark);
}

.section-light .split-right h3,
.section-light .split-right h4 {
    color: var(--text-dark) !important;
}

.section-light .split-right p {
    color: var(--text-dark-secondary) !important;
}

/* Specific component overrides in light sections */
.section-light .comparison-list {
    border-color: var(--border-light);
}

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

.section-light .comparison-item:last-child {
    border-bottom: none;
}

.section-light .comparison-text strong {
    color: var(--text-dark);
}

.section-light .comparison-text p {
    color: var(--text-dark-secondary);
}

.section-light .comparison-icon {
    background-color: rgba(239, 68, 68, 0.08);
    color: #ef4444;
}

.section-light .comparison-icon.success {
    background-color: rgba(195, 109, 59, 0.08);
    color: var(--accent-copper);
}

/* Light Section Calculator Card styling */
.section-light .calculator-card {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.section-light .calc-inputs {
    color: var(--text-dark);
}

.section-light .calc-inputs h3 {
    color: var(--text-dark);
}

.section-light .calc-inputs p {
    color: var(--text-dark-secondary);
}

.section-light .slider-label {
    color: var(--text-dark);
}

.section-light .slider-value-display {
    color: var(--accent-copper);
    background-color: rgba(195, 109, 59, 0.05);
}

.section-light .funding-details-info {
    color: var(--text-dark-secondary);
}

.section-light .calc-inputs p strong {
    color: var(--accent-copper);
}

/* Custom slider tracks for light mode */
.section-light input[type="range"].custom-range-slider {
    background: rgba(0, 0, 0, 0.08);
}

/* High contrast result box inside the light card */
.section-light .calc-outputs {
    background-color: #121212; /* Rich dark charcoal container for high visual contrast */
    color: #ffffff;
}

.section-light .calc-outputs .output-stat-label {
    color: rgba(255, 255, 255, 0.6);
}

.section-light .calc-outputs .output-stat-val {
    color: #ffffff;
}

.section-light .calc-outputs .output-stat-val.highlight {
    color: var(--accent-copper-light);
    text-shadow: 0 0 12px rgba(226, 132, 74, 0.2);
}

/* Light Section Form styling */
.section-light .contact-container {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    color: var(--text-dark);
}

.section-light .form-label {
    color: var(--text-dark);
}

.section-light .form-control {
    background-color: #fbfbfc;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--text-dark);
}

.section-light .form-control:focus {
    border-color: var(--accent-copper);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(195, 109, 59, 0.1);
}

.section-light .form-control::placeholder {
    color: #999999;
}

.section-light select.form-control option {
    background-color: #ffffff;
    color: var(--text-dark);
}

/* Light Section Workflow Builder styling */
.section-light .workflow-builder {
    background: #ffffff;
    border: 1px solid rgba(195, 109, 59, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.section-light .workflow-builder h3 {
    color: var(--text-dark);
}

.section-light .workflow-svg path:not(.flow-glow) {
    stroke: rgba(195, 109, 59, 0.12) !important;
}

.section-light .workflow-node {
    background-color: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
    color: var(--text-dark);
}

.section-light .workflow-node:hover,
.section-light .workflow-node.active {
    background-color: #ffffff;
    border-color: var(--accent-copper);
    box-shadow: 0 10px 30px rgba(195, 109, 59, 0.1), inset 0 0 15px rgba(195, 109, 59, 0.02);
}

.section-light .workflow-node-icon {
    background-color: rgba(195, 109, 59, 0.04);
    border: 1px solid rgba(195, 109, 59, 0.12);
    color: var(--accent-copper);
}

.section-light .workflow-node:hover .workflow-node-icon,
.section-light .workflow-node.active .workflow-node-icon {
    background-color: rgba(195, 109, 59, 0.08);
    border-color: var(--accent-copper-light);
}

.section-light .workflow-node h4 {
    color: var(--text-dark);
}

.section-light .workflow-node p {
    color: var(--text-dark-secondary);
}

.section-light .workflow-node-status {
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-dark-secondary);
}

.section-light .workflow-node.active .workflow-node-status {
    background-color: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
    color: #10B981;
}

/* Light Mode Terminal Console */
.section-light .workflow-output-console {
    background-color: #FAF8F5; /* Warm pale ivory/white background for light terminal */
    border: 1px solid rgba(195, 109, 59, 0.25);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.03), 0 4px 15px rgba(0, 0, 0, 0.02);
}

.section-light .console-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.section-light .console-title {
    color: var(--text-dark-secondary);
}

.section-light .console-lines {
    color: #2b2b2b; /* Dark charcoal text */
}


.grid {
    display: grid;
    gap: 2rem;
}

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

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

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

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

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

/* --- Navigation Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

.header-solid {
    background-color: #000000 !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.header-scrolled {
    background-color: rgba(3, 3, 3, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
    transition: var(--transition-fast);
}

.header-scrolled .nav-container {
    height: 4rem;
}

/* Vector Logo Code Implementation */
.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    text-decoration: none;
    user-select: none;
    gap: 0;
}

.logo-click {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border: 2px solid #ffffff;
    border-radius: 50%;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    margin-right: 0.45rem;
}

.logo-click::before {
    content: '';
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: 50%;
    width: 2px;
    background-color: #ffffff;
    transform: translateX(-50%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-click {
    transform: rotate(180deg);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}

.logo-done {
    color: #ffffff;
}

.nav-menu {
    display: none;
    align-items: center;
    list-style: none;
    gap: 2.2rem;
}

@media(min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: #FFF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-copper);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    transition: var(--transition-fast);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.nav-cta:hover {
    background-color: var(--accent-copper);
    color: #FFF;
    box-shadow: 0 4px 15px rgba(195, 109, 59, 0.3);
    transform: translateY(-1px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 1.5rem;
    height: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

@media(min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(3, 3, 3, 0.98);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav .nav-link {
    font-size: 1.5rem;
    font-weight: 600;
}

/* --- Hero Section (heavy motion & emotion) --- */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 8rem;
    min-height: 95vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 55%, transparent 20%, var(--bg-primary) 85%);
    z-index: 2;
    pointer-events: none;
}

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

.hero-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-copper-light);
    border: 1px solid rgba(195, 109, 59, 0.25);
    background-color: rgba(195, 109, 59, 0.05);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(195, 109, 59, 0.05);
}

.hero-headline {
    font-size: clamp(2.8rem, 7vw, 4.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.75rem;
    color: #FFF;
}

.hero-accent {
    background: linear-gradient(135deg, #FFF 0%, #D4D4D8 40%, #C36D3B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-lead {
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 780px;
    margin: 0 auto 3rem auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-copper), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: #FFF;
    animation: scroll-dot 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes scroll-dot {
    0% { top: -20px; opacity: 0; }
    30% { opacity: 1; }
    80% { opacity: 0; }
    100% { top: 50px; opacity: 0; }
}

/* Button UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    transition: var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-copper);
    color: #FFF;
    box-shadow: 0 4px 15px rgba(195, 109, 59, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-copper-light);
    box-shadow: 0 6px 20px rgba(195, 109, 59, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.btn-lg {
    font-size: 1.05rem;
    padding: 0.95rem 2.2rem;
    border-radius: 10px;
}

/* --- Split Sections --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media(min-width: 1024px) {
    .split-container {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.split-left {
    position: relative;
    z-index: 2;
}

.split-right {
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-copper-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

/* Comparison Lists */
.comparison-list {
    list-style: none;
}

.comparison-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.comparison-item:last-child {
    margin-bottom: 0;
}

.comparison-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background-color: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.comparison-icon.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.comparison-text strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.4rem;
}

.comparison-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* --- Bento Grid / Cards (Armory / Vercel style) --- */
.bento-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 1fr;
}

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

@media(min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Mouse-follow spotlight glow cards */
.spotlight-card {
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: rgba(10, 10, 10, 0.65);
    padding: 2.2rem;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: var(--shadow-md);
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(195, 109, 59, 0.08),
        transparent 80%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.spotlight-card:hover {
    border-color: rgba(195, 109, 59, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(195, 109, 59, 0.05);
}

/* Bento grid sizing logic */
.bento-3 {
    grid-column: span 1;
}

.bento-6 {
    grid-column: span 1;
}

@media(min-width: 768px) {
    .bento-3 {
        grid-column: span 1;
    }
    .bento-6 {
        grid-column: span 2;
    }
}

@media(min-width: 1024px) {
    .bento-3 {
        grid-column: span 3;
    }
    .bento-6 {
        grid-column: span 6;
    }
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 10px;
    background-color: rgba(195, 109, 59, 0.07);
    color: var(--accent-copper-light);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(195, 109, 59, 0.15);
    position: relative;
    z-index: 2;
}

.spotlight-card h3 {
    position: relative;
    z-index: 2;
    margin-bottom: 0.8rem;
    font-size: 1.35rem;
}

.spotlight-card p {
    position: relative;
    z-index: 2;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Custom pricing highlight tags inside cards */
.card-price-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-copper-light);
    background-color: rgba(195, 109, 59, 0.06);
    border: 1px solid rgba(195, 109, 59, 0.15);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    margin-top: 1rem;
}

/* --- Interactive Node-Workflow Builder --- */
.workflow-builder {
    position: relative;
    padding: 3rem;
    background: rgba(8, 8, 8, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin: 3.5rem 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.workflow-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 900px) {
    .workflow-svg {
        display: none;
    }
}

.flow-glow {
    stroke-dashoffset: 0;
    animation: flow-pulse 6s linear infinite;
}

@keyframes flow-pulse {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -200; }
}

.workflow-nodes {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    position: relative;
    z-index: 2;
    gap: 2rem;
}

@media (max-width: 900px) {
    .workflow-nodes {
        flex-direction: column;
        gap: 2rem;
    }
}

.workflow-node {
    flex: 1;
    background: rgba(14, 14, 14, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.workflow-node:hover, .workflow-node.active {
    border-color: var(--accent-copper);
    box-shadow: 0 0 30px rgba(195, 109, 59, 0.18), inset 0 0 15px rgba(195, 109, 59, 0.05);
    transform: translateY(-4px);
}

.workflow-node-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--accent-copper-light);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}

.workflow-node:hover .workflow-node-icon, .workflow-node.active .workflow-node-icon {
    transform: scale(1.1);
    background-color: rgba(195, 109, 59, 0.1);
    border-color: var(--accent-copper-light);
}

.workflow-node h4 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

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

.workflow-node-status {
    margin-top: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    transition: var(--transition-fast);
}

.workflow-node.active .workflow-node-status {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: #10B981;
}

/* Custom interactive animation output block below the workflow nodes */
.workflow-output-console {
    margin-top: 2.5rem;
    background-color: #050505;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    font-family: var(--font-mono);
    position: relative;
    z-index: 2;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
}

.console-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-bottom: 0.75rem;
}

.console-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #EF4444;
}

.console-dot:nth-child(2) { background-color: #F59E0B; }
.console-dot:nth-child(3) { background-color: #10B981; }

.console-title {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.console-lines {
    font-size: 0.85rem;
    color: var(--accent-copper-light);
    min-height: 4.5rem;
    line-height: 1.7;
}

/* --- Interactive Pricing Slider & Term Calculator --- */
.calculator-card {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: rgba(8, 8, 8, 0.7);
    padding: 3rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media(min-width: 1024px) {
    .calc-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-title-area {
    margin-bottom: 2rem;
}

.calc-title-area h3 {
    margin-bottom: 0.5rem;
}

.calc-title-area p {
    font-size: 0.98rem;
    margin-bottom: 0;
}

.slider-group {
    margin-bottom: 2.5rem;
}

.slider-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.slider-label {
    font-size: 1rem;
    color: var(--text-primary);
}

.slider-value-display {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--accent-copper-light);
    font-weight: 700;
}

.custom-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #27272A;
    outline: none;
    transition: background 0.3s;
}

.custom-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-copper-light);
    border: 2px solid #FFF;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(195, 109, 59, 0.4);
    transition: transform 0.1s ease;
}

.custom-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.funding-details-info {
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: var(--font-mono);
    margin-top: 1rem;
}

/* Calculator Outputs Column */
.calc-outputs {
    background: rgba(3, 3, 3, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.output-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1rem 0;
}

.output-stat-row:first-child {
    padding-top: 0;
}

.output-stat-row:last-of-type {
    border-bottom: none;
    padding-bottom: 1.5rem;
}

.output-stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.output-stat-val {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFF;
}

.output-stat-val.highlight {
    font-size: 2rem;
    color: var(--accent-copper-light);
    text-shadow: 0 0 15px rgba(195, 109, 59, 0.2);
}

.calc-cta-btn {
    width: 100%;
    text-align: center;
    padding: 0.9rem;
    margin-top: 1.5rem;
}

/* --- Timeline / Roadmap Page Styles --- */
.roadmap-container {
    position: relative;
    padding-left: 2rem;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 29px; /* Centered with node ring */
    width: 2px;
    background-color: var(--border-color);
}

/* Animated timeline scroll highlighter overlay */
.roadmap-scroll-glow {
    position: absolute;
    top: 0;
    left: 29px;
    width: 2px;
    height: 0; /* Updated dynamically via JS or falls back */
    background: linear-gradient(to bottom, var(--accent-copper), var(--accent-amber));
    box-shadow: 0 0 10px var(--accent-copper);
    z-index: 2;
    transition: height 0.5s ease-out;
}

.roadmap-step {
    position: relative;
    padding-bottom: 4rem;
    display: flex;
    gap: 2.5rem;
}

.roadmap-step:last-child {
    padding-bottom: 0;
}

.roadmap-number {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-light);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.roadmap-step.active .roadmap-number, .roadmap-step:hover .roadmap-number {
    border-color: var(--accent-copper-light);
    color: #FFF;
    box-shadow: 0 0 20px rgba(195, 109, 59, 0.3), inset 0 0 10px rgba(195, 109, 59, 0.1);
}

.roadmap-content {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
    width: 100%;
}

.roadmap-step.active .roadmap-content, .roadmap-step:hover .roadmap-content {
    border-color: rgba(195, 109, 59, 0.25);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
    transform: translateX(5px);
}

/* --- Case Study Cards --- */
.case-study-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

.case-study-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: rgba(10, 10, 10, 0.5);
    padding: 3rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.case-study-card:hover {
    border-color: rgba(195, 109, 59, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.case-study-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.case-study-meta .accent {
    color: var(--accent-copper-light);
}

.case-study-card h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    margin-bottom: 1.75rem;
    font-weight: 800;
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media(min-width: 1024px) {
    .case-study-content {
        grid-template-columns: 1.3fr 0.7fr;
    }
}

.case-study-highlights {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    background: rgba(5, 5, 5, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--font-mono);
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: var(--accent-copper-light);
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(195, 109, 59, 0.15);
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.35rem;
}

/* --- Contact & Forms --- */
.contact-container {
    max-width: 780px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.75rem;
}

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

@media(min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.55rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-size: 1rem;
    background-color: rgba(5, 5, 5, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #FFF;
    font-family: var(--font-sans);
    transition: var(--transition-fast);
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-copper);
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 0 10px rgba(195, 109, 59, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.15rem;
}

.form-feedback {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-feedback.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34D399;
}

.form-feedback.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #F87171;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1.25rem;
    margin-bottom: 0;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 680px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    z-index: 10000;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media(min-width: 768px) {
    .cookie-banner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.cookie-banner.active {
    bottom: 2rem;
}

.cookie-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
}

/* --- Footer --- */
.footer {
    padding: 6rem 0 3rem 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    gap: 3.5rem;
    grid-template-columns: 1fr;
    margin-bottom: 4rem;
}

@media(min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.footer-brand h2 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.04em;
}

.footer-brand h2 span {
    color: #ffffff;
}

.footer-brand p {
    font-size: 1rem;
    max-width: 320px;
    line-height: 1.6;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.footer-col h4 {
    color: #FFF;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.95rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #FFF;
}

.footer-bottom {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

@media(min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        align-items: center;
    }
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
}

.footer-legal-links a {
    font-size: 0.85rem;
    color: var(--text-light);
}

.footer-legal-links a:hover {
    color: #FFF;
}

/* --- Scroll Reveal Animations classes --- */
.fade-in-element {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}
