@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --primary-green: #0A5737;
    --text-dark: #1a1a1a;
    --text-gray: #6b7280;

    /* Fluid font sizes using clamp() for all screen sizes */
    --fs-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
    --fs-sm: clamp(0.625rem, 0.5rem + 0.5vw, 0.875rem);
    --fs-base: clamp(0.75rem, 0.6rem + 0.6vw, 1rem);
    --fs-md: clamp(0.8125rem, 0.65rem + 0.65vw, 1.125rem);
    --fs-lg: clamp(0.875rem, 0.7rem + 0.7vw, 1.25rem);
    --fs-xl: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
    --fs-2xl: clamp(1.125rem, 0.9rem + 1vw, 1.75rem);
    --fs-3xl: clamp(1.25rem, 1rem + 1.2vw, 2rem);
    --fs-4xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);

    /* Fluid spacing */
    --spacing-xs: clamp(0.25rem, 0.2rem + 0.3vw, 0.5rem);
    --spacing-sm: clamp(0.375rem, 0.3rem + 0.4vw, 0.75rem);
    --spacing-md: clamp(0.5rem, 0.4rem + 0.6vw, 1rem);
    --spacing-lg: clamp(0.75rem, 0.6rem + 0.8vw, 1.5rem);
    --spacing-xl: clamp(1rem, 0.8rem + 1vw, 2rem);
    --spacing-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 3rem);

    /* Container max-widths */
    --container-sm: 540px;
    --container-md: 720px;
    --container-lg: 960px;
    --container-xl: 1140px;
    --container-xxl: 1320px;
    --container-3xl: 1600px;
    --container-4xl: 1920px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: url('../images/landing/bg.webp') no-repeat top center;
    background-size: 100% auto;
    min-height: 100vh;
    background-color: #d8f2e5;
    font-size: var(--fs-base);
    line-height: 1.6;
}


/* Responsive Container */
.container {
    width: 100%;
    max-width: var(--container-xxl);
    margin: 0 auto;
    padding: 0 clamp(0.75rem, 2vw, 2rem);
}

@media (min-width: 1400px) {
    .container {
        max-width: var(--container-3xl);
        padding: 0 clamp(1.5rem, 3vw, 4rem);
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: var(--container-4xl);
        padding: 0 clamp(2rem, 4vw, 6rem);
    }
}

@media (min-width: 2560px) {
    .container {
        max-width: 2200px;
        padding: 0 clamp(3rem, 5vw, 8rem);
    }

    :root {
        --fs-xs: clamp(0.75rem, 0.5rem + 0.4vw, 1rem);
        --fs-sm: clamp(0.875rem, 0.6rem + 0.5vw, 1.125rem);
        --fs-base: clamp(1rem, 0.7rem + 0.5vw, 1.25rem);
        --fs-md: clamp(1.125rem, 0.8rem + 0.5vw, 1.375rem);
        --fs-lg: clamp(1.25rem, 0.9rem + 0.5vw, 1.5rem);
        --fs-xl: clamp(1.5rem, 1rem + 0.6vw, 1.875rem);
        --fs-2xl: clamp(1.75rem, 1.2rem + 0.7vw, 2.25rem);
        --fs-3xl: clamp(2rem, 1.4rem + 0.8vw, 2.75rem);
        --fs-4xl: clamp(2.5rem, 1.8rem + 1vw, 3.5rem);
    }
}


/* Navbar Styles */
.navbar {
    padding: clamp(12px, 2vw, 30px) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar.hidden {
    transform: translateY(-100%);
}

/* Add padding to body to account for fixed navbar */
body {
    padding-top: clamp(60px, 8vw, 100px);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

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

.logo img {
    height: clamp(40px, 5vw, 80px);
}

.nav-menu {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: clamp(8px, 1.2vw, 16px) clamp(20px, 3vw, 50px);
    gap: clamp(20px, 3vw, 50px);
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.6),
        inset 0 -2px 10px rgba(255, 255, 255, 0.3);
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: var(--fs-base);
    transition: color 0.3s ease;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: #0A5737;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 20px);
}

.nav-profile {
    display: none;
}


/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: clamp(4px, 0.5vw, 6px);
}

.hamburger span {
    width: clamp(22px, 2.5vw, 30px);
    height: clamp(2px, 0.3vw, 4px);
    background: #333;
    border-radius: 3px;
    transition: 0.3s;
}

/* Overlay for mobile menu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}


/* Hero Section */
.hero {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    overflow: hidden;
}

