:root {
    /* --- DEFAULT THEME: INDIVIDUALS (RED) --- */
    --bg-dark: #FFF5F5;
    --bg-card: #fee2e2;
    --primary: #a2221b;
    --accent: #dc2626;
    --cta-color: #dc2626;
    --highlight: #fca5a5;
    
    /* Text Colors */
    --text-main: #450a0a;      
    --text-muted: #7f1d1d;     
    --text-headings: #450a0a;  
    
    --border: #fca5a5;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --container-width: 1240px;
    --pill-radius: 100px;
    
    /* Gradients */
    --highlight-bg: linear-gradient(180deg, #fee2e2 0%, #ffffff 100%);
    --card-gradient-1: linear-gradient(135deg, #fee2e2 0%, #fff1f2 100%);
    --card-gradient-2: linear-gradient(135deg, #ffe4e6 0%, #fff0f0 100%);
    --card-gradient-3: linear-gradient(135deg, #fecaca 0%, #fef2f2 100%);
    
    /* Specific Visual Gradients */
    --visual-gradient-header: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
    --visual-dna-segment: linear-gradient(90deg, rgba(220,38,38,0) 0%, rgba(220,38,38,1) 50%, rgba(220,38,38,0) 100%);
    --chart-gradient: linear-gradient(180deg, #991b1b 0%, #450a0a 100%);
    
    /* Node Colors */
    --node-red-bg: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
    --node-blue-bg: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    --node-dark-bg: #1a1a1a;
    --node-dark-text: #ccc;
    --node-dark-border: #333;

    /* Hero Overlay */
    --hero-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    
    /* Logo Filters - Black for Header (Both Versions) */
    --logo-filter-header: brightness(0); 
    /* White Filter for Footer */
    --logo-filter-footer: brightness(0) invert(1);
}

/* --- ENTERPRISE THEME (BLUE) --- */
body.theme-blue {
    /* Dark Blue: #0f1425 | Light Blue: #B9D9EB */
    --bg-dark: #F0F7FB;
    --bg-card: #ffffff;
    --primary: #0f1425;
    --accent: #0f1425;
    --cta-color: #0f1425;
    --highlight: #B9D9EB;
    
    --text-main: #0f1425;      
    --text-muted: #475569;     
    --text-headings: #0f1425;  
    
    --border: #B9D9EB;
    
    --highlight-bg: linear-gradient(180deg, #E3F2FD 0%, #ffffff 100%);
    --card-gradient-1: linear-gradient(135deg, #F0F7FB 0%, #FFFFFF 100%);
    --card-gradient-2: linear-gradient(135deg, #EBF5FF 0%, #FFFFFF 100%);
    --card-gradient-3: linear-gradient(135deg, #F5F9FF 0%, #FFFFFF 100%);
    
    --visual-gradient-header: linear-gradient(135deg, #0f1425 0%, #1e293b 100%);
    --visual-dna-segment: linear-gradient(90deg, rgba(15,20,37,0) 0%, rgba(15,20,37,1) 50%, rgba(15,20,37,0) 100%);
    --chart-gradient: linear-gradient(135deg, #0f1425 0%, #1e293b 100%);
    
    --node-red-bg: linear-gradient(135deg, #0f1425 0%, #1e293b 100%);
    --node-blue-bg: linear-gradient(135deg, #334155 0%, #0f172a 100%);
    --node-dark-bg: #f1f5f9;
    --node-dark-text: #334155;
    --node-dark-border: #cbd5e1;

    --hero-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    
     /* Logo Filters - Keep Black */
     --logo-filter-header: brightness(0);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* View Toggle Utilities */
body:not(.theme-blue) .enterprise-only { display: none !important; }
body.theme-blue .individual-only { display: none !important; }

/* Alternate Backgrounds */
.section-alt { background: #FFFFFF; }
.section-std { background: var(--bg-dark); }

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4, h5 { 
    color: var(--text-headings); 
    font-weight: 300;
    line-height: 1.2; 
    letter-spacing: -0.03em;
}

.hero h1 { 
    color: #FFFFFF !important; /* Keep Hero text white due to dark image overlay */
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    letter-spacing: -1px; 
}

h2 { font-size: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; font-weight: 400; }
h4 { 
    font-size: 0.9rem; 
    color: var(--accent); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 10px; 
    font-weight: 600;
}
p { 
    color: var(--text-muted); 
    margin-bottom: 1.5rem; 
    font-size: 1rem;
    font-weight: 400;
}

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 40px; }

/* Shimmer Animation Keyframes */
@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* Buttons */
.btn, .pc-btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--cta-color);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: var(--pill-radius);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden; /* Essential for shimmer */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1;
    white-space: nowrap;
}

/* Shimmer Effect Pseudo-element */
.btn::before, .pc-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

.btn:hover, .pc-btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.3); 
    filter: brightness(1.1);
}

.btn-nav {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 24px;
    border-radius: var(--pill-radius);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    background: var(--cta-color);
    border: 1px solid transparent;
    color: #FFFFFF;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
/* Shimmer for Nav Button too */
.btn-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    animation: shimmer 4s infinite; /* Slower for nav */
    pointer-events: none;
}
.btn-nav:hover { background: var(--primary); transform: translateY(-2px); }

.btn-video {
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent;
    color: #FFFFFF;
    padding: 12px 28px;
    border-radius: var(--pill-radius);
    font-weight: 400;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    gap: 10px;
    white-space: nowrap;
}
.btn-video:hover { 
    background: rgba(255,255,255,0.1); 
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); 
}

.section-padding { padding: 100px 0; }
.text-center { text-align: center; }

/* Floating Toggle Bar */
.floating-toggle-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 50px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 1001;
    display: flex;
    gap: 5px;
}
.toggle-pill {
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-muted);
    white-space: nowrap;
}
.toggle-pill.active {
    background: var(--cta-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Header - Glassmorphism Added */
header {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: 95%; max-width: var(--container-width);
    background: rgba(255, 255, 255, 0.6); /* Higher transparency */
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--pill-radius);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 70px; padding: 0 30px; }

.logo-desktop { 
    height: 50px; 
    display: block; 
    filter: var(--logo-filter-header); 
    transition: filter 0.5s; 
}
.logo-mobile { 
    height: 42px; 
    display: none; 
    filter: var(--logo-filter-header); 
} 

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-headings) !important; opacity: 0.8; }
.nav-links a:hover { color: var(--accent) !important; opacity: 1; }

/* Hero */
.hero {
    position: relative; 
    min-height: 90vh; 
    display: flex; 
    align-items: center;
    background-size: cover; 
    background-position: top; 
    padding-top: 100px; 
    padding-bottom: 50px;
    overflow: hidden;
    transition: background-image 0.5s ease;
}
/* Red Theme Hero Image (Individuals) */
body:not(.theme-blue) .hero {
    background-image: var(--hero-overlay), url('Images/Longevity Plan Banner.png');
}
/* Blue Theme Hero Image (Enterprise) */
body.theme-blue .hero {
    background-image: var(--hero-overlay), url('Images/Longevity Plan Banner.png');
}
.hero-content { max-width: 850px; position: relative; z-index: 2; padding-left: 20px; }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.hero p { font-size: 1.1rem; line-height: 1.7; opacity: 0.9; max-width: 500px; color: #FFFFFF !important; }

/* Trusted By Section (Marquee) */
.trusted-section {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.trusted-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}
.trusted-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 600;
    display: block;
}
.marquee {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    gap: 80px; 
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-content {
    display: flex;
    gap: 80px; 
    animation: scroll 36s linear infinite;
    min-width: 100%;
    padding: 10px 0;
    flex-shrink: 0;
    align-items: center;
}
.marquee-content img {
    height: auto; 
    width: 100%; 
    min-width: 800px; 
    opacity: 0.8;
    filter: grayscale(100%) opacity(0.7);
    transition: 0.3s;
    max-height: 100px;
    object-fit: contain;
}
.marquee-content img:hover {
    filter: grayscale(0%) opacity(1);
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - 80px)); } 
}

/* Innovations & Membership Tabs */
.innovations-section { padding: 100px 0; }
.tabs-header { display: flex; justify-content: center; gap: 40px; margin-bottom: 50px; border-bottom: 1px solid var(--border); max-width: 900px; margin-left: auto; margin-right: auto; flex-wrap: wrap; }
.tab-btn { background: none; border: none; color: var(--text-muted); font-size: 0.95rem; font-weight: 500; text-transform: uppercase; padding-bottom: 15px; cursor: pointer; position: relative; letter-spacing: 1px; transition: color 0.3s; }
.tab-btn:hover, .tab-btn.active { color: var(--accent); font-weight: 700; }
.tab-btn.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 3px; background: var(--accent); }
.tab-content, .mem-tab-content { display: none; animation: fadeIn 0.6s ease; }
.tab-content.active, .mem-tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.innovation-card { border-radius: 24px; padding: 60px; display: flex; flex-direction: column; gap: 40px; position: relative; overflow: hidden; min-height: 600px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); border: 1px solid var(--border); }
.card-header-full { width: 100%; z-index: 2; text-align: left; }
.feature-desc { opacity: 0.9; font-size: 0.9rem; }
.card-body-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; width: 100%; z-index: 2; flex: 1; align-items: center; }

/* Updated Cards */
.card-biotech { background: var(--card-gradient-1); }
.card-medtech { background: var(--card-gradient-2); }
.card-ai { background: var(--card-gradient-3); }

.feature-item { background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(10px); padding: 25px; border-radius: 12px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.5); transition: transform 0.2s; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.feature-item:hover { transform: translateX(5px); background: rgba(255, 255, 255, 0.9); border-color: var(--accent); }
.feature-header { display: flex; align-items: center; gap: 15px; margin-bottom: 8px; }
.feature-icon { font-size: 1.2rem; color: var(--accent); }
.feature-title { font-weight: 600; color: var(--text-headings); }
.card-visual { display: flex; align-items: center; justify-content: center; position: relative; min-height: 400px; }

/* DNA Visuals */
.dna-vertical-wrapper { position: relative; width: 300px; height: 400px; display: flex; justify-content: center; }
.dna-container { position: relative; width: 100px; height: 100%; }
.dna-segment { position: absolute; left: 50%; transform: translateX(-50%); width: 6px; height: 4px; background: var(--visual-dna-segment); animation: helix-anim 2s ease-in-out infinite alternate; }
.dna-segment::before, .dna-segment::after { content: ''; display: block; position: absolute; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; background-color: var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent); }
.dna-segment::before { left: -8px; } .dna-segment::after { right: -8px; }
@keyframes helix-anim { 0% { width: 10px; opacity: 0.3; z-index: 1; transform: translateX(-50%) scale(0.8); } 100% { width: 140px; opacity: 1; z-index: 10; transform: translateX(-50%) scale(1.1); } }

