/* SpectraVix - Minimal Landing Page: Where Systems Align */

:root {
    /* Light Theme Colors */
    --bg-light: #ffffff;
    --bg-lighter: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-light: #e2e8f0;
    
    /* Dark/Blue Theme - Professionally Harmonized */
    --bg-dark: #0a1628;           /* Deep navy blue - professional base */
    --bg-darker: #060d1a;         /* Darker navy - depth */
    --bg-blue: #1e3a5f;           /* Rich blue - main accent */
    --bg-blue-dark: #152e4d;      /* Darker rich blue - depth */
    --bg-blue-light: #2c4f7c;     /* Lighter blue for contrast */
    --text-light: #ffffff;
    --text-light-secondary: #cbd5e1;
    --border-dark: #1e293b;
    
    /* Accent Colors - Professional Blue Palette */
    --primary: #1e40af;           /* Deep professional blue */
    --primary-dark: #1e3a8a;      /* Darker blue for hover states */
    --primary-light: #2563eb;     /* Lighter blue for highlights */
    --accent-dim: rgba(30, 64, 175, 0.1);
    
    /* Gradients - Much Darker */
    --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #060b14 100%);
    --gradient-nav: linear-gradient(135deg, #0a0e1a 0%, #060b14 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background: var(--bg-light);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation - Dark when on Index page */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

body[data-page="/Index"] .navbar {
    background: var(--gradient-nav);
    border-bottom: none;
}

body[data-page="/Index"] .navbar.scrolled {
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

body:not([data-page="/Index"]) .navbar {
    background: var(--gradient-nav);
    border-bottom: none;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

body[data-page="/Index"] .nav-logo {
    color: var(--text-light);
}

body:not([data-page="/Index"]) .nav-logo {
    color: var(--text-light);
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo svg {
    width: 24px;
    height: 24px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: opacity 0.2s ease;
}

body[data-page="/Index"] .nav-link {
    color: var(--text-light-secondary);
}

body:not([data-page="/Index"]) .nav-link {
    color: var(--text-light-secondary);
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-nav-outline,
.btn-nav-primary {
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

body[data-page="/Index"] .btn-nav-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

body[data-page="/Index"] .btn-nav-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

body:not([data-page="/Index"]) .btn-nav-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

body:not([data-page="/Index"]) .btn-nav-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

body[data-page="/Index"] .btn-nav-primary {
    background: var(--text-light);
    color: var(--bg-dark);
}

body[data-page="/Index"] .btn-nav-primary:hover {
    background: var(--text-light-secondary);
}

body:not([data-page="/Index"]) .btn-nav-primary {
    background: var(--text-light);
    color: var(--bg-dark);
}

body:not([data-page="/Index"]) .btn-nav-primary:hover {
    background: var(--text-light-secondary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

body[data-page="/Index"] .nav-toggle span {
    background: var(--text-light);
}

body:not([data-page="/Index"]) .nav-toggle span {
    background: var(--text-light);
}

/* Mobile Menu Active State */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section - Dark Professional Blue Background */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-light);
}

.gradient-text {
    font-weight: 400;
    background: linear-gradient(90deg, #ffffff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-meta {
    font-size: 0.875rem;
    color: var(--text-light-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    background: transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    letter-spacing: 0.02em;
}

/* Buttons in Hero (dark background) */
.hero-section .btn-primary {
    background: var(--text-light);
    color: var(--bg-dark);
    border-color: var(--text-light);
}

.hero-section .btn-primary:hover {
    background: var(--text-light-secondary);
    border-color: var(--text-light-secondary);
}

.hero-section .btn-outline {
    border-color: var(--text-light);
    color: var(--text-light);
}

.hero-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Buttons in Light Sections */
.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--accent-dim);
}

/* Hero Visual - New Torus with Nodes */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.torus-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Torus Core */
.torus-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.torus-ring-outer {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 2px solid rgba(96, 165, 250, 0.4);
    border-radius: 50%;
    animation: rotate-slow 40s linear infinite;
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.3);
}

.torus-ring-middle {
    position: absolute;
    width: 130px;
    height: 130px;
    border: 2px solid rgba(96, 165, 250, 0.5);
    border-radius: 50%;
    animation: rotate-reverse 30s linear infinite;
    box-shadow: inset 0 0 20px rgba(96, 165, 250, 0.2);
}

.torus-center {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(96, 165, 250, 0.6);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.25) 0%, rgba(30, 64, 175, 0.15) 100%);
    animation: pulse-center 4s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(96, 165, 250, 0.4);
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.connection-line {
    stroke: rgba(96, 165, 250, 0.3);
    stroke-width: 1.5;
    animation: pulse-line 3s ease-in-out infinite;
}

.connection-line:nth-child(1) { animation-delay: 0s; }
.connection-line:nth-child(2) { animation-delay: 0.5s; }
.connection-line:nth-child(3) { animation-delay: 1s; }
.connection-line:nth-child(4) { animation-delay: 1.5s; }
.connection-line:nth-child(5) { animation-delay: 2s; }
.connection-line:nth-child(6) { animation-delay: 2.5s; }

/* Node Items */
.node-item {
    position: absolute;
    left: var(--node-x);
    top: var(--node-y);
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.node-item:nth-child(odd) { animation-delay: 0s; }
.node-item:nth-child(even) { animation-delay: 2s; }

.node-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.node-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.node-icon svg {
    width: 24px;
    height: 24px;
    z-index: 1;
    position: relative;
}

/* Sensor Nodes */
.sensor-node {
    background: rgba(30, 64, 175, 0.2);
    border: 2px solid rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.sensor-node svg {
    stroke: rgba(96, 165, 250, 0.9);
}

.sensor-node::before {
    border: 1px solid rgba(96, 165, 250, 0.3);
    animation: sensor-pulse 3s ease-in-out infinite;
}

/* User Nodes */
.user-node {
    background: rgba(139, 92, 246, 0.2);
    border: 2px solid rgba(167, 139, 250, 0.6);
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
}

.user-node svg {
    stroke: rgba(167, 139, 250, 1);
}

.user-node::before {
    border: 1px solid rgba(167, 139, 250, 0.4);
    animation: user-pulse 2.5s ease-in-out infinite;
}

.user-node.active {
    animation: user-active 3s ease-in-out infinite;
}

/* Action Nodes */
.action-node {
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid rgba(52, 211, 153, 0.6);
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
}

.action-node svg {
    stroke: rgba(52, 211, 153, 1);
}

.action-node::before {
    border: 1px solid rgba(52, 211, 153, 0.4);
    animation: action-pulse 2s ease-in-out infinite;
}

/* Node Labels */
.node-label {
    font-size: 0.75rem;
    color: var(--text-light-secondary);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Pulse Indicators */
.pulse-indicator {
    position: absolute;
    left: var(--pulse-x);
    top: var(--pulse-y);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.8);
    transform: translate(-50%, -50%);
    animation: pulse-move 3s ease-in-out infinite;
    z-index: 2;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
}

.pulse-indicator:nth-child(odd) { animation-delay: 0s; }
.pulse-indicator:nth-child(even) { animation-delay: 1.5s; }

/* Animations */
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes pulse-center {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes pulse-line {
    0%, 100% {
        stroke-opacity: 0.3;
        stroke-width: 1.5;
    }
    50% {
        stroke-opacity: 0.6;
        stroke-width: 2;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-8px);
    }
}

@keyframes sensor-pulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

@keyframes user-pulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.4);
    }
}

@keyframes user-active {
    0%, 100% {
        box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(167, 139, 250, 0.8);
    }
}

@keyframes action-pulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.4);
    }
}

@keyframes pulse-move {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes pulse-ring {
    0%, 100% {
        box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(96, 165, 250, 0.6);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
    }
    50% {
        box-shadow: 0 0 35px rgba(96, 165, 250, 0.5);
    }
}

/* Sections - Light Background */
section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

section:nth-child(even) {
    background: var(--bg-lighter);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.lead.emphasis {
    color: var(--text-primary);
    font-weight: 400;
    margin-top: 3rem;
}

/* What Section - Light Background */
.what-section {
    background: #ffffff;
    padding: 6rem 0;
}

.what-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.what-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.what-section .section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.what-section .lead {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Torus Section - Dark, Unified Layout */
.torus-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-blue-dark) 100%) !important;
    padding: 6rem 0;
}

.torus-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.torus-section .section-header .section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #60a5fa;
    margin-bottom: 1rem;
    font-weight: 600;
    display: block;
}

