/* --- CSS VARIABLES & RESET --- */
:root {
    --bg-primary: #0a192f;
    --bg-secondary: #112240;
    --acc-primary: #64ffda;
    --acc-secondary: #0a192f;
    --txt-main: #e6f1ff;
    --txt-muted: #8892b0;
    --font-stack: 'Inter', -apple-system, sans-serif;
}

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

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

main { padding-bottom: 80px; } /* Footer spacing */

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: rgba(10, 25, 47, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--txt-main);
    letter-spacing: 1px;
}

.logo span { color: var(--acc-primary); }

.nav-links { display: flex; list-style: none; gap: 30px; }

.nav-links a {
    text-decoration: none;
    color: var(--txt-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--acc-primary); }

/* --- BUTTONS --- */
.btn-primary, .btn-secondary, .btn-primary-small {
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-stack);
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--acc-primary);
    color: var(--acc-secondary);
    border: none;
}

.btn-primary:hover { background-color: #52e0c4; transform: translateY(-2px); }

.btn-secondary {
    background-color: transparent;
    color: var(--acc-primary);
    border: 2px solid var(--acc-primary);
}.btn-social {
    padding: 12px 30px;
    border-radius: 4px; /* Synced to your brand standard */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-stack); /* Use your global brand font */
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
}

/* --- SOCIAL SPECIFIC OVERRIDES --- */
.btn-social {
    min-width: 120px;
    color: #ffffff !important; /* Ensure white text regardless of global link styles */
}

.btn-ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.btn-fb {
    background-color: #1877F2;
}
.btn-social:hover { 
    filter: brightness(1.1);
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover { background-color: rgba(100, 255, 218, 0.1); }

.btn-primary-small {
    padding: 8px 20px;
    background-color: var(--acc-primary);
    color: var(--acc-secondary);
    border: none;
    margin-top: 10px;
}

/* --- MAIN PAGE (INDEX) --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 8%;
    min-height: 80vh;
    gap: 50px;
}

.hero-content { flex: 1; max-width: 600px; }

.hero h1 { font-size: 3.2rem; line-height: 1.2; margin-bottom: 20px; }

.hero p { color: var(--txt-muted); font-size: 1.1rem; margin-bottom: 35px; }

.cta-group { display: flex; gap: 20px; }

.hero-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--bg-secondary);
}

.features { padding: 80px 8%; text-align: center; }

.features h2 { font-size: 2.2rem; margin-bottom: 50px; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-card:hover { transform: translateY(-5px); border-bottom: 2px solid var(--acc-primary); }

.feature-card h3 { font-size: 1.4rem; color: var(--acc-primary); margin-bottom: 15px; }

.feature-card p { color: var(--txt-muted); font-size: 0.95rem; }

/* --- BIO PAGE --- */
.bio-section { padding: 100px 8%; }

.bio-container {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid var(--acc-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.bio-text h1 { font-size: 2.8rem; margin-bottom: 5px; }

.bio-text h2 {
    font-size: 1.2rem;
    color: var(--acc-primary);
    font-weight: 500;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bio-text p { color: var(--txt-muted); margin-bottom: 20px; max-width: 650px; }

/* --- DOWNLOAD PAGE --- */
.download-hero { text-align: center; padding: 80px 8% 40px; }

.download-hero h1 { font-size: 3rem; }

.download-hero p { color: var(--txt-muted); font-size: 1.1rem; margin-top: 10px; }

.download-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    padding: 40px 8% 80px;
}

.vdo-container, .process-container {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 8px;
}

.vdo-placeholder {
    margin-top: 20px;
    border: 2px solid var(--bg-primary);
    border-radius: 4px;
    overflow: hidden;
}

.setup-steps { list-style: none; counter-reset: step; margin-top: 20px; }

.setup-steps li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

.setup-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background-color: transparent;
    border: 2px solid var(--acc-primary);
    color: var(--acc-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.setup-steps strong { display: block; font-size: 1.1rem; color: var(--txt-main); margin-bottom: 5px;}

.setup-steps p { color: var(--txt-muted); font-size: 0.9rem;}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 30px 0;
    background-color: var(--bg-secondary);
    width: 100%;
    position: absolute;
    bottom: 0;
}

footer p { color: var(--txt-muted); font-size: 0.85rem; }

html { position: relative; min-height: 100%; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    nav { flex-direction: column; gap: 15px; }
    .hero { flex-direction: column; text-align: center; padding: 40px 5%; }
    .hero h1 { font-size: 2.2rem; }
    .cta-group { justify-content: center; }
    .bio-container { flex-direction: column; text-align: center; gap: 30px;}
    .download-grid { grid-template-columns: 1fr; gap: 30px;}
}

/* --- UPDATED DOWNLOAD LAYOUT --- */

.vdo-main-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 5%;
}

.vdo-wrapper {
    position: relative;
    border: 2px solid var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.step-visualizer {
    padding: 60px 10%;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.step-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.step-card.reverse {
    direction: rtl; /* Swaps the order of the image and text */
}

.step-card.reverse .step-info {
    direction: ltr; /* Keeps text reading correctly */
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(100, 255, 218, 0.1);
    display: block;
    line-height: 1;
    margin-bottom: -20px;
}

.step-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--acc-primary);
}

.step-info p {
    color: var(--txt-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.step-image img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--bg-secondary);
    transition: transform 0.4s ease;
}

.step-image img:hover {
    transform: scale(1.02);
}

code {
    background: var(--bg-secondary);
    padding: 2px 6px;
    color: var(--acc-primary);
    border-radius: 4px;
}

/* Responsive fix for cards */
@media (max-width: 900px) {
    .step-card, .step-card.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        direction: ltr;
    }
    .step-card.reverse .step-info { text-align: center; }
    .vdo-wrapper iframe { height: 300px; }
}

/* --- AWARDS SECTION --- */
.awards-section {
    padding: 80px 8%;
    background-color: var(--bg-secondary); /* Contrast from the main bio section */
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.eyebrow {
    color: var(--acc-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-top: 10px;
}

.awards-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.award-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 30px;
    background-color: var(--bg-primary);
    border-radius: 4px;
    border-left: 3px solid var(--acc-primary);
    transition: transform 0.3s ease;
}

.award-item:hover {
    transform: translateX(10px);
}

.award-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--acc-primary);
    min-width: 60px;
}

