/* =============================================
   VIVENTRA HEALTH — DESIGN SYSTEM v1.0
   Institutional Warm / Light Theme
   ============================================= */

/* ===== FONT FACE — Altone Trial (local) ===== */
/* If Altone Trial .woff2 files are available, uncomment and update src paths:
@font-face {
    font-family: 'Altone Trial';
    src: url('./fonts/AltoneTrial-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Altone Trial';
    src: url('./fonts/AltoneTrial-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Altone Trial';
    src: url('./fonts/AltoneTrial-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
*/

/* ===== DESIGN TOKENS ===== */
:root {
    /* Brand Colors */
    --brand-blue: #0864FB;
    --brand-blue-dark: #0550d0;
    --brand-blue-dim: rgba(8, 100, 251, 0.10);
    --brand-blue-glow: rgba(8, 100, 251, 0.06);
    --brand-purple: #6D5EF5;
    --brand-purple-dim: rgba(109, 94, 245, 0.10);

    /* Surfaces */
    --surface-white: #FFFFFF;
    --surface-warm: #FAF8F4;
    --surface-card: #FFFFFF;
    --surface-border: #E8E5DF;
    --surface-border-hover: #C8C4BC;

    /* Text */
    --text-primary: #1F2937;
    --text-secondary: #5A6478;
    --text-muted: #8E95A2;

    /* Fonts */
    --font-display: 'Altone Trial', 'DM Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Transitions */
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-med: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s ease;

    /* Spacing (Design System tokens) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;
    --space-10: 128px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    /* Section rhythm */
    --section-py: 6rem;
    --section-py-sm: 4.5rem;
    --container-max: 1200px;
    --container-px: clamp(1.25rem, 5vw, 3rem);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--surface-warm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-px);
    padding-right: var(--container-px);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.75rem);
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    letter-spacing: -0.01em;
}

h4 {
    font-size: 1.1rem;
}

.accent-text {
    color: var(--brand-blue);
    display: inline;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 1rem;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: var(--transition-med);
    min-height: 44px;
}

.btn-primary {
    background: var(--brand-blue);
    color: #FFFFFF;
    border: 1px solid var(--brand-blue);
}

.btn-primary:hover {
    background: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(8, 100, 251, 0.22);
}

.btn-primary:focus-visible {
    outline: 3px solid rgba(8, 100, 251, 0.5);
    outline-offset: 2px;
}

.btn-secondary {
    background: transparent;
    color: var(--brand-blue);
    border: 1.5px solid var(--brand-blue);
}

.btn-secondary:hover {
    background: var(--brand-blue-dim);
    transform: translateY(-2px);
}