.hero-card {
    background: linear-gradient(118deg, #e2fff363 0%, rgb(186 253 225 / 49%) 100%);
    border-radius: clamp(20px, 3vw, 42px);
    padding: clamp(1rem, 2.5vw, 2.5rem);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0px 0px 32px 20px rgb(255 255 255 / 8%), inset 0 0 0 1px rgba(243, 243, 243, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 60px);
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: clamp(280px, 35vw, 550px);
    flex-shrink: 0;
}

.hero-content h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.25rem, 2vw + 0.5rem, 3rem);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.15;
    margin-bottom: var(--spacing-sm);
}

.hero-content h1 span {
    color: #0A5737;
}

.hero-content p {
    font-family: 'Inter', sans-serif;
    color: #4a4a4a;
    font-size: var(--fs-md);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.feature-tag {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: clamp(8px, 1vw, 14px);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: #374151;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.08),
        inset 0 -2px 4px rgba(255, 255, 255, 0.9),
        0 2px 8px rgba(0, 0, 0, 0.04);
}


.download-btn {
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: clamp(6px, 1vw, 12px);
    background: linear-gradient(135deg, #30C083 0%, #00B267 100%);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: clamp(12px, 1.5vw, 28px);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--fs-base);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset -1px 1px 20px 2px rgb(231 221 221 / 46%), inset 0 -2px 6px rgb(255 255 255 / 65%), 0 6px 8px rgb(103 192 135 / 10%);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), inset 0 -2px 6px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(34, 197, 94, 0.45);
}

.download-btn img {
    width: clamp(16px, 2vw, 28px);
    height: clamp(16px, 2vw, 28px);
    filter: brightness(0) invert(1);
}

/* Hero Image Section */
.hero-image {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: clamp(300px, 45vw, 700px);
}

.hero-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(280px, 45vw, 800px);
    height: clamp(280px, 45vw, 800px);
    z-index: 2;
}

.hero-phones {
    position: relative;
    z-index: 5;
    max-width: clamp(250px, 40vw, 750px);
    height: auto;
}


/* Floating Images */
.floating-img {
    position: absolute;
    border-radius: clamp(12px, 1.5vw, 20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.floating-top {
    top: 10px;
    right: 70%;
    transform: translateX(clamp(100px, 15vw, 250px));
    max-width: clamp(100px, 12vw, 200px);
    z-index: 3;
    animation: floatTop 3s ease-in-out infinite;
}

.floating-left {
    bottom: clamp(50px, 8vw, 120px);
    left: 47%;
    transform: translateX(clamp(-200px, -25vw, -400px));
    max-width: clamp(120px, 14vw, 230px);
    z-index: 3;
    animation: floatLeft 3.5s ease-in-out infinite 0.3s;
}

.floating-right {
    bottom: clamp(30px, 5vw, 80px);
    right: 60%;
    transform: translateX(clamp(180px, 22vw, 380px));
    max-width: clamp(140px, 16vw, 270px);
    z-index: 10;
    animation: floatRight 3s ease-in-out infinite 0.6s;
}

@keyframes floatTop {

    0%,
    100% {
        transform: translateX(clamp(100px, 15vw, 250px)) translateY(0);
    }

    50% {
        transform: translateX(clamp(100px, 15vw, 250px)) translateY(-10px);
    }
}

@keyframes floatLeft {

    0%,
    100% {
        transform: translateX(clamp(-200px, -25vw, -400px)) translateY(0);
    }

    50% {
        transform: translateX(clamp(-200px, -25vw, -400px)) translateY(-8px);
    }
}

@keyframes floatRight {

    0%,
    100% {
        transform: translateX(clamp(180px, 22vw, 380px)) translateY(0);
    }

    50% {
        transform: translateX(clamp(180px, 22vw, 380px)) translateY(-10px);
    }
}


/* Hero Large Screen Enhancements */
@media (min-width: 1400px) {
    .hero-content {
        max-width: 500px;
    }

    .hero-phones {
        max-width: 650px;
    }

    .hero-circle {
        width: 700px;
        height: 700px;
    }

    .floating-top {
        max-width: 180px;
    }

    .floating-left {
        max-width: 200px;
    }

    .floating-right {
        max-width: 240px;
    }
}

@media (min-width: 1920px) {
    .hero-content {
        max-width: 600px;
    }

    .hero-phones {
        max-width: 750px;
    }

    .hero-circle {
        width: 800px;
        height: 800px;
    }

    .hero-image {
        min-height: 700px;
    }

    .floating-top {
        max-width: 220px;
    }

    .floating-left {
        max-width: 250px;
    }

    .floating-right {
        max-width: 280px;
    }
}

@media (min-width: 2560px) {
    .hero-content {
        max-width: 700px;
    }

    .hero-phones {
        max-width: 900px;
    }

    .hero-circle {
        width: 950px;
        height: 950px;
    }

    .hero-image {
        min-height: 850px;
    }

    .floating-top {
        max-width: 280px;
    }

    .floating-left {
        max-width: 300px;
    }

    .floating-right {
        max-width: 340px;
    }
}


/* Hero Responsive - Tablets and smaller */
@media (max-width: 1200px) {
    .hero-phones {
        max-width: 500px;
    }

    .hero-circle {
        width: 520px;
        height: 520px;
    }

    .floating-top {
        max-width: 140px;
    }

    .floating-left {
        max-width: 160px;
    }

    .floating-right {
        max-width: 180px;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        max-width: 380px;
    }

    .hero-phones {
        max-width: 440px;
    }

    .hero-circle {
        width: 460px;
        height: 460px;
    }

    .hero-image {
        min-height: 480px;
    }

    .floating-top {
        max-width: 130px;
    }

    .floating-left {
        max-width: 150px;
        bottom: 70px;
    }

    .floating-right {
        max-width: 170px;
        bottom: 40px;
    }
}

@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .features {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        min-height: 450px;
    }

    .hero-phones {
        max-width: 400px;
    }

    .hero-circle {
        width: 420px;
        height: 420px;
    }

    .floating-top {
        max-width: 120px;
        top: 0;
    }

    .floating-left {
        max-width: 140px;
        bottom: 60px;
    }

    .floating-right {
        max-width: 160px;
        bottom: 30px;
    }
}


@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 320px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        border-radius: 16px;
        padding: 20px;
        gap: 8px;
        border: 2px solid rgba(255, 255, 255, 0.6);
        box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.6),
            inset 0 -2px 10px rgba(255, 255, 255, 0.3),
            0 10px 40px rgba(0, 0, 0, 0.12);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1000;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 12px 20px;
        width: 100%;
        text-align: center;
        border-radius: 8px;
        transition: background 0.2s ease;
    }

    .nav-menu a:hover {
        background: rgba(48, 192, 131, 0.1);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-card {
        border-radius: 24px;
    }

    .hero-phones {
        max-width: 340px;
    }

    .hero-circle {
        width: 360px;
        height: 360px;
    }

    .hero-image {
        min-height: 400px;
    }

    .floating-top {
        max-width: 110px;
    }

    .floating-left {
        max-width: 130px;
        bottom: 50px;
    }

    .floating-right {
        max-width: 150px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-card {
        border-radius: 20px;
        padding: var(--spacing-md);
    }

    .hero-phones {
        max-width: 280px;
    }

    .hero-circle {
        width: 300px;
        height: 300px;
    }

    .hero-image {
        min-height: 350px;
    }

    .floating-img {
        display: none;
    }
}

@media (max-width: 360px) {
    .hero-phones {
        max-width: 240px;
    }

    .hero-circle {
        width: 260px;
        height: 260px;
    }

    .hero-image {
        min-height: 300px;
    }

    .feature-tag {
        font-size: var(--fs-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
    }
}


/* Trusted By Section */
.trusted {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.trusted-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.trusted-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.trusted-header p {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-lg);
    color: #0A5737;
    font-weight: 500;
}

.trusted-slider {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.trusted-track {
    display: flex;
    align-items: center;
    gap: clamp(30px, 4vw, 70px);
    animation: scroll 20s linear infinite;
    width: max-content;
}

.trusted-track img {
    height: clamp(28px, 3.5vw, 60px);
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* How COMMEX Helps Section */
.helps {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
}

.helps-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.helps-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.helps-header p {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-lg);
    color: #0A5737;
    font-weight: 500;
    font-style: normal;
}

.helps-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-md);
    max-width: clamp(600px, 80vw, 1200px);
    margin: 0 auto;
}

.help-card {
    background: rgb(242 255 251 / 45%);
    border: 2px solid rgb(226, 255, 244);
    border-radius: clamp(12px, 1.5vw, 20px);
    padding: clamp(0.75rem, 1.5vw, 1.5rem) clamp(0.5rem, 1vw, 1rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: inset 0 2px 18px 1px rgb(255, 255, 255), inset 0 -2px 15px 0px rgba(255, 255, 255, 0.816);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.06), inset 0 -2px 8px rgba(255, 255, 255, 0.8), 0 8px 30px rgba(0, 0, 0, 0.1);
}

.help-card img {
    width: clamp(36px, 4vw, 70px);
    height: clamp(36px, 4vw, 70px);
    object-fit: contain;
}

.help-card span {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: #374151;
}


/* Trusted & Helps Large Screen */
@media (min-width: 1920px) {
    .trusted-track img {
        height: 55px;
    }

    .helps-grid {
        max-width: 1400px;
        gap: var(--spacing-lg);
    }
}

@media (min-width: 2560px) {
    .trusted-track img {
        height: 70px;
    }

    .helps-grid {
        max-width: 1600px;
    }
}

/* Trusted & Helps Responsive */
@media (max-width: 1024px) {
    .helps-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 800px;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .trusted-track {
        gap: 40px;
    }

    .trusted-track img {
        height: 32px;
    }

    .helps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .trusted-track {
        gap: 30px;
    }

    .trusted-track img {
        height: 28px;
    }

    .helps-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
    }

    .help-card {
        border-radius: 12px;
    }

    .help-card img {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 360px) {
    .helps-grid {
        max-width: 260px;
        gap: var(--spacing-sm);
    }

    .trusted-track img {
        height: 24px;
    }
}


/* Feature Slider Section */
.feature-slider {
    padding: var(--spacing-xl) 0;
}

.feature-slider-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.feature-slider-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.feature-slider-header p {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-xl);
    color: #0A5737;
    font-weight: 500;
    font-style: normal;
}