.torus-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.torus-section .section-description {
    font-size: 1.125rem;
    color: #e2e8f0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.torus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.torus-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.torus-circle {
    width: 280px;
    height: 280px;
    position: relative;
}

.torus-ring-outer {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 50%;
    animation: torus-pulse-outer 6s ease-in-out infinite;
}

@keyframes torus-pulse-outer {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.06);
        opacity: 0.8;
    }
}

.torus-ring-middle {
    position: absolute;
    inset: 35px;
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 50%;
    animation: torus-pulse-middle 4s ease-in-out infinite;
}

@keyframes torus-pulse-middle {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: scale(1.04);
        opacity: 0.9;
    }
}

.torus-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, rgba(96, 165, 250, 0.08) 50%, transparent 100%);
    border-radius: 50%;
    border: 1px solid rgba(96, 165, 250, 0.6);
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.3);
}

.torus-details {
    max-width: 500px;
}

.torus-description {
    font-size: 1.125rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.torus-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.torus-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 400;
}

.torus-feature svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #60a5fa;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .torus-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .torus-section .section-header h2 {
        font-size: 2rem;
    }
    
    .torus-circle {
        width: 220px;
        height: 220px;
    }
    
    .torus-ring-middle {
        inset: 28px;
    }
    
    .torus-core {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 640px) {
    .torus-section {
        padding: 4rem 0;
    }
    
    .torus-section .section-header h2 {
        font-size: 1.75rem;
    }
    
    .torus-circle {
        width: 180px;
        height: 180px;
    }
    
    .torus-ring-middle {
        inset: 22px;
    }
    
    .torus-core {
        width: 80px;
        height: 80px;
    }
}