.dna-label-group { position: absolute; display: flex; align-items: center; gap: 10px; animation: floatY 6s ease-in-out infinite; }
.dl-left { flex-direction: row; } 
.dl-right { flex-direction: row; } 

.dna-label { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); padding: 8px 16px; border-radius: 30px; font-size: 0.8rem; color: var(--text-headings); border: 1px solid var(--border); white-space: nowrap; box-shadow: 0 4px 10px rgba(0,0,0,0.05); font-weight: 600; }
.dna-line { width: 40px; height: 1px; background: var(--accent); }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Monitor */
.monitor-screen { width: 100%; max-width: 420px; background: #000; border: 4px solid #333; border-radius: 12px; padding: 20px; position: relative; box-shadow: 0 0 40px rgba(0,0,0,0.15); overflow: hidden; display: flex; flex-direction: column; height: 350px; }
.monitor-header { display: flex; justify-content: space-between; color: var(--accent); font-size: 0.75rem; margin-bottom: 15px; font-family: 'Courier New', monospace; letter-spacing: 1px; }
.monitor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; flex: 1; }
.monitor-panel { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; padding: 12px; display: flex; flex-direction: column; justify-content: center; }
.mp-label { font-size: 0.7rem; color: #aaa; text-transform: uppercase; margin-bottom: 5px; }
.mp-value { color: white; font-size: 1.5rem; font-weight: 700; font-family: monospace; }
.mp-unit { font-size: 0.8rem; color: #666; }
.monitor-graph-area { grid-column: span 2; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; position: relative; overflow: hidden; }
path.pulse { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: 0; } }

/* Chat Visual */
.chat-interface { width: 100%; max-width: 380px; height: 480px; background: rgba(255,255,255,0.7); border-radius: 20px; border: 1px solid var(--border); padding: 25px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.chat-messages { display: flex; flex-direction: column; gap: 15px; }
.chat-row { display: flex; align-items: flex-end; gap: 10px; opacity: 0; animation: chatPop 0.5s forwards; }
.chat-row.ai { justify-content: flex-start; } .chat-row.user { justify-content: flex-end; }
.chat-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-bubble { padding: 12px 16px; border-radius: 12px; font-size: 0.9rem; max-width: 85%; line-height: 1.4; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.cb-user { background: #fff; border: 1px solid var(--border); color: var(--text-main); border-bottom-right-radius: 2px; }
.cb-ai { background: var(--cta-color); color: #fff; border-bottom-left-radius: 2px; font-weight: 500; }
.chat-input-mock { width: 100%; padding: 12px; background: #fff; border-radius: 50px; font-size: 0.8rem; color: var(--text-muted); border: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.chat-send-btn { width: 24px; height: 24px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.7rem; }

.chat-row:nth-child(1) { animation-delay: 0.5s; } .chat-row:nth-child(2) { animation-delay: 2.0s; } .chat-row:nth-child(3) { animation-delay: 4.0s; } .chat-row:nth-child(4) { animation-delay: 6.0s; } .chat-row:nth-child(5) { animation-delay: 8.0s; }
@keyframes chatPop { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Digital Section */
.digital-precision-section { padding: 100px 0; border-bottom: 1px solid var(--border); }
.precision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 60px; }
.bento-box { background: var(--bg-dark); border: 1px solid var(--border); border-radius: 24px; padding: 35px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; transition: 0.3s; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.bento-box:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

.bento-icon-small { font-size: 1.8rem; color: var(--accent); margin-bottom: 15px; }
.bento-title { font-size: 1.4rem; color: var(--text-headings); font-weight: 600; margin-bottom: 10px; }
.bento-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; z-index: 2; position: relative; font-weight: 400; }

.visual-container { width: 100%; flex: 1; background: #fff; border-radius: 16px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 250px; }

/* New Digital Twin Visual (SVG Wireframe Face) */
.digital-twin-svg { width: 100%; height: 100%; position: absolute; }
.face-path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawFace 6s ease-out forwards infinite; opacity: 0.7; }
.face-node { fill: var(--primary); r: 3; animation: pulseNode 3s infinite alternate; }
@keyframes drawFace { 50% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0.7; } }
@keyframes pulseNode { from { r: 3; opacity: 0.7; } to { r: 5; opacity: 1; } }

/* Complex Neural Network Visual (Bio Dashboard) */
.neural-net-container { position: relative; width: 100%; height: 100%; background: transparent; overflow:hidden; }
.neural-svg { width: 100%; height: 100%; position: absolute; }
.nn-connection { stroke: var(--accent); stroke-width: 1; opacity: 0.3; stroke-dasharray: 10; animation: dashMove 1s linear infinite; }
.nn-node-circle { fill: var(--primary); r: 5; filter: drop-shadow(0 0 5px var(--accent)); animation: pulseNode 2s infinite; }
@keyframes dashMove { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }

/* Chart Interactive */
.chart-blue-container { width: 100%; height: 100%; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; background: var(--chart-gradient); color: white; position: absolute; top: 0; left: 0; }
.chart-main-stat { font-size: 1.8rem; font-weight: 700; text-align: center; margin: 10px 0 20px; color: var(--highlight); }
.chart-bars-area { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; width: 100%; }
.bar-group { display: flex; flex-direction: column; align-items: center; width: 100%; cursor: pointer; transition: transform 0.2s; height: 100%; justify-content: flex-end; }
.bar-group:hover { transform: translateY(-5px); }
.v-bar { width: 100%; background: rgba(255,255,255,0.15); border-radius: 4px 4px 0 0; position: relative; transition: height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s; }
.v-bar.today { background: var(--accent); box-shadow: 0 0 15px rgba(220, 38, 38, 0.4); }
.bar-label { font-size: 0.7rem; margin-top: 8px; opacity: 0.6; text-transform: uppercase; font-weight: 500; color: #fff; }
.bar-label.active { color: white; opacity: 1; font-weight: 700; }
.breakdown-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.breakdown-item { display: flex; flex-direction: column; gap: 4px; }
.bd-label { font-size: 0.75rem; display: flex; justify-content: space-between; opacity: 0.9; color: #fff; }
.bd-bar-bg { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; }
.bd-bar-fill { height: 100%; border-radius: 3px; width: 0%; animation: fillBar 1.5s ease-out forwards 0.5s; }

/* Health Journey - Updated for Digital Twin Visual */
.health-journey-section { padding: 120px 0; background: var(--bg-dark); }
.journey-container { display: flex; align-items: center; gap: 100px; flex-wrap: wrap; }
.journey-text { flex: 1; min-width: 300px; }
.journey-text ul { margin-top: 30px; }
.journey-text li { margin-bottom: 18px; display: flex; align-items: center; gap: 15px; font-weight: 400; color: var(--text-main); font-size: 1.05rem; }
.journey-text li i { color: var(--accent); font-size: 1.1rem; }

.journey-visual { flex: 1; display: flex; justify-content: center; position: relative; flex-shrink: 0; }

/* New Dark Mode Dashboard Visual (Reference 2) */
.dark-dashboard-ui { width: 340px; background: #111; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); border: 4px solid #333; color: white; font-family: sans-serif; }
.dd-header { padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; }
.dd-score { font-size: 2rem; font-weight: bold; }
.dd-section { padding: 20px; border-bottom: 1px solid #222; }
.dd-label { font-size: 0.75rem; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.dd-graph-container { height: 100px; position: relative; display: flex; align-items: flex-end; gap: 5px; }
.dd-graph-line { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; stroke: var(--accent); fill: none; stroke-width: 2; }
.dd-strain-row { display: flex; justify-content: space-between; margin-top: 10px; }
.dd-stat-box { text-align: center; }
.dd-stat-val { font-size: 1.2rem; font-weight: 600; color: #4ade80; } /* Green for recovery */
.dd-stat-lbl { font-size: 0.7rem; color: #666; }

/* Team */
.team-section { padding: 100px 0; background: var(--bg-card); }
.team-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
.team-intro { position: sticky; top: 120px; height: fit-content; }
.team-list { display: flex; flex-direction: column; gap: 30px; }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 35px; display: flex; gap: 30px; transition: transform 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.team-card:hover { transform: translateY(-5px); border-color: var(--accent); background: linear-gradient(145deg, #fff, #fff1f2); }
.tc-img-wrap { width: 140px; height: 140px; flex-shrink: 0; border-radius: 50%; overflow: hidden; border: 3px solid var(--border); }
.tc-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.tc-content { flex: 1; }
.tc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.tc-number { font-size: 0.75rem; color: var(--accent); margin-bottom: 5px; display: block; letter-spacing: 1px; font-weight: 600; }
.tc-name { font-size: 1.4rem; font-weight: 600; color: var(--text-headings); }
.tc-bio { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; font-weight: 400; }
.tc-linkedin { color: #0077b5; font-size: 1.2rem; }

/* Pricing */
.pricing-section { padding: 100px 0; background: var(--bg-card); border-top: 1px solid var(--border); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; position: relative; transition: transform 0.3s; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.price-card:hover { transform: translateY(-10px); border-color: var(--primary); }

.price-card.highlight { background: var(--highlight-bg); border: 2px solid var(--accent); transform: scale(1.05); z-index: 2; box-shadow: 0 15px 50px rgba(15, 20, 38, 0.1); }
.price-card.highlight:hover { transform: scale(1.05) translateY(-10px); }

.ribbon { position: absolute; top: 25px; right: -30px; width: 120px; background: var(--cta-color); color: white; text-align: center; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 6px 0; transform: rotate(45deg); box-shadow: 0 5px 10px rgba(0,0,0,0.2); }
.pc-header { padding: 40px 30px; text-align: center; border-bottom: 1px solid var(--border); }
.pc-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 5px; color: var(--text-headings); }
.pc-price { font-size: 2.2rem; font-weight: 700; color: var(--primary); margin: 15px 0; }
.pc-body { padding: 40px 30px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.pc-features li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--text-muted); }
.pc-features li::before { content: '✓'; color: var(--accent); font-weight: bold; flex-shrink: 0; }

.enterprise-card { width: 100%; max-width: 400px; /* Reduced by ~20% */ background: var(--bg-dark); border: 2px solid var(--accent); padding: 40px; margin: 60px auto 0; text-align: center; }
.enterprise-card .pc-title { font-size: 1.8rem; font-weight: 700; color: var(--accent); margin-bottom: 20px; }
.enterprise-card .pc-price { font-size: 3.5rem; font-weight: 700; color: var(--accent); margin: 10px 0 30px; }
.enterprise-card ul { text-align: left; margin: 0 auto 40px; max-width: 320px; }
.enterprise-card li { font-size: 1rem; margin-bottom: 15px; color: var(--text-muted); display: flex; align-items: center; gap: 12px; }
.enterprise-card li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent); }

/* API Integration Section (Enterprise) */
.api-showcase-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}
.api-text-col { flex: 1; min-width: 300px; }
/* API Subheading Updated Style */
.api-text-col h4 {
    font-size: 0.9rem; 
    color: var(--accent); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 10px; 
    font-weight: 600;
}
.api-text-col h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--text-headings); }
.api-text-col p { font-size: 1.1rem; margin-bottom: 30px; color: var(--text-muted); }
.api-checks li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.api-checks li i { color: var(--accent); }

.api-visual-col { flex: 1; min-width: 320px; }
.code-window {
    background: #0f1425;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    font-family: 'Fira Code', monospace;
    border: 1px solid #334155;
}
.code-header {
    background: #1e293b;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #334155;
    align-items: center;
}
.window-dot { width: 10px; height: 10px; border-radius: 50%; }
.wd-red { background: #ef4444; } .wd-yellow { background: #eab308; } .wd-green { background: #22c55e; }
.code-title { margin-left: 10px; color: #94a3b8; font-size: 0.8rem; }
.code-content { padding: 24px; color: #e2e8f0; font-size: 0.85rem; line-height: 1.7; }
.c-kw { color: #c084fc; } /* keyword */
.c-str { color: #86efac; } /* string */
.c-punc { color: #94a3b8; } /* punctuation */
.c-fn { color: #60a5fa; } /* function */

/* FAQ */
.faq-section { padding: 100px 0; background: var(--bg-dark); }
.faq-container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.faq-item { border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.faq-question { display: flex; justify-content: space-between; cursor: pointer; font-size: 1.1rem; font-weight: 600; color: var(--text-headings); align-items: center; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-muted); padding-top: 0; opacity: 0.9; line-height: 1.6; }
.faq-item.active .faq-answer { max-height: 200px; padding-top: 15px; }
.faq-toggle { font-size: 1.5rem; color: var(--accent); font-weight: 300; }

/* Footer - Red Theme & Glassmorphism */
footer { 
    margin: 60px auto 40px; 
    width: 95%; 
    max-width: var(--container-width); 
    background: rgba(69, 10, 10, 0.85); /* Semi-transparent dark red */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border); 
    border-radius: 30px; 
    padding: 60px 40px 30px; 
    color: white; 
}
body.theme-blue footer { background: rgba(15, 20, 37, 0.95); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 50px; }
.footer-brand img { height: 50px; margin-bottom: 20px; filter: var(--logo-filter-footer); }
.footer-brand p { color: white !important; font-weight: 400; opacity: 0.9; }
.footer-col h5 { color: white; margin-bottom: 25px; font-size: 1rem; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: var(--highlight) !important; font-size: 0.95rem; }
.footer-col a:hover { color: #fff !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; color: var(--highlight) !important; font-size: 0.9rem; }
.footer-bottom a { color: var(--highlight) !important; }

/* Emergency Hotline Widget */
.hotline-widget { 
    position: fixed; bottom: 30px; right: 30px; 
    background: var(--cta-color); color: white; 
    padding: 15px 25px; border-radius: 50px; 
    display: flex; align-items: center; gap: 10px; 
    cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
    z-index: 100; transition: transform 0.3s; 
    font-weight: 600; font-size: 0.95rem;
}
.hotline-widget:hover { transform: translateY(-3px); }
.hotline-widget i { font-size: 1.2rem; }

/* Modals */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); display: none; justify-content: center; align-items: center; z-index: 9999; }
.modal-content { background: #fff; padding: 40px; border-radius: 24px; border: 1px solid var(--border); max-width: 600px; width: 90%; position: relative; animation: modalPop 0.3s ease-out; box-shadow: 0 25px 50px rgba(0,0,0,0.2); max-height: 80vh; overflow-y: auto; }
@keyframes modalPop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px; margin-bottom: 15px; background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; color: var(--text-main); font-family: inherit; }
.plan-selector { display: flex; gap: 10px; margin-bottom: 20px; }
.plan-option { flex: 1; position: relative; cursor: pointer; }
.plan-option input { position: absolute; opacity: 0; }
.plan-card-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 15px; background: var(--bg-dark); border: 1px solid var(--border); border-radius: 12px; transition: all 0.3s; color: var(--text-muted); height: 100%; }
.plan-option input:checked + .plan-card-opt { background: var(--accent); border-color: var(--accent); color: white; }
.plan-card-opt i { font-size: 1.2rem; margin-bottom: 8px; color: var(--accent); }
.plan-option input:checked + .plan-card-opt i { color: white; }

/* Mobile Menu */
.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-main); }
.mobile-nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #fff; z-index: 2000; display: none; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.3s ease; }
.mobile-nav-overlay.active { display: flex; }
.mobile-nav-close { position: absolute; top: 30px; right: 30px; font-size: 2rem; color: var(--text-main); cursor: pointer; }
.mobile-nav-links { text-align: center; }
.mobile-nav-links li { margin: 25px 0; }
.mobile-nav-links a { font-size: 1.8rem; color: var(--text-headings); font-weight: 300; }

/* Legal Modal Styles */
.legal-accordion-item { border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.legal-accordion-header { padding: 15px 0; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; color: var(--text-headings); }
.legal-accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.legal-accordion-item.active .legal-accordion-body { max-height: 500px; padding-bottom: 15px; }

@media (max-width: 900px) {
    .nav-container { padding: 0 20px; }
    .logo-desktop { display: none !important; }
    .logo-mobile { display: block !important; }
    .btn-nav, .nav-links { display: none; } 
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .hero { text-align: center; justify-content: center; }
    .hero-btns { justify-content: center; }
    .tabs-header { flex-direction: column; gap: 15px; border-bottom: none; }
    .tab-btn { border-bottom: 1px solid var(--border); width: 100%; }
    .tab-btn.active::after { display: none; }
    .card-body-split, .precision-grid, .team-layout, .footer-top, .journey-container, .api-showcase-container { grid-template-columns: 1fr; flex-direction: column; gap: 40px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 40px; }
    .net-grid-group { grid-template-columns: 1fr; }
    .innovation-card { padding: 40px 20px; min-height: auto; overflow: hidden; } 
    .card-visual { min-height: 300px; order: -1; width: 100%; overflow: hidden; position: relative; } 
    .dna-vertical-wrapper { transform: scale(0.65); margin: -50px auto; width: 100%; max-width: 300px; }
    .dna-label-group.dl-left { left: 0px !important; } 
    .dna-label-group.dl-right { right: 0px !important; } 
    .team-intro { position: static; text-align: center; margin-bottom: 30px; }
    .team-card { flex-direction: column; align-items: center; text-align: center; }
    .footer-bottom { flex-direction: column-reverse; gap: 20px; text-align: center; }
    .monitor-screen { height: auto; width: 100%; }
    .monitor-grid { grid-template-columns: 1fr; }
    .monitor-graph-area { grid-column: span 1; height: 150px; }
}