.btn-secondary:focus-visible {
    outline: 3px solid rgba(8, 100, 251, 0.5);
    outline-offset: 2px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    width: 100%;
    top: 1.25rem;
    left: 0;
    z-index: 1000;
    padding: 0 var(--container-px);
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.navbar.scrolled {
    top: 0.75rem;
}

.navbar-container {
    pointer-events: auto;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(31, 41, 55, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-radius: 100px;
    padding: 0.5rem 0.5rem 0.5rem 1.75rem;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled .navbar-container {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 40px rgba(31, 41, 55, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 26px;
    width: auto;
    object-fit: contain;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.logo-link:hover .brand-logo,
.footer-logo-link:hover .brand-logo {
    opacity: 0.88;
    transform: translateY(-1px);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--brand-blue);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions-desktop {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.nav-actions-mobile {
    display: none;
}

.nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    color: var(--text-secondary) !important;
    padding: 0.55rem 1.25rem !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    border: none !important;
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-login:hover {
    color: var(--brand-blue) !important;
    background: rgba(8, 100, 251, 0.05) !important;
}

.nav-cta {
    background: var(--brand-blue) !important;
    color: #FFFFFF !important;
    padding: 0.65rem 1.4rem !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    border: none !important;
    transition: var(--transition-med);
    letter-spacing: 0.02em;
}

.nav-cta:hover {
    background: var(--brand-blue-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 100, 251, 0.25);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 10rem 0 6rem;
    background: #E8F2FF;
    /* Soft vibrant blue base */
    overflow: hidden;
}

/* Organic Reactive Gradient Background */
.hero-gradient-bg {
    position: absolute;
    inset: -20%;
    /* Extend past edges for smooth animation */
    width: 140%;
    height: 140%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    /* Transforms using JS mouse parallax */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.85;
    animation: organicFloat 20s infinite alternate ease-in-out;
    mix-blend-mode: normal;
}

.orb-1 {
    width: 50vw;
    height: 50vw;
    background: rgba(8, 100, 251, 0.45);
    /* Brand blue */
    top: -5%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 65vw;
    height: 65vw;
    background: rgba(109, 94, 245, 0.4);
    /* Brand purple */
    top: 40%;
    right: -15%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.orb-3 {
    width: 45vw;
    height: 45vw;
    background: rgba(5, 208, 198, 0.3);
    /* Aqua/teal accent for friendly tech vibe */
    bottom: -10%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 22s;
}

.orb-4 {
    width: 50vw;
    height: 50vw;
    background: rgba(255, 255, 255, 1);
    /* White for brightness/softness */
    top: 15%;
    left: 30%;
    animation-delay: -15s;
    animation-duration: 18s;
}

.gradient-noise {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.25;
    mix-blend-mode: overlay;
    z-index: 1;
}

@keyframes organicFloat {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(6%, -6%) scale(1.15) rotate(8deg);
    }

    66% {
        transform: translate(-4%, 10%) scale(0.9) rotate(-5deg);
    }

    100% {
        transform: translate(3%, 4%) scale(1.1) rotate(4deg);
    }
}

.hero-content {
    max-width: 780px;
    position: relative;
    z-index: 2;
}

.hero-content p {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 2.25rem;
    max-width: 640px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Trust Bar */
.trust-bar {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding: 1.1rem 1.5rem;
    background: var(--surface-warm);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    max-width: 820px;
    row-gap: 0.75rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.trust-icon {
    width: 16px;
    height: 16px;
    color: var(--brand-blue);
    flex-shrink: 0;
}

.trust-divider {
    width: 1px;
    height: 16px;
    background: var(--surface-border);
    margin: 0 1rem;
    flex-shrink: 0;
}

/* Coverage Callout */
.coverage-callout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding-left: 0.25rem;
}

.map-pin-icon {
    width: 16px;
    height: 16px;
    color: var(--brand-blue);
    flex-shrink: 0;
}

/* Hero Visual — kept for layout but styled as subtle decorative */
.hero-visual {
    display: none;
}

/* ===== WHAT'S INCLUDED ===== */
.included-section {
    padding: var(--section-py) 0;
    background: var(--surface-warm);
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 680px;
    margin-top: 0.75rem;
    line-height: 1.7;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.included-card {
    padding: 2rem 2rem 2.25rem;
    background: var(--surface-white);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    transition: var(--transition-med);
}

.included-card:hover {
    border-color: var(--surface-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(31, 41, 55, 0.06);
}

.included-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-blue-dim);
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}

.included-icon svg {
    width: 22px;
    height: 22px;
    color: var(--brand-blue);
}

.included-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.included-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

.compliance-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 840px;
    padding: 1.1rem 0;
    border: none;
    background: transparent;
}

/* ===== PROGRAMS ===== */
.programs-section {
    padding: var(--section-py) 0;
    background: var(--surface-white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.program-card {
    position: relative;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--surface-border);
    background: var(--surface-white);
    transition: var(--transition-med);
}

.program-live {
    border-color: rgba(8, 100, 251, 0.3);
    background: linear-gradient(150deg, rgba(8, 100, 251, 0.04), var(--surface-white));
    grid-column: span 2;
}

.program-live:hover {
    border-color: rgba(8, 100, 251, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(8, 100, 251, 0.1);
}

.program-soon {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.3);
}

.program-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.28rem 0.75rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.15rem;
}

.program-badge-live {
    background: var(--brand-blue-dim);
    color: var(--brand-blue);
    border: 1px solid rgba(8, 100, 251, 0.25);
}

.program-badge-soon {
    background: rgba(31, 41, 55, 0.04);
    color: var(--text-muted);
    border: 1px solid var(--surface-border);
}

.program-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-blue-dim);
    border-radius: var(--radius-md);
    margin-bottom: 1.15rem;
}

.program-icon svg {
    width: 24px;
    height: 24px;
    color: var(--brand-blue);
}

.program-icon-dim {
    background: rgba(31, 41, 55, 0.04);
}

.program-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.program-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.program-cta {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    background: var(--brand-blue);
    color: #FFFFFF;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-med);
    margin-top: auto;
    align-self: flex-start;
}

.program-cta:hover {
    background: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 100, 251, 0.2);
}


/* program image wrapper — needed to not break existing cards */
.program-image-wrapper {
    display: block;
}

/* ===== GLP-1 MEDICATIONS ===== */
.glp1-section {
    padding: var(--section-py) 0;
    background: var(--surface-warm);
}

.glp1-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin-bottom: 2.25rem;
}

.glp1-card {
    background: var(--surface-white);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-med);
    position: relative;
}

.glp1-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-purple));
    opacity: 0;
    transition: opacity var(--transition-med);
}