/* Why Section - Problem List */
.why-section {
    background: var(--bg-lighter);
}

.why-section .section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
}

.problem-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.problem-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
    transition: all 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-4px);
}

.problem-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.problem-icon svg {
    width: 32px;
    height: 32px;
}

.problem-icon-warning {
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary);
}

.problem-icon-alert {
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary);
}

.problem-icon-critical {
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary);
}

.problem-item:hover .problem-icon {
    transform: scale(1.1);
}

.problem-text {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.problem-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.solution-statement {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.solution-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

.solution-arrow svg {
    width: 24px;
    height: 24px;
    color: white;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* How Section */
.how-section {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

/* How Section - Steps Timeline */
.how-section {
    background: var(--bg-light);
}

.steps-timeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 1.5rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 280px;
}

.step-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    transition: transform 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1);
}

.step-icon {
    width: 72px;
    height: 72px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, #ffffff 100%);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.step-item:hover .step-icon {
    background: linear-gradient(135deg, var(--accent-dim) 0%, var(--bg-lighter) 100%);
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.15);
}

.step-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
    stroke-width: 2.5;
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

/* UPDATED: Step connector - completely hidden, just spacing */
.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    flex-shrink: 0;
    margin-top: 60px;
}

.step-connector::before,
.step-connector::after {
    content: none !important;
    display: none !important;
}

.step-connector svg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Use Cases Section */
.use-cases-section {
    background: var(--bg-lighter);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.use-case-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.use-case-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.use-case-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.use-case-card h3 {
    font-size: 1.375rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.use-case-card > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.use-case-features {
    list-style: none;
    padding: 0;
}

.use-case-features li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.5;
}

.use-case-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e40af' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Value Section */
.value-section {
    background: var(--bg-light);
}

.value-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.value-item {
    padding: 1.25rem;
    border: 1px solid var(--border-light);
    background: var(--bg-lighter);
    text-align: center;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-primary);
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: var(--primary);
    background: var(--bg-light);
    box-shadow: var(--shadow-sm);
}

