:root {
    --primary: #FFFFFF;
    --primary-light: #F8FAFC;
    --accent: #00F2FE;
    --accent-hover: #38BDF8;
    --accent-red: #EF4444;
    --accent-red-hover: #DC2626;
    --accent-gold: #F59E0B;
    --secondary: #38BDF8;
    --secondary-light: #7DD3FC;
    --text: #F8FAFC;
    --text-light: #94A3B8;
    --text-muted: #64748B;
    --bg: #030712;
    --bg-soft: #090D16;
    --bg-dark: #030712;
    --border: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 242, 254, 0.2);
    --glass: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --container: 1240px;
    --gradient-blue: linear-gradient(135deg, #00F2FE 0%, #3B82F6 100%);
    --gradient-red: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scroll-padding: 0 !important;
    scroll-padding-top: 0 !important;
    overscroll-behavior-y: contain;
}

main > section,
section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
}

.site-footer {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    position: relative;
}

@media (max-width: 768px) {
    html {
        scroll-snap-type: y proximity;
    }
    main > section,
    section {
        scroll-snap-stop: normal;
    }
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        radial-gradient(circle at 10% 10%, rgba(0, 242, 254, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 90% 90%, rgba(239, 68, 68, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.8) 0%, transparent 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Space Grotesk', sans-serif;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.bg-soft {
    background-color: var(--bg-soft);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.text-white {
    color: white !important;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white p {
    color: white !important;
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.mb-xl {
    margin-bottom: 4rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.align-center {
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Buttons Pitch Deck Style */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #DC2626, #EF4444) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4) !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B91C1C, #DC2626) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 40px rgba(239, 68, 68, 0.6) !important;
}

.btn-outline {
    border: 1px solid rgba(0, 242, 254, 0.3) !important;
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(12px) !important;
}

.btn-outline:hover {
    background: rgba(0, 242, 254, 0.1) !important;
    border-color: #00F2FE !important;
    color: #00F2FE !important;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Navbar - Sleek Pitch Deck Studio Glass */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1280px;
    z-index: 1000;
    background: rgba(5, 10, 20, 0.75) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 100px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, background 0.3s ease;
}

.navbar.navbar-hidden {
    transform: translate(-50%, -120%);
    opacity: 0;
    pointer-events: none;
}

.navbar.navbar-scrolled {
    background: rgba(5, 10, 20, 0.9) !important;
    border-color: rgba(0, 242, 254, 0.25) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7) !important;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 2rem;
}

.logo {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1.25rem;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    color: #FFFFFF !important;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #94A3B8 !important;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500 !important;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00F2FE !important;
    font-weight: 700 !important;
}

/* Hero */
.hero {
    padding-top: 100px;
    /* Condensed for better mockup fit */
    padding-bottom: 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    /* Ensures relative mockup doesn't cause overflow */
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(13, 148, 136, 0.05), transparent);
}

.exciting-badge {
    position: absolute;
    top: -15px;
    right: -20px;
    background: linear-gradient(135deg, #FF4444, #F59E0B);
    color: white;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.95rem;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatAndPulse 3s infinite ease-in-out;
}

.exciting-icon {
    width: 20px;
    height: 20px;
    animation: pulseIcon 1.5s infinite;
}

@keyframes floatAndPulse {

    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 30px rgba(255, 68, 68, 0.4);
    }

    50% {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 20px 40px rgba(255, 68, 68, 0.6);
    }
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
        color: #FFF3C4;
    }

    100% {
        transform: scale(1);
    }
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.text-gradient {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-trust {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.hero-trust p {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Ensures upright centering */
}

/* Problem Cards */
.problem-card {
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(16px) !important;
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #F8FAFC !important;
}

.problem-card h3 {
    color: #FFFFFF !important;
    font-family: 'Space Grotesk', sans-serif;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.problem-card p {
    color: #94A3B8 !important;
    margin: 0;
}

.problem-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.3) !important;
    box-shadow: 0 20px 40px -15px rgba(0, 242, 254, 0.15) !important;
}

.icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(0, 242, 254, 0.1) !important;
    border: 1px solid rgba(0, 242, 254, 0.2) !important;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #00F2FE !important;
}

/* Solution Grid */
.pill-feature {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
}

.icon-small {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pill-feature h4 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.pill-feature p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Visual Stack */
.visual-stack {
    position: relative;
    height: 400px;
}

.ui-snippet {
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    width: 280px;
}

.snippet-1 {
    top: 10%;
    right: 10%;
    z-index: 2;
}

.snippet-2 {
    bottom: 10%;
    left: 10%;
    z-index: 1;
}

/* How It Works Flow */
.steps-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 3rem;
}

.steps-flow::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--bg);
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 700;
}

/* Comparison Table */
.table-container {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 2rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background-color: var(--bg-soft);
    font-weight: 600;
    color: var(--primary);
}

.comparison-table th.active {
    background: var(--primary);
    color: white;
}

.comparison-table td:nth-child(3) {
    background-color: rgba(37, 99, 235, 0.02);
    font-weight: 600;
    color: var(--primary);
}

.text-red {
    color: #EF4444;
}

.text-green {
    color: #10B981;
}

/* User Cards */
.user-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-soft);
}