.feature-slider-card {
    background: rgba(255, 255, 255, 0.5);
    border-radius: clamp(24px, 3vw, 50px);
    padding: clamp(1rem, 2vw, 2rem);
    border: 2px solid rgba(255, 255, 255, 1);
    box-shadow: inset 0px 4px 20px rgba(255, 255, 255, 0.5), 0 4px 30px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(20px);
}

.feature-slider-content {
    display: grid;
    grid-template-columns: clamp(140px, 14vw, 220px) 1fr clamp(300px, 30vw, 500px);
    gap: clamp(20px, 3vw, 50px);
    align-items: start;
}


/* Feature Menu */
.feature-menu {
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 0.8vw, 12px);
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: clamp(16px, 2vw, 28px);
    padding: var(--spacing-md) var(--spacing-sm);
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.4), 0 2px 10px rgba(0, 0, 0, 0.03);
    height: fit-content;
}

.feature-menu-item {
    font-family: 'Inter', sans-serif;
    background: transparent;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--fs-base);
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    border-radius: 50px;
    text-align: left;
    transition: all 0.3s ease;
}

.feature-menu-item:hover {
    background: rgba(48, 192, 131, 0.1);
}

.feature-menu-item.active {
    background: linear-gradient(135deg, #30C083 0%, #00B267 100%);
    color: white;
    box-shadow: inset 0 4px 15px 4px rgba(247, 255, 251, 0.3);
}


/* Feature Description */
.feature-description {
    position: relative;
    min-height: clamp(300px, 35vw, 500px);
}

.feature-desc-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.feature-desc-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
    z-index: 2;
}