.glp1-card:hover {
    border-color: rgba(8, 100, 251, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(8, 100, 251, 0.10);
}

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

/* Image area */
.glp1-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(8, 100, 251, 0.05), rgba(109, 94, 245, 0.08));
    flex-shrink: 0;
}

.glp1-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.glp1-card:hover .glp1-image-wrapper img {
    transform: scale(1.04);
}

/* Placeholder (shown when no image is set) */
.glp1-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    color: rgba(8, 100, 251, 0.35);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    border: 2px dashed rgba(8, 100, 251, 0.18);
    border-radius: 0; /* flush with image-wrapper */
    user-select: none;
}

.glp1-placeholder-icon {
    width: 48px;
    height: 48px;
    opacity: 0.55;
}

/* Card body */
.glp1-card-body {
    padding: 2rem 2.25rem 2.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Badge */
.glp1-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.28rem 0.8rem;
    border-radius: var(--radius-pill);
    background: var(--brand-blue-dim);
    color: var(--brand-blue);
    border: 1px solid rgba(8, 100, 251, 0.22);
    margin-bottom: 1rem;
    align-self: flex-start;
}

.glp1-badge-dual {
    background: var(--brand-purple-dim);
    color: var(--brand-purple);
    border-color: rgba(109, 94, 245, 0.22);
}

/* Medication name */
.glp1-name {
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

/* Description */
.glp1-description {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.72;
    margin-bottom: 1.75rem;
    flex: 1;
}

/* Price row */
.glp1-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--surface-border);
}

.glp1-price {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.glp1-price-from {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.glp1-price-amount {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
}

.glp1-price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0;
}

/* Legal disclaimer under price */
.glp1-disclaimer {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

/* CTA */
.glp1-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    background: var(--brand-blue);
    color: #FFFFFF;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: var(--transition-med);
    align-self: flex-start;
    border: 1px solid var(--brand-blue);
}

.glp1-cta:hover {
    background: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(8, 100, 251, 0.24);
}

/* Footer note */
.glp1-footer-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 1.1rem 1.4rem;
    background: var(--surface-white);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    max-width: 100%;
}

.glp1-footer-note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--text-muted);
}

/* ===== ABOUT ===== */
.about-section {
    padding: var(--section-py) 0;
    background: var(--surface-warm);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.75rem;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.15rem;
}

.about-stat-block {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-white);
}

.stat-item {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--brand-blue);
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-divider {
    height: 1px;
    background: var(--surface-border);
}

/* ===== MANIFESTO ===== */
.manifesto-section {
    padding: var(--section-py) 0;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
    position: relative;
    overflow: hidden;
}

