:root {
    /* Color Palette - Medical Luxury & Future Biotech */
    --color-primary: #0055FF; /* Medical Blue */
    --color-secondary: #00D1FF; /* Neon Teal Accent */
    --color-bg-light: #F8FAFC; /* Platinum White */
    --color-bg-dark: #0A0F1E; /* Deep Navy / Graphite */
    --color-text-main: #1E293B;
    --color-text-muted: #64748B;
    --color-glass: rgba(255, 255, 255, 0.7);
    --color-glass-dark: rgba(10, 15, 30, 0.8);
    --color-border: rgba(0, 85, 255, 0.1);
    
    /* Typography */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    /* Spacing */
    --space-unit: 1rem;
    --section-padding: 8rem 5%;
    
    /* Effects */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 30px rgba(0, 85, 255, 0.2);
    --radius-lg: 24px;
    --radius-md: 12px;

    /* 3D Scene Vars */
    --perspective: 1200px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* --- Layout Components --- */

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

.section {
    padding: var(--section-padding);
    position: relative;
}

/* --- Navigation --- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-bg-dark);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.nav-link:hover {
    color: var(--color-primary);
}

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

/* --- Buttons --- */

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 85, 255, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
}

.btn-outline:hover {
    background: rgba(0, 85, 255, 0.05);
}

/* --- Hero Section --- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: radial-gradient(circle at 80% 20%, rgba(0, 209, 255, 0.05), transparent 40%),
                radial-gradient(circle at 10% 80%, rgba(0, 85, 255, 0.05), transparent 40%);
    overflow: hidden;
}

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

.hero-content {
    max-width: 650px;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 85, 255, 0.1);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    color: var(--color-bg-dark);
}

.hero-title span {
    color: var(--color-primary);
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.stat-item .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-bg-dark);
}

.stat-item .stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- 3D / Abstract Visuals --- */

.hero-visual {
    position: relative;
    height: 700px;
    perspective: var(--perspective);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3D DNA Helix Animation */
.dna-container {
    position: relative;
    width: 400px;
    height: 500px;
    transform-style: preserve-3d;
    animation: dna-rotate 20s infinite linear;
}

.dna-strand {
    position: absolute;
    top: 0;
    left: 50%;
    width: 200px;
    height: 100%;
    transform-style: preserve-3d;
}

.dna-node {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-primary);
    left: 0;
}

.dna-node.right {
    left: auto;
    right: 0;
    background: var(--color-secondary);
    box-shadow: 0 0 20px var(--color-secondary);
}

.dna-bar {
    position: absolute;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0.3;
    top: 6px;
}

/* Loop for DNA positions - generated via CSS child selectors for simplicity in wireframe */
.dna-pair {
    position: absolute;
    width: 100%;
    height: 20px;
    transform-style: preserve-3d;
}

@keyframes dna-rotate {
    0% { transform: rotateY(0deg) rotateX(10deg); }
    100% { transform: rotateY(360deg) rotateX(10deg); }
}

/* Floating 3D Elements */
.floating-3d {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--color-glass);
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    transform-style: preserve-3d;
    animation: float 6s infinite ease-in-out;
}

.floating-3d::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 2px dashed var(--color-primary);
    border-radius: 12px;
    opacity: 0.2;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
    50% { transform: translateY(-30px) rotateX(15deg) rotateY(15deg); }
}

/* Molecular Background */
.molecule-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

.dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Data Viz 3D */
.stats-3d-container {
    height: 400px;
    width: 100%;
    perspective: 1000px;
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    padding: 2rem;
}

.bar-3d-wrap {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform-style: preserve-3d;
}

.bar-3d {
    width: 100%;
    background: linear-gradient(to top, var(--color-primary), var(--color-secondary));
    position: relative;
    transform-style: preserve-3d;
    transition: height 1s ease;
}

.bar-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: rgba(255,255,255,0.3);
    transform: rotateX(90deg) translateY(-10px);
}

.bar-3d::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: rgba(0,0,0,0.1);
    transform: rotateY(90deg) translateX(10px);
}

/* --- Cards & Grid --- */

.section-header {
    margin-bottom: 5rem;
    max-width: 800px;
}

.section-subtitle {
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

.card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 30px 60px rgba(0, 85, 255, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 85, 255, 0.08);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 85, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* --- Pipeline Section --- */

.pipeline-table {
    width: 100%;
    border-collapse: collapse;
}

.pipeline-header {
    border-bottom: 2px solid var(--color-bg-dark);
}

.pipeline-header th {
    text-align: left;
    padding: 1.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.pipeline-row {
    border-bottom: 1px solid var(--color-border);
    transition: background 0.3s;
}

.pipeline-row:hover {
    background: rgba(0, 85, 255, 0.02);
}

.pipeline-row td {
    padding: 2rem 1.5rem;
}

.pipeline-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.pipeline-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    background: #E2E8F0;
    font-weight: 600;
}

.phase-track {
    display: flex;
    gap: 4px;
    width: 300px;
}

.phase-step {
    height: 8px;
    flex: 1;
    background: #E2E8F0;
    border-radius: 4px;
}

.phase-step.active {
    background: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 85, 255, 0.3);
}

/* --- Investor Section --- */

.investor-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: center;
}

.market-stat {
    margin-bottom: 3rem;
}

.market-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.market-value {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-bg-dark);
    line-height: 1;
}

.market-trend {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #10B981;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* --- Footer --- */

.footer {
    background: var(--color-bg-dark);
    color: white;
    padding: 6rem 0 3rem;
}

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

.footer-logo {
    color: white;
    margin-bottom: 2rem;
}

.footer-logo .logo-icon {
    background: white;
    color: var(--color-bg-dark);
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-title {
    font-size: 1rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-link {
    display: block;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Utility Classes --- */

.placeholder-image {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.placeholder-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 85, 255, 0.05), transparent);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Effect */
.glass {
    background: var(--color-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