.feature-desc-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-lg);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--spacing-sm);
}

.feature-desc-content>p {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-base);
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.feature-desc-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-md);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--spacing-sm);
}

.feature-desc-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-md);
}

.feature-desc-content ul li {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-base);
    color: #4a4a4a;
    padding-left: clamp(16px, 1.5vw, 24px);
    position: relative;
    margin-bottom: var(--spacing-xs);
    line-height: 1.5;
}

.feature-desc-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: clamp(5px, 0.5vw, 8px);
    width: clamp(5px, 0.5vw, 8px);
    height: clamp(5px, 0.5vw, 8px);
    background: #0A5737;
    border-radius: 50%;
}


.feature-outcome {
    background: #ffffff;
    border: 2px solid rgba(255, 255, 255, 1);
    padding: var(--spacing-md);
    border-radius: clamp(12px, 1.5vw, 20px);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.03);
}

.feature-outcome h5 {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-base);
    font-weight: 700;
    color: #0A5737;
    margin-bottom: var(--spacing-xs);
}

.feature-outcome p {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-base);
    color: #374151;
    line-height: 1.6;
}

/* Phone Display */
.feature-phone-display {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(300px, 35vw, 600px);
}

.phone-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.phone-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

.phone-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: clamp(16px, 2vw, 28px);
    object-fit: cover;
}

.phone-screen {
    position: relative;
    z-index: 2;
    width: clamp(160px, 18vw, 280px);
    height: auto;
    border-radius: clamp(16px, 2vw, 28px);
}


/* Slide Floating Images */
.slide-float {
    position: absolute;
    border-radius: clamp(12px, 1.5vw, 20px);
    z-index: 3;
}

.slide-left1 {
    left: clamp(20px, 4vw, 70px);
    top: clamp(60px, 8vw, 120px);
    max-width: clamp(80px, 10vw, 160px);
    animation: slideFloatLeft 3s ease-in-out infinite;
}