.user-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.user-content {
    padding: 1.5rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-num {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

/* Chart */
.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
    height: 300px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px 8px 0 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
}

.bar span {
    font-size: 0.875rem;
    transform: rotate(-90deg);
    white-space: nowrap;
}

.bar.active {
    background: var(--gradient-blue);
}

/* Milestone */
.milestones {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.milestone {
    text-align: left;
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
}

.m-date {
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

/* CTA Box */
.cta-box {
    background: var(--gradient-blue);
    padding: 6rem 2rem;
    border-radius: var(--radius-lg);
    color: white;
}

.cta-box h2,
.cta-box p {
    color: white;
}

.cta-box p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

/* Footer */
.site-footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    scroll-snap-align: start;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.link-col h5 {
    margin-bottom: 1.5rem;
}

.link-col a {
    display: block;
    text-decoration: none;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.link-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    h1 {
        font-size: 2.75rem;
        text-align: center;
    }

    p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero {
        padding-top: 140px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 4rem;
        transform: scale(0.9);
    }

    .coming-soon-badge {
        right: 0;
        top: -10px;
    }

    .steps-flow {
        grid-template-columns: 1fr;
    }

    .steps-flow::after {
        display: none;
    }

    .infrastructure-cards {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-visual {
        transform: scale(0.8);
    }
}

/* New CURA Section Styles */

.system-line {
    margin: 3rem auto;
    padding: 1.25rem 2rem;
    background: rgba(37, 99, 235, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 100px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}

.system-line span {
    opacity: 0.8;
}

.system-line b {
    color: var(--accent);
}

/* 10-Step Journey Cards */
.steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.step-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.step-card.active {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(to bottom right, white, rgba(37, 99, 235, 0.02));
}

.step-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
}

.step-idx {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

/* Safety Framework */
.safety-framework {
    background: #FFF;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.badge-red {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.safety-checks {
    margin-top: 2rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-item i {
    color: #10B981;
    width: 20px;
}

/* Exclusion List Refinement */
.exclusion-list {
    background: #FFFBFA;
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid #FEE2E2;
}

.exclusion-list h4 {
    font-size: 1.25rem;
    color: #991B1B;
    margin-bottom: 1rem;
}

.exclusion-list ul {
    list-style: none;
    margin-top: 1.5rem;
}

.exclusion-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.exclusion-list li i {
    color: #EF4444;
    width: 18px;
}

.clinical-note {
    background: rgba(15, 23, 42, 0.03);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary);
}

@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
    }

    .system-line {
        flex-direction: column;
        border-radius: 20px;
        padding: 1.5rem;
        gap: 0.5rem;
    }
}

/* Golden Minutes Pain Section */
.golden-minutes {
    background: #03060E;
    position: relative;
    border-top: 1px solid rgba(255, 68, 68, 0.1);
}

.text-red {
    color: #FF4444 !important;
}

.pain-point {
    margin-bottom: 2.5rem;
    padding-left: 2rem;
    border-left: 2px solid rgba(255, 68, 68, 0.2);
    transition: all 0.3s ease;
}

.pain-point:hover {
    border-left-color: #FF4444;
}

.time-loss-idx {
    font-size: 0.8rem;
    font-weight: 800;
    color: #FF4444;
    display: block;
    margin-bottom: 0.5rem;
}

.clock-visualization {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.clock-face {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle at center, rgba(255, 68, 68, 0.05), transparent);
}

.clock-sweep {
    position: absolute;
    width: 2px;
    height: 100px;
    background: #FF4444;
    left: 50%;
    top: 50%;
    transform-origin: top;
    animation: sweep 10s linear infinite;
}

@keyframes sweep {
    from {
        transform: rotate(0deg) scaleY(-1);
    }

    to {
        transform: rotate(360deg) scaleY(-1);
    }
}

.golden-sector {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, rgba(255, 68, 68, 0.2) 60deg, transparent 60deg);
    border-radius: 50%;
}

.huge-text {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: #FF4444;
    display: block;
}

.time-stat p {
    font-size: 1.1rem;
    max-width: 300px;
    margin: 1rem auto;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .clock-face {
        width: 200px;
        height: 200px;
    }
}

/* Ecosystem Section Styling */
.ecosystem-section {
    background-color: #020617 !important;
    background-image: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Bento Grid System for Partners & Stakeholders */
/* Condensed Bento Grid: Design Refinement */
.bento-grid-compact {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin-top: 2rem;
    perspective: 1000px;
}

.bento-card-compact {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    min-height: 140px;
}

.bento-card-compact:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.4);
    background: rgba(37, 99, 235, 0.04);
}

.bento-card-compact::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02), transparent);
    transition: left 0.8s ease;
}

