:root {
    --navy: #0B1F3A;
    --primary: #2F80ED;
    --primary-dark: #0B1F3A;
    --accent: #2EC4B6;
    --secondary: #2EC4B6;
    --aqua: #EAF8F6;
    --dark: #0B1F3A;
    --dark-accent: #0B1F3A;
    --text: #0B1F3A;
    --text-muted: #5B6B82;
    --white: #FFFFFF;
    --bg: #F7FAFC;
    --bg-dark: #0B1F3A;
    --gradient: linear-gradient(135deg, #2F80ED 0%, #2EC4B6 100%);
    --shadow: 0 20px 40px rgba(11, 31, 58, 0.08);
    --border: rgba(11, 31, 58, 0.08);
    --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(11, 31, 58, 0.6);
    --success: #2EC4B6;
    --warning: #ffab00;
    --danger: #FF4D5A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section,
header {
    scroll-margin-top: 96px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    background-color: var(--bg);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.grid {
    display: grid;
    gap: 3rem;
}

.col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.col-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .col-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .col-2,
    .col-3,
    .col-4 {
        grid-template-columns: 1fr;
    }
}

.text-center {
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(11, 31, 58, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: block;
}

.logo-word {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
    color: var(--navy);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(11, 31, 58, 0.12);
    border-radius: 12px;
    background: white;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-accent);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 8.5rem 0 4rem;
    background:
        linear-gradient(180deg, #FFFFFF 0%, var(--aqua) 100%);
}

.hero-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
}

.accent-bar {
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: var(--accent);
    margin-bottom: 1.75rem;
}

.eyebrow {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.hero-copy h1 {
    font-size: clamp(3.4rem, 6vw, 5.2rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--navy);
    text-align: left;
    margin-bottom: 0.85rem;
}

.tagline {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.hero-headline {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.2;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    text-align: left;
}

.hero-copy p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 38rem;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--navy);
}

.hero-visual {
    background: white;
    border-radius: 28px;
    padding: 0.75rem;
    box-shadow: 0 30px 70px rgba(11, 31, 58, 0.1);
}

.hero-visual img {
    width: 100%;
    display: block;
    border-radius: 22px;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none;
    margin-top: 1.75rem;
}

.pill-row li {
    background: white;
    color: var(--navy);
    border: 1px solid rgba(46, 196, 182, 0.45);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.4rem;
    max-width: 800px;
    /* Slightly narrower for better centering look */
    margin: 0 auto 4rem;
    color: #5B6B82;
    text-align: center;
    /* Explicitly centered */
    line-height: 1.6;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 24px rgba(47, 128, 237, 0.28);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(47, 128, 237, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--navy);
    border: 1px solid rgba(11, 31, 58, 0.12);
}

/* Stats Line */
.hero-stats-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 4rem;
    padding: 2.5rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.stat-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    font-family: 'Outfit';
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #5B6B82;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-separator {
    width: 1px;
    height: 50px;
    background: #e2e8f0;
}

@media (max-width: 768px) {
    .hero-stats-line {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-separator {
        display: none;
    }
}

/* Architecture Section */
.architecture-section {
    padding: 8rem 0;
    background: #F7FAFC;
}

.architecture-main {
    max-width: 1100px;
    /* Widened to fit sync image better */
    margin: 0 auto 6rem;
}

.lifestyle-viz {
    position: relative;
    padding: 1rem;
    border-radius: 40px;
    background: white;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.lifestyle-viz img {
    width: 100%;
    border-radius: 30px;
    display: block;
}

.viz-overlay {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 10;
}

.alert-indicator {
    background: var(--primary-dark);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 15px 30px rgba(47, 128, 237, 0.3);
    animation: alertBounce 3s infinite;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255, 77, 90, 0.2);
    border-radius: 50%;
    z-index: -1;
    animation: pulseLoop 2s infinite;
}

@keyframes alertBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseLoop {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.architecture-steps-bottom {
    max-width: 1200px;
    margin: 0 auto;
}

.arch-step-v {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 24px;
    transition: var(--transition);
}

.arch-step-v:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.arch-step-v .step-num {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Outfit';
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    margin-bottom: 1rem;
    display: block;
}

.arch-step-v h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.arch-step-v p {
    color: #5B6B82;
    font-size: 1rem;
    margin: 0;
}

.features-section {
    padding: 8rem 0;
    background: white;
}

/* Dark Backgrounds */
.dark-bg {
    background: var(--bg-dark);
    color: white;
}

/* Final CTA */
.final-cta-section {
    padding: 12rem 0;
    text-align: center;
    background-image:
        radial-gradient(circle at top right, rgba(46, 196, 182, 0.1), transparent),
        radial-gradient(circle at bottom left, rgba(47, 128, 237, 0.1), transparent);
}

.final-cta-section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.final-cta-section .hero-subtitle {
    margin-bottom: 4rem;
}

.white {
    color: white !important;
}

.text-light {
    color: var(--text-muted);
}

/* Glass UI Elements */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.dark-section {
    background: var(--navy);
    color: white;
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.dark-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(46, 196, 182, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.dark-section h2,
.dark-section h3 {
    color: white;
}

.intelligence-card {
    padding: 3rem;
    height: 100%;
    transition: var(--transition);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.intelligence-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
    border-color: var(--primary);
}

.intelligence-card i {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Watch UI Mockup */
.watch-mockup {
    width: 220px;
    height: 260px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #1a1a1a;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.watch-screen {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.watch-stat {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.watch-stat i {
    color: #FF4D5A;
}

.watch-stat .val {
    font-size: 1.8rem;
    font-family: 'Outfit';
    font-weight: 800;
}

.watch-stat .unit {
    font-size: 0.7rem;
    color: #94a3b8;
}

.watch-trend {
    height: 40px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.watch-trend .line {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2EC4B6, #FF4D5A);
    border-radius: 2px;
}

/* Timeline Architecture */
.timeline-arch {
    position: relative;
    padding: 4rem 0;
}

.timeline-arch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
}

.timeline-item {
    width: 50%;
    padding: 2rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 4rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 4rem;
}

.timeline-dot {
    position: absolute;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 15px var(--primary);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

/* --- ADVANCED TECHNICAL SECTIONS (PIPELINE, DASHBOARD, MAP) --- */

/* Pipeline Architecture Visual */
.pipeline-container {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.pipeline-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 4rem auto;
    position: relative;
    gap: 2rem;
}

.pipeline-node {
    flex: 1;
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
    border: 1px solid #f1f5f9;
}

.pipeline-node i,
.pipeline-node-svg {
    font-size: 2.8rem;
    height: 2.8rem;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pipeline-node-svg {
    width: 2.8rem;
}

.pipeline-node i {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
    overflow: visible;
}

.pipeline-connector {
    flex: 0.5;
    height: 4px;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
}

.pipeline-connector::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: flowData 2s infinite linear;
}

@keyframes flowData {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Dashboard Semantic Styles */
.semantic-dashboard {
    background: #F7FAFC;
    border-radius: 40px;
    padding: 3rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    border: 1px solid white;
}

.dash-header-detailed {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.patient-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #e2e8f0;
}

.profile-img.emergency::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 4px solid var(--danger);
    border-radius: 20px;
    animation: pulseProfile 2s infinite;
}

@keyframes pulseProfile {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

.vitals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.vital-card {
    background: white;
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.vital-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.vital-card .v-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #5B6B82;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.vital-card .v-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.vital-card .v-unit {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.vital-card .v-status {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 700;
}

.status-danger {
    background: rgba(255, 77, 90, 0.1);
    color: var(--danger);
}

.status-success {
    background: rgba(0, 200, 83, 0.1);
    color: var(--success);
}

.status-warning {
    background: rgba(255, 171, 0, 0.1);
    color: var(--warning);
}

/* Map View Minimalist */
.map-view-container {
    height: 500px;
    background: #e5e7eb;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f1f5f9;
    background-image:
        linear-gradient(rgba(203, 213, 225, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(203, 213, 225, 0.4) 1px, transparent 1px),
        linear-gradient(rgba(203, 213, 225, 0.1) 2px, transparent 2px),
        linear-gradient(90deg, rgba(203, 213, 225, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 30% 40%, #e2e8f0 30%, transparent 31%),
        radial-gradient(circle at 70% 60%, #e2e8f0 25%, transparent 26%),
        radial-gradient(circle at 50% 10%, #e2e8f0 40%, transparent 41%);
    background-size: 50px 50px, 50px 50px, 150px 150px, 150px 150px, 100% 100%, 100% 100%, 100% 100%;
    position: relative;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(59, 130, 246, 0.03) 100px, rgba(59, 130, 246, 0.03) 200px),
        repeating-linear-gradient(-45deg, transparent, transparent 150px, rgba(16, 185, 129, 0.03) 150px, rgba(16, 185, 129, 0.03) 300px);
}

.map-interaction {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-marker {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 3px solid var(--primary);
    position: absolute;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 5;
}

.map-marker::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary);
    animation: mapPulse 2s infinite;
    z-index: -1;
}

.map-marker i {
    transform: rotate(45deg);
    font-size: 1.2rem;
}

.map-marker:hover {
    transform: rotate(-45deg) scale(1.1);
    z-index: 10;
}

.map-marker.warning {
    border-color: var(--warning);
}

.map-marker.warning::after {
    border-color: var(--warning);
}

.map-marker.emergency {
    border-color: var(--danger);
    background: var(--danger);
}

.map-marker.emergency i {
    color: white !important;
}

.map-marker.emergency::after {
    border-color: var(--danger);
}

/* Tooltip Styles */
.map-tooltip {
    position: absolute;
    bottom: 110%;
    left: 10%;
    width: 200px;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: rotate(45deg) scale(0.8);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
    z-index: 100;
    color: var(--dark);
    text-align: left;
}

/* Adjust top-most marker tooltip to prevent clipping */
.map-marker.emergency[style*="top: 40%"] .map-tooltip {
    bottom: -50%;
    left: 120%;
    transform: rotate(45deg) scale(0.8);
}

.map-marker.emergency[style*="top: 40%"]:hover .map-tooltip {
    transform: rotate(45deg) scale(1);
}

.map-marker:hover .map-tooltip {
    opacity: 1;
    visibility: visible;
    transform: rotate(45deg) scale(1);
}

.tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.4rem;
}

.tooltip-header strong {
    font-size: 0.8rem;
}

.t-badge {
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.t-badge.danger {
    background: #fee2e2;
    color: #FF4D5A;
}

.t-badge.warning {
    background: #fef3c7;
    color: #d97706;
}

.t-badge.success {
    background: #d1fae5;
    color: #10b981;
}

.tooltip-body .summary {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.score-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.factor {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #5B6B82;
}

.factor .val {
    font-weight: 700;
    color: var(--dark);
}

@keyframes mapPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* --- END OF ADVANCED TECHNICAL SECTIONS --- */

/* Pricing */
.pricing-section {
    padding: 4rem 0;
}

.pricing-section .section-header {
    margin-bottom: 5rem;
    position: relative;
    z-index: 100;
}

.price-card {
    padding: 3.5rem;
    border-radius: 32px;
    background: white;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.price-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--primary);
    box-shadow: 0 40px 80px rgba(47, 128, 237, 0.1);
}

.price-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.price span {
    font-size: 1.25rem;
    color: #5B6B82;
    font-weight: 500;
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.price-features i {
    color: var(--secondary);
}

.w-full {
    width: 100%;
    justify-content: center;
}

/* Team Cards */
.team-section {
    padding: 4rem 0;
}

.team-card {
    background: #F7FAFC;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.team-card:hover {
    background: white;
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.team-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.role {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
}

/* Footer */
.footer {
    padding: 8rem 0 3rem;
    background: #F7FAFC;
    border-top: 1px solid #e2e8f0;
}

.footer-top {
    margin-bottom: 4rem;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 1.5rem;
}

.footer h4 {
    margin-top: 0;
    margin-bottom: 2rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 1rem;
}

.footer ul a {
    text-decoration: none;
    color: #5B6B82;
    font-weight: 500;
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--primary-dark);
}

.socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.socials a {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.socials a:hover {
    background: var(--primary-dark);
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Utils */
.badge {
    background: rgba(47, 128, 237, 0.08);
    color: var(--primary-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 2rem;
}

.underline {
    width: 80px;
    height: 6px;
    background: var(--gradient);
    margin: 1.5rem auto;
    border-radius: 10px;
}

.items-center {
    align-items: center;
}

.check-list {
    list-style: none;
    margin: 2rem 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.check-list i {
    color: var(--secondary);
    font-size: 1.3rem;
}

.text-link {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: white;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #5B6B82;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.method i {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.5rem;
}

.method span {
    display: block;
    font-size: 0.9rem;
    color: #5B6B82;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method strong {
    font-size: 1.1rem;
    color: var(--dark);
}

.contact-form-container {
    background: #F7FAFC;
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid #e2e8f0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(46, 196, 182, 0.1);
}

/* Dashboard Mockup - Features Section */
.dashboard-mockup {
    background: white;
    border-radius: 24px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    font-family: 'Inter', sans-serif;
}

.dash-header {
    background: #F7FAFC;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.dash-dot-group {
    display: flex;
    gap: 0.5rem;
}

.dash-dot-group span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}

.dash-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #5B6B82;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-body {
    padding: 2rem;
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dash-card-mini {
    background: #F7FAFC;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.dash-card-mini .label {
    display: block;
    font-size: 0.8rem;
    color: #5B6B82;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dash-card-mini .value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
}

.dash-card-mini .value span {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.trend-up {
    color: #FF4D5A !important;
}

.mini-graph {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
    margin-top: 1rem;
}

.mini-graph .bar {
    flex: 1;
    background: var(--primary);
    border-radius: 2px;
    animation: barGrow 2s ease-in-out infinite;
}

@keyframes barGrow {

    0%,
    100% {
        height: 40%;
    }

    50% {
        height: 90%;
    }
}

.dash-main-chart {
    background: #0B1F3A;
    padding: 1.5rem;
    border-radius: 16px;
    color: white;
    margin-bottom: 2rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-red {
    background: #FF4D5A;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
}

.chart-area {
    height: 120px;
    position: relative;
    padding-bottom: 2rem;
}

.line-chart {
    width: 100%;
    height: 100%;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #475569;
    margin-top: 1rem;
}

.dash-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

.risk-meter {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.risk-bar {
    flex: 1;
    height: 12px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.risk-fill {
    height: 100%;
    background: linear-gradient(90deg, #2EC4B6, #FF4D5A);
    border-radius: 10px;
}

.risk-meter span {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--dark);
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step-card {
    background: white;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 24px;
    padding: 2rem;
}

.step-card span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    background: var(--aqua);
    color: var(--navy);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-bottom: 1rem;
}

.step-card h3 {
    margin-bottom: 0.6rem;
}

.note {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.source-note {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #8A97A8;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.platform-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(11, 31, 58, 0.08);
}

.platform-card strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.section-soft {
    background: var(--aqua);
}

.hero-copy .btn {
    margin-top: 0;
}

@media (max-width: 980px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .navbar.nav-open .nav-links,
    .navbar.nav-open .nav-cta {
        display: flex;
    }

    .navbar.nav-open .nav-content {
        flex-wrap: wrap;
    }

    .navbar.nav-open .nav-links {
        flex-direction: column;
        width: 100%;
        order: 3;
        gap: 1rem;
        padding: 1rem 0 0.5rem;
        background: white;
    }

    .navbar.nav-open .nav-cta {
        width: 100%;
        order: 4;
        padding-bottom: 0.5rem;
    }

    .hero-split,
    .step-grid,
    .platform-grid,
    .pipeline-flow {
        grid-template-columns: 1fr;
        display: grid;
    }

    .pipeline-flow {
        flex-direction: column;
    }

    .pipeline-connector {
        width: 4px;
        height: 28px;
        flex: none;
    }

    .timeline-arch::before {
        left: 12px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding: 1rem 0 1rem 2.5rem;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 2px;
        right: auto;
    }
}