.slide-left2 {
    left: clamp(20px, 4vw, 70px);
    bottom: clamp(20px, 3vw, 60px);
    max-width: clamp(70px, 9vw, 140px);
    animation: slideFloatLeft 3.5s ease-in-out infinite 0.3s;
}

.slide-right {
    right: clamp(10px, 2vw, 40px);
    top: clamp(30px, 4vw, 70px);
    max-width: clamp(90px, 11vw, 170px);
    animation: slideFloatRight 3s ease-in-out infinite 0.2s;
}

.slide-right2 {
    right: clamp(15px, 2.5vw, 50px);
    bottom: clamp(15px, 2.5vw, 50px);
    max-width: clamp(75px, 9.5vw, 150px);
    animation: slideFloatRight 3.2s ease-in-out infinite 0.5s;
}

@keyframes slideFloatLeft {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(-5px) translateY(-8px);
    }
}

@keyframes slideFloatRight {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(5px) translateY(-8px);
    }
}


/* Feature Slider Large Screen */
@media (min-width: 1400px) {
    .feature-slider-content {
        grid-template-columns: 200px 1fr 450px;
    }

    .phone-screen {
        width: 250px;
    }

    .slide-left1 {
        max-width: 150px;
    }

    .slide-left2 {
        max-width: 130px;
    }

    .slide-right {
        max-width: 160px;
    }

    .slide-right2 {
        max-width: 140px;
    }
}

@media (min-width: 1920px) {
    .feature-slider-content {
        grid-template-columns: 240px 1fr 550px;
        gap: 50px;
    }

    .phone-screen {
        width: 300px;
    }

    .feature-description {
        min-height: 500px;
    }

    .slide-left1 {
        max-width: 180px;
        left: 60px;
    }

    .slide-left2 {
        max-width: 160px;
        left: 70px;
    }

    .slide-right {
        max-width: 190px;
        right: 30px;
    }

    .slide-right2 {
        max-width: 170px;
        right: 40px;
    }
}

@media (min-width: 2560px) {
    .feature-slider-content {
        grid-template-columns: 280px 1fr 650px;
        gap: 60px;
    }

    .phone-screen {
        width: 350px;
    }

    .feature-description {
        min-height: 600px;
    }

    .slide-left1 {
        max-width: 220px;
        left: 80px;
    }

    .slide-left2 {
        max-width: 190px;
        left: 90px;
    }

    .slide-right {
        max-width: 230px;
        right: 50px;
    }

    .slide-right2 {
        max-width: 200px;
        right: 60px;
    }
}


/* Feature Slider Responsive */
@media (max-width: 1200px) {
    .feature-slider-content {
        grid-template-columns: 160px 1fr 380px;
        gap: 30px;
    }

    .phone-screen {
        width: 200px;
    }

    .slide-left1 {
        max-width: 110px;
        left: 15px;
    }

    .slide-left2 {
        max-width: 95px;
        left: 20px;
    }

    .slide-right {
        max-width: 120px;
        right: 15px;
    }

    .slide-right2 {
        max-width: 105px;
        right: 20px;
    }
}

@media (max-width: 1024px) {
    .feature-slider-content {
        grid-template-columns: 150px 1fr 340px;
        gap: 25px;
    }

    .phone-screen {
        width: 180px;
    }

    .slide-left1 {
        max-width: 100px;
        left: 10px;
    }

    .slide-left2 {
        max-width: 85px;
        left: 15px;
    }

    .slide-right {
        max-width: 110px;
        right: 10px;
    }

    .slide-right2 {
        max-width: 95px;
        right: 15px;
    }
}

@media (max-width: 1024px) {
    .feature-slider-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        border-radius: 20px;
    }

    .feature-description {
        min-height: auto;
        position: relative;
    }

    .feature-desc-content {
        position: relative;
        display: none;
    }

    .feature-desc-content.active {
        display: block;
    }

    .feature-phone-display {
        max-width: 500px;
        margin: 0 auto;
    }

    .phone-screen {
        width: 220px;
    }

    .slide-float {
        display: block;
    }

    .slide-left1 {
        left: 20px;
        max-width: 120px;
    }

    .slide-left2 {
        left: 30px;
        max-width: 100px;
    }

    .slide-right {
        right: 20px;
        max-width: 130px;
    }

    .slide-right2 {
        right: 30px;
        max-width: 110px;
    }
}