/* Subtle connecting line motif */
.manifesto-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5%;
    width: 110%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.15) 70%, transparent 100%);
    pointer-events: none;
}

.manifesto-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.manifesto-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.75rem;
}

.manifesto-headline {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    color: #FFFFFF;
    border: none;
    font-style: normal;
}

.manifesto-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.manifesto-body p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.02rem;
    line-height: 1.75;
}

/* ===== MISSION / VISION / VALUES ===== */
.mvv-section {
    padding: var(--section-py) 0;
    background: var(--surface-warm);
}

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

.mvv-block {
    padding: 2.25rem;
    background: var(--surface-white);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
}

.mvv-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 0.85rem;
}

.mvv-block p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.mvv-values-header {
    margin-top: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.value-card {
    padding: 2rem;
    background: rgba(8, 100, 251, 0.12);
    border: 1px solid rgba(8, 100, 251, 0.15);
    border-radius: var(--radius-md);
    transition: var(--transition-med);
    position: relative;
    overflow: hidden;
}

/* Subtle line accent at bottom on hover */
.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-blue);
    opacity: 0;
    transition: var(--transition-med);
}

.value-card:hover {
    border-color: rgba(8, 100, 251, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(8, 100, 251, 0.1);
}

.value-card:hover::after {
    opacity: 1;
}

.value-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: rgba(8, 100, 251, 0.25);
    margin-bottom: 1.25rem;
    transition: var(--transition-med);
    line-height: 1;
}

.value-card:hover .value-number {
    color: rgba(8, 100, 251, 0.35);
}

.value-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--brand-blue);
}

.value-card p {
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-section {
    padding: var(--section-py) 0;
    background: var(--surface-white);
}

.how-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 780px;
    margin-bottom: 2.5rem;
}

.step-card {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    padding: 2.25rem;
    background: var(--surface-white);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    transition: var(--transition-med);
}

.step-card:hover {
    border-color: var(--surface-border-hover);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(31, 41, 55, 0.05);
}

/* Connecting line between steps */
.step-connector {
    width: 2px;
    height: 2rem;
    background: linear-gradient(to bottom, var(--brand-blue), var(--brand-purple));
    margin: 0 auto;
    border-radius: 1px;
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand-blue-dim);
    border: 1.5px solid rgba(8, 100, 251, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-blue);
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ===== WHY VIVENTRA ===== */
.why-section {
    padding: var(--section-py) 0;
    background: var(--surface-warm);
}

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

.why-card {
    padding: 2.25rem;
    background: var(--surface-white);
    border: 1px solid rgba(8, 100, 251, 0.3);
    border-radius: var(--radius-md);
    position: relative;
    transition: var(--transition-med);
}

.why-accent {
    width: 28px;
    height: 2px;
    background: var(--brand-blue);
    border-radius: 2px;
    margin-bottom: 1.5rem;
    transition: width var(--transition-med);
}

.why-card:hover {
    border-color: var(--surface-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(31, 41, 55, 0.06);
}

.why-card:hover .why-accent {
    width: 48px;
}

.why-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ===== WHAT YOU CAN EXPECT ===== */
.expect-section {
    padding: var(--section-py) 0;
    background: var(--surface-white);
}

.expect-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 960px;
}

.expect-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--surface-warm);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    transition: var(--transition-med);
}