.award-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--txt-main);
}

.award-content p {
    color: var(--txt-muted);
    font-size: 1rem;
    line-height: 1.5;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .award-item {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- DISCLAIMER SECTION --- */
.disclaimer-section {
    padding: 60px 8%;
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.disclaimer-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--bg-primary);
    padding: 40px;
    border-left: 4px solid var(--acc-primary); /* The "Notice" Accent */
    border-radius: 4px;
}

.disclaimer-container h3 {
    color: var(--acc-primary);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.disclaimer-list {
    list-style: none;
    display: grid;
    gap: 15px;
}

.disclaimer-list li {
    font-size: 0.9rem;
    color: var(--txt-muted);
    line-height: 1.6;
}

.disclaimer-list li strong {
    color: var(--txt-main);
    display: block;
    margin-bottom: 2px;
}

/* Ensure the social buttons inside the disclaimer align properly */
.disclaimer-footer {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.field-card {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--acc-primary);
    transition: transform 0.3s ease;
}

.field-card.demo {
    border-top: 4px solid #f09433; /* Distinct color for Demo vs Hospital */
}

.field-card:hover {
    transform: translateY(-5px);
}

.field-tag {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--acc-primary);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.field-card.demo .field-tag {
    color: #f09433;
}

.field-card h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.field-meta {
    color: var(--txt-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-style: italic;
}

.field-details {
    list-style: none;
    font-size: 0.95rem;
    color: var(--txt-main);
}

.field-details li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.field-details li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--acc-primary);
}
/* --- FIELD CARD PHOTO GALLERY --- */
.field-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two pictures side-by-side */
    gap: 15px;
    margin: 20px 0;
}

.field-photo {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(100, 255, 218, 0.1);
    background: var(--bg-primary);
    aspect-ratio: 4 / 3; /* Keeps all photos uniform */
}

.field-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 0.8; /* Slightly dimmed for the aesthetic */
}

.field-photo:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.field-photo span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 10px;
    background: rgba(10, 25, 47, 0.8);
    color: var(--acc-primary);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile fix for photos */
@media (max-width: 480px) {
    .field-gallery {
        grid-template-columns: 1fr; /* Stack photos on small screens */
    }
}

/* --- TIMELINE DESIGN --- */
.milestone-container {
    padding: 80px 0;
    max-width: 900px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

/* Vertical Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: rgba(100, 255, 218, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--acc-primary);
    z-index: 2;
}

.timeline-dot.live {
    background: var(--acc-primary);
    box-shadow: 0 0 10px var(--acc-primary);
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.05);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--acc-primary);
    transform: translateX(10px);
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--acc-primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tag-live {
    font-size: 0.7rem;
    padding: 3px 8px;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid var(--acc-primary);
    border-radius: 4px;
    color: var(--acc-primary);
}

.timeline-content p {
    color: var(--txt-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline-content {
        padding: 20px;
    }
}