@media (max-width: 768px) {
    .feature-slider-card {
        border-radius: 24px;
    }

    .phone-screen {
        width: 200px;
    }

    .slide-float {
        max-width: 100px !important;
    }

    .slide-left1 {
        left: 15px;
    }

    .slide-left2 {
        left: 20px;
    }

    .slide-right {
        right: 15px;
    }

    .slide-right2 {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .feature-menu {
        gap: 8px;
    }

    .feature-menu-item {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--fs-sm);
    }

    .phone-screen {
        width: 180px;
    }

    .slide-float {
        display: none;
    }

    .feature-slider-card {
        border-radius: 20px;
        padding: var(--spacing-md);
    }
}

@media (max-width: 360px) {
    .phone-screen {
        width: 160px;
    }

    .feature-menu-item {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--fs-xs);
    }
}


/* Video Section */
.video-section {
    padding: var(--spacing-2xl) 0;
}

.video-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.video-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0;
}

.video-header p {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-xl);
    color: #0A5737;
    font-weight: 600;
    font-style: normal;
    margin-bottom: var(--spacing-sm);
}

.video-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-base);
    color: #6b7280;
    display: block;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-card {
    position: relative;
    max-width: clamp(320px, 70vw, 900px);
    width: 100%;
    border-radius: clamp(16px, 2.5vw, 32px);
    overflow: hidden;
    border: clamp(3px, 0.4vw, 6px) solid #0A5737;
    box-shadow: 0 10px 40px rgba(48, 192, 131, 0.15), 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    border-radius: inherit;
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-btn img {
    width: clamp(60px, 10vw, 120px);
    height: clamp(60px, 10vw, 120px);
}


/* Video Section Large Screen */
@media (min-width: 1400px) {
    .video-card {
        max-width: 1000px;
    }
}

@media (min-width: 1920px) {
    .video-card {
        max-width: 1200px;
        border-width: 5px;
    }

    .play-btn img {
        width: 140px;
        height: 140px;
    }
}

@media (min-width: 2560px) {
    .video-card {
        max-width: 1400px;
        border-width: 6px;
        border-radius: 40px;
    }

    .play-btn img {
        width: 160px;
        height: 160px;
    }
}

/* Video Section Responsive */
@media (max-width: 768px) {
    .video-card {
        max-width: 90%;
        border-radius: 20px;
    }

    .play-btn {
        width: 60px;
        height: 60px;
    }

    .play-btn img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .video-card {
        max-width: 100%;
        border-radius: 16px;
        border-width: 3px;
    }

    .play-btn {
        width: 50px;
        height: 50px;
    }

    .play-btn img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 360px) {
    .video-card {
        border-radius: 12px;
    }

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

    .play-btn img {
        width: 18px;
        height: 18px;
    }
}

/* Train-the-Trainers Section */
.trainers-section {
    padding: clamp(60px, 10vw, 120px) 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(48, 192, 131, 0.05) 0%, transparent 70%);
}

.trainers-header {
    margin-bottom: clamp(50px, 10vw, 100px);
}

.program-tag {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.75rem, 1vw, 1.125rem);
    font-weight: 800;
    color: #4a4a4a;
    /* Black/Gray for the suffix */
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.program-tag span {
    color: #30C083;
    /* Brand Bright Green */
}

.trainers-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: #0A5737;
    /* Dark Green matching the color picker in screenshot */
    line-height: 1.2;
    margin: 0 auto;
    max-width: 800px;
}

.trainers-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(40px, 8vw, 80px);
    /* Increased gap between image and button */
    margin-top: var(--spacing-lg);
}

.trainers-visual {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: clamp(400px, 50vw, 650px);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.trainers-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(280px, 60vw, 750px);
    height: clamp(280px, 60vw, 750px);
    z-index: 1;
    background: radial-gradient(circle, rgba(48, 192, 131, 0.12) 0%, rgba(48, 192, 131, 0.05) 50%, transparent 70%);
    border-radius: 50%;
}

.trainer-main-img {
    position: relative;
    z-index: 5;
    width: clamp(250px, 40vw, 550px);
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.trainer-feature-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 1);
    padding: clamp(8px, 1.2vw, 15px) clamp(16px, 2.5vw, 32px);
    border-radius: clamp(10px, 1.5vw, 18px);
    font-size: var(--fs-base);
    font-weight: 500;
    color: #1a1a1a;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.trainer-feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(48, 192, 131, 0.15);
    background: #fff;
    border-color: #30C083;
}

/* Card Positions */
.f-coaching {
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
}

.f-certification {
    top: 15%;
    left: 12%;
}

.f-walkthrough {
    top: 15%;
    right: 12%;
}

.f-guidance {
    top: 42%;
    left: 2%;
}

.f-dashboard {
    top: 42%;
    right: 2%;
}

.f-reports {
    bottom: 22%;
    left: 8%;
}