.expect-item:hover {
    border-color: var(--surface-border-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(31, 41, 55, 0.05);
}

.expect-icon {
    width: 44px;
    height: 44px;
    background: var(--brand-blue-dim);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.expect-icon svg {
    width: 22px;
    height: 22px;
    color: var(--brand-blue);
}

.expect-text h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.expect-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== PARTNERS ===== */
.partners-section {
    padding: var(--section-py) 0;
    background: var(--surface-warm);
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.partner-card {
    padding: 2.5rem;
    background: var(--surface-white);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    transition: var(--transition-med);
}

.partner-card:hover {
    border-color: var(--surface-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(31, 41, 55, 0.06);
}

.partner-type {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 0.6rem;
}

.partner-name {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.partner-details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.partner-details p,
.partner-details a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    word-break: break-word;
}

.partner-link {
    color: var(--brand-blue) !important;
    transition: color var(--transition-fast);
}

.partner-link:hover {
    color: var(--brand-blue-dark) !important;
}

.partner-note {
    padding-top: 1.25rem;
    border-top: 1px solid var(--surface-border);
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== JURISDICTION ===== */
.jurisdiction-section {
    padding: var(--section-py) 0;
    background: var(--surface-white);
}

.jurisdiction-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.jurisdiction-text h2 {
    margin-bottom: 1.25rem;
}

.jurisdiction-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.jurisdiction-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.us-map-svg {
    width: 100%;
    max-width: 420px;
    height: auto;
}

.us-land {
    fill: rgba(8, 100, 251, 0.12);
    stroke: rgba(8, 100, 251, 0.3);
    stroke-width: 1.5;
}

.us-water {
    fill: rgba(8, 100, 251, 0.04);
    stroke: rgba(8, 100, 251, 0.15);
    stroke-width: 1;
}

.us-grid {
    stroke: rgba(8, 100, 251, 0.06);
    stroke-width: 0.5;
}

.us-dot {
    fill: var(--brand-blue);
    opacity: 0.6;
    animation: pulseDot 4s ease-in-out infinite;
}

.us-dot:nth-child(odd) {
    animation-delay: 0.5s;
}

.us-dot:nth-child(even) {
    animation-delay: 1.5s;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 0.6;
        r: 5px;
    }

    50% {
        opacity: 0.9;
        r: 6.5px;
    }
}

.map-caption {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    text-align: center;
}

/* ===== FAQ ===== */
.faq-section {
    padding: var(--section-py) 0;
    background: var(--surface-warm);
}

.faq-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.faq-list {
    max-width: 780px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: rgba(8, 100, 251, 0.12);
    border: 1px solid rgba(8, 100, 251, 0.15);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: background-color var(--transition-med), border-color var(--transition-fast);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
    background: var(--surface-white);
    border-color: rgba(8, 100, 251, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.75rem;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-blue);
    transition: color var(--transition-fast);
    min-height: 44px;
}

.faq-question:hover {
    color: var(--brand-blue-dark);
}

/* When expanded and bg is white, text should be brand blue */
.faq-item:has(.faq-question[aria-expanded="true"]) .faq-question {
    color: var(--brand-blue);
}

.faq-question:focus-visible {
    outline: 3px solid rgba(8, 100, 251, 0.4);
    outline-offset: -3px;
}

.faq-chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: rgba(8, 100, 251, 0.5);
    transition: transform var(--transition-med), color var(--transition-fast);
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
    color: var(--brand-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer.open {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.75rem 1.35rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;
}

.faq-answer a {
    color: var(--brand-blue);
    text-decoration: underline;
    text-decoration-color: rgba(8, 100, 251, 0.3);
    transition: color var(--transition-fast);
}

.faq-answer a:hover {
    color: var(--brand-blue-dark);
}

/* ===== CONTACT ===== */
.contact-section {
    padding: var(--section-py) 0;
    background: var(--surface-white);
}

.contact-inner {
    max-width: 100%;
}

.contact-inner h2 {
    margin-bottom: 0.6rem;
}

.contact-sub {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    line-height: 1.65;
    max-width: 780px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .contact-details {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
        flex-wrap: nowrap;
    }
    .contact-item {
        flex: 1;
    }
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    padding: 0.85rem 0;
    text-decoration: none;
    transition: var(--transition-med);
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: var(--brand-blue-dim);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--brand-blue);
}

.contact-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.05rem;
    color: var(--brand-blue);
    font-weight: 600;
    line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 4.5rem 0 2.25rem;
    text-align: left;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-logo-link {
    display: inline-flex;
    margin-bottom: 1.25rem;
    text-decoration: none;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 340px;
}

.footer-brand .brand-logo {
    height: 34px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 0.4rem;
}

.footer-contact-info {
    font-size: 0.85rem !important;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-contact-info a:hover {
    color: #FFFFFF;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 140px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.25rem;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    margin-bottom: 0.6rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    margin: 0;
}

.footer-disclaimer {
    max-width: 100%;
    margin: 0;
}

/* ===== ANIMATIONS ===== */
.stagger-1 {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.1s;
}

.stagger-2 {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.2s;
}

.stagger-3 {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.35s;
}

.stagger-4 {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.5s;
}

.stagger-5 {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }

    .us-dot {
        animation: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-stat-block {
        flex-direction: row;
    }

    .stat-item {
        flex: 1;
    }

    .stat-divider {
        width: 1px;
        height: auto;
    }

    .jurisdiction-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .jurisdiction-map {
        order: -1;
    }

    .program-live {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 4.5rem;
    }

    /* Mobile nav */
    .navbar {
        top: 0.75rem;
        padding: 0 1rem;
    }
    
    .navbar-container {
        display: flex;
        justify-content: space-between;
        padding: 0.6rem 0.6rem 0.6rem 1.25rem;
        border-radius: 100px;
        grid-template-columns: none;
    }

    .nav-actions-desktop {
        display: none;
    }

    .nav-actions-mobile {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 2rem;
        border-top: 1px solid var(--surface-border);
        padding-top: 2rem;
    }

    .nav-actions-mobile .nav-cta {
        width: 100%;
        text-align: center;
    }
    .nav-actions-mobile .nav-login {
        width: 100%;
        text-align: center;
        border: 1px solid var(--surface-border) !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 2.5rem 3rem;
        gap: 1.5rem;
        border-left: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: -10px 0 40px rgba(31, 41, 55, 0.1);
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.25rem;
        color: var(--text-primary);
        font-weight: 500;
        width: 100%;
    }
    
    .nav-links a::after {
        display: none;
    }

    .nav-hamburger {
        display: flex;
        z-index: 1001;
        background: var(--surface-warm);
        border-radius: 50%;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--surface-border);
        padding: 0;
    }

    /* Hero */
    .hero {
        padding: 8.5rem 0 5rem;
    }

    .trust-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }

    .trust-divider {
        display: none;
    }

    /* Grids */
    .programs-grid,
    .partners-grid,
    .mvv-grid,
    .expect-list,
    .glp1-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .partner-card {
        padding: 1.5rem;
    }

    .about-stat-block {
        flex-direction: column;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-brand .brand-logo {
        height: 68px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        text-align: center;
    }

    .step-card {
        flex-direction: column;
        gap: 0.85rem;
    }
}

/* ========================================================= */
/* LUDIC IMAGE INTEGRATION (FRONT-END DESIGN SKILLS)         */
/* ========================================================= */

/* Hero Image Overlaps & Parallax */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-media-wrapper {
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Masks and Shapes */
.hero-image-mask {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.organic-shape-1 {
    width: 500px;
    height: 650px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite alternate;
    right: 5%;
    top: 10%;
    z-index: 2;
}

.organic-shape-2 {
    width: 350px;
    height: 350px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph-reverse 10s ease-in-out infinite alternate;
    left: -10%;
    bottom: 5%;
    z-index: 1;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 50% 60% 40% 60%;
    }
}

@keyframes morph-reverse {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    100% {
        border-radius: 30% 70% 50% 50% / 50% 50% 70% 30%;
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 1.2s ease;
}

/* Background images for sections */
.has-bg-image {
    position: relative;
    background: transparent !important;
}

.section-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.section-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.08;
    /* subtle */
    mix-blend-mode: multiply;
}

.manifesto-bg .section-bg-image {
    opacity: 0.15;
    mix-blend-mode: overlay;
}

.section-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(250, 248, 244, 0.96) 0%, rgba(250, 248, 244, 0.85) 100%);
}

.manifesto-bg .section-bg-overlay {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-blue));
    opacity: 0.95;
}

/* Programs Images */
.program-image-wrapper {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--space-4);
    position: relative;
}

