html {
    scroll-behavior: smooth;
}

/* Global Helper Classes */
.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }
    .desktop-only {
        display: none !important;
    }
}

:root {
    --bg-color: #0f0f0f;
    --text-white: #ffffff;
    --text-gray: #f5f5f5;
    --accent-gray: #545454;
    --nav-bg: #ffffff;
    --nav-text: #0f0f0f;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Montaga', serif;
    --font-sub: 'Plus Jakarta Sans', sans-serif;
    --content-max-width: 1920px;
    --content-half-width: 960px;
    --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.26s var(--ease-standard);
    --transition-base: 0.28s var(--ease-standard);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: var(--font-main);
    overflow-x: hidden;
}

.text-gradient {
    background: linear-gradient(98deg, #7f7f7f 2%, #ffffff 44%, #ffffff 62%, #545454 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Scroll Reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-standard), transform 0.8s var(--ease-standard);
    will-change: transform, opacity;
}

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

/* ================= Sidebar ================= */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.42);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    will-change: opacity;
    transition: opacity 0.12s linear, visibility 0s linear 0.12s;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background: var(--nav-bg);
    z-index: 2001;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.16s ease-out;
    will-change: transform;
    backface-visibility: hidden;
    contain: paint;
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    box-shadow: none;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.sidebar.active {
    transform: translate3d(0, 0, 0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.sidebar-header .logo img {
    height: 32px;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: var(--text-gray);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-link {
    font-size: 18px;
    font-weight: 600;
    color: var(--nav-text);
    text-decoration: none;
    transition: opacity 0.3s;
}

.sidebar-link:hover {
    opacity: 0.7;
}

.sidebar-footer {
    margin-top: auto;
}

.sidebar-cta {
    width: 100%;
    justify-content: center;
}

@media (max-width: 480px) {
    .sidebar {
        width: 100%;
    }
}

/* ================= Navbar ================= */
.navbar {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1300px;
    background: var(--nav-bg);
    border-radius: 100px;
    padding: 12px 20px 12px 40px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    /* Allow decoration to sit below or inside */
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 1;
}

.logo img {
    width: 205px;
    /* Fixed size as requested */
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 35px;
    margin-left: auto;
    margin-right: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--nav-text);
    font-weight: 600;
    font-size: 18px;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Section load animation (CSS only) */
@keyframes section-lift-in {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section,
.features-section,
.what-we-do-section,
.the-problem-section,
.solution-section,
.how-it-works-section,
.why-3sl-section,
.programs-section,
.faq-cta-section,
.contact-section {
    opacity: 0;
    transform: translateY(22px);
    animation: section-lift-in 0.5s var(--ease-standard) forwards;
}

.features-section { animation-delay: 0.04s; }
.what-we-do-section { animation-delay: 0.08s; }
.the-problem-section { animation-delay: 0.1s; }
.solution-section { animation-delay: 0.12s; }
.how-it-works-section { animation-delay: 0.14s; }
.why-3sl-section { animation-delay: 0.16s; }
.programs-section { animation-delay: 0.18s; }
.faq-cta-section { animation-delay: 0.2s; }
.contact-section { animation-delay: 0.22s; }

/* Subtle hero logo motion */
@keyframes hero-logo-float {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }
    50% {
        transform: translateY(-5px) scale(1.015);
        filter: drop-shadow(0 8px 16px rgba(255, 255, 255, 0.12));
    }
}

.hero-icon img[src*="hero-logo-icon.png"] {
    animation: hero-logo-float 5.2s ease-in-out infinite;
    transform-origin: center;
    will-change: transform, filter;
}

/* Element transitions */
.program-card,
.why-card,
.faq-item,
.contact-form-card,
.visual-card,
.solution-image-wrapper,
.nav-links a,
.sidebar-link {
    transition: transform var(--transition-base),
                box-shadow var(--transition-base),
                background-color var(--transition-base),
                border-color var(--transition-base),
                color var(--transition-base),
                opacity var(--transition-base);
}

.program-card:hover,
.why-card:hover,
.faq-item:hover,
.contact-form-card:hover,
.visual-card:hover {
    transform: translateY(-2px);
}

/* Base button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: transform var(--transition-fast),
                background-color var(--transition-fast),
                color var(--transition-fast),
                border-color var(--transition-fast),
                box-shadow var(--transition-fast);
    text-align: center;
    box-sizing: border-box;
    gap: 12px;
    font-family: var(--font-main);
    letter-spacing: 0;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.btn:active {
    transform: translateY(0);
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-section,
    .features-section,
    .what-we-do-section,
    .the-problem-section,
    .solution-section,
    .how-it-works-section,
    .why-3sl-section,
    .programs-section,
    .faq-cta-section,
    .contact-section {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .hero-icon img[src*="hero-logo-icon.png"] {
        animation: none;
        transform: none;
        filter: none;
    }

    .btn {
        transition: none;
    }

    .program-card,
    .why-card,
    .faq-item,
    .contact-form-card,
    .visual-card,
    .solution-image-wrapper,
    .nav-links a,
    .sidebar-link {
        transition: none;
    }

    .btn:hover,
    .program-card:hover,
    .why-card:hover,
    .faq-item:hover,
    .contact-form-card:hover,
    .visual-card:hover,
    .btn:active {
        transform: none;
        box-shadow: none;
    }
}

.btn-primary {
    background: var(--bg-color);
    color: var(--text-white);
    border: 1px solid var(--accent-gray);
    white-space: nowrap;
    width: 199px;
    padding: 7px 7px 7px 29px;
    gap: 8px;
}

.btn-primary:hover {
    background: #333333;
    border-color: #777777;
}

.btn-outline {
    background: transparent;
    border: 1px solid #dcdcdc;
    color: #0f0f0f;
}

.btn-outline:hover {
    border-color: #0f0f0f;
    background: rgba(0, 0, 0, 0.02);
}

.btn-white {
    background: #ffffff;
    color: #0f0f0f;
    border: none;
}

.btn-white:hover {
    background: #f5f5f5;
}

/* Button Labels and Icons */
.btn-label {
    display: inline-block;
    flex: none; /* Reset flex to allow natural text width */
    text-align: center;
    line-height: 26px;
}

/* Hero & Special Buttons - Space between text and icon */
.btn-hero-white, .btn-hero-outline, .solution-btn, .btn-white-full {
    justify-content: space-between;
    text-align: left;
    width: 100%;
    max-width: 247px;
}

.btn-hero-white .btn-label, .btn-hero-outline .btn-label, .solution-btn .btn-label {
    text-align: center;
    flex: 1;
}

.btn-hero-white {
    background: #ffffff;
    color: #0f0f0f;
}

.btn-hero-outline {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}

/* Icon Containers */
.icon-circle, .icon-circle-black, .icon-circle-white {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle-black { background: #0f0f0f; }
.icon-circle-white { background: #ffffff; }
.icon-circle { background: #ffffff; } /* Default white for navbar/others */

.icon-circle img, .icon-circle-black img, .icon-circle-white img {
    width: 20px;
    height: 20px;
}

.menu-btn {
    background: none;
    border: none;
    padding: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.menu-btn:hover {
    background: none;
    transform: scale(1.05);
}

.menu-btn img {
    width: 100%;
    height: 100%;
}

/* ================= Home Wrapper (Seamless) ================= */
.home-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Seamless gradient background from Figma */
    background-image: linear-gradient(180deg, rgba(15, 15, 15, 0) 0%, #0f0f0f 46.8%);
}

.connecting-vector {
    position: absolute;
    /* Position is set dynamically by JS to align with hero buttons bottom */
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1250px;
    padding: 0 40px; /* Prevent touching screen edges on smaller desktops */
    box-sizing: border-box;
    height: auto;
    aspect-ratio: 1281 / 522;
    /* Matches previous SVG shape to keep container stable */
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    /* Hidden until JS positions it */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.08));
    transition: opacity 0.6s ease;
}

@media (max-width: 1300px) {
    .connecting-vector {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .connecting-vector {
        padding: 0 16px;
    }
}

.connecting-vector.positioned {
    opacity: 1;
}

.connecting-vector img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensures the PNG line is never cropped */
    display: block;
}

/* ================= Hero Section ================= */
.hero-section {
    position: relative;
    /* Removed min-height: 100vh to allow seamless flow */
    padding-top: clamp(140px, 14vw, 180px);
    padding-right: clamp(16px, 4vw, 40px);
    /* Reduced bottom padding — JS-positioned SVG handles the transition gap */
    padding-bottom: clamp(20px, 3vw, 40px);
    padding-left: clamp(16px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: transparent;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Changed from 1500px to 100% for better responsiveness */
    background-image: url('../assets/images/hero-bg-pattern.svg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: -1;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-icon {
    margin-bottom: 30px;
}

.hero-icon img {
    width: 120px;
    height: auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(34px, 5.2vw, 105px);
    line-height: clamp(40px, 6vw, 110px);
    font-weight: 400;
    text-align: center;
    margin-bottom: 25px;
    background: linear-gradient(98deg, #7f7f7f 2%, #ffffff 44%, #ffffff 62%, #545454 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-family: var(--font-sub);
    font-size: clamp(14px, 1.25vw, 20px);
    color: var(--text-gray);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 46ch;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    margin-bottom: clamp(40px, 6vw, 60px);
}

.btn-hero-white {
    background: #ffffff;
    color: #0f0f0f;
    padding: 8px 8px 8px 23px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between; /* Space text and icon */
    width: 247px; /* Exact Figma width */
    height: 56px;
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
    flex: 0 0 auto;
}

.btn-hero-white .btn-label {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: #0f0f0f;
    text-transform: none;
    flex: 1;
    text-align: center;
}

.icon-circle-black {
    background: #0f0f0f;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle-black img {
    width: 20px;
    height: 20px;
    display: block;
    filter: brightness(0) invert(1); /* Forces arrow to be pure white */
}

.btn-hero-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 7px 7px 7px 22px; /* Exact Figma padding */
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between; /* Space text and icon */
    width: 239px; /* Exact Figma width */
    height: 56px;
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
    flex: 0 0 auto;
}

.btn-hero-outline .btn-label {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: #ffffff;
    text-transform: none;
    flex: 1;
    text-align: center;
}

.icon-circle-white {
    background: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle-white img {
    width: 20px;
    height: 20px;
    display: block;
    filter: brightness(0); /* Forces arrow to be pure black */
}

/* ================= Features Section ================= */
.features-section {
    position: relative;
    padding-top: clamp(80px, 8vw, 120px);
    padding-right: clamp(16px, 4vw, 40px);
    padding-bottom: clamp(90px, 12vw, 150px);
    padding-left: clamp(16px, 4vw, 40px);
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    z-index: 10; /* Increased to be higher than connecting-vector (z-index: 2) */
    margin-top: clamp(0px, 1vw, 10px);
    /* Standardized height for all previews */
    --preview-height: clamp(350px, 65vh, 585px);
}

.features-bg-vector {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    width: 100%;
    pointer-events: none;
    opacity: 0.5;
}

.features-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: clamp(60px, 10vw, 100px);
    /* Increased to clear the connecting line loop */
}

.features-title {
    font-family: 'Montaga', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 45px;
    line-height: 60px;
    letter-spacing: -0.01em;
    text-align: center;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.showcase-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(var(--content-max-width), calc(100vw - 32px));
    margin-top: 20px;
    padding: 60px 40px 40px; /* Increased bottom padding to lift frames from controls */
}

.mask-frame {
    position: relative;
    width: auto;
    height: var(--preview-height);
    max-width: 100%;
    margin: 0 auto;
    border-radius: 23px;
    border: none; /* Borders now handled by SVG overlays */
    overflow: visible; /* Changed to visible to allow floating borders */
    /* Transition only layout properties to avoid background flickers */
    /* Removed background from transition to make mode switches cleaner */
    transition: width 0.7s cubic-bezier(0.65, 0, 0.35, 1), 
                aspect-ratio 0.7s cubic-bezier(0.65, 0, 0.35, 1);
    background: transparent;
    padding: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Border Overlays Base */
.goggles-border,
.mobile-border,
.presentation-border {
    position: absolute;
    /* Default: Shifted 15px away from the mask */
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    object-fit: contain; /* Preserve SVG aspect ratio to avoid squeeze on phones */
    object-position: center;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* VR Specific Border Offset (20px away) */
.frame-mode-vr .goggles-border {
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
}

.frame-mode-vr .goggles-border,
.frame-mode-mobile .mobile-border,
.frame-mode-presentation .presentation-border {
    opacity: 0.85; /* Increased visibility for the outline */
}

/* VR Mode Specifics */
.frame-mode-vr {
    aspect-ratio: 1204 / 634;
    background: transparent;
    width: 95%;
    max-width: 1190px;
}

.frame-mode-vr .goggles-border {
    /* opacity handled by base reveal class */
}

.frame-mode-vr .showcase-image {
    /* Apply goggle mask to the image itself */
    -webkit-mask-image: url('../assets/images/vr-mask-shape.svg');
    mask-image: url('../assets/images/vr-mask-shape.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    /* Keep full top visible and reduce overall size inside outline */
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    width: 100%; 
    height: 100%;
    border-radius: 0;
}

.frame-mode-mobile {
    aspect-ratio: 402 / 586;
    margin-top: -20px;
    margin-bottom: 40px;
}

.frame-mode-mobile .mobile-border {
    /* opacity handled by base reveal class */
}

.frame-mode-mobile .showcase-image {
    -webkit-mask-image: url('../assets/images/showcase-mask-mobile.png');
    mask-image: url('../assets/images/showcase-mask-mobile.png');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    /* Mask size 100% to fill container */
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

/* file:// fallback: use inline mask for VR so it works without a local server */
.local-file-mode .frame-mode-vr .showcase-image {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 0 1267 720'%3E%3Cpath d='M1165.68 260.311C1167.36 276.146 1167.46 307.032 1165.68 322.763C1144.2 512.678 944.235 630.265 766.96 563.11C708.775 541.056 663.45 481.165 606.206 474.214C498.304 461.149 477.131 533.321 390.925 564.573C-13.9151 711.426 -177.074 56.6507 258.296 0H903.353C1038.28 0 1151.46 126.68 1165.74 260.311H1165.68Z' fill='black'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 0 1267 720'%3E%3Cpath d='M1165.68 260.311C1167.36 276.146 1167.46 307.032 1165.68 322.763C1144.2 512.678 944.235 630.265 766.96 563.11C708.775 541.056 663.45 481.165 606.206 474.214C498.304 461.149 477.131 533.321 390.925 564.573C-13.9151 711.426 -177.074 56.6507 258.296 0H903.353C1038.28 0 1151.46 126.68 1165.74 260.311H1165.68Z' fill='black'/%3E%3C/svg%3E") !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center 5px !important;
    mask-position: center 5px !important;
    -webkit-mask-size: 99% 99% !important;
    mask-size: 99% 99% !important;
    width: 99% !important;
    height: 99% !important;
    border-radius: 0 !important;
}

.local-file-mode .frame-mode-mobile .showcase-image {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    border-radius: 23px;
}

.frame-mode-presentation {
    aspect-ratio: 923 / 584;
    margin-top: -20px;
    margin-bottom: 40px;
}

.frame-mode-presentation .presentation-border {
    /* opacity handled by base reveal class */
}

.frame-mode-presentation .showcase-image {
    /* Presentation mode doesn't have a complex mask, just rounded corners */
    border-radius: 23px;
    width: 99%;
    height: 99%;
}

.showcase-image {
    width: 100%; /* Fill container completely */
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 13px;
    /* Transition only specific properties not handled by GSAP */
    transition: border-radius 0.5s ease, -webkit-mask-image 0.5s ease, mask-image 0.5s ease;
}

.frame-mode-vr .showcase-image {
    border-radius: 0; /* Mask handles it in VR */
    /* Width/Height already set by base class, but specific mask applied here */
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.controls-wrapper {
    position: relative;
    z-index: 2;
    background: #3b3b3b;
    border-radius: 39px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px; /* Small margin for extra breathing room */
}

.toggle-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.toggle-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 39px;
    padding: 12px 24px;
    color: #ffffff;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 500;
    transition: transform 0.2s var(--ease-standard), background 0.3s, color 0.3s, border-color 0.3s;
}

.toggle-btn img {
    height: 22px;
    width: auto;
    opacity: 0.9;
}

.toggle-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.toggle-btn:active {
    transform: scale(0.98);
}

.toggle-btn.active {
    background: #717171;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}

.selection-arrow {
    position: absolute;
    top: 100%; /* Position below the container */
    margin-top: 15px; /* Add space as requested */
    left: 0;
    width: 17px; /* Updated width for arrow-up.svg */
    height: 21px; /* Updated height for arrow-up.svg */
    z-index: 3;
    pointer-events: none;
    transition: transform 0.35s ease;
    /* Initial position will be set by JS */
}

.icon-rotate img {
    transform: rotate(90deg);
    /* Fix for the rotated phone icon in design */
}

/* ================= Glow Effects ================= */
.glow-effect {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

.main-glow {
    top: clamp(420px, 60vw, 55%);
    left: clamp(-20%, -10vw, -10%);
    width: clamp(260px, 50vw, 641px);
    height: clamp(260px, 35vw, 457px);
    background: rgba(255, 255, 255, 0.3);
    filter: blur(clamp(90px, 12vw, 150px));
    z-index: 5;
}

.secondary-glow {
    top: 55%; /* Positioned between Features and What We Do */
    right: -200px;
    width: 641px;
    height: 457px;
    background: #ffffff4d; /* Rectangle 24042 */
    filter: blur(150px);
    z-index: 20; /* On top of sections */
}

/* ================= What We Do Section ================= */
.section-glow-overlay {
    position: absolute;
    top: -150px;
    right: 0;
    width: 641px;
    height: 457px;
    background: rgba(255, 255, 255, 0.1); /* Reduced opacity for subtlety */
    filter: blur(150px);
    z-index: 1;
    pointer-events: none;
}

.what-we-do-section {
    position: relative;
    padding: 0;
    min-height: 788px;
    background-color: #101010;
    z-index: 10;
    overflow: visible; /* Allow glow to spill over */
    display: flex;
    align-items: center;
    justify-content: center;
}

.what-we-do-container {
    width: 100%;
    max-width: var(--content-max-width);
    min-height: 788px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px clamp(20px, 5vw, 161px) 100px;
    position: relative;
    gap: 40px;
}

.what-we-do-content {
    flex: 1;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 2;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.label-line {
    width: 50px;
    height: 2px;
    background-color: #ffffff;
}

.label-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0;
}

/* Specific styling for light background sections */
.how-it-works-section .label-line {
    background-color: #0f0f0f;
}

.how-it-works-section .label-text {
    font-size: 17px;
    font-weight: 600;
    color: #0f0f0f;
    text-transform: uppercase;
    letter-spacing: 0;
}

.how-it-works-btn {
    margin-top: 58px;
}

.what-we-do-title {
    font-family: 'Montaga', serif;
    font-weight: 400;
    font-size: clamp(40px, 4vw, 70px);
    line-height: 1.15;
    letter-spacing: -0.7px;
    margin-bottom: 0;
    leading-trim: both;
    text-edge: cap;
    background: linear-gradient(95.46deg, #7f7f7f 1.63%, #ffffff 43.69%, #ffffff 61.63%, #545454 102.56%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.what-we-do-description {
    color: #FFFFFF;
    leading-trim: both;
    text-edge: cap;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(16px, 1.1vw, 20px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    max-width: 766px;
}

.what-we-do-visual {
    flex: 0 0 auto;
    width: clamp(400px, 35vw, 638px);
    height: auto;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.visual-card {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 155 / 129;
    border-radius: 20px;
    overflow: hidden;
}

.visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-tags {
    position: absolute;
    bottom: 30px;
    left: 50px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.86); /* #ffffffdb in Figma */
    border-radius: 40px;
    backdrop-filter: blur(10px);
    height: 44px;
    flex-shrink: 0;
}

.tag-vr {
    width: 177px;
    padding: 15px 18px 15px 17px;
}

.tag-presentation {
    width: 167px;
    padding: 15px 16px 15px 17px;
}

.tag-mobile {
    width: 122px;
    padding: 15px 24px 15px 17px;
}

.tag-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #7f7f7f;
    flex-shrink: 0;
}

.tag-text {
    color: #0f0f0f;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    white-space: nowrap;
}

.tag-icon {
    display: none;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* ================= The Problem Section ================= */
.the-problem-section {
    position: relative;
    width: 100%;
    min-height: clamp(600px, 80vh, 788px);
    background-color: #1b1b1b;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    padding: 0; /* Removed top/bottom padding */
}

.the-problem-visual {
    position: absolute;
    top: 0;
    left: max(0px, calc(50% - var(--content-half-width)));
    width: min(50%, var(--content-half-width));
    height: 100%;
    z-index: 1;
    background-image: url('../assets/images/the-problem-bg.svg');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.the-problem-container {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end; /* Push content to the right half */
}

.the-problem-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 65px clamp(20px, 8vw, 154px);
}

.the-problem-title {
    font-family: 'Montaga', serif;
    font-weight: 400;
    font-size: clamp(34px, 4.5vw, 70px);
    line-height: clamp(44px, 5.5vw, 80px);
    letter-spacing: -0.7px;
    background: linear-gradient(98.69deg, #7f7f7f 2.14%, #ffffff 43.81%, #ffffff 61.59%, #545454 102.16%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 506px;
}

.the-problem-description {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.description-lead {
    font-weight: 500;
}

.problem-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.problem-list li {
    position: relative;
    padding-left: 24px;
}

.problem-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
}

.description-conclusion {
    font-weight: 500;
}

/* ================= The Solution Section ================= */
.solution-section {
    position: relative;
    width: 100%;
    min-height: auto;
    background-color: #101010;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
    scroll-margin-top: 145px;
}

.solution-container {
    width: 100%;
    max-width: var(--content-max-width);
    height: auto;
    margin: 0 auto;
    padding: 88px clamp(20px, 3vw, 44px);
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
    gap: clamp(20px, 2vw, 32px);
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.solution-blur-bg {
    position: absolute;
    top: 32px;
    right: -140px;
    left: auto;
    background: rgba(255, 255, 255, 0.3);
    width: 520px;
    height: 360px;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.solution-content {
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 46px;
    padding: 0;
    position: relative;
    z-index: 3;
}

.solution-header {
    display: flex;
    flex-direction: column;
    gap: 33px;
    margin-right: 0;
}

.solution-title {
    font-family: 'Montaga', serif;
    font-weight: 400;
    font-size: clamp(34px, 4.5vw, 70px);
    line-height: clamp(44px, 5.5vw, 80px);
    letter-spacing: -0.7px;
    background: linear-gradient(93.01deg, #7f7f7f 1.4%, #ffffff 43.63%, #ffffff 61.65%, #545454 102.75%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.solution-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0;
}

.solution-body {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.solution-description {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    line-height: 32px;
    font-weight: 400;
    color: #ffffff;
    max-width: 678px;
    margin-bottom: 0; /* Reset margin */
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 19px;
    margin-right: 0;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 17px;
}

.feature-icon {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon img {
    /* Default fallback */
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.solution-icon-check {
    width: 30px !important;
    height: 30px !important;
}

.solution-icon-user {
    width: 24px !important;
    height: 26px !important;
}

.feature-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    line-height: 32px;
    font-weight: 400;
    color: #ffffff;
}

.solution-highlight {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    line-height: 32px;
    color: #ffffff;
    font-weight: 500;
}

/* Special override for solution button */
.solution-btn {
    background-color: #ffffff !important;
    color: #0f0f0f !important;
    width: 247px !important;
    height: 56px !important;
    padding: 8px 8px 8px 23px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    margin-top: 64px;
    border-radius: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important; /* Changed from space-between */
    text-decoration: none !important;
}

.solution-btn .btn-label {
    line-height: 26px !important;
    font-size: 18px !important;
    color: #0f0f0f !important;
    font-weight: 600 !important;
    flex: 1 !important; /* Take up space to allow centering */
    text-align: center !important;
}

.solution-btn .icon-circle-black {
    background-color: #0f0f0f !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.solution-btn .icon-circle-black img {
    width: 20px !important;
    height: 20px !important;
    filter: brightness(0) invert(1) !important; /* Forces arrow to be pure white */
}

.solution-visual {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 780px;
    height: auto;
    aspect-ratio: 919 / 740;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
}

.solution-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.solution-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= How It Works Section ================= */
.how-it-works-section {
    position: relative;
    width: 100%;
    background-color: #f5f5f5;
    padding: 0; /* Removed top/bottom padding */
    overflow: hidden;
    display: flex;
    align-items: stretch;
    scroll-margin-top: 145px;
}

.how-it-works-container {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.how-it-works-content {
    width: 50%;
    padding: 68px clamp(20px, 7.5vw, 144px) 65px;
    display: flex;
    flex-direction: column;
}

.how-it-works-title {
    font-family: 'Montaga', serif;
    font-size: 58px;
    line-height: 77px;
    color: #0f0f0f;
    margin: 29px 0 55px;
    letter-spacing: -0.58px;
    font-weight: 400;
    max-width: 519px;
}

.steps-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 77px;
}

.timeline-line {
    position: absolute;
    left: 48px;
    top: 80px;
    bottom: 130px;
    width: 2px;
    background: transparent;
    border-left: 2px dashed #545454;
    z-index: 1;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 45px;
    position: relative;
    z-index: 2;
}

.step-icon-wrapper {
    width: 96px;
    height: 96px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: -10px; /* Offset to align with first line of title */
}

.shape-90 {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 10px; /* Align content start with icon center roughly */
}

.step-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 23px;
    font-weight: 600;
    color: #0f0f0f;
    line-height: 1.2; /* Tighter line height for better alignment */
    margin: 0;
}

.step-description {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    line-height: 29px;
    color: #545454;
    margin: 0;
    max-width: 533px;
}

.how-it-works-visual {
    position: absolute;
    top: 0;
    right: max(0px, calc(50% - var(--content-half-width)));
    width: min(50%, var(--content-half-width));
    height: 100%;
    z-index: 1;
    background-image: url('../assets/images/how-it-works-visual.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ================= Why 3SL Section ================= */
.why-3sl-section {
    position: relative;
    width: 100%;
    background-color: #111111;
    padding: 0; /* Removed top/bottom padding */
    overflow: hidden;
    scroll-margin-top: 145px;
}

.why-3sl-container {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 65px clamp(20px, 8vw, 154px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-3sl-title {
    font-family: 'Montaga', serif;
    font-size: 50px;
    line-height: 80px;
    letter-spacing: -0.5px;
    margin-bottom: 80px;
    background: linear-gradient(95.45deg, #7f7f7f 1.63%, #ffffff 43.69%, #ffffff 61.63%, #545454 102.56%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
}

.why-3sl-cards {
    display: flex;
    justify-content: center;
    gap: 36px;
    width: 100%;
    max-width: 1235px;
}

.why-card {
    flex: 1;
    border-radius: 20px;
    padding: 54px 40px 44px;
    display: flex;    flex-direction: column;
    gap: 28px;
}

.glass-card {
    background: rgba(249, 249, 249, 0.2);
    backdrop-filter: blur(10px);
}

.border-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
    font-family: 'Montaga', serif;
    font-size: 40px;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.4px;
    font-weight: 400;
}

.card-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    color: #ffffff;
    line-height: 1.4;
    font-weight: 400;
}

.benefit-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 5px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

.benefit-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    line-height: 1.4;
    color: #ffffff;
    font-weight: 400;
}

.card-glow {
    top: -50px;
    right: -100px;
    width: 641px;
    height: 457px;
    background: rgba(255, 255, 255, 0.3);
    filter: blur(150px);
    z-index: 1;
}

.program-col {
    display: flex;
    flex-direction: column;
}

.title-col {
    flex: 0 0 350px;
    justify-content: space-between;
}

.desc-col {
    flex: 0 0 300px;
    justify-content: flex-end;
    margin-left: 40px;
}

.features-col {
    flex: 1;
    margin-left: 40px;
    justify-content: center;
}

.features-col.double-width {
    flex: 2;
}

.action-col {
    flex: 0 0 250px;
    align-items: flex-end;
    justify-content: flex-end;
}

.program-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 44px;
    color: #000000;
    margin: 0;
    letter-spacing: -0.5px;
}

.program-title.text-white {
    color: #ffffff;
    line-height: 44px;
}

/* ================= Programs Section ================= */
.programs-section {
    position: relative;
    width: 100%;
    background-color: #f5f5f5;
    padding: 56px 0;
    overflow: hidden;
}

.programs-container {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 4.8vw, 93px);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.program-card {
    position: relative;
    width: 100%;
    border-radius: 23px;
    padding: 32px 42px;
    display: flex;
    align-items: stretch; /* Allow columns to fill height for independent alignment */
    justify-content: space-between;
    gap: 16px;
    transition: transform 0.3s ease;
    min-height: 220px;
}

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

.pilot-card {
    background-color: #ffffff;
}

/* Programs Section - Horizontal Layouts */
@media (min-width: 1441px) {
    .programs-container {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin: 0 auto;
    }

    .program-card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: flex-start;
        border-radius: 23px;
        position: relative;
        overflow: visible; /* Allow star to overflow */
        width: 100%;
    }

    .subscription-card {
        background: #121315;
        color: #ffffff;
        height: 250px;
    }

    .subscription-card .pricing-card-bg {
        background-image: url('../assets/images/mlk0wyxq-29yieb3.svg');
        background-position: center;
        background-size: cover;
        opacity: 0.48;
        z-index: 1;
        border-radius: 23px; /* Maintain corners since parent overflow is visible */
        overflow: hidden;
    }

    .program-col {
        display: flex;
        flex-direction: column;
        z-index: 10;
    }

    .title-col {
        flex: 0 0 350px;
        gap: 24px;
    }

    .desc-col {
        flex: 0 0 300px;
        margin-left: 40px;
        justify-content: flex-end;
    }

    .features-col {
        flex: 1;
        margin-left: 40px;
    }

    .features-col.double-width {
        flex: 2;
    }

    .action-col {
        flex: 0 0 320px;
        margin-left: auto;
        align-items: flex-end;
        justify-content: flex-end;
    }
}

/* 1920px Specific scaling */
@media (min-width: 1920px) {
    .programs-container { max-width: 1744px; }
    .program-card { padding: 38px 36px 37px 54px; }
    .subscription-card { padding: 24px 44px 37px 50px; height: 250px; }
    .subscription-card .pricing-card-bg { 
        background-image: url('../assets/images/mlkkr6li-m8xl5b1.svg');
        background-position: center;
        background-size: cover;
        opacity: 1;
        display: block;
    }
    .subscription-card .pricing-ellipse { display: none; }
    .program-title { font-size: 45px; line-height: 52px; }
    .program-description, .check-list li, .pricing-features li p { font-size: 19px; line-height: 29px; }
    .programs-section .btn, .programs-section .btn-pricing-primary { width: 320px; height: 77px; font-size: 19px; }
}

/* 1440px Specific scaling based on Figma Desktop - 1 */
@media (max-width: 1919px) and (min-width: 1441px) {
    .programs-container {
        max-width: 1440px;
        padding: 80px 52px 100px;
        gap: 24px;
    }

    .btn-primary {
        width: 180px;
        height: 48px;
        padding: 6px 6px 6px 24px;
        font-size: 16px;
    }

    .program-card {
        padding: 20px 24px;
        gap: 16px;
        justify-content: space-between;
    }

    .subscription-card {
        height: auto;
        min-height: 180px;
        padding: 20px 24px;
    }

    .subscription-card .pricing-card-bg {
        background-image: url('../assets/images/mlkkrhfp-1jjyi6c.svg');
        background-position: center;
        background-size: cover;
        opacity: 1;
        display: block;
        border-radius: 23px;
    }
    
    .subscription-card .pricing-ellipse { display: none; }

    .program-title {
        font-size: 18px;
        line-height: 1.1;
    }

    .program-description, .check-list li, .pricing-features li p {
        font-size: 11px;
        line-height: 16px;
    }

    .programs-section .btn, .programs-section .btn-pricing-primary {
        width: 140px;
        height: 40px;
        font-size: 12px;
        padding: 0 12px;
    }

    /* Column Alignment System */
    .title-col {
        flex: 0 0 140px !important;
        gap: 10px;
    }

    .desc-col {
        flex: 1 !important;
        margin-left: 0 !important;
        justify-content: flex-end !important;
    }

    /* Pilot Features alignment */
    .pilot-card .features-col {
        flex: 1 !important;
        margin-left: 0 !important;
    }

    /* Subscription & Expansion Multi-column alignment */
    .subscription-card .features-col,
    .expansion-card .features-col {
        flex: 1 !important;
        margin-left: 0 !important;
        display: flex !important;
        flex-direction: row !important;
    }

    .pricing-features-columns, .features-split {
        display: flex !important;
        flex-direction: row !important;
        gap: 24px !important;
        width: 100% !important;
    }

    .pricing-features-columns .pricing-features,
    .features-split .check-list {
        flex: 1 !important;
        gap: 12px;
    }

    .check-list li, .pricing-features li {
        gap: 8px;
        align-items: flex-start;
    }

    .action-col {
        flex: 0 0 140px !important;
        margin-left: auto !important;
        justify-content: flex-end !important;
        align-items: flex-end !important;
    }

    .check-circle {
        width: 16px !important;
        height: 16px !important;
        border-width: 1px !important;
        margin-top: 1px;
    }

    .check-icon-inner {
        width: 8px !important;
        height: 6px !important;
    }

    /* Remove previous card-specific overrides that are now handled by the system */
    .subscription-card .title-col,
    .expansion-card .title-col {
        flex: 0 0 140px !important;
    }
}

/* Mobile & Tablet - Vertical Layout */
@media (max-width: 1024px) {
    .programs-container {
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding: 60px 20px;
    }

    .program-card {
        flex-direction: column;
        padding: 60px 40px;
        text-align: center;
        align-items: center;
        min-height: auto;
        gap: 40px;
    }

    .program-col {
        width: 100%;
        max-width: 800px;
        margin: 0 !important;
        align-items: center;
        text-align: center;
        justify-content: center !important;
        flex: none !important;
    }

    .title-col {
        gap: 20px;
    }

    .program-title {
        font-size: 45px;
        line-height: 1.1;
        text-align: center;
    }

    .program-description {
        font-size: 18px;
        line-height: 1.6;
        max-width: 600px;
    }

    .check-list {
        align-items: center;
        display: inline-flex;
        flex-direction: column;
        text-align: left;
    }

    .check-list li {
        font-size: 18px;
        width: 100%;
        max-width: 500px;
        justify-content: flex-start;
    }

    /* Subscription Card specific vertical alignment */
    .subscription-card {
        background: #1d1d1d;
        color: #ffffff;
        min-height: 865px;
        height: auto;
        width: 100%;
        max-width: 386px;
        padding: 40px 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: flex-start;
        gap: 0;
        margin: 0 auto;
    }

    .subscription-card .pricing-card-bg {
        display: none; /* Use ellipses for mobile */
    }

    .subscription-card .pricing-ellipse {
        display: block;
    }

    .subscription-card .title-col {
        margin-top: 20px !important;
        margin-bottom: 40px !important;
        align-items: center;
        gap: 19px;
        flex: none !important;
    }

    .subscription-card .program-title {
        font-size: 24px;
        line-height: 36px;
        margin: 0;
    }

    .subscription-card .features-col {
        margin-bottom: 40px !important;
        flex: none !important;
        width: 100%;
    }

    .pricing-features-columns, .features-split {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 24px !important;
        width: 100% !important;
    }

    .pricing-features {
        width: 100%;
        align-items: flex-start;
        gap: 24px;
    }

    .pricing-features li {
        text-align: left;
        align-items: flex-start;
        gap: 14px;
        width: 100%;
    }

    .pricing-features li p {
        flex: 1;
        width: auto;
        font-size: 18px;
        line-height: 28px;
        max-width: none;
        text-align: left;
        margin: 0;
    }

    .subscription-card .action-col {
        margin-top: auto;
        width: 100%;
        align-items: center;
        flex: none !important;
        padding-bottom: 20px;
    }

    .subscription-card .btn-pricing-primary {
        width: 100%;
        height: 77px;
        border-radius: 45px;
        font-size: 19px;
        padding: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .subscription-card .best-value-star {
        top: 20px;
        left: auto;
        right: 20px;
    }
}

.pricing-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-image: url('../assets/images/mlk0wyxq-29yieb3.svg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Keep subscription color close to Figma: dark base with controlled highlight */
.subscription-card {
    position: relative;
    isolation: isolate;
    background: #1d1d1d;
    overflow: hidden;
}

.subscription-card .pricing-card-bg {
    opacity: 1;
    background: none;
    filter: none;
}

.pricing-ellipse {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.ellipse-1 {
    top: 0;
    left: 0;
    width: 994px;
    height: 555px;
    background: linear-gradient(180deg, #01002b -2.49%, #ededed 8.19%, #363636 96.59%, #01002b 100.1%);
    opacity: 0.4;
    filter: blur(32px);
    transform: rotate(-8deg);
}

.ellipse-2 {
    top: -182px;
    left: -170px;
    width: 994px;
    height: 555px;
    background: linear-gradient(180deg, #01002b -2.49%, #ededed 8.19%, #363636 96.59%, #01002b 100.1%);
    opacity: 0.4;
    filter: blur(104px);
    transform: rotate(-22deg);
}

.ellipse-3 {
    right: -498px;
    bottom: -1016px;
    width: 1792px;
    height: 1792px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 21.97%);
    opacity: 0.4;
}

.ellipse-4 {
    right: -280px;
    bottom: -798px;
    width: 1356px;
    height: 1356px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 35.27%);
    opacity: 0.4;
}

.subscription-card::after {
    display: none;
}

.pricing-icon-wrapper {
    width: 57px;
    height: 57px;
    background: #ffffff;
    border-radius: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-icon {
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.best-value-star {
    position: absolute;
    top: -15px; /* Offset to look better on the corner */
    left: -15px;
    width: 60px;
    height: 60px;
    background: url('../assets/images/mlkks6z9-n9lxovv.svg') no-repeat center;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    filter: none; /* Default black for mobile */
}

.star-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    line-height: 11px;
}

.pricing-features-columns {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 31px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pricing-features li p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 26px;
    color: #ffffff;
    margin: 0;
    width: 320px; /* Reduced from 433px to prevent overflow */
}

.pricing-features .check-circle {
    width: 24px; /* Reduced from 28px */
    height: 24px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-features .check-icon-inner {
    width: 12px; /* Adjusted icon size */
    height: 9px;
    background-color: #ffffff;
    mask: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L5 9L13 1' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L5 9L13 1' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.pricing-card-footer {
    position: relative;
    z-index: 10;
    width: 247px; /* Match hero button width */
    margin-top: 0;
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
}

.btn-pricing-primary {
    background: #ffffff;
    color: #080808;
}

.btn-pricing-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.expansion-card {
    background-color: #f0f0f0;
}

.features-split {
    display: flex;
    gap: 53px;
}

.program-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.program-icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bg-grey { background-color: #7f7f7f; }
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #171717; }

.program-icon {
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.program-description {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 29px;
    color: #000000;
}

.check-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.subscription-card .check-list {
    gap: 31px;
}

.check-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    border: 1.5px solid #000000; /* Thinner border like Figma */
    flex-shrink: 0;
    margin-top: 0;
    padding: 0;
}

.check-circle.bg-white {
    background-color: #ffffff;
    border-color: #ffffff;
}

.check-icon-inner {
    width: 14px;
    height: 10px;
    background-color: #000000;
    mask-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L5 9L13 1' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L5 9L13 1' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

.check-icon-inner.color-black {
    background-color: #000000 !important;
}

.check-list.text-white li .check-circle:not(.bg-white) {
    border-color: #ffffff;
}

.check-list.text-white li .check-circle:not(.bg-white) .check-icon-inner {
    background-color: #ffffff;
}

.check-list.text-white li {
    color: #ffffff;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 29px;
    color: #000000;
}

.btn-outline {
    border: 1px solid #d2d2d2;
    border-radius: 45px;
    padding: 23px 40px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #000000;
    background: transparent;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.btn-outline:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.btn-white-full {
    background: #ffffff;
    border-radius: 45px;
    padding: 24px 40px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #080808;
    text-align: center;
    width: 100%;
    transition: transform 0.3s ease;
}

.btn-white-full:hover {
    transform: scale(1.05);
}

.best-value-badge {
    position: absolute;
    top: -30px;
    left: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.best-value-badge img {
    position: absolute;
    width: 100%;
    height: 100%;
}

.badge-text {
    position: relative;
    z-index: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 11px;
    text-align: center;
    color: #000000;
    text-transform: uppercase;
}

.programs-footer-text {
    margin-top: 56px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 26px;
    color: #8d8d8d;
    text-align: center;
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ================= FAQ & CTA Section ================= */
.faq-cta-section {
    position: relative;
    width: 100%;
    background-color: #171717;
    padding: 84px 0 56px;
    overflow: hidden;
}

.rectangle24046 {
    position: absolute;
    top: 431px;
    left: -141px;
    background: #ffffff1f;
    width: 867px;
    height: 618px;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 1024px) {
    .rectangle24046 {
        width: 100%;
        height: 400px;
        left: 0;
        top: 20%;
        filter: blur(100px);
    }
}

.faq-cta-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 8vw, 161px);
    display: flex;
    flex-direction: column;
    gap: 88px;
}

.faq-top-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 0;
}

.faq-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 0 0 580px;
}

.faq-icon img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.22));
}

.faq-title {
    font-family: 'Montaga', serif;
    font-size: clamp(44px, 4vw, 70px);
    line-height: 80px;
    letter-spacing: -0.7px;
    font-weight: 400;
    background: linear-gradient(96.1deg, #7f7f7f 1.71%, #ffffff 43.71%, #ffffff 61.62%, #545454 102.5%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-list {
    flex: 1;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    border: 2px solid #292929;
    border-radius: 9px;
    overflow: hidden;
    transition: border-color 0.25s ease, background-color 0.25s ease;
    background: transparent;
}

.faq-question {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 45px;
    padding: 0 0 0 42px;
    height: 89px;
    cursor: pointer;
    background: transparent;
    border: 0;
    text-align: left;
    color: inherit;
    font: inherit;
}

.faq-question:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.45);
    outline-offset: -2px;
}

.faq-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 27px;
    font-weight: 500;
    color: #ffffff;
    opacity: 1;
    min-width: 32px;
}

.faq-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.35;
    color: #ffffff;
    flex: 1;
    max-width: 642px;
}

.faq-toggle {
    width: 96px;
    height: 89px;
    background: #292929;
    border-radius: 0 9px 9px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.faq-toggle-plus {
    position: relative;
    width: 25px;
    height: 25px;
}

.faq-toggle-plus::before,
.faq-toggle-plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #ffffff;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-toggle-plus::before {
    width: 18px;
    height: 2px;
}

.faq-toggle-plus::after {
    width: 2px;
    height: 18px;
}

.faq-item.active .faq-toggle {
    background: #b2b2b2;
}

.faq-item.active .faq-toggle-plus::after {
    opacity: 0;
}

.faq-item.active .faq-toggle-plus::before {
    background: #0f0f0f;
}

.faq-answer {
    max-height: 0;
    padding: 0 11px 0 119px; /* Aligned with text after number (42 + 32 + 45) */
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 22px 11px 33px 119px;
}

.faq-answer p {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 22px;
    line-height: 40px;
    font-weight: 300;
    color: #ffffff;
    max-width: 738px;
}

.cta-banner {
    width: 100%;
    min-height: 429px;
    background: #0000000f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 37px;
    padding: 112px 190px 112px 73px;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
    width: 100%;
}

.cta-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cta-title {
    font-family: 'Montaga', serif;
    font-size: 68px;
    line-height: 75px;
    letter-spacing: 0;
    font-weight: 400;
    background: linear-gradient(96.1deg, #7f7f7f 1.71%, #ffffff 43.71%, #ffffff 61.62%, #545454 102.5%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.cta-description {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: #ffffff;
    max-width: 842px;
    margin: 0;
}

.cta-buttons {
    display: flex;
    align-items: center;
    column-gap: 18px;
    margin-top: 0;
    flex-shrink: 0;
}

@media (max-width: 1440px) {
    .faq-cta-section {
        padding: 72px 0 52px;
    }

    .faq-cta-container {
        gap: 72px;
        padding: 0 60px;
    }

    .faq-top-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 48px;
        flex-wrap: wrap;
    }

    .faq-header {
        flex: 1;
        min-width: 450px;
        max-width: 550px;
    }

    .faq-list {
        flex: 1;
        min-width: 600px;
        max-width: 850px;
    }

    .cta-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 40px;
        flex-wrap: wrap;
    }

    .cta-text-wrapper {
        flex: 1;
        min-width: 600px;
        max-width: 780px;
    }

    .cta-buttons {
        width: auto;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 16px;
    }

    .faq-title {
        font-size: 56px;
        line-height: 64px;
        letter-spacing: -0.7px;
    }

    .faq-text {
        font-size: 20px;
    }

    .faq-number {
        font-size: 20px;
    }

    .faq-question {
        height: 72px;
        gap: 24px;
    }

    .faq-toggle {
        width: 72px;
        height: 72px;
    }

    .faq-answer p {
        font-size: 18px;
        line-height: 32px;
    }

    .cta-title {
        font-size: 56px;
        line-height: 64px;
        letter-spacing: -0.7px;
    }

    .cta-buttons {
        gap: 12px;
    }

    .cta-banner {
        padding: 56px 48px;
        min-height: auto;
    }
}

@media (max-width: 1024px) {
    .faq-cta-container {
        padding: 0 16px;
        gap: 48px;
    }

    .faq-top-content {
        flex-direction: column;
        gap: 36px;
    }

    .faq-header {
        flex: none;
        width: 100%;
    }

    .faq-title {
        font-size: 44px;
        line-height: 1.15;
    }

    .faq-question {
        padding: 0 0 0 24px;
        height: 64px;
        gap: 24px;
    }

    .faq-number {
        font-size: 16px;
        min-width: 28px;
    }

    .faq-text {
        font-size: 18px;
    }

    .faq-toggle {
        width: 64px;
        height: 64px;
    }

    .faq-answer {
        padding: 0 16px 0 48px;
    }

    .faq-item.active .faq-answer {
        max-height: 1000px;
        padding: 16px 16px 24px 48px;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .cta-banner {
        padding: 40px 24px;
        border-radius: 30px;
        background: #0000000f;
        min-height: auto;
    }

    .cta-title {
        font-size: 40px;
        line-height: 1.15;
    }

    .cta-description {
        font-size: 16px;
        line-height: 24px;
    }

    .cta-buttons {
        margin-top: 0;
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .faq-cta-section {
        padding: 64px 0 48px;
    }

    .faq-cta-container {
        gap: 64px;
        padding: 0 16px;
        width: 100%;
        overflow: visible;
    }

    .faq-header {
        flex: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 16px;
    }

    .faq-icon img {
        width: 64px;
        height: 64px;
    }

    .faq-title {
        font-size: clamp(32px, 8vw, 42px);
        line-height: 1.1;
        width: 100%;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .faq-list {
        flex: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 12px;
    }

    .faq-item {
        width: 100%;
        max-width: 100%;
    }

    .faq-question {
        padding: 0 0 0 16px;
        height: auto;
        min-height: 64px;
        gap: 12px;
        display: flex;
        align-items: center;
    }

    .faq-number {
        font-size: 16px;
        min-width: 20px;
        flex-shrink: 0;
    }

    .faq-text {
        font-size: 16px;
        flex: 1;
        white-space: normal;
        overflow-wrap: break-word;
        padding-right: 10px;
    }

    .faq-toggle {
        width: 56px;
        height: 64px;
        flex-shrink: 0;
        border-radius: 0 7px 7px 0;
    }

    .faq-toggle-plus {
        width: 16px;
        height: 16px;
    }

    .faq-toggle-plus::before {
        width: 16px;
    }

    .faq-toggle-plus::after {
        height: 16px;
    }

    .faq-answer {
        padding: 0 16px 0 48px;
        width: 100%;
        box-sizing: border-box;
    }

    .faq-item.active .faq-answer {
        max-height: 1000px;
        padding: 16px 16px 24px 48px;
    }

    .faq-answer p {
        font-size: 15px;
        line-height: 1.5;
        width: 100%;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .cta-banner {
        padding: 32px 16px;
        border-radius: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-height: auto;
    }

    .cta-content {
        gap: 24px;
        width: 100%;
        flex-direction: column;
        align-items: center; /* Changed from stretch to center */
        text-align: center;
    }

    .cta-text-wrapper {
        flex: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .cta-title {
        font-size: clamp(26px, 6.5vw, 34px); /* Slightly smaller */
        line-height: 1.2;
        width: 100%;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .cta-description {
        font-size: 15px; /* Slightly smaller */
        line-height: 1.5;
        width: 100%;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: break-word;
        text-align: center;
    }

    .cta-buttons {
        flex: none;
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 210px;
        height: 48px;
        justify-content: space-between;
        padding: 6px 6px 6px 18px;
    }

    .cta-buttons .btn .btn-label {
        font-size: 15px;
    }

    .cta-buttons .icon-circle-black, 
    .cta-buttons .icon-circle-white {
        width: 36px;
        height: 36px;
    }

    .cta-buttons .icon-circle-black img, 
    .cta-buttons .icon-circle-white img {
        width: 16px;
        height: 16px;
    }

    .programs-container {
        padding: 0 16px;
        gap: 24px;
    }

    .program-card {
        flex-direction: column;
        padding: 48px 24px;
        min-height: auto;
        gap: 32px;
        align-items: center;
        text-align: center;
    }

    .title-col {
        flex: none;
        width: 100%;
        align-items: center;
        gap: 16px;
    }

    .program-icon-circle {
        width: 60px;
        height: 60px;
    }

    .program-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .features-col {
        margin-left: 0;
        width: 100%;
    }

    .features-split {
        flex-direction: column;
        gap: 12px;
    }

    .check-list {
        gap: 12px;
    }

    .check-list li {
        font-size: 16px;
        line-height: 1.4;
        text-align: left;
        gap: 12px;
    }

    .check-circle {
        width: 24px;
        height: 24px;
    }

    .check-icon-inner {
        width: 12px;
        height: 9px;
    }

    .action-col {
        flex: none;
        width: 100%;
        align-items: center;
        margin-top: 8px;
    }

    .programs-section .btn-outline, .programs-section .btn-white-full {
        padding: 16px 32px;
        font-size: 17px;
        border-radius: 30px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.contact-section {
    position: relative;
    width: 100%;
    min-height: 1200px;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #0f0f0f;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.contact-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.5);
    z-index: 1;
}

.contact-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0) 0%, #0f0f0f 100%);
    z-index: 2;
}

.contact-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 100px clamp(40px, 10vw, 222px);
    display: flex;
    flex-direction: column;
    gap: 130px;
}

.contact-content-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.contact-header-left {
    flex: 1;
}

.contact-title-main {
    font-family: 'Montaga', serif;
    font-size: clamp(60px, 8.3vw, 160px);
    line-height: 1.06;
    color: #ffffff;
    font-weight: 400;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.title-line-1 {
    letter-spacing: -3.2px;
}

.title-line-2 {
    padding-left: clamp(100px, 17vw, 326px);
    letter-spacing: -3.2px;
}

.contact-header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 637px;
}

.contact-info-block {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.info-line {
    width: 50px;
    height: 2px;
    background: #ffffff;
    margin-top: 15px;
    flex-shrink: 0;
}

.info-text {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
}

/* Rotating Badge */
.badge-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.badge-container {
    position: relative;
    width: 201px;
    height: 201px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0f0f0f;
    border-radius: 50%;
    z-index: 1;
}

.badge-center-icon {
    width: 66px;
    height: 66px;
    z-index: 2;
}

.badge-text-curved {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.badge-text-curved svg {
    width: 100%;
    height: 100%;
    animation: rotate-badge 15s linear infinite;
}

.badge-text-curved text {
    fill: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
}

@keyframes rotate-badge {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form Card */
.contact-form-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 37px;
    padding: 50px 55px 60px;
    width: 100%;
    max-width: 794px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 50px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 44px;
    line-height: 1.2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 20px 60px 20px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #171717;
    outline: none;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 220px;
    resize: none;
    padding-top: 24px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #545454;
}

.form-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.form-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.textarea-group .form-icon {
    top: 32px;
    transform: none;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.contact-submit-btn {
    width: 100%;
    height: 60px;
    background: #ffffff;
    color: #171717;
    border: none;
    border-radius: 10px;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-submit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1440px) {
    .contact-container {
        padding: 80px 60px;
        gap: 80px;
    }

    .contact-title-main {
        font-size: 100px;
    }
}

@media (max-width: 1024px) {
    .contact-section {
        min-height: auto;
        padding: 80px 0;
    }

    .contact-container {
        flex-direction: column;
        padding: 0 40px;
        gap: 60px;
        height: auto;
    }

    .contact-content-top {
        flex-direction: column;
        gap: 40px;
    }

    .contact-header-right {
        max-width: 100%;
        align-items: flex-start;
    }

    .title-line-2 {
        padding-left: 140px;
    }

    .badge-wrapper {
        justify-content: flex-start;
    }

    .contact-form-card {
        padding: 40px 30px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 60px 24px;
        gap: 40px;
    }

    .contact-content-top {
        gap: 48px;
        position: relative;
        width: 100%;
    }

    .contact-title-main {
        font-size: clamp(42px, 12vw, 56px);
        line-height: 1.1;
        position: relative;
        z-index: 2;
        max-width: 100%;
    }

    .title-line-1 {
        display: block;
        letter-spacing: -1px;
    }

    .title-line-2 {
        display: block;
        padding-left: 100px;
        letter-spacing: -1px;
    }

    .badge-wrapper {
        position: absolute;
        top: -10px;
        right: -10px;
        width: auto;
        padding: 0;
        z-index: 5;
    }

    .badge-container {
        width: 80px;
        height: 80px;
    }

    .badge-center-icon {
        width: 26px;
        height: 26px;
    }

    .badge-text-curved {
        width: 100px;
        height: 100px;
    }

    .badge-text-curved text {
        font-size: 18px;
    }

    .contact-info-block {
        margin-top: 0;
        gap: 12px;
    }

    .info-line {
        width: 30px;
        margin-top: 12px;
    }

    .info-text {
        font-size: 15px;
        line-height: 1.6;
        opacity: 0.9;
    }

    .contact-form-card {
        padding: 40px 24px;
        border-radius: 37px;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        max-width: 348px;
        width: 100%;
        margin: 0 auto;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .form-title {
        font-size: 34px;
        margin-bottom: 36px;
    }

    .contact-form {
        gap: 18px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 18px 50px 18px 20px;
        border-radius: 12px;
    }

    .form-group textarea {
        min-height: 180px;
    }

    .contact-submit-btn {
        height: 56px;
        font-size: 17px;
        border-radius: 12px;
        margin-top: 10px;
    }
}

@media (max-width: 1600px) {
    .programs-container {
        padding: 0 40px;
    }

    .program-card {
        padding: 30px 40px;
    }

    .title-col {
        flex: 0 0 180px;
    }

    .desc-col {
        flex: 0 0 220px;
    }

    .action-col {
        flex: 0 0 240px;
    }

    .program-title {
        font-size: 38px;
        line-height: 44px;
    }
}

/* Large desktop: Figma-like sizing above 1440 */
@media (min-width: 1441px) {
    .showcase-container {
        max-width: min(1200px, calc(100vw - 32px));
    }

    .solution-container {
        padding: 96px clamp(24px, 8.4vw, 161px);
        grid-template-columns: minmax(0, 766px) minmax(0, 919px);
        gap: clamp(24px, 3vw, 56px);
    }

    .solution-content {
        max-width: 766px;
        gap: 46px;
    }

    .solution-title {
        font-size: 70px;
        line-height: 80px;
    }

    .solution-subtitle {
        font-size: 20px;
        line-height: 18px;
    }

    .solution-body {
        gap: 27px;
    }

    .solution-description, .feature-text, .solution-highlight {
        font-size: 20px;
        line-height: 32px;
    }

    .feature-row {
        gap: 48px;
    }

    .feature-icon {
        width: 46px;
        height: 46px;
    }

    .solution-icon-check {
        width: 30px !important;
        height: 30px !important;
    }

    .solution-icon-user {
        width: 24px !important;
        height: 26px !important;
    }

    .solution-btn {
        margin-top: 32px;
        width: 247px !important;
        height: 56px !important;
    }

    .solution-btn .btn-label {
        font-size: 18px !important;
    }

    .solution-visual {
        max-width: 919px;
        aspect-ratio: 919 / 740;
    }

    .cta-title {
        font-size: clamp(40px, 3.2vw, 64px);
        line-height: 1.1;
        max-width: 1200px;
    }

    .cta-text-wrapper {
        max-width: 1200px;
    }

    .how-it-works-content {
        padding: 65px clamp(20px, 7.5vw, 144px);
    }

    .why-3sl-container {
        padding: 65px clamp(20px, 8vw, 154px);
    }

    .programs-container {
        padding: 0 clamp(20px, 4.8vw, 93px);
        gap: 40px;
    }

    .program-card {
        min-height: 250px;
        padding: 38px 54px;
        gap: 20px;
    }

    .title-col {
        flex: 0 0 230px;
    }

    .desc-col {
        flex: 0 0 275px;
    }

    .action-col {
        flex: 0 0 320px;
    }

    .program-title {
        font-size: 45px;
        line-height: 52px;
    }
}

/* 1440 and below */
@media (max-width: 1440px) {
    .connecting-vector {
        max-width: min(1281px, calc(100vw - 64px));
    }

    .the-problem-description, .solution-description, .step-description, .benefit-text, .solution-highlight, .card-subtitle, .feature-text, .what-we-do-subtitle, .the-problem-subtitle, .solution-subtitle, .why-3sl-subtitle {
        font-size: 17px;
        line-height: 26px;
    }

    .how-it-works-content, .the-problem-content, .why-3sl-container {
        padding: 65px 32px;
    }

    .what-we-do-content {
        flex: 1;
        max-width: 850px;
        display: flex;
        flex-direction: column;
        gap: 24px;
        z-index: 2;
        padding: 0 40px; /* Added side padding as requested */
    }

    .what-we-do-description {
        font-size: 20px;
        line-height: 32px;
        max-width: 600px; /* Added max-width for text wrapping */
    }

    .visual-tags {
        left: 20px;
        bottom: 20px;
        gap: 8px;
        flex-wrap: nowrap; /* Force single line */
    }

    .tag-pill {
        height: 38px;
        gap: 8px;
        padding: 0 12px !important;
        width: auto !important; /* Allow width to be based on content */
        min-width: 0 !important;
    }

    .tag-text {
        font-size: 14px; /* Reduced font size to ensure they fit */
        line-height: 20px;
    }

    .tag-dot {
        width: 10px;
        height: 10px;
    }

    .the-problem-section {
        min-height: 680px;
    }

    .the-problem-content {
        gap: 30px;
        padding: 56px clamp(16px, 4vw, 72px);
    }

    .the-problem-description {
        gap: 24px;
    }

    .problem-list {
        gap: 12px;
    }

    .how-it-works-title {
        font-size: 48px;
        line-height: 1.15;
        margin: 20px 0 36px;
    }

    .steps-timeline {
        gap: 44px;
    }

    .timeline-line {
        left: 42px;
        top: 84px;
        bottom: 84px;
    }

    .step-icon-wrapper {
        width: 84px;
        height: 84px;
    }

    .step-icon img {
        width: 32px;
        height: 32px;
    }

    .step-content {
        gap: 12px;
    }

    .step-title {
        font-size: 20px;
        line-height: 30px;
    }

    .step-description {
        font-size: 16px;
        line-height: 25px;
    }

    .why-3sl-container {
        padding: 56px 32px;
    }

    .why-3sl-title {
        font-size: 46px;
        line-height: 56px;
        margin-bottom: 56px;
    }

    .why-3sl-cards {
        gap: 28px;
        max-width: 1320px;
    }

    .why-card {
        padding: 42px 30px;
        gap: 22px;
    }

    .card-title {
        font-size: 34px;
        line-height: 44px;
    }

    .benefit-list {
        gap: 16px;
    }

    .benefit-item {
        gap: 14px;
    }

    .benefit-icon {
        width: 24px;
        height: 24px;
    }

    .solution-container {
        padding: 40px 60px; /* Increased horizontal padding */
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 24px;
    }

    .solution-content {
        max-width: 560px;
        gap: 18px;
    }

    .solution-header {
        gap: 16px; /* Reduced from 33px */
    }

    .solution-title {
        font-size: 48px; /* Reduced from 70px */
        line-height: 56px;
    }

    .solution-subtitle {
        font-size: 16px; /* Reduced from 20px */
    }

    .solution-body {
        gap: 20px; /* Reduced from 27px */
    }

    .solution-description, .feature-text, .solution-highlight {
        font-size: 16px; /* Reduced from 17px/20px */
        line-height: 24px;
    }

    .feature-row {
        gap: 24px; /* Reduced from 48px */
    }

    .feature-icon {
        width: 36px; /* Reduced from 46px */
        height: 36px;
    }

    .solution-icon-check {
        width: 20px !important;
        height: 20px !important;
    }

    .solution-icon-user {
        width: 18px !important;
        height: 20px !important;
    }

    .solution-btn {
        margin-top: 48px;
        width: 214px !important;
        height: 46px !important;
    }

    .solution-btn .btn-label {
        font-size: 14px !important;
    }

    .solution-header, .solution-features {
        margin-right: 0;
    }

    .solution-visual {
        width: 100%;
        max-width: 620px;
        height: auto;
        aspect-ratio: 919 / 740;
    }

    .solution-image-wrapper {
        width: 100%;
        height: 100%;
    }

    /* Program Section */
    .programs-container {
        padding: 0 20px;
        align-items: center;
        gap: 24px;
    }

    .program-card {
        height: auto !important;
        min-height: 200px;
        padding: 26px 28px !important;
        gap: 14px !important;
        overflow: visible;
    }

    .pilot-card,
    .subscription-card,
    .expansion-card {
        max-width: 100%;
        width: 100%;
    }

    .program-title {
        font-size: 32px; /* Slightly reduced */
        line-height: 36px;
        margin-top: 0;
    }

    .program-description {
        font-size: 15px; /* Reduced to 15px */
        line-height: 24px;
    }

    .check-list li {
        font-size: 15px; /* Reduced to 15px */
        line-height: 22px;
        gap: 10px; /* Tighter gap */
        align-items: flex-start;
    }

    .check-circle {
        width: 24px; /* Slightly smaller icon container */
        height: 24px;
        margin-top: 0; /* Reset alignment */
    }

    .check-icon-inner {
        width: 12px;
        height: 8px;
    }

    .title-col {
        flex: 0 0 170px;
        justify-content: space-between;
    }

    .desc-col {
        flex: 0 0 210px;
        margin-left: 8px;
        justify-content: end;
    }

    .features-col {
        margin-left: 10px;
        justify-content: center;
    }

    .action-col {
        flex: 0 0 200px;
        margin-left: 8px;
        justify-content: flex-end;
    }

    .programs-section .btn-outline, .programs-section .btn-white-full {
        font-size: 16px;
        padding: 16px 20px;
    }
}

@media (max-width: 1200px) {
    .what-we-do-section {
        padding: 0 16px;
    }

    .what-we-do-container {
        gap: 36px;
        padding: 48px 0;
        flex-direction: column-reverse;
    }

    .what-we-do-content,
    .what-we-do-visual {
        max-width: 100%;
        width: 100%;
    }

    .what-we-do-visual {
        justify-content: center;
    }

    .visual-card {
        max-width: 760px;
        width: 100%;
    }

    .the-problem-section {
        min-height: 620px;
    }

    .the-problem-visual {
        width: 45%;
    }

    .the-problem-content {
        width: 55%;
        padding: 48px 16px;
        gap: 24px;
    }

    .how-it-works-content {
        width: 55%;
        padding: 48px 16px;
    }

    .how-it-works-visual {
        width: 45%;
    }

    .how-it-works-title {
        font-size: 42px;
        line-height: 1.15;
    }

    .why-3sl-cards {
        flex-direction: column;
        max-width: 820px;
        gap: 24px;
    }

    .program-card {
        flex-wrap: wrap;
    }

    .action-col {
        flex: 1 0 100%;
        margin-left: 0;
        align-items: flex-start;
    }

    .btn-outline,
    .btn-white-full {
        min-width: 220px;
    }

    .solution-section {
        min-height: auto;
    }

    .solution-container {
        padding: 32px 16px 40px;
        gap: 24px;
        grid-template-columns: minmax(0, 1fr);
    }

    .solution-content,
    .solution-visual {
        max-width: 100%;
    }

    .solution-content {
        padding: 0;
        gap: 18px;
    }

    .solution-header {
        gap: 14px;
    }

    .solution-visual {
        aspect-ratio: 919 / 740;
    }

    .solution-blur-bg {
        display: none;
    }

    .solution-btn {
        margin-top: 40px;
    }
}

@media (max-width: 1300px) {
    .program-card {
        gap: 15px;
    }

    .features-col {
        margin-left: 15px;
    }

    .features-split {
        gap: 20px;
    }

    .check-list li {
        font-size: 15px;
        line-height: 24px;
    }

    .program-description {
        font-size: 15px;
        line-height: 24px;
    }

    .program-title {
        font-size: 30px;
        line-height: 36px;
    }
}

@media (max-width: 1024px) {
    .what-we-do-section {
        padding: 0;
    }

    .what-we-do-container {
        flex-direction: column-reverse;
        text-align: left;
        gap: 60px;
        padding: 65px 16px;
    }

    .what-we-do-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }

    .what-we-do-visual {
        justify-content: center;
        width: 100%;
    }

    /* The Problem Mobile */
    .the-problem-section {
        flex-direction: column;
        min-height: auto;
        padding: 0; /* Remove padding to allow image to be full width */
    }

    .the-problem-container {
        flex-direction: column;
        padding: 0;
        gap: 0;
        width: 100%;
        max-width: 100%;
        order: 2; /* Content container comes second */
    }

    .the-problem-visual {
        position: relative;
        width: 100vw !important;
        margin-left: 50% !important;
        transform: translateX(-50%) !important;
        min-height: 50vh;
        height: auto;
        order: 1;
        background-image: url('../assets/images/the-problem-bg.svg');
        background-size: cover;
        background-position: center left;
        background-repeat: no-repeat;
        opacity: 0.9;
        display: block;
    }

    .the-problem-content {
        width: 100%;
        padding: 65px 16px;
        gap: 24px;
        justify-content: flex-start;
    }

    /* Solution Mobile */
    .solution-section {
        min-height: auto;
        padding: 0;
    }

    .solution-container {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 40px;
    }

    .solution-content {
        width: 100%;
        padding: 65px 16px;
        gap: 32px;
        order: 2;
    }

    .solution-visual {
        width: 100%;
        order: 1;
    }

    .solution-image-wrapper {
        max-width: 100%;
        aspect-ratio: 919 / 740;
    }

    .solution-header {
        gap: 24px;
    }

    .solution-body {
        gap: 20px;
    }

    .solution-title {
        font-family: 'Montaga', serif;
        font-size: 45px;
        line-height: 56px;
        font-weight: 400;
        letter-spacing: -0.45px;
    }

    .solution-subtitle {
        font-size: 16px;
        line-height: 18px;
        font-weight: 600;
    }

    .solution-description {
        font-size: 18px;
        line-height: 28px;
        font-weight: 400;
    }

    .solution-features {
        gap: 16px;
    }

    .feature-row {
        gap: 24px;
    }

    .feature-text {
        font-size: 18px;
        line-height: 26px;
        font-weight: 400;
    }

    .solution-highlight {
        font-size: 18px;
        line-height: 28px;
        font-weight: 500;
    }

    /* How It Works Mobile */
    .how-it-works-section {
        padding: 0;
        flex-direction: column;
    }

    .how-it-works-container {
        flex-direction: column;
        padding: 0;
        width: 100%;
    }

    .how-it-works-content {
        width: 100%;
        padding: 65px 16px;
        order: 2;
    }

    .how-it-works-title {
        margin: 20px 0 40px;
        line-height: 1.2;
    }

    .steps-timeline {
        gap: 40px;
    }

    .timeline-line {
        left: 32px;
        top: 46px; /* Lifted up 10px more */
        bottom: 110px; /* Lifted up 10px + 10px shorter */
    }

    .step-icon-wrapper {
        width: 64px;
        height: 64px;
    }

    .step-icon img {
        width: 24px;
        height: 24px;
    }

    .step-title {
        font-size: 18px;
        line-height: 1.2;
    }

    .step-description {
        font-size: 15px;
        line-height: 24px;
        font-weight: 400;
    }

    .how-it-works-visual {
        position: relative;
        width: 100%;
        height: 400px;
        order: 1;
        background-size: cover;
        background-position: center;
    }

    .how-it-works-btn {
        margin: 40px auto 0;
    }

    .solution-btn {
        margin: 40px auto 0;
    }

    /* Why 3SL Mobile */
    .why-3sl-section {
        padding: 0;
    }

    .card-glow {
        display: none;
    }

    .why-3sl-container {
        padding: 65px 16px;
    }

    .why-3sl-title {
        font-size: 34px;
        line-height: 44px;
        margin-bottom: 40px;
        font-weight: 400;
    }

    .why-3sl-cards {
        flex-direction: column;
        gap: 30px;
    }

    .why-card {
        padding: 40px 24px;
        gap: 24px;
    }

    .card-title {
        font-size: 28px;
        line-height: 36px;
        font-weight: 400;
    }

    .card-subtitle {
        font-size: 17px;
        font-weight: 400;
    }

    .benefit-text {
        font-size: 17px;
        font-weight: 400;
    }

    /* Programs Mobile */
    .programs-container {
        padding: 0 16px;
        gap: 40px;
    }

    .program-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 24px;
        gap: 30px;
        min-height: auto;
    }

    .subscription-card {
        background: #1d1d1d !important;
        padding: 60px 24px !important; /* More padding top/bottom like Figma */
        height: auto !important;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center; /* Center children for mobile */
        text-align: center;
    }

    .subscription-card .title-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 32px;
        width: 100%;
    }

    .subscription-card .program-title {
        font-size: 32px; /* Larger like Figma */
        line-height: 1.1;
        margin-top: 24px;
        text-align: center;
        color: #ffffff !important;
    }

    .subscription-card .features-col {
        width: 100% !important;
        margin-top: 0;
    }

    .subscription-card .pricing-features {
        gap: 20px; /* Tighter gap like Figma */
    }

    .subscription-card .pricing-features li {
        text-align: left;
        align-items: flex-start;
    }

    .subscription-card .pricing-features li p {
        font-size: 17px; /* Exact Figma size */
        line-height: 1.4;
        color: #ffffff;
        width: 100%;
    }

    .subscription-card .best-value-star {
        left: auto !important;
        right: 12px !important;
        top: 12px !important;
        width: 64px;
        height: 64px;
    }

    .subscription-card .pricing-card-bg {
        display: block !important;
        background: none !important;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .subscription-card .pricing-card-bg::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 867px;
        height: 618px;
        background: #ffffff1f;
        filter: blur(150px);
        border-radius: 50%;
        pointer-events: none;
        z-index: -1;
    }

    .subscription-card .pricing-ellipse {
        display: none !important; /* Hide individual ellipses in favor of the single large glow */
    }

    .subscription-card .program-col.action-col {
        width: 100%;
        margin-top: 48px; /* More space before button */
    }

    .subscription-card .btn-pricing-primary {
        width: 100%;
        max-width: none;
        height: 64px; /* Taller button like Figma */
        border-radius: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 19px; 
        font-weight: 600;
        padding: 0;
        position: relative;
        background: #ffffff;
        color: #080808;
    }

    .subscription-card .btn-pricing-primary::after {
        content: '';
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        background-color: #0f0f0f;
        border-radius: 50%;
        background-image: url('../assets/images/icon-arrow-white.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: 20px;
    }

    .expansion-card .program-line-text {
        font-size: 15px;
        line-height: 24px;
        color: #0f0f0f; /* Keep dark for expansion card */
    }

    .program-col {
        flex: 0 0 auto !important;
        width: 100% !important;
        margin-left: 0 !important;
        justify-content: flex-start !important;
        padding-bottom: 0 !important;
        align-self: flex-start !important; /* Reset alignment for stacked mobile view */
    }

    .program-title {
        font-size: 32px;
        line-height: 1.2;
        margin-top: 16px;
    }

    .program-description {
        max-width: 100%;
        font-size: 17px;
    }

    .features-split {
        flex-direction: column;
        gap: 20px;
    }

    .check-list li {
        font-size: 17px;
        line-height: 24px;
    }

    .action-col {
        align-items: center !important;
    }

    .programs-section .btn-outline, .programs-section .btn-white-full {
        width: 100%;
        min-width: unset;
        padding: 18px 24px;
    }

    .best-value-badge {
        top: -20px;
        left: 20px;
    }

    .programs-footer-text {
        font-size: 11px;
        line-height: 1.5;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .visual-tags {
        width: 100%;
        order: 1;
    }

    .solution-image-wrapper {
        max-width: 100%;
        aspect-ratio: 919 / 740;
    }

    .visual-tags {
        max-width: 100%;
    }

    .visual-tags {
        justify-content: flex-start;
        left: 20px;
        right: 20px;
        bottom: 20px;
        padding: 0;
    }

    .hero-subtitle {
        padding: 0 20px;
    }

    .navbar {
        width: 95%;
        padding: 12px 20px;
    }

    .navbar-container {
        position: relative;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo img {
        width: 180px;
    }

    .nav-actions .btn-primary {
        display: none;
    }

    .nav-actions {
        margin-left: auto;
    }

    .btn-primary {
        width: 180px;
        height: 48px;
        padding: 6px 6px 6px 24px;
        font-size: 16px;
    }

    .nav-links {
        display: none;
        /* Hide links on tablet/mobile */
    }

    .icon-circle {
        width: 32px;
        height: 32px;
    }

    .icon-circle img {
        width: 16px;
        height: 16px;
    }

    .showcase-container {
        max-width: min(1200px, calc(100vw - 64px));
    }
}

@media (max-width: 900px) {
    .connecting-vector {
        top: 500px;
        max-width: 90%;
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .logo img {
        width: 160px;
    }

    .what-we-do-section {
        padding: 40px 20px 80px; /* Reduced top padding from 80px to 40px */
    }

    .section-label {
        margin-bottom: 24px;
    }

    .section-label .label-text {
        font-size: 12px;
    }

    .what-we-do-title {
        font-family: 'Montaga', serif;
        font-size: 45px;
        line-height: 56px;
        font-weight: 400;
        letter-spacing: -0.45px;
        margin-bottom: 32px;
        /* leading-trim: both; text-edge: cap; - not yet widely supported */
    }

    .what-we-do-description {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 20px;
        line-height: 32px;
        font-weight: 400;
        color: #FFFFFF;
    }

    .the-problem-title {
        font-family: 'Montaga', serif;
        font-size: 45px;
        line-height: 56px;
        font-weight: 400;
        letter-spacing: -0.45px;
        margin-bottom: 32px;
    }

    .the-problem-description {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 20px;
        line-height: 32px;
        font-weight: 400;
        color: #FFFFFF;
    }

    .visual-tags {
        justify-content: flex-start;
        left: 20px;
        right: 20px;
        bottom: 20px;
        padding: 0;
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tag-pill {
        width: 32px !important;
        height: 32px !important;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        border-radius: 50%;
    }

    .tag-dot {
        display: none;
    }

    .tag-icon {
        display: block;
        margin: 0;
        filter: brightness(0) saturate(100%) invert(5%) sepia(5%) saturate(1000%) hue-rotate(200deg); /* Makes them near black #0f0f0f */
    }

    .tag-text {
        display: none;
    }

    .hero-section {
        padding-top: 140px; /* Space for fixed navbar */
        padding-bottom: 0;
    }

    .hero-icon {
        margin-top: 0;
        margin-bottom: 32px;
    }

    .hero-icon img {
        width: 118px; /* Exact Figma width */
        height: 118px; /* Exact Figma height */
    }

    .hero-title {
        font-size: 47px; /* Exact Figma font-size */
        line-height: 48px; /* Exact Figma line-height */
        letter-spacing: 0;
        max-width: 360px; /* Exact Figma width */
        margin-bottom: 12px;
        background: linear-gradient(103.4deg, #7f7f7f 3.24%, #ffffff 44.09%, #ffffff 61.52%, #545454 101.27%);
        -webkit-background-clip: text;
        background-clip: text;
    }

    .hero-subtitle {
        font-size: 20px; /* Exact Figma font-size */
        line-height: 28px; /* Exact Figma line-height */
        max-width: 420px; /* Further extended to ensure lines fit on mobile */
        margin-bottom: 51px;
        color: #f5f5f5;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 260px; /* Reduced container width */
        gap: 14px; /* Tighter gap */
        margin-bottom: 80px; 
    }

    .btn-hero-white {
        width: 100%;
        max-width: 210px; /* More compact width */
        padding: 6px 6px 6px 18px;
        height: 48px; /* Sleeker height */
        justify-content: space-between;
        gap: 10px;
    }

    .btn-hero-white .btn-label {
        font-size: 15px; /* Slightly smaller text */
        flex: 1;
        text-align: center;
    }

    .btn-hero-outline {
        width: 100%;
        max-width: 210px; /* More compact width */
        padding: 5px 5px 5px 18px;
        height: 48px; /* Sleeker height */
        justify-content: space-between;
        gap: 10px;
    }

    .btn-hero-outline .btn-label {
        font-size: 15px; /* Slightly smaller text */
        flex: 1;
        text-align: center;
    }

    .icon-circle-black, .icon-circle-white {
        width: 36px; /* Smaller icon circle */
        height: 36px;
        flex-shrink: 0;
    }

    .icon-circle-black img, .icon-circle-white img {
        width: 16px; /* Smaller arrow icon */
        height: 16px;
    }

    .features-section {
        padding-top: 20px; /* Further reduced to lift everything up */
        padding-bottom: 40px; /* Explicitly reduced bottom padding for mobile */
        padding-left: 15px;
        padding-right: 15px;
        --preview-height: auto; 
    }

    .showcase-container {
        padding: 40px 20px; /* Increased padding to prevent mask/border clipping */
        max-width: 100%;
        margin-top: 60px;
        margin-bottom: 20px;
    }

    .mask-frame {
        width: 100%;
        height: auto;
        border-radius: 15px;
    }

    .frame-mode-vr {
        aspect-ratio: 1267 / 720;
        width: 100%;
        max-width: none;
    }

    .frame-mode-mobile {
        aspect-ratio: 402 / 586;
        max-width: 320px; /* More compact on mobile */
    }

    .frame-mode-presentation {
        aspect-ratio: 923 / 584;
    }

    .connecting-vector {
        top: 480px; /* Lifted up on mobile */
        max-width: 309px; /* Exact Figma width for Vector 3 */
        aspect-ratio: 309 / 522;
        opacity: 0.9;
        height: auto;
        width: 100%;
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.25));
    }

    .features-header {
        margin-bottom: 0; /* Increased to add more space over the preview */
    }

    .features-title {
        line-height: 1.1; 
        font-size: 34px; /* Larger to match Figma image 2 */
        letter-spacing: -0.5px; 
        position: relative;
        z-index: 5;
        padding: 0;
        max-width: 300px; 
        width: 100%;
        margin: 0 auto;
        transform: translateY(30px);
        margin-bottom: 120px;
    }

    /* Keep toggle controls horizontal on mobile */
    .toggle-btn span {
        display: none; /* Hide text on mobile as requested */
    }
    
    .glow-effect {
        left: -20%;
    }
    
    .controls-wrapper {
        border-radius: 100px;
        padding: 6px 12px; /* Horizontal padding for the row of circles */
        width: fit-content; /* Fit to buttons */
        max-width: 90%;
        background: transparent;
        backdrop-filter: blur(10px);
        margin: -10px auto 0; /* Centered */
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .toggle-controls {
        display: flex;
        flex-direction: row; 
        flex-wrap: nowrap;
        width: 100%;
        gap: 8px;
        justify-content: center;
        align-items: center;
    }

    .toggle-btn {
        width: 44px; /* Fixed width for icons */
        height: 44px; /* Fixed height for icons */
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        border-radius: 50%; /* Circle buttons for icons */
    }

    .toggle-btn img {
        height: 20px; /* Standard icon size */
        width: 20px; /* Ensure uniform size */
        object-fit: contain;
        margin: 0;
    }

    .toggle-btn img[src*="icon-vr.svg"] {
        width: 24px;
        height: auto;
    }

    /* Reduce outline space between mask and border on mobile */
    .goggles-border,
    .mobile-border,
    .presentation-border {
        top: -8px;
        left: -8px;
        width: calc(100% + 16px);
        height: calc(100% + 16px);
    }

    .frame-mode-vr .goggles-border {
        top: -10px;
        left: -10px;
        width: calc(100% + 20px);
        height: calc(100% + 20px);
        opacity: 0.6;
    }

    .frame-mode-vr .showcase-image {
        -webkit-mask-position: center 2px;
        mask-position: center 2px;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        width: 100%;
        height: 100%;
    }

    .local-file-mode .frame-mode-vr .showcase-image {
        -webkit-mask-position: center 2px !important;
        mask-position: center 2px !important;
        -webkit-mask-size: 100% 100% !important;
        mask-size: 100% 100% !important;
        width: 100% !important;
        height: 100% !important;
    }

    .showcase-container {
        padding: 50px 10px 20px; /* Increased top padding to lift image down */
    }
}

@media (max-width: 480px) {
    .hero-icon img {
        width: 100%;
    }

    .navbar {
        top: 15px;
        padding: 8px 10px 8px 15px;
        width: 92%;
    }

    .logo img {
        width: 150px;
    }

    .btn-primary {
        width: 140px;
        height: 40px;
        padding: 4px 4px 4px 15px;
        font-size: 13px;
        gap: 6px;
    }

    .icon-circle {
        width: 32px;
        height: 32px;
    }

    .menu-btn {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 360px) {
    .logo img {
        width: 130px;
    }

    .btn-primary {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
    }

    .btn-label {
        display: none;
    }

    .btn-primary .icon-circle {
        margin: 0;
    }
}

/* Final pricing override for desktop 1440 and below */
@media (min-width: 1025px) and (max-width: 1440px) {
    .programs-section {
        padding: 56px 0 64px;
    }

    .programs-section .programs-container {
        max-width: 1440px;
        padding: 0 clamp(24px, 3.8vw, 56px);
        gap: 24px;
        align-items: stretch;
    }

    .programs-section .program-card {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        min-height: 220px;
        padding: 30px 32px;
        gap: 16px;
        border-radius: 22px;
    }

    .programs-section .program-col {
        width: auto;
        max-width: none;
        margin: 0 !important;
        align-items: flex-start;
        text-align: left;
        justify-content: center !important;
        flex: initial !important;
    }

    .programs-section .title-col {
        flex: 0 0 220px !important;
        gap: 18px;
    }

    .programs-section .desc-col {
        flex: 0 0 280px !important;
        margin-left: 24px !important;
        justify-content: flex-end !important;
    }

    .programs-section .features-col {
        flex: 1 !important;
        margin-left: 24px !important;
    }

    .programs-section .action-col {
        flex: 0 0 230px !important;
        margin-left: 24px !important;
        align-items: flex-end;
        justify-content: flex-end !important;
    }

    .programs-section .program-title {
        font-size: 36px;
        line-height: 40px;
    }

    .programs-section .program-description,
    .programs-section .check-list li,
    .programs-section .pricing-features li p {
        font-size: 16px;
        line-height: 25px;
    }

    .programs-section .check-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .programs-section .pricing-features-columns,
    .programs-section .features-split {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 24px !important;
    }

    .programs-section .pricing-features {
        width: 100%;
        align-items: flex-start;
        gap: 18px;
    }

    .programs-section .pricing-features li p {
        width: auto;
        max-width: 290px;
        text-align: left;
    }

    .programs-section .pricing-card-footer {
        width: 220px;
        margin-left: auto;
    }

    .programs-section .btn-outline,
    .programs-section .btn-white-full,
    .programs-section .btn-pricing-primary {
        width: 100%;
        max-width: 220px;
        height: 54px;
        padding: 0 18px;
        font-size: 16px;
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-weight: 600;
        letter-spacing: -0.01em;
    }

    .programs-section .programs-footer-text {
        margin-top: 8px;
        font-size: 11px;
        line-height: 1.5;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Programs desktop sync with Figma variants (1440 and 1920) */
@media (min-width: 1025px) {
    .programs-section {
        padding: 56px 0 72px;
    }

    .programs-section .programs-container {
        max-width: 1744px;
        padding: 0 clamp(28px, 4.8vw, 93px);
        gap: clamp(24px, 1.7vw, 32px);
    }

    .programs-section .program-card {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        min-height: clamp(220px, 14.9vw, 286px);
        padding: clamp(24px, 2vw, 38px) clamp(28px, 2.2vw, 42px) clamp(24px, 2vw, 39px) clamp(34px, 2.8vw, 54px);
        gap: clamp(14px, 1.2vw, 20px);
        border-radius: 23px;
        overflow: visible;
    }

    .programs-section .program-col {
        margin: 0 !important;
        max-width: none;
        align-items: flex-start;
        text-align: left;
        justify-content: center !important;
        flex: initial !important;
    }

    .programs-section .title-col {
        flex: 0 0 clamp(210px, 14.8vw, 303px) !important;
        gap: clamp(16px, 1.5vw, 27px);
    }

    .programs-section .desc-col {
        flex: 0 0 clamp(230px, 15vw, 320px) !important;
        margin-left: clamp(16px, 1.6vw, 32px) !important;
        justify-content: flex-end !important;
    }

    .programs-section .features-col {
        flex: 1 1 auto !important;
        margin-left: clamp(16px, 1.6vw, 32px) !important;
        min-width: 0;
    }

    .programs-section .action-col {
        flex: 0 0 clamp(220px, 15vw, 300px) !important;
        margin-left: auto !important;
        align-items: flex-end;
        justify-content: flex-end !important;
    }

    .programs-section .program-title {
        font-size: clamp(35px, 2.3vw, 45px);
        line-height: clamp(38px, 2.7vw, 52px);
        letter-spacing: -0.5px;
    }

    .programs-section .program-description,
    .programs-section .program-line-text,
    .programs-section .pricing-features li p {
        font-size: clamp(15px, 0.95vw, 19px);
        line-height: clamp(23px, 1.4vw, 29px);
        font-weight: 500;
    }

    .programs-section .program-description {
        max-width: clamp(230px, 15vw, 320px);
    }

    .programs-section .check-list,
    .programs-section .pricing-features {
        gap: clamp(15px, 1.3vw, 31px);
    }

    .programs-section .check-list li,
    .programs-section .pricing-features li {
        gap: 14px;
        font-size: clamp(16px, 1vw, 19px);
        line-height: clamp(24px, 1.5vw, 29px);
        align-items: flex-start;
    }

    .programs-section .program-line-text {
        display: block;
        max-width: none;
    }

    .programs-section .pricing-features li p {
        width: auto;
        max-width: clamp(300px, 22vw, 436px);
        margin: 0;
    }

    .programs-section .pricing-features-columns,
    .programs-section .features-split {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: clamp(18px, 1.6vw, 30px) !important;
    }

    .programs-section .pricing-features,
    .programs-section .features-split .check-list {
        flex: 1 1 0;
        min-width: 0;
    }

    .programs-section .check-circle,
    .programs-section .pricing-features .check-circle {
        width: 24px;
        height: 24px;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .programs-section .check-icon-inner,
    .programs-section .pricing-features .check-icon-inner {
        width: 12px;
        height: 9px;
    }

    .programs-section .btn-outline,
    .programs-section .btn-pricing-primary {
        width: 100%;
        max-width: clamp(220px, 15vw, 320px);
        height: clamp(58px, 3.8vw, 77px);
        padding: 0 clamp(18px, 1.6vw, 24px);
        border-radius: 45px;
        font-size: clamp(15px, 0.95vw, 19px);
        font-weight: 600;
    }

    .programs-section .programs-footer-text {
        margin-top: clamp(10px, 1.2vw, 16px);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(16px, 1vw, 19px);
        line-height: clamp(24px, 1.4vw, 29px);
    }

    .programs-section .subscription-card .pricing-ellipse {
        display: none;
    }

    .programs-section .subscription-card {
        border-radius: 23px;
    }

    .programs-section .subscription-card .pricing-card-bg {
        z-index: 0;
        border-radius: inherit;
        overflow: hidden;
    }

    .programs-section .subscription-card .program-col {
        position: relative;
        z-index: 2;
    }

    .programs-section .best-value-star {
        background-image: url('../assets/images/best-valuelight.svg');
    }

    .programs-section .best-value-star .star-text {
        color: #0f0f0f;
    }

    .programs-section .subscription-card .best-value-star {
        z-index: 3;
        display: flex;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .programs-section .title-col {
        flex-basis: 220px !important;
    }

    .programs-section .desc-col {
        flex-basis: 250px !important;
    }

    .programs-section .action-col {
        flex-basis: 220px !important;
    }

    .programs-section .program-title {
        font-size: 35px;
        line-height: 38px;
    }

    .programs-section .program-description,
    .programs-section .program-line-text,
    .programs-section .pricing-features li p {
        font-size: 16px;
        line-height: 24px;
    }

    .programs-section .pricing-features li p {
        max-width: 340px;
    }

    .programs-section .pricing-features-columns,
    .programs-section .features-split {
        gap: 18px !important;
    }
}

@media (min-width: 1441px) and (max-width: 1920px) {
    .programs-section .subscription-card .pricing-card-bg {
        background-image: url('../assets/images/mlk1iq3n-tslk92y.svg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        opacity: 1;
        display: block;
    }

    .programs-section .best-value-star {
        display: flex;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .programs-section .subscription-card .pricing-card-bg {
        background-image: url('../assets/images/mlk1z4wm-zhm0g5h.svg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        opacity: 1;
        display: block;
    }

    .programs-section .best-value-star {
        display: flex;
    }
}

/* Programs buttons: consistent CTA typography */
.programs-section {
    --programs-btn-font-size: 18px;
    --programs-btn-line-height: 26px;
}

.programs-section .program-card .btn {
    font-family: 'Inter', sans-serif;
    font-size: var(--programs-btn-font-size);
    line-height: var(--programs-btn-line-height);
    font-weight: 600;
}

/* Navbar responsive desktop scaling (1025px - 1920px) */
@media (min-width: 1025px) and (max-width: 1920px) {
    .navbar {
        width: min(95%, calc(100vw - 28px));
        max-width: 1300px;
        padding: clamp(8px, 0.75vw, 12px) clamp(12px, 1.2vw, 20px) clamp(8px, 0.75vw, 12px) clamp(16px, 2vw, 40px);
    }

    .navbar-container {
        flex-wrap: nowrap;
        gap: clamp(8px, 0.9vw, 12px);
    }

    .logo img {
        width: clamp(145px, 10.8vw, 205px);
    }

    .nav-links {
        flex-wrap: nowrap;
        gap: clamp(10px, 1.5vw, 35px);
        margin-right: clamp(10px, 1.7vw, 40px);
        min-width: 0;
    }

    .nav-links a {
        /* 18px at 1920px, scales down on smaller desktop widths */
        font-size: clamp(14px, calc(12px + 0.3125vw), 18px);
        line-height: 1.2;
        white-space: nowrap;
    }

    .nav-actions {
        gap: clamp(8px, 0.8vw, 12px);
    }

    .nav-actions .btn-primary {
        width: auto;
        min-width: clamp(146px, 10.8vw, 199px);
        height: clamp(42px, 2.8vw, 52px);
        padding: clamp(5px, 0.45vw, 7px) clamp(5px, 0.45vw, 7px) clamp(5px, 0.45vw, 7px) clamp(18px, 1.5vw, 29px);
        gap: clamp(6px, 0.6vw, 8px);
    }

    .nav-actions .btn-primary .btn-label {
        /* 18px at 1920px, scales down on smaller desktop widths */
        font-size: clamp(14px, calc(12px + 0.3125vw), 18px);
        line-height: 1.2;
        white-space: nowrap;
    }

    .nav-actions .btn-primary .icon-circle {
        width: clamp(30px, 2.1vw, 36px);
        height: clamp(30px, 2.1vw, 36px);
    }

    .nav-actions .btn-primary .icon-circle img {
        width: clamp(14px, 1vw, 20px);
        height: clamp(14px, 1vw, 20px);
    }

    .menu-btn {
        width: clamp(38px, 2.4vw, 44px);
        height: clamp(38px, 2.4vw, 44px);
        flex-shrink: 0;
    }
}

/* Final button hover color overrides */
.btn-primary,
.btn-outline,
.btn-white,
.btn-white-full,
.btn-pricing-primary,
.btn-hero-white,
.btn-hero-outline,
.solution-btn {
    transition: background-color var(--transition-fast),
                color var(--transition-fast),
                border-color var(--transition-fast),
                transform var(--transition-fast),
                box-shadow var(--transition-fast);
}

.btn-primary:hover {
    background: #ffffff;
    color: #0f0f0f;
    border-color: #ffffff;
}

.btn-outline:hover {
    background: #0f0f0f;
    color: #ffffff;
    border-color: #0f0f0f;
}

.btn-white:hover,
.btn-white-full:hover,
.btn-pricing-primary:hover {
    background: #0f0f0f;
    color: #ffffff;
    border-color: #0f0f0f;
}

.btn-hero-white,
.btn-hero-outline,
.solution-btn,
.btn-hero-white .btn-label,
.btn-hero-outline .btn-label,
.solution-btn .btn-label,
.btn-hero-white .icon-circle-black,
.btn-hero-outline .icon-circle-white,
.solution-btn .icon-circle-black,
.btn-hero-white .icon-circle-black img,
.btn-hero-outline .icon-circle-white img,
.solution-btn .icon-circle-black img {
    transition: background-color var(--transition-fast),
                color var(--transition-fast),
                border-color var(--transition-fast),
                filter var(--transition-fast);
}

.btn-hero-white,
.solution-btn {
    border: 1px solid transparent;
}

.btn-hero-white .icon-circle-black,
.solution-btn .icon-circle-black,
.btn-hero-outline .icon-circle-white {
    border: 1px solid transparent;
}

.btn-hero-white:hover,
.solution-btn:hover {
    background: #0f0f0f !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.btn-hero-white:hover .btn-label,
.solution-btn:hover .btn-label {
    color: #ffffff !important;
}

.btn-hero-white:hover .icon-circle-black,
.solution-btn:hover .icon-circle-black {
    background: #ffffff !important;
    border-color: #0f0f0f !important;
}

.btn-hero-white:hover .icon-circle-black img,
.solution-btn:hover .icon-circle-black img {
    filter: brightness(0) !important;
}

.btn-hero-outline:hover {
    background: #ffffff;
    color: #0f0f0f;
    border-color: #0f0f0f;
}

.btn-hero-outline:hover .btn-label {
    color: #0f0f0f;
}

.btn-hero-outline:hover .icon-circle-white {
    background: #0f0f0f;
    border-color: #ffffff;
}

.btn-hero-outline:hover .icon-circle-white img {
    filter: brightness(0) invert(1);
}