.f-growth {
    bottom: 22%;
    right: 8%;
}

.brochure-btn {
    padding: clamp(12px, 1.5vw, 18px) clamp(30px, 4vw, 60px);
    border-radius: 50px;
    font-size: var(--fs-lg);
    background: linear-gradient(135deg, #30C083 0%, #00B267 100%);
}

@media (max-width: 1024px) {
    .f-certification {
        left: 5%;
    }

    .f-walkthrough {
        right: 5%;
    }

    .f-reports {
        left: 2%;
    }

    .f-growth {
        right: 2%;
    }
}

@media (max-width: 768px) {
    .trainers-visual {
        height: 450px;
    }

    .trainer-feature-card {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 12px;
    }

    .f-certification {
        top: 18%;
        left: 0;
    }

    .f-walkthrough {
        top: 18%;
        right: 0;
    }

    .f-reports {
        bottom: 15%;
        left: 0;
    }

    .f-growth {
        bottom: 15%;
        right: 0;
    }

    .f-guidance {
        top: 45%;
        left: -20px;
    }

    .f-dashboard {
        top: 45%;
        right: -20px;
    }
}

@media (max-width: 580px) {
    .trainer-feature-card {
        padding: 6px 12px;
        font-size: 11px;
    }

    .f-guidance {
        left: 0;
    }

    .f-dashboard {
        right: 0;
    }
}

@media (max-width: 480px) {
    .trainers-visual {
        min-height: 480px;
        padding: 60px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        overflow: visible;
        position: relative;
    }

    .trainer-main-img {
        width: 50%;
        /* Further reduced to avoid overlap with cards */
        height: auto;
    }

    .trainer-feature-card {
        display: block;
        padding: 4px 10px;
        font-size: 10px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        white-space: nowrap;
    }

    /* Safe Indoor Positions */
    .f-coaching {
        top: 0%;
        left: 50%;
        transform: translateX(-50%);
    }

    .f-certification {
        top: 15%;
        left: 2%;
    }

    .f-walkthrough {
        top: 15%;
        right: 2%;
    }

    .f-guidance {
        top: 45%;
        left: 0%;
    }

    .f-dashboard {
        top: 45%;
        right: 0%;
    }

    .f-reports {
        bottom: 15%;
        left: 2%;
    }

    .f-growth {
        bottom: 15%;
        right: 2%;
    }

    .trainers-container {
        gap: 60px;
    }
}



/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
}

.cta-left {
    display: flex;
    justify-content: center;
}

.cta-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: clamp(20px, 3vw, 40px);
    padding: clamp(30px, 4vw, 60px);
    box-shadow: 0 10px 40px rgba(48, 192, 131, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, rgba(48, 192, 131, 0.12) 0%, transparent 100%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: clamp(10px, 1.5vw, 20px);
}

.cta-card h2 span {
    color: var(--primary-green);
}

.cta-card p {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: var(--text-gray);
    margin-bottom: clamp(20px, 2.5vw, 35px);
}

.cta-card p strong {
    color: var(--text-dark);
}

.cta-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 3vw, 50px);
}

.cta-qr {
    text-align: center;
}

.cta-qr h3 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: clamp(15px, 2vw, 25px);
    line-height: 1.2;
}

.cta-qr img {
    width: clamp(100px, 12vw, 160px);
    height: auto;
    border-radius: 12px;
    padding: 8px;
    background: white;
}

.cta-phone {
    position: relative;
}

.cta-phone img {
    width: clamp(180px, 22vw, 320px);
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}


/* Footer */
.footer {
    background: linear-gradient(180deg, rgb(255 255 255 / 60%) 0%, rgb(255 255 255 / 80%) 100%);
    padding-top: var(--spacing-xl);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: clamp(40px, 6vw, 100px);
    padding-bottom: var(--spacing-lg);
}

.footer-links {
    margin-left: auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 40px);
}

.footer-logo img {
    width: clamp(40px, 10vw, 60px);
    height: auto;
}

.footer-social span {
    display: block;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: clamp(10px, 1.5vw, 15px);
}

.social-icons {
    display: flex;
    gap: clamp(10px, 1.5vw, 20px);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 4vw, 48px);
    height: clamp(40px, 4vw, 48px);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-green);
}

.social-icons a:hover svg path,
.social-icons a:hover svg rect,
.social-icons a:hover svg circle {
    stroke: white;
    fill: white;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 40px);
}

.footer-column h4 {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: clamp(15px, 2vw, 25px);
}

.footer-column a {
    display: block;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: clamp(8px, 1vw, 12px);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-green);
}


.footer-bottom {
    background: #1a4d3a;
    padding: clamp(15px, 2vw, 25px) 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 1vw, 12px);
    text-align: center;
}