/* CTA Section - Dark Professional Blue Background */
.cta-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-blue) 100%);
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    color: var(--text-light);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer - Dark Professional Blue Background */
.footer {
    background: #0f172a;
    color: var(--text-light);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer .container {
    /* Container styles */
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
}

.footer-logo svg {
    width: 24px;
    height: 24px;
}

.footer-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-light-secondary);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-light-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-legal p {
    font-size: 0.875rem;
    color: var(--text-light-secondary);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    font-size: 0.875rem;
    color: var(--text-light-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: var(--text-light);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light-secondary);
    transition: all 0.2s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 1024px) {
    .steps-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        row-gap: 3rem;
    }

    .step-connector {
        display: none;
    }

    .step-content p {
        max-width: 100%;
    }
}

@media (max-width: 968px) {
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu .nav-link {
        font-size: 1.5rem;
        color: var(--text-light);
        padding: 0.75rem 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions {
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        gap: 1rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active ~ .nav-actions,
    body.menu-open .nav-actions {
        opacity: 1;
        visibility: visible;
    }

    /* Hero Section Mobile */
    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 100px;
    }

    .hero-content {
        text-align: center;
        order: 1;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-meta {
        text-align: center;
    }

    /* Hero Visual Mobile - Scaled Down */
    .hero-visual {
        height: 320px;
        order: 2;
    }

    .torus-container {
        width: 280px;
        height: 280px;
        transform: scale(0.7);
    }

    .torus-core {
        width: 140px;
        height: 140px;
    }

    .torus-ring-outer {
        width: 140px;
        height: 140px;
    }

    .torus-ring-middle {
        width: 100px;
        height: 100px;
    }

    .torus-center {
        width: 60px;
        height: 60px;
    }

    /* Nodes repositioned for mobile */
    .node-item {
        transform: translate(-50%, -50%) scale(0.8);
    }

    .node-item[style*="--node-x: 80px"][style*="--node-y: 100px"] {
        --node-x: 60px !important;
        --node-y: 80px !important;
    }

    .node-item[style*="--node-x: 320px"][style*="--node-y: 100px"] {
        --node-x: 220px !important;
        --node-y: 80px !important;
    }

    .node-item[style*="--node-x: 350px"][style*="--node-y: 200px"] {
        --node-x: 240px !important;
        --node-y: 140px !important;
    }

    .node-item[style*="--node-x: 320px"][style*="--node-y: 300px"] {
        --node-x: 220px !important;
        --node-y: 200px !important;
    }

    .node-item[style*="--node-x: 80px"][style*="--node-y: 300px"] {
        --node-x: 60px !important;
        --node-y: 200px !important;
    }

    .node-item[style*="--node-x: 50px"][style*="--node-y: 200px"] {
        --node-x: 40px !important;
        --node-y: 140px !important;
    }

    .node-icon {
        width: 40px;
        height: 40px;
    }

    .node-icon svg {
        width: 20px;
        height: 20px;
    }

    .node-label {
        font-size: 0.65rem;
    }

    /* Connection lines scaled */
    .connection-lines {
        transform: scale(0.7);
        transform-origin: center;
    }

    /* Pulse indicators hidden on mobile for cleaner look */
    .pulse-indicator {
        display: none;
    }

    .problem-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-item {
        min-height: auto;
    }

    .step-connector {
        display: none;
    }

    .step-content p {
        max-width: 100%;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .hero-section {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-meta {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    /* Hero Visual - Extra small screens */
    .hero-visual {
        height: 260px;
    }

    .torus-container {
        width: 220px;
        height: 220px;
        transform: scale(0.6);
    }

    /* Hide connection nodes on very small screens for cleaner look */
    .node-item {
        transform: translate(-50%, -50%) scale(0.65);
    }

    .connection-lines {
        transform: scale(0.55);
    }

    .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    /* Mobile menu adjustments for small screens */
    .nav-menu .nav-link {
        font-size: 1.25rem;
    }

    .nav-actions {
        bottom: 1.5rem;
        width: calc(100% - 2rem);
        left: 1rem;
        transform: none;
    }

    .nav-actions .btn {
        width: 100%;
    }
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile menu actions visibility */
@media (max-width: 968px) {
    body.menu-open .nav-actions {
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        gap: 1rem;
        opacity: 1;
        visibility: visible;
        z-index: 1000;
        width: calc(100% - 4rem);
        max-width: 300px;
    }

    body.menu-open .nav-actions .btn {
        width: 100%;
        text-align: center;
    }
}