.bento-card-compact:hover::after {
    left: 100%;
}

.bento-card-compact h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #fff;
    font-weight: 500;
}

.bento-card-compact p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(148, 163, 184, 0.6);
    margin: 0;
}

.bento-tag {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

.bento-span-4 {
    grid-column: span 4;
}

.bento-span-6 {
    grid-column: span 6;
}

.bento-span-12 {
    grid-column: span 12;
}

/* Institutional CTA Card Integration */
.cta-card {
    grid-column: span 12;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.15), rgba(15, 23, 42, 0.6));
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 2.5rem 3rem;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--accent);
    filter: blur(80px);
    opacity: 0.2;
}

.cta-card-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.cta-card-content h3 {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.cta-card-content p {
    font-size: 1rem;
    color: rgba(148, 163, 184, 0.8);
    margin: 0;
}

.cta-card-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.cta-card-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #fff !important;
    color: #fff !important;
}

@media (max-width: 1024px) {
    .bento-grid-compact {
        gap: 1rem;
    }

    .bento-span-4,
    .bento-span-6 {
        grid-column: span 12;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .cta-card-actions {
        width: 100%;
        justify-content: center;
    }
}


/* FOOTER (Synced with Homepage) */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
    background: #000;
    /* Force dark background for white text visibility */
    scroll-snap-align: start;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    text-align: left;
}

.brand-col .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.05em;
    display: block;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #fff;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* MODERN HERO MOCKUP STYLES */
.mockup-container {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 240px;
    height: 500px;
    background: #111827;
    border-radius: 36px;
    padding: 8px;
    position: relative;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.5), 0 15px 30px -15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-mockup:hover {
    transform: scale(1.02);
}

.phone-bezel {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-screen-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #0F172A;
    padding: 1.5rem;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    margin-bottom: 2rem;
}

.phone-app-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.vitals-graph-area {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.assessment-brief {
    flex-grow: 1;
}

.risk-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.2);
    color: #F59E0B;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.assessment-data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 2rem;
}

.data-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 8px;
    border-radius: 16px;
    text-align: center;
}

.data-pill .label {
    display: block;
    font-size: 0.6rem;
    color: #64748B;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.data-pill .val {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.data-pill .val small {
    font-size: 0.6rem;
    opacity: 0.5;
}

.phone-action-area {
    margin-top: auto;
    text-align: center;
}

.phone-main-btn {
    width: 100%;
    background: #2563EB;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    cursor: pointer;
}

@media (max-width: 768px) {
    .phone-mockup {
        width: 220px;
        height: 460px;
    }
}

/* OPERATIONAL FLOW HOVER EFFECTS */
.operational-module {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.operational-module:hover {
    transform: translateY(-12px);
    border-color: var(--accent) !important;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1) !important;
    z-index: 10 !important;
}

.operational-module:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Pulse animation for Safety section */
.pulse-dot {
    background: #10B981;
    border-radius: 50%;
    animation: p-green 2s infinite;
}

@keyframes p-green {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ==========================================
   MOBILE & TABLET RESPONSIVENESS REFINEMENTS
   ========================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        gap: 2rem;
    }

    .bento-span-4,
    .bento-span-6,
    .bento-span-8 {
        grid-column: span 12;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    html, body {
        scroll-snap-type: y mandatory !important;
        scroll-padding: 0 !important;
        scroll-padding-top: 0 !important;
        overscroll-behavior-y: contain;
    }

    main > section,
    section {
        min-height: 100vh !important;
        min-height: 100dvh !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
        padding: 80px 0 30px !important;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero {
        padding-top: 80px !important;
        padding-bottom: 30px !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
    }

    .hero-content {
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-container {
        padding: 0 1rem;
        height: 52px;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .logo {
        font-size: 1rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .pipeline-flow {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .section-title {
        font-size: 1.85rem !important;
    }

    .section-subtitle {
        font-size: 1rem !important;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem 1.25rem;
        gap: 1.5rem;
    }

    .cta-card-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta-card-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.4rem;
    }

    .nav-links a {
        font-size: 0.7rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.6rem !important;
    }
}