.footer-bottom-links {
    display: flex;
    gap: clamp(8px, 1.5vw, 20px);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.75rem, 0.9vw, 0.85rem);
}

.footer-bottom p strong {
    color: white;
}

.footer-bottom .heart {
    color: #f59e0b;
}


/* CTA & Footer Responsive */
@media (max-width: 992px) {
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .cta-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .cta-right {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .cta-qr img {
        width: 140px;
    }

    .cta-phone img {
        width: 200px;
    }

    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-links {
        margin-left: 0;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cta-right {
        flex-direction: row;
        gap: 25px;
    }

    .cta-qr img {
        width: 120px;
    }

    .cta-phone img {
        width: 180px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .cta-right {
        flex-direction: row;
        gap: 20px;
    }

    .cta-qr h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .cta-qr img {
        width: 100px;
    }

    .cta-phone img {
        width: 160px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .cta-right {
        flex-direction: row;
        gap: 15px;
    }

    .cta-qr h3 {
        font-size: 0.9rem;
    }

    .cta-qr img {
        width: 90px;
    }

    .cta-phone img {
        width: 140px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
        gap: 20px;
    }

    .footer-bottom-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }
}


/* ========================================
   SCROLL ANIMATIONS - Gentle & Clean
   ======================================== */

/* Base animation state - elements start hidden */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for cards */
.help-card,
.feature-tag,
.footer-column,
.trainer-feature-card {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.help-card.visible,
.feature-tag.visible,
.footer-column.visible,
.trainer-feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section headers animation */
.trusted-header,
.helps-header,
.feature-slider-header,
.video-header,
.trainers-header {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.trusted-header.visible,
.helps-header.visible,
.feature-slider-header.visible,
.video-header.visible,
.trainers-header.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero content animation */
.hero-content {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.hero-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.hero-image {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.7s ease-out 0.2s, transform 0.7s ease-out 0.2s;
}

.hero-image.visible {
    opacity: 1;
    transform: scale(1);
}

/* Cards and sections */
.feature-slider-card,
.video-card,
.cta-card,
.trainers-visual {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-slider-card.visible,
.video-card.visible,
.cta-card.visible,
.trainers-visual.visible {
    opacity: 1;
    transform: translateY(0);
}

/* CTA right side */
.cta-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.cta-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Footer animation */
.footer-brand {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.footer-brand.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .fade-in,
    .help-card,
    .feature-tag,
    .footer-column,
    .trusted-header,
    .helps-header,
    .feature-slider-header,
    .video-header,
    .trainers-header,
    .hero-content,
    .hero-image,
    .feature-slider-card,
    .video-card,
    .cta-card,
    .cta-right,
    .footer-brand,
    .trainers-visual,
    .trainer-feature-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ========================================
   IMPROVED RESPONSIVE REFINEMENTS
   ======================================== */

/* Better text alignment and spacing across devices */
@media (max-width: 900px) {
    .download-btn {
        margin: 0 auto;
    }
}

/* Tablet landscape improvements */
@media (min-width: 769px) and (max-width: 1024px) {
    .helps-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 500px;
        gap: var(--spacing-md);
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-card {
        max-width: 450px;
        margin: 0 auto;
    }

    .cta-right {
        justify-content: center;
    }
}

/* Mobile landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-container {
        flex-direction: row;
        text-align: left;
    }

    .hero-content {
        max-width: 45%;
    }

    .hero-image {
        min-height: 300px;
    }

    .features {
        justify-content: flex-start;
    }
}

/* Small mobile refinements */
@media (max-width: 400px) {
    .container {
        padding: 0 clamp(0.75rem, 4vw, 1rem);
    }

    .hero-content h1 {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
    }

    .features {
        gap: var(--spacing-xs);
    }

    .feature-tag {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.65rem;
    }

    .download-btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.8rem;
    }

    .helps-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 240px;
        gap: var(--spacing-sm);
    }

    .help-card {
        padding: var(--spacing-sm);
    }

    .help-card img {
        width: 32px;
        height: 32px;
    }

    .help-card span {
        font-size: 0.7rem;
    }

    .cta-qr h3 {
        font-size: 1rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-bottom-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .footer-bottom p {
        font-size: 0.7rem;
        line-height: 1.5;
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1rem;
    }

    .feature-tag {
        font-size: 0.6rem;
        padding: 4px 8px;
    }

    .helps-grid {
        max-width: 200px;
    }

    .help-card img {
        width: 28px;
        height: 28px;
    }

    .feature-menu-item {
        font-size: 0.65rem;
        padding: 6px 10px;
    }
}