.program-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-card:hover .program-img {
    transform: scale(1.05);
}

.program-soon .program-img {
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.5s ease;
}

.program-soon:hover .program-img {
    filter: grayscale(50%) opacity(0.8);
}

/* About Media */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

@media(max-width: 900px) {
    .about-inner {
        grid-template-columns: 1fr;
    }

    .hero-media-wrapper {
        opacity: 0.1;
    }
}

.about-media-wrapper {
    position: relative;
    padding: var(--space-4);
}

.about-image-mask {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.about-image-mask:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

/* How It Works Images */
.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-image-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--space-4);
    border: 4px solid var(--surface-white);
    box-shadow: 0 10px 25px rgba(8, 100, 251, 0.15);
}

.step-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Why Viventra */
.why-card {
    padding-top: var(--space-6);
    position: relative;
    overflow: hidden;
    background: transparent;
}

.why-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.why-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.why-card:hover .why-image-wrapper {
    opacity: 1;
}

/* ============================================================
   LEGAL / POLICY PAGES
   ============================================================ */

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--brand-blue);
	color: #FFFFFF;
	padding: 0.6rem 1.2rem;
	border-radius: 0 0 var(--radius-sm) 0;
	z-index: 2000;
	font-weight: 600;
}

.skip-link:focus {
	left: 0;
}

