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

:root {
    --primary: #007AFF;
    --deep-blue: #001F3F;
    --teal: #00C7B7;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-600: #4B5563;
    --gray-900: #111827;
    --white: #FFFFFF;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Navigation - Mobile Friendly */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* Make logo clickable */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo-container:hover {
    opacity: 0.8;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--gray-900);
}

.nav-cta {
    background: var(--gray-900);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: var(--primary);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero - WITH CIRCUIT BOARD CROSS */
.hero {
    padding: 140px 2rem 100px;
    text-align: center;
    background: linear-gradient(180deg, #000814 0%, #001F3F 100%);
    position: relative;
    overflow: hidden;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Neural Network Canvas */
#neural-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7; /* Increased from 0.3 */
    filter: blur(0.5px) brightness(1.3); /* Add slight blur and brightness */
}

/* Circuit Board Medical Cross - Hero Image */
.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    opacity: 0.15;
    pointer-events: none;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.5) drop-shadow(0 0 80px rgba(0, 122, 255, 0.6));
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: brightness(1.5) drop-shadow(0 0 80px rgba(0, 122, 255, 0.6));
    }
    50% {
        filter: brightness(2) drop-shadow(0 0 120px rgba(0, 122, 255, 0.8));
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-tag {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -0.04em;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.5;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.btn-primary {
    background: white;
    color: var(--gray-900);
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.5);
}

/* Section Base Styles */
section {
    padding: 100px 2rem;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-tag {
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--gray-900);
}

.section-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* What We Are Section */
.what-we-are {
    background: var(--white);
}

.what-we-are .content-block {
    max-width: 800px;
    margin: 0 auto;
}

.what-we-are h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.what-we-are p {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.what-we-are .emphasis {
    color: var(--gray-900);
    font-weight: 600;
}

/* FANCY MANIFESTO SECTION */
.manifesto {
    margin-top: 4rem;
    padding: 4rem;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.manifesto::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #007AFF, #00C7B7, #007AFF);
    border-radius: 24px;
    z-index: 0;
    animation: gradient-rotate 3s linear infinite;
    background-size: 200% 200%;
}

@keyframes gradient-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.manifesto-inner {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-radius: 22px;
    padding: 3rem;
}

.manifesto-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.manifesto-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.manifesto-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.manifesto-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #007AFF, #00C7B7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.manifesto-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 199, 183, 0.3);
    transform: translateX(8px);
}

.manifesto-item:hover::before {
    opacity: 1;
}

.manifesto-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.2), rgba(0, 199, 183, 0.2));
    border-radius: 12px;
    position: relative;
}

.manifesto-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #007AFF, #00C7B7);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.manifesto-text {
    flex: 1;
}

.manifesto-strike {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    text-decoration-color: #00C7B7;
    text-decoration-thickness: 3px;
    display: block;
    margin-bottom: 0.5rem;
}

.manifesto-statement {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.manifesto-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.manifesto-footer p {
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(90deg, #007AFF, #00C7B7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* How It Works */
.how-it-works {
    background: var(--gray-900);
    color: white;
}

.how-it-works h2,
.how-it-works .section-description {
    color: white;
}

.how-it-works .section-description {
    opacity: 0.8;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.process-step {
    text-align: center;
}

.process-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-step p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Why It Matters - Dual Use Cases */
.why-it-matters {
    background: var(--gray-50);
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.use-case-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.use-case-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.use-case-card p {
    color: var(--gray-600);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.use-case-features {
    list-style: none;
}

.use-case-features li {
    padding: 0.75rem 0;
    color: var(--gray-600);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.use-case-features li::before {
    content: '✓';
    color: var(--teal);
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* Platform Features - Clean Grid */
.platform-features {
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 16px;
    background: var(--gray-50);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.feature-card:hover {
    background: white;
    border-color: var(--primary);
}

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

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* Proof Section - WITH MEDICAL TEAM BACKGROUND */
.proof {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), 
                url('../assets/images/medical-team-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}

/* White text for dark background */
.proof h2,
.proof .section-tag {
    color: white;
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.proof-stat {
    padding: 2rem;
}

.proof-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.proof-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.proof-context {
    max-width: 700px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
}

.proof-context p {
    color: var(--gray-900);
    font-size: 1rem;
    line-height: 1.7;
}

/* Vision Section - Emotional Pull */
.vision {
    background: var(--gray-900);
    color: white;
    text-align: center;
}

.vision h2 {
    color: white;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.vision-content {
    max-width: 700px;
    margin: 0 auto;
}

.vision-content p {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.vision-statement {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* CTA Section - Minimal */
.cta-section {
    padding: 120px 2rem;
    background: var(--primary);
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.cta-section p {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.btn-white {
    background: white;
    color: var(--gray-900);
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer - Minimal */
footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.footer-links h4 {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 600;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .logo-text {
        width: 100px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-visual {
        width: 300px;
        height: 300px;
    }

    .process-grid,
    .use-case-grid,
    .feature-grid,
    .proof-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .manifesto {
        padding: 2rem;
    }

    .manifesto-inner {
        padding: 1.5rem;
    }

    .manifesto-item {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .manifesto-strike {
        font-size: 1.25rem;
    }

    .manifesto-statement {
        font-size: 1rem;
    }

    .cta-section h2 {
        font-size: 2.25rem;
    }

    section {
        padding: 60px 1.5rem;
    }

    /* Disable parallax on mobile for better performance */
    .proof {
        background-attachment: scroll;
    }
}