.legal-hero {
	padding: 9.5rem 0 3rem;
	background: var(--surface-warm);
}

.legal-hero h1 {
	margin-bottom: 0.75rem;
}

.legal-updated {
	font-size: 0.85rem;
	color: var(--text-muted);
	font-weight: 500;
}

.legal-intro {
	margin-top: 1.25rem;
	color: var(--text-secondary);
	font-size: 1.05rem;
	max-width: 720px;
	line-height: 1.7;
}

.legal-body {
	padding-bottom: var(--section-py);
	background: var(--surface-warm);
}

.legal-container {
	max-width: 780px;
}

.legal-toc {
	background: var(--surface-white);
	border: 1px solid var(--surface-border);
	border-radius: var(--radius-md);
	padding: 1.75rem 2rem;
	margin-bottom: 1rem;
}

.legal-toc-title {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 1rem;
}

.legal-toc ul {
	list-style: none;
	padding: 0;
	margin: 0;
	columns: 2;
	column-gap: 2.5rem;
}

.legal-toc li {
	margin-bottom: 0.55rem;
	break-inside: avoid;
}

.legal-toc a {
	color: var(--brand-blue);
	font-size: 0.92rem;
	font-weight: 500;
}

.legal-toc a:hover {
	color: var(--brand-blue-dark);
	text-decoration: underline;
}

.legal-doc section {
	scroll-margin-top: 96px;
}

.legal-doc h2 {
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	margin: 3rem 0 1rem;
}

.legal-doc h3 {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	margin: 1.5rem 0 0.5rem;
}

.legal-doc p {
	color: var(--text-secondary);
	font-size: 0.95rem;
	line-height: 1.75;
	margin-bottom: 1rem;
}

.legal-doc ul {
	padding-left: 1.25rem;
	margin: 0.5rem 0 1.25rem;
}

.legal-doc li {
	color: var(--text-secondary);
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 0.5rem;
}

.legal-doc a {
	color: var(--brand-blue);
	text-decoration: underline;
	text-decoration-color: rgba(8, 100, 251, 0.35);
}

.legal-doc a:hover {
	color: var(--brand-blue-dark);
}

.legal-doc strong {
	color: var(--text-primary);
}

.legal-contact-block {
	background: var(--surface-white);
	border: 1px solid var(--surface-border);
	border-radius: var(--radius-md);
	padding: 1.75rem 2rem;
	margin-top: 1.25rem;
}

.legal-contact-block p {
	margin-bottom: 0.35rem;
}

@media (max-width: 640px) {
	.legal-toc ul {
		columns: 1;
	}

	.legal-hero {
		padding: 8rem 0 2.5rem;
	}
}