    :root {
        /* Core colours */
        --primary: #d89090;
        --primary-dark: #c17878;
        --accent: #e8c68c;
        --bg: #fafafa;
        --bg-alt: #ffffff;
        --text-main: #4a4a4a;
        --text-muted: #8a8a8a;
        --header-space: 72px;
        --radius: 0.6rem;
        --shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
        --transition: 0.3s ease;
    }

    /* Dark Mode Variables - Optimized for readability */
    body.dark-mode {
        --bg: #0a0a0f;
        --bg-alt: #1a1a24;
        --text-main: #ffffff;
        --text-muted: #c4c4d4;
        --shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
        --primary: #FF6B6B;
        --primary-dark: #EE5A52;
        --accent: #ffd93d;
    }

    body.dark-mode header {
        background: rgba(10, 10, 15, 0.98);
        border-bottom: 1px solid rgba(255, 107, 107, 0.2);
    }

    body.dark-mode .pricing-section {
        background: linear-gradient(135deg, #14141f 0%, #1a1a2e 100%);
    }

    body.dark-mode .pricing-card {
        background: #1a1a24;
        border: 2px solid #2a2a3e;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }

    body.dark-mode .pricing-card:hover {
        border-color: #FF6B6B;
        box-shadow: 0 12px 40px rgba(255, 107, 107, 0.3);
        background: #1e1e2a;
    }

    body.dark-mode .testimonials {
        background: #14141f;
    }

    body.dark-mode .faq-item {
        background: #1a1a24;
        border: 2px solid #2a2a3e;
    }

    body.dark-mode .faq-item:hover {
        border-color: #FF8A80;
        background: #1e1e2a;
    }

    body.dark-mode .hero {
        background: transparent;
    }

    body.dark-mode section {
        background: transparent;
    }

    body.dark-mode .testimonial-card {
        background: #1a1a24;
        border: 2px solid #2a2a3e;
    }

    body.dark-mode .logo-black {
        color: #ffffff;
    }

    body.dark-mode .logo-red {
        color: #ff6b6b;
    }

    body.dark-mode .price-showcase {
        background: linear-gradient(135deg, #FF6B6B 0%, #A4161A 70%, #1a1a1a 100%);
    }

    body.dark-mode .card-cta {
        background: linear-gradient(135deg, #FF6B6B, #A4161A);
        color: #ffffff;
    }

    body.dark-mode .btn-main {
        background: linear-gradient(135deg, #FF6B6B 0%, #A4161A 70%, #1a1a1a 100%);
        color: #ffffff;
    }

    body.dark-mode .modal-content {
        background: #1a1a24;
        border: 2px solid #2a2a3e;
    }

    body.dark-mode input,
    body.dark-mode select,
    body.dark-mode textarea {
        background: #14141f;
        color: #ffffff;
        border: 2px solid #2a2a3e;
    }

    body.dark-mode input::placeholder,
    body.dark-mode select::placeholder,
    body.dark-mode textarea::placeholder {
        color: #7a7a8a;
    }

    body.dark-mode input:focus,
    body.dark-mode select:focus,
    body.dark-mode textarea:focus {
        border-color: #ff6b6b;
        background: #1a1a24;
    }

    /* Dark mode for section headers */
    body.dark-mode .section-header h2 {
        color: #ffffff;
        text-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    }

    body.dark-mode .section-header .tag {
        color: #ffd93d;
    }

    body.dark-mode .section-header p {
        color: #c4c4d4;
    }

    /* Dark mode for FAQ items */
    body.dark-mode .faq-item summary {
        color: #FF6B6B;
        font-weight: 700;
    }

    body.dark-mode .faq-item p {
        color: #c4c4d4;
    }

    body.dark-mode .faq-item[open] summary {
        color: #ffd93d;
    }

    /* Dark mode for flow grid cards */
    body.dark-mode .flow-grid .card {
        background: #1a1a24;
        border: 2px solid #2a2a3e;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    }

    body.dark-mode .flow-grid .card h3 {
        color: #FF6B6B !important;
        font-weight: 600;
    }

    body.dark-mode .flow-grid .card p {
        color: #e8e8f0 !important;
    }

    body.dark-mode .flow-grid .card:hover {
        border-color: #FF6B6B;
        box-shadow: 0 12px 32px rgba(255, 107, 107, 0.3);
        transform: translateY(-5px);
        background: #1e1e2a;
    }

    /* Dark mode for sticky price widget */
    body.dark-mode .price-animation-sticky {
        background: transparent;
        border: none;
        box-shadow: none;
    }

    body.dark-mode .price-animation-container {
        background: linear-gradient(135deg, #1a1a24 0%, #2a2a3a 100%);
        border: none;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
        border-radius: 20px;
    }

    body.dark-mode .sticky-bubble {
        background: linear-gradient(135deg, #FF6B6B 0%, #A4161A 70%, #1a1a1a 100%);
        box-shadow: 0 8px 24px rgba(255, 107, 107, 0.35);
    }

    body.dark-mode .bubble-text {
        color: #ffffff;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    body.dark-mode .price-text {
        color: #ffffff;
    }

    body.dark-mode .old-price {
        color: #ffffff;
    }

    body.dark-mode .new-price {
        color: #FF6B6B;
    }

    body.dark-mode .price-message {
        color: #ffd93d;
    }

    body.dark-mode .sticky-join-btn {
        background: linear-gradient(135deg, #FF6B6B, #A4161A);
        color: #ffffff;
    }

    body.dark-mode .sticky-close {
        background: rgba(255, 107, 107, 0.2);
        color: #FF6B6B;
    }

    body.dark-mode .sticky-close:hover {
        background: linear-gradient(135deg, #FF6B6B, #A4161A);
        color: #ffffff;
    }

    body.dark-mode .sticky-drag-handle {
        color: #FF6B6B;
    }

    body.dark-mode .sticky-drag-handle:hover {
        color: #FF8080;
    }

    /* Dark mode for hero section */
    body.dark-mode .hero-content h1 {
        color: #ffffff;
        text-shadow: 0 2px 12px rgba(255, 138, 128, 0.3);
    }

    body.dark-mode .hero-content p {
        color: #c4c4d4;
    }

    body.dark-mode .hero-content strong {
        color: #ffd93d;
    }

    /* Dark mode for hamburger menu */
    body.dark-mode .hamburger {
        color: #1a1a1a !important;
        background: #ffd93d !important;
        border-color: #ffd93d !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
        text-shadow: none;
    }

    /* Dark mode for about section */
    body.dark-mode .about-text {
        color: #c4c4d4;
    }

    body.dark-mode .about-text strong {
        color: #ffd93d;
    }

    /* Dark mode for featured badge */
    body.dark-mode .featured-badge {
        background: linear-gradient(135deg, #ffd93d, #ffc107);
        color: #0a0a0f;
    }

    /* Dark mode for price showcase */
    body.dark-mode .price-main {
        color: #ffffff;
    }

    body.dark-mode .currency,
    body.dark-mode .period {
        color: #ffffff;
    }

    body.dark-mode .price-annual {
        color: rgba(255, 255, 255, 0.9);
    }

    /* Dark mode for footer */
    body.dark-mode .footer {
        background: linear-gradient(180deg, #0a0a0f 0%, #1a0a0f 100%);
        color: #c4c4d4;
        border-top: 1px solid #A4161A;
    }

    /* Dark mode for CTA section */
    body.dark-mode .cta {
        background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 50%, #4a4a4a 100%);
        background-size: 200% 200%;
        color: #ffffff;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    }

    body.dark-mode .cta h2 {
        color: #ffffff;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    body.dark-mode .cta p {
        color: #e0e0e0;
    }

    body.dark-mode .footer button,
    body.dark-mode .footer .btn-main,
    body.dark-mode .footer a.btn-main {
        background: linear-gradient(135deg, #FF6B6B 0%, #A4161A 70%, #1a1a1a 100%);
        color: #ffffff;
        font-weight: 700;
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.35);
    }

    body.dark-mode .footer button:hover,
    body.dark-mode .footer .btn-main:hover,
    body.dark-mode .footer a.btn-main:hover {
        background: linear-gradient(135deg, #FF8080 0%, #C9184A 70%, #2a2a2a 100%);
        box-shadow: 0 8px 28px rgba(255, 107, 107, 0.45);
        transform: translateY(-2px);
    }

    /* Dark mode for navigation */
    body.dark-mode .nav ul li {
        color: #ffffff;
    }

    body.dark-mode .nav ul li:hover {
        color: #FF8A80;
    }

    body.dark-mode .nav-cta-btn {
        background: linear-gradient(135deg, #FF6B6B, #A4161A);
        color: #ffffff;
    }

    /* Dark mode for buttons */
    body.dark-mode .btn-outline {
        background: linear-gradient(135deg, #FF6B6B 0%, #A4161A 70%, #1a1a1a 100%);
        border: none;
        color: #ffffff;
    }

    body.dark-mode .btn-outline:hover {
        background: linear-gradient(135deg, #FF8080 0%, #C9184A 70%, #2a2a2a 100%);
        color: #ffffff;
        box-shadow: 0 8px 28px rgba(255, 107, 107, 0.45);
        transform: translateY(-2px);
    }

    * {
        box-sizing: border-box;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    /* Prevent accidental horizontal scrolling from positioned elements */
    html {
        overflow-x: hidden;
        scroll-behavior: smooth;
    }

    body {
        margin: 0;
        padding-top: var(--header-space);
        font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        color: var(--text-main);
        background: var(--bg);
        overflow-x: hidden;
    }

    /* Enhanced focus states for accessibility */
    a:focus,
    button:focus,
    input:focus,
    select:focus {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    h1,
    h2,
    h3,
    h4 {
        margin: 0;
        font-weight: 600;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 2000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    }

    .nav {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        gap: 3.75rem;
    }

    .hamburger {
        display: none;
        background: rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(0, 0, 0, 0.18);
        border-radius: 8px;
        font-size: 1.5rem;
        font-weight: 800;
        cursor: pointer;
        color: #1f1f1f;
        padding: 6px 8px;
        line-height: 1;
        min-width: 36px;
        min-height: 36px;
        align-items: center;
        justify-content: center;
        transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .hamburger:hover {
        color: var(--primary);
        background: rgba(164, 22, 26, 0.08);
        border-color: rgba(164, 22, 26, 0.25);
    }

    .logo {
        font-family: "Montserrat", system-ui, sans-serif;
        font-weight: 700;
        font-size: 1.2rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .logo-black {
        color: #1a1a1a;
    }

    .logo-red {
        color: #A4161A;
    }

    .nav ul {
        list-style: none;
        display: flex;
        gap: 1.6rem;
        margin: 0;
        padding: 0;
    }

    .nav ul li {
        cursor: pointer;
        font-size: 0.9rem;
        position: relative;
        padding-bottom: 6px;
        display: inline-block;
    }

    /* Underline that grows from center: use a pseudo-element */
    .nav ul li::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2px;
        background: var(--primary);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1);
        border-radius: 2px;
        pointer-events: none;
        opacity: 0.95;
    }

    .nav ul li:hover::after,
    .nav ul li:focus::after,
    .nav ul li.active::after {
        transform: scaleX(1);
    }

    /* Nav mentor form */
    .nav-mentor-form {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-left: auto;
    }

    .nav-mentor-form input {
        padding: 8px 10px;
        border-radius: 999px;
        border: 1px solid rgba(0, 0, 0, 0.18);
        font-size: 0.85rem;
        min-width: 140px;
    }

    .nav-mentor-form button {
        padding: 6px 16px;
        border-radius: 8px;
        border: none;
        font-weight: 600;
        font-size: 0.7rem;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff;
        cursor: pointer;
        transition: var(--transition);
        white-space: nowrap;
    }

    .nav-mentor-form button:hover {
        box-shadow: 0 12px 28px rgba(179, 33, 33, 0.3);
        transform: translateY(-2px);
    }

    .nav-cta-btn {
        padding: 8px 14px;
        border-radius: 10px;
        border: none;
        font-weight: 600;
        font-size: 0.95rem;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff;
        cursor: pointer;
        transition: var(--transition);
        box-shadow: 0 8px 20px rgba(179, 33, 33, 0.12);
        white-space: nowrap;
    }

    .nav-cta-btn:hover {
        box-shadow: 0 14px 32px rgba(179, 33, 33, 0.22);
        transform: translateY(-2px);
    }

    @media (max-width: 768px) {
        .nav-cta-btn {
            padding: 8px 12px;
            font-size: 0.9rem;
        }
    }

    /* Hero */
    .hero {
        display: grid;
        max-width: 1200px;
        margin: 0 auto;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        padding: 3rem 1rem 3.5rem;
        gap: 1.75rem;
        align-items: center;
        position: relative;
        text-align: center;
    }

    /* .hero::before {
      content: "";
      position: absolute;
      top: -100px;
      right: -200px;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(252, 191, 73, 0.4), transparent 70%);
      animation: pulse 6s infinite;
      z-index: -1;
    } */

    @keyframes pulse {
        0% {
            transform: scale(0.9);
        }

        50% {
            transform: scale(1);
        }

        100% {
            transform: scale(0.9);
        }
    }

    .hero-content h1 {
        font-size: 2.4rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-content h1 span {
        background: linear-gradient(90deg, #A4161A, #DAA520, #DC143C);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.6;
        color: var(--text-muted);
        max-width: 520px;
        margin: 0 auto 1.5rem;
    }

    /* Sticky Animated Price Display */
    .price-animation-sticky {
        position: fixed;
        top: 50%;
        right: 20px;
        z-index: 1500;
        touch-action: none;
        will-change: transform;
    }

    .price-animation-sticky.hidden {
        display: none;
    }

    /* Collapsed Bubble State */
    .sticky-bubble {
        background: linear-gradient(135deg, #FF6B6B 0%, #A4161A 70%, #1a1a1a 100%);
        padding: 12px 20px;
        border-radius: 25px;
        box-shadow: 0 8px 28px rgba(164, 22, 26, 0.6);
        cursor: grab;
        transition: all 0.3s ease;
        display: none;
        user-select: none;
    }

    .sticky-bubble:active {
        cursor: grabbing;
    }

    .sticky-bubble.collapsed {
        display: block;
    }

    .sticky-bubble.hidden {
        display: none;
    }

    .bubble-text {
        color: #fff;
        font-size: 1.1rem;
        font-weight: 700;
        white-space: nowrap;
        animation: bubblePulse 1.5s ease-in-out infinite;
        pointer-events: none;
    }

    @keyframes bubblePulse {
        0%, 100% {
            transform: scale(1);
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }
        50% {
            transform: scale(1.1);
            text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 255, 255, 0.5);
        }
    }

    .sticky-bubble:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 36px rgba(164, 22, 26, 0.8);
    }

    /* Expanded Box State */
    .sticky-expanded {
        display: block;
    }

    .sticky-expanded.collapsed {
        display: none;
    }

    .sticky-close {
        position: absolute;
        top: -8px;
        right: -8px;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: linear-gradient(135deg, #FF6B6B, #A4161A);
        color: #fff;
        border: 2px solid #fff;
        font-size: 1.25rem;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(164, 22, 26, 0.5);
        transition: all 0.3s ease;
        z-index: 10;
    }

    .sticky-close:hover {
        background: var(--primary-dark);
        transform: rotate(90deg);
    }

    .sticky-drag-handle {
        position: absolute;
        top: 8px;
        left: 8px;
        font-size: 1rem;
        color: #A4161A;
        cursor: grab;
        opacity: 0.8;
        z-index: 10;
        padding: 4px;
        user-select: none;
    }

    .sticky-drag-handle:active {
        cursor: grabbing;
    }

    /* Animated Price Display */
    .price-animation-container {
        margin: 0;
        padding: 1rem 1.25rem;
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
        border: 2px solid #A4161A;
        border-radius: 20px;
        box-shadow: 0 12px 36px rgba(164, 22, 26, 0.4);
        max-width: 220px;
        text-align: center;
        backdrop-filter: blur(10px);
    }

    .price-text {
        font-size: 0.8rem;
        font-weight: 600;
        color: #FFD700;
        margin-bottom: 0.75rem;
    }

    .price-display {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
        min-height: 45px;
    }

    .old-price {
        font-size: 1.5rem;
        font-weight: 700;
        color: #999;
        position: relative;
        animation: priceSlideOut 1.5s ease-in-out 0.5s infinite;
        opacity: 1;
    }

    .old-price::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        height: 2px;
        background: #FF6B6B;
        transform: scaleX(0);
        transform-origin: left;
        animation: strikethrough 1.5s ease-in-out 0.5s infinite;
    }

    .new-price {
        font-size: 2rem;
        font-weight: 700;
        color: #FFD700;
        animation: pricePopInLoop 2s cubic-bezier(0.34, 1.56, 0.64, 1) 2s infinite, pulseglow 2s ease-in-out 3.5s infinite;
    }

    .price-message {
        font-size: 0.85rem;
        font-weight: 600;
        color: #ffffff;
        animation: messageSlideUpLoop 2s ease-out 2s infinite;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        margin-bottom: 0.75rem;
    }

    .sticky-join-btn {
        width: 100%;
        padding: 0.65rem 1.25rem;
        background: linear-gradient(135deg, #FF6B6B 0%, #A4161A 70%, #1a1a1a 100%);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 6px 18px rgba(164, 22, 26, 0.5);
        text-transform: uppercase;
    }

    .sticky-join-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 28px rgba(164, 22, 26, 0.7);
        filter: brightness(1.1);
    }

    @keyframes fadeInSticky {
        from {
            opacity: 0;
            transform: translateY(-50%) translateX(100px);
        }
        to {
            opacity: 1;
            transform: translateY(-50%) translateX(0);
        }
    }

    @keyframes strikethrough {
        0%, 100% {
            transform: scaleX(0);
        }
        40%, 90% {
            transform: scaleX(1);
        }
    }

    @keyframes priceSlideOut {
        0%, 100% {
            opacity: 1;
            transform: translateX(0);
        }
        40%, 90% {
            opacity: 0.4;
            transform: translateX(-20px);
        }
    }

    @keyframes pricePopInLoop {
        0% {
            transform: scale(0);
            opacity: 0;
        }
        30% {
            transform: scale(0);
            opacity: 0;
        }
        45% {
            transform: scale(1.15);
            opacity: 1;
        }
        55%, 90% {
            transform: scale(1);
            opacity: 1;
        }
        100% {
            transform: scale(0);
            opacity: 0;
        }
    }

    @keyframes messageSlideUpLoop {
        0% {
            opacity: 0;
            transform: translateY(10px);
        }
        30% {
            opacity: 0;
            transform: translateY(10px);
        }
        50%, 90% {
            opacity: 1;
            transform: translateY(0);
        }
        100% {
            opacity: 0;
            transform: translateY(-10px);
        }
    }

    @keyframes pulseglow {
        0%, 100% {
            text-shadow: 0 0 10px rgba(179, 33, 33, 0.3);
            transform: scale(1);
        }
        50% {
            text-shadow: 0 0 20px rgba(179, 33, 33, 0.6), 0 0 30px rgba(179, 33, 33, 0.4);
            transform: scale(1.05);
        }
    }

    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1rem;
        justify-content: center;
    }

    .btn-main {
        background: linear-gradient(135deg, #FF6B6B 0%, #A4161A 70%, #1a1a1a 100%) !important;
        color: #fff;
        padding: 12px 22px;
        border: none;
        border-radius: 999px;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: var(--transition);
        -webkit-tap-highlight-color: rgba(179, 33, 33, 0.2);
    }

    .btn-main:hover {
        box-shadow: 0 28px 56px rgba(216, 144, 144, 0.45);
        transform: translateY(-6px) scale(1.05);
        filter: brightness(1.15) saturate(1.2);
    }

    .btn-main:active {
        transform: translateY(0);
        box-shadow: 0 6px 16px rgba(255, 107, 107, 0.2);
    }

    .btn-outline {
        background: linear-gradient(135deg, #FF6B6B 0%, #A4161A 70%, #1a1a1a 100%) !important;
        color: #fff;
        padding: 12px 22px;
        border: none;
        border-radius: 999px;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: var(--transition);
    }

    .btn-outline:hover {
        background: linear-gradient(135deg, #FF8080 0%, #C9184A 70%, #2a2a2a 100%) !important;
        color: #fff;
        box-shadow: 0 28px 56px rgba(216, 144, 144, 0.45);
        transform: translateY(-6px) scale(1.05);
        filter: brightness(1.15) saturate(1.2);
    }

    .hero-image {
        text-align: center;
        position: relative;
    }

    .hero-image img {
        width: 90%;
        max-width: 420px;
        height: auto;
        object-fit: contain;
        display: block;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }


    .feature-icon{
        width: 52px;
        height: 52px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(179, 33, 33, 0.1);
        color: var(--primary);
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    /* Sections */
    section {
        padding: 1.5rem 1rem;
        max-width: 1200px;
        margin: 0 auto;
        transition: transform 0.3s ease;
    }

    section:hover {
        transform: translateY(-2px);
    }

    .section-header {
        text-align: center;
    }

    .section-header .tag {
        font-size: 0.85rem;
        color: var(--primary-dark);
        letter-spacing: 0.1em;
        text-transform: uppercase;
        margin-bottom: 0.3rem;
        position: relative;
        display: inline-block;
        padding: 0 1rem;
        z-index: 1;
    }

    /* Faded horizontal lines on both sides of the small 'tag' label */
    .section-header .tag::before,
    .section-header .tag::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 250px;
        height: 2px;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .section-header .tag::before {
        right: 100%;
        margin-right: 12px;
        background: linear-gradient(to left, rgb(116, 0, 0), transparent);
    }

    .section-header .tag::after {
        left: 100%;
        margin-left: 12px;
        background: linear-gradient(to right, rgb(124, 0, 0), transparent);
    }

    @media (max-width: 480px) {

        .section-header .tag::before,
        .section-header .tag::after {
            width: 90px;
            margin-left: 8px;
            margin-right: 8px;
        }
    }

    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 0.4rem;
    }

    .section-header p {
        font-size: 1rem;
        color: var(--text-muted);
        max-width: 720px;
        margin: 0 auto;
    }

    /* Who list: center container and justify text (UI only) */
    #who .who-list {
        display: flex;
        justify-content: center;
    }

    #who .who-list ul {
        max-width: 760px;
        margin: 0.5rem auto 0;
        padding-left: 1.25rem;
        list-style: disc;
        text-align: left;
    }

    #who .who-list ul li {
        display: list-item;
        text-align: left;
        margin: 0.35rem 0;
        font-size: 1rem;
        color: var(--text-main);
    }

    #who .who-list ul::marker {
        color: var(--primary);
        font-weight: 700;
    }

    @media (max-width: 520px) {
        #who .who-list ul {
            padding-left: 1rem;
        }
    }

    /* About section */
    .about {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        align-items: center;
        text-align: center;
    }

    .about-image {
        position: relative;
    }

    .about-image::after {
        content: "";
        position: absolute;
        top: -20px;
        right: -20px;
        width: 100px;
        height: 100px;
        background: radial-gradient(circle, rgba(252, 191, 73, 0.4), transparent 70%);
        border-radius: 50%;
        z-index: -1;
        animation: pulse 5s infinite;
    }

    .about-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .about-text {
        font-size: 1rem;
        line-height: 1.6;
        color: var(--text-muted);
        max-width: 600px;
        margin: 0 auto;
    }

    .about-text strong {
        color: var(--primary);
    }

    /* Pain points */
    .pain-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.6rem;
    }

    .pain-card {
        background: var(--bg-alt);
        border-radius: var(--radius);
        padding: 1.4rem 1.2rem;
        box-shadow: var(--shadow);
        transform: translateY(10px);
        opacity: 0;
        animation: fadeUp 0.6s forwards;
        transition: transform var(--transition), box-shadow var(--transition);
        text-align: center;
    }

    .pain-card:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 28px 56px rgba(216, 144, 144, 0.2);
        border-color: var(--primary);
        filter: brightness(1.05);
    }

    .pain-card:nth-child(odd) {
        animation-delay: 0.2s;
    }

    .pain-card:nth-child(even) {
        animation-delay: 0.4s;
    }

    .pain-card h3 {
        margin-bottom: 0.5rem;
        color: var(--primary-dark);
    }

    .pain-card p {
        font-size: 0.88rem;
        color: var(--text-muted);
    }

    @keyframes fadeUp {
        0% {
            opacity: 0;
            transform: translateY(12px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Feature cards section */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.6rem;
    }

    .feature-card {
        background: var(--bg-alt);
        border-radius: var(--radius);
        padding: 1.6rem 1.4rem 1.8rem;
        box-shadow: var(--shadow);
        position: relative;
        transition: transform var(--transition), box-shadow var(--transition);
        text-align: center;
    }

    .feature-card:hover {
        transform: translateY(-12px) scale(1.04);
        box-shadow: 0 32px 64px rgba(216, 144, 144, 0.22);
        border-color: var(--primary);
        filter: brightness(1.05);
    }

    .feature-card .icon {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(179, 33, 33, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        color: var(--primary);
        margin: 0 auto 1rem;
    }

    .feature-card h3 {
        margin-bottom: 0.5rem;
    }

    .feature-card p {
        color: var(--text-muted);
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .feature-card button {
        background: var(--primary);
        color: #fff;
        border: none;
        padding: 8px 16px;
        border-radius: 999px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: var(--transition);
    }

    .feature-card button:hover {
        background: var(--primary-dark);
    }

    /* 'How' section: responsive flow grid */
    .flow-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.25rem;
        justify-content: center;
        margin-top: 1rem;
        width: 100%;
    }

    .flow-grid .card {
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
        text-align: center;
        padding: 1.4rem;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
        border: 1px solid rgba(0,0,0,0.06);
    }

    .flow-grid .card h3 {
        color: #ff6b6b !important;
    }

    .flow-grid .card p {
        color: #444444 !important;
    }

    @media (max-width: 640px) {
        .flow-grid { grid-template-columns: 1fr; gap: 1rem; }
        .flow-grid .card { padding: 1rem 0.9rem; max-width: none; text-align: center; }
        .flow-grid .card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
        .flow-grid .card p { font-size: 0.95rem; }
    }

    /* Modern Pricing Cards Section */
    .pricing-section {
        padding: 1.25rem 1rem;
        background: linear-gradient(135deg, #fdf7f2 0%, #fff5f5 100%);
    }

    .pricing-cards {
        max-width: 650px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
        gap: 1.1rem;
        align-items: stretch;
        padding: 0 20px;
    }

    .pricing-card {
        background: #ffffff;
        border-radius: 14px;
        padding: 1rem;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        animation: fadeInUp 0.6s ease-out backwards;
    }

    .pricing-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .pricing-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .pricing-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), #d32f2f);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .pricing-card:hover::before {
        transform: scaleX(1);
    }

    .pricing-card:hover {
        transform: translateY(-16px) scale(1.04);
        box-shadow: 0 32px 80px rgba(216, 144, 144, 0.25);
        border-color: var(--primary);
        filter: brightness(1.05);
    }

    /* Featured Card */
    .pricing-card.featured {
        background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
        border: 2px solid var(--primary);
        box-shadow: 0 8px 30px rgba(179, 33, 33, 0.12);
    }

    .pricing-card.featured:hover {
        transform: translateY(-18px) scale(1.06);
        box-shadow: 0 36px 96px rgba(216, 144, 144, 0.35);
        filter: brightness(1.05);
    }

    .featured-badge {
        position: absolute;
        top: 20px;
        left: -30px;
        background: linear-gradient(135deg, #ffd700, #ffed4e);
        color: #222;
        padding: 5px 50px 5px 25px;
        font-size: 0.6rem;
        font-weight: 700;
        transform: rotate(-45deg);
        box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        z-index: 1;
        white-space: nowrap;
        text-align: center;
        line-height: 1.2;
    }

    .card-header {
        text-align: center;
        margin-bottom: 0.875rem;
        position: relative;
    }

    .card-header h3 {
        font-size: 1.05rem;
        color: var(--primary-dark);
        margin-bottom: 0.3rem;
    }

    .mode-icon {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
        animation: float 3s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }

    .location {
        font-size: 0.75rem;
        color: var(--text-muted);
        margin-top: 0.2rem;
    }

    /* Price Showcase */
    .price-showcase {
        text-align: center;
        padding: 0.85rem 0.65rem;
        background: linear-gradient(135deg, var(--primary), #d32f2f);
        border-radius: 10px;
        margin-bottom: 0.75rem;
        position: relative;
        overflow: hidden;
    }

    .price-showcase::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: ripple 4s linear infinite;
    }

    @keyframes ripple {
        0% { transform: scale(0.8) rotate(0deg); opacity: 0; }
        50% { opacity: 1; }
        100% { transform: scale(1.5) rotate(360deg); opacity: 0; }
    }

    .price-main {
        position: relative;
        z-index: 1;
        color: #ffffff;
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 4px;
    }

    .currency {
        font-size: 1.25rem;
        font-weight: 600;
        opacity: 0.9;
    }

    .amount {
        font-size: 2.45rem;
        font-weight: 800;
        line-height: 1;
        animation: pricePopAnimation 2s ease-in-out infinite;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    @keyframes pricePopAnimation {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }

    .period {
        font-size: 0.75rem;
        opacity: 0.9;
        font-weight: 500;
    }

    .price-annual {
        position: relative;
        z-index: 1;
        color: #ffffff;
        font-size: 0.75rem;
        margin-top: 0.35rem;
        opacity: 0.85;
    }

    .duration-info {
        text-align: center;
        font-size: 0.8rem;
        color: var(--text-muted);
        margin-bottom: 0.875rem;
        padding-bottom: 0.65rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .duration-label {
        font-weight: 600;
        color: var(--text-main);
    }

    /* Offline Price Options */
    .price-showcase.offline {
        background: linear-gradient(135deg, #333, #555);
    }

    .price-options {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .price-option {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #ffffff;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }

    .price-option:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateX(5px);
    }

    .price-value {
        font-size: 1.4rem;
        font-weight: 700;
    }

    .price-duration {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    /* Features List */
    .features-list {
        list-style: none;
        padding: 0;
        margin: 0 0 0.85rem 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.35rem;
        flex: 1;
    }

    .features-list li {
        padding: 0.35rem 0.3rem;
        font-size: 0.75rem;
        color: var(--text-main);
        display: flex;
        align-items: center;
        gap: 0.3rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        animation: fadeInUp 0.6s ease backwards;
    }

    .features-list li:nth-child(1) { animation-delay: 0.1s; }
    .features-list li:nth-child(2) { animation-delay: 0.2s; }
    .features-list li:nth-child(3) { animation-delay: 0.3s; }
    .features-list li:nth-child(4) { animation-delay: 0.4s; }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .features-list .check {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 16px;
        height: 16px;
        background: linear-gradient(135deg, #4caf50, #66bb6a);
        color: #ffffff;
        border-radius: 50%;
        font-size: 0.6rem;
        font-weight: 700;
        flex-shrink: 0;
    }

    /* Card CTA Button */
    .card-cta {
        width: 100%;
        padding: 0.55rem 1.1rem;
        background: linear-gradient(135deg, #ff6b6b, #ee5252);
        color: #ffffff;
        border: none;
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-top: auto;
    }

    .card-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(179, 33, 33, 0.4);
    }

    .card-cta:active {
        transform: translateY(0);
    }

    .card-cta.secondary {
        background: linear-gradient(135deg, #555, #333);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .card-cta.secondary:hover {
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .pricing-section {
            padding: 1.5rem 0.75rem;
        }

        .pricing-cards {
            grid-template-columns: 1fr;
            gap: 1.25rem;
        }

        .pricing-card {
            padding: 0.95rem;
        }

        .pricing-card.featured {
            transform: scale(1);
        }

        .pricing-card.featured:hover {
            transform: translateY(-8px);
        }

        .card-header {
            margin-bottom: 0.85rem;
        }

        .card-header h3 {
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
        }

        .mode-icon {
            font-size: 1.75rem;
            margin-bottom: 0.25rem;
        }

        .price-showcase {
            padding: 1rem 0.65rem;
            margin-bottom: 0.85rem;
        }

        .amount {
            font-size: 2.65rem;
        }

        .currency {
            font-size: 1.3rem;
        }

        .period {
            font-size: 0.8rem;
        }

        .price-annual {
            font-size: 0.8rem;
            margin-top: 0.25rem;
        }

        .duration-info {
            font-size: 0.8rem;
            margin-bottom: 0.85rem;
            padding-bottom: 0.65rem;
        }

        .features-list {
            margin-bottom: 1rem;
            gap: 0.4rem;
        }

        .features-list li {
            padding: 0.4rem 0.35rem;
            font-size: 0.8rem;
            gap: 0.35rem;
        }

        .features-list .check {
            width: 17px;
            height: 17px;
            font-size: 0.65rem;
        }

        .card-cta {
            font-size: 0.85rem;
            padding: 0.6rem 1.1rem;
        }

        .featured-badge {
            font-size: 0.65rem;
            padding: 5px 35px;
            top: 15px;
        }
    }

    @media (max-width: 480px) {
        .hero-buttons,
        .twobtn {
            display: flex !important;
            flex-direction: column !important;
            flex-wrap: nowrap !important;
            align-items: center !important;
            gap: 0.75rem !important;
        }

        .pricing-section {
            padding: 1rem 0.5rem;
        }

        .pricing-card {
            padding: 0.85rem;
        }

        .card-header h3 {
            font-size: 1.1rem;
        }

        .mode-icon {
            font-size: 1.75rem;
        }

        .price-showcase {
            padding: 1rem 0.5rem;
            border-radius: 12px;
        }

        .amount {
            font-size: 2.5rem;
        }

        .currency {
            font-size: 1.25rem;
        }

        .period {
            font-size: 0.75rem;
        }

        .price-annual {
            font-size: 0.8rem;
        }

        .duration-info {
            font-size: 0.8rem;
            margin-bottom: 0.875rem;
            padding-bottom: 0.5rem;
        }

        .features-list {
            margin-bottom: 1rem;
            gap: 0.4rem;
        }

        .features-list li {
            padding: 0.4rem 0.35rem;
            font-size: 0.825rem;
            gap: 0.35rem;
        }

        .card-cta {
            font-size: 0.9rem;
            padding: 0.7rem 1rem;
        }

        .location {
            font-size: 0.8rem;
        }

        .price-option {
            padding: 0.4rem 0.75rem;
        }

        .price-value {
            font-size: 1.2rem;
        }

        .price-duration {
            font-size: 0.8rem;
        }
    }

    /* Batch table */
    .table-wrap {
        display: flex;
        justify-content: center;
        padding: 1.5rem 1rem;
    }

    .table-wrap table {
        width: 100%;
        max-width: 1000px;
        border-collapse: separate;
        border-spacing: 0;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(164, 22, 26, 0.1);
    }

    .table-wrap thead th {
        background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(164, 22, 26, 0.12));
        color: #2c2c2c;
        text-align: left;
        padding: 1.1rem 1.5rem;
        font-weight: 700;
        font-size: 0.95rem;
        border-bottom: 2px solid rgba(164, 22, 26, 0.2);
        letter-spacing: 0.02em;
    }

    .table-wrap tbody td {
        padding: 1.1rem 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 0.95rem;
        color: #3a3a3a;
        vertical-align: middle;
    }

    .table-wrap tbody tr:last-child td {
        border-bottom: none;
    }

    .table-wrap tbody tr:nth-child(even) {
        background: rgba(250, 250, 250, 0.5);
    }

    .table-wrap tbody tr:hover {
        background: rgba(255, 107, 107, 0.04);
        transition: background 0.2s ease;
    }

    .table-wrap td .pill {
        display: inline-block;
        background: rgba(179, 33, 33, 0.08);
        color: var(--primary-dark);
        padding: 4px 8px;
        border-radius: 999px;
        font-size: 0.8rem;
    }

    .table-wrap td .pill-online {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff;
        font-weight: 600;
        padding: 5px 12px;
    }

    .table-wrap .online-row {
        background: linear-gradient(to right, rgba(179, 33, 33, 0.02), rgba(179, 33, 33, 0.05));
        border-left: 4px solid var(--primary);
    }

    .table-wrap .price-cell {
        font-weight: 600;
    }

    .table-wrap .price-highlight {
        display: inline-block;
        font-size: 1.5rem;
        font-weight: 700;
        color: #fff;
        background: linear-gradient(135deg, var(--primary), #d32f2f);
        padding: 6px 14px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(179, 33, 33, 0.3);
        animation: priceGlow 2s ease-in-out infinite;
        position: relative;
        top: 2px;
    }

    .table-wrap .price-divider {
        color: #999;
        margin: 0 6px;
        font-weight: 400;
    }

    .table-wrap .price-yearly {
        color: var(--text-muted);
        font-weight: 500;
    }

    @keyframes priceGlow {
        0%, 100% {
            box-shadow: 0 4px 12px rgba(179, 33, 33, 0.3);
        }
        50% {
            box-shadow: 0 4px 20px rgba(179, 33, 33, 0.5), 0 0 15px rgba(179, 33, 33, 0.3);
        }
    }

    @media (max-width: 640px) {
        .table-wrap table {
            width: 100%;
        }

        .table-wrap thead th,
        .table-wrap tbody td {
            padding: 10px 12px;
            font-size: 0.9rem;
        }

        .table-wrap .price-highlight {
            font-size: 1.3rem;
            padding: 5px 10px;
        }

        .table-wrap .price-cell {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-wrap: wrap;
        }
    }

    /* Timeline */
    .timeline {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
        position: relative;
    }

    .timeline::before {
        content: "";
        position: absolute;
        left: 28px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: rgba(0, 0, 0, 0.1);
    }

    .timeline-item {
        padding-left: 60px;
        position: relative;
    }

    .timeline-item::before {
        content: "";
        position: absolute;
        left: 22px;
        top: 5px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--primary);
    }

    .timeline-item h3 {
        margin-bottom: 0.3rem;
        color: var(--primary-dark);
    }

    .timeline-item p {
        font-size: 0.88rem;
        color: var(--text-muted);
    }

    /* Testimonial section */
    .testimonials {
        background: #fff8f1;
        border-radius: var(--radius);
        padding: 2.25rem 1.5rem;
        box-shadow: var(--shadow);
        overflow: hidden;
        position: relative;
        text-align: center;
    }

    .testimonial-slider {
        display: flex;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        gap: 5rem;
        padding-bottom: 1rem;
        justify-content: center;
    }

    .testimonial-card {
        flex: 0 0 300px;
        scroll-snap-align: center;
        background: var(--bg-alt);
        border-radius: var(--radius);
        padding: 1.4rem;
        box-shadow: var(--shadow);
        position: relative;
        text-align: left;
        transition: all 0.3s ease;
    }

    .testimonial-card:hover {
        transform: translateY(-12px) scale(1.04);
        box-shadow: 0 32px 64px rgba(216, 144, 144, 0.25);
        border-color: var(--primary);
        filter: brightness(1.05);
    }

    .testimonial-card::after {
        content: "\201C";
        position: absolute;
        top: -10px;
        left: 4px;
        font-size: 4rem;
        color: rgba(179, 33, 33, 0.15);
    }

    .testimonial-card p {
        font-size: 0.9rem;
        color: var(--text-muted);
        margin-bottom: 0.8rem;
    }

    .testimonial-card strong {
        display: block;
        font-size: 0.85rem;
        color: var(--primary-dark);
    }

    /* Carousel arrows (desktop) */
    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: var(--primary);
        color: #fff;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .carousel-btn:hover {
        background: var(--primary-dark);
    }

    .carousel-btn.prev {
        left: 12px;
    }

    .carousel-btn.next {
        right: 12px;
    }

    /* Hide arrows on small screens; mobile will use touch/swipe */
    @media (max-width: 480px) {
        .carousel-btn {
            display: none;
        }
    }

    /* Floating action buttons (WhatsApp left, Call right) */
    .fab {
        position: fixed;
        bottom: 18px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        cursor: pointer;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        z-index: 1300;
        transition: transform var(--transition), box-shadow var(--transition);
        text-decoration: none;
    }

    .fab:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    }

    .fab.whatsapp {
        left: 16px;
        background: #94ffbb;
    }

    .fab.call {
        right: 16px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    }

    .fab svg {
        width: 22px;
        height: 22px;
        display: block;
    }

    /* Language toggle button (fixed below header on the right) */
    .lang-toggle-wrapper {
        position: fixed;
        top: calc(var(--header-space) + 8px);
        /* sits just below the fixed header */
        right: 16px;
        z-index: 2200;
        /* above header so button remains clickable on desktop */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lang-toggle {
        --lang-translate: -52px;
        /* default visual offset (keeps previous positioning) */
        background: #fff;
        color: var(--text-main);
        border: 1px solid rgba(0, 0, 0, 0.212);
        padding: 8px 12px;
        border-radius: 4px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.055);
        cursor: pointer;
        margin-top: 0;
        transform: translateY(var(--lang-translate));
        font-weight: 700;
        letter-spacing: 0.04em;
        transition: transform 180ms cubic-bezier(.2, .9, .2, 1), box-shadow 180ms ease, background-color 180ms ease;
        will-change: transform;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        z-index: 2201;
        /* ensure button itself sits above header overlay */
    }

    /* subtle hover that composes with the visual offset (uses CSS variable) */
    .lang-toggle:hover {
        transform: translateY(calc(var(--lang-translate) - 4px));
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
        background-color: rgba(0, 0, 0, 0.02);
    }

    /* active / pressed state (also useful for touch when toggled) */
    .lang-toggle:active,
    .lang-toggle.is-active {
        transform: translateY(calc(var(--lang-translate) - 2px)) scale(0.998);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    }

    @media (max-width: 480px) {
        .lang-toggle-wrapper {
            top: calc(var(--header-space) - 8px);
            right: 12px;
        }

        .lang-toggle {
            --lang-translate: 0;
            /* remove visual offset on small screens but keep transforms composable */
            padding: 6px 10px;
            font-size: 0.85rem;
            transform: translateY(var(--lang-translate));
            margin-top: 10px;
        }
    }

    /* Reduce size on very small screens */
    @media (max-width: 360px) {
        .fab {
            width: 48px;
            height: 48px;
        }

        .fab svg {
            width: 20px;
            height: 20px;
        }
    }

    /* Error notification */
    .error-notification {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        border-radius: var(--radius);
        padding: 2.5rem 2rem;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        z-index: 3000;
        text-align: center;
        max-width: 400px;
        width: 90%;
        animation: slideUp 0.5s ease;
        border-left: 4px solid #e74c3c;
    }

    .error-notification h2 {
        color: #e74c3c;
        margin-bottom: 0.5rem;
        font-size: 1.6rem;
    }

    .error-notification p {
        color: var(--text-muted);
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .error-notification .error-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: rgba(231, 76, 60, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        font-size: 2rem;
        color: #e74c3c;
    }

    /* FAQ section */
    .faq {
        max-width: 800px;
        margin: 0 auto;
    }

    .faq-item {
        background: var(--bg-alt);
        margin-bottom: 0.75rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        transition: all 0.3s ease;
    }

    .faq-item:hover {
        transform: translateX(12px) scale(1.02);
        box-shadow: 0 28px 56px rgba(216, 144, 144, 0.2);
        border-color: var(--primary);
        filter: brightness(1.05);
    }

    .faq-item summary {
        padding: 1rem 1.2rem;
        cursor: pointer;
        font-weight: 600;
        color: var(--primary-dark);
        list-style: none;
    }

    .faq-item summary::marker,
    .faq-item summary::-webkit-details-marker {
        display: none;
    }

    .faq-item p {
        padding: 0 1.2rem 1rem;
        font-size: 0.88rem;
        color: var(--text-muted);
    }

    /* CTA final with animated gradient */
    .cta {
        background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 50%, #4a4a4a 100%);
        background-size: 200% 200%;
        color: #ffffff;
        padding: 3rem 2rem;
        text-align: center;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        animation: ctaGlow 10s ease-in-out infinite;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    @keyframes ctaGlow {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }

    /* Alumni / Achievers section */
    .alumni {
        padding: 0.5rem 1rem;
        max-width: 1200px;
        margin: 0 auto 1.5rem;
    }

    .alumni-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.2rem;
        align-items: start;
        justify-items: center;
    }

    .alumni-card {
        text-align: center;
        transition: transform 220ms var(--transition), box-shadow 220ms var(--transition);
        will-change: transform;
    }

    .alumni-card img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
        border: 6px solid #fff;
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
        transition: transform 220ms var(--transition), box-shadow 220ms var(--transition);
        display: block;
    }

    .alumni-card:hover img {
        transform: translateY(-6px) scale(1.03);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
    }

    .alumni-name {
        margin-top: 0.5rem;
        font-weight: 600;
        font-size: 0.85rem;
    }

    /* Highlighted name style (as requested) */
    .highlight {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 10px;
        background: linear-gradient(90deg, var(--primary), var(--primary-dark));
        color: white;
        box-shadow: 0 6px 18px rgba(179, 33, 33, 0.06);
    }


    .cta::before {
        content: "";
        position: absolute;
        width: 200%;
        height: 200%;
        top: -50%;
        left: -50%;
        background: radial-gradient(circle, #c2524e 0%, rgba(255, 255, 255, 0.1) 60%, transparent 100%);
        animation: spin 20s linear infinite;
        z-index: -1;
    }

    @keyframes spin {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(360deg);
        }
    }

    .cta h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        color: #ffffff;
    }

    .cta p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        color: #e0e0e0;
    }

    .cta .cta-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer {
        text-align: center;
        padding: 1.5rem 1rem;
        font-size: 0.8rem;
        color: var(--text-muted);
    }

    /* Modal styles (unchanged, kept for future use if needed) */
    .modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 2000;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .modal.active {
        display: flex;
        opacity: 1;
        animation: modalFadeIn 0.3s ease;
    }

    .modal-content {
        background: var(--bg-alt);
        border-radius: 16px;
        max-width: 420px;
        width: 92%;
        padding: 1.5rem 1.75rem 2rem;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
        position: relative;
        max-height: 85vh;
        overflow-y: auto;
        transform: translateY(20px);
        opacity: 0;
        animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    @keyframes modalFadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    @keyframes modalSlideUp {
        0% {
            transform: translateY(30px);
            opacity: 0;
        }
        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .modal-content h3 {
        margin-top: 0;
        margin-bottom: 0.4rem;
        font-size: 1.3rem;
        color: var(--primary);
        font-weight: 700;
    }

    .modal-content p {
        font-size: 0.85rem;
        color: var(--text-muted);
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

    .close-modal {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(164, 22, 26, 0.1);
        font-size: 1.5rem;
        color: var(--primary);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        line-height: 1;
        font-weight: 300;
    }

    .close-modal:hover {
        background: linear-gradient(135deg, #FF6B6B, #A4161A);
        color: #fff;
        transform: rotate(90deg) scale(1.1);
    }

    .modal form input,
    .modal form select,
    .modal form textarea {
        width: 100%;
        margin-bottom: 0.85rem;
        padding: 0.75rem 1rem;
        border-radius: 10px;
        border: 2px solid rgba(0, 0, 0, 0.08);
        font-size: 0.9rem;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.5);
    }

    .modal form .form-row input,
    .modal form .form-row select {
        margin-bottom: 0;
    }

    .modal form input:focus,
    .modal form select:focus,
    .modal form textarea:focus {
        border-color: var(--primary);
        background: #fff;
        outline: none;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(164, 22, 26, 0.15);
    }

    .modal form select {
        cursor: pointer;
    }

    .modal form button {
        width: 100%;
        background: linear-gradient(135deg, #FF6B6B 0%, #A4161A 70%, #1a1a1a 100%);
        color: #fff;
        padding: 0.85rem;
        border-radius: 10px;
        border: none;
        font-weight: 700;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 16px rgba(164, 22, 26, 0.3);
        margin-top: 0.5rem;
    }

    .modal form button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(164, 22, 26, 0.5);
        filter: brightness(1.1);
    }

    .modal form button:active {
        transform: translateY(-1px);
    }

    /* Dark mode overrides for modals */
    body.dark-mode .modal-content h3 {
        color: #ffffff;
    }

    body.dark-mode .modal-content p {
        color: #c4c4d4;
    }

    body.dark-mode .modal form input,
    body.dark-mode .modal form select,
    body.dark-mode .modal form textarea {
        background: #14141f;
        color: #ffffff;
        border-color: #2a2a3e;
    }

    body.dark-mode .modal form input::placeholder,
    body.dark-mode .modal form textarea::placeholder {
        color: #7a7a8a;
    }

    body.dark-mode .modal form .form-label {
        color: #ffffff;
    }

    body.dark-mode .modal form .radio-label {
        background: #1a1a24;
        border-color: #2a2a3e;
        color: #e6e6f0;
    }

    body.dark-mode .modal form .radio-option input[type="radio"]:checked + .radio-label {
        border-color: #FF6B6B;
        background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(164, 22, 26, 0.25));
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.25);
    }

    body.dark-mode .modal form .fee-display {
        background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(164, 22, 26, 0.18));
        border-color: rgba(255, 107, 107, 0.35);
    }

    body.dark-mode .modal form .fee-label {
        color: #e6e6f0;
    }

    body.dark-mode .modal form .fee-amount {
        color: #FF8A80;
    }

    /* Form Layout Enhancements */
    .modal form .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-bottom: 0.85rem;
    }

    .modal form .form-group {
        margin-bottom: 1rem;
    }

    .modal form .form-label {
        display: block;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-main);
        margin-bottom: 0.65rem;
    }

    .modal form .radio-group {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.65rem;
    }

    .modal form .radio-option {
        position: relative;
        cursor: pointer;
    }

    .modal form .radio-option input[type="radio"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
        margin: 0;
    }

    .modal form .radio-label {
        display: block;
        padding: 0.7rem 1rem;
        border: 2px solid rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        text-align: center;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-main);
        background: rgba(255, 255, 255, 0.5);
        transition: all 0.3s ease;
    }

    .modal form .radio-option input[type="radio"]:checked + .radio-label {
        border-color: #A4161A;
        background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(164, 22, 26, 0.15));
        color: #A4161A;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(164, 22, 26, 0.2);
    }

    .modal form .radio-label:hover {
        border-color: rgba(164, 22, 26, 0.3);
        transform: translateY(-2px);
    }

    .modal form .fee-display {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.25rem;
        background: linear-gradient(135deg, rgba(255, 107, 107, 0.08), rgba(164, 22, 26, 0.08));
        border: 2px dashed rgba(164, 22, 26, 0.25);
        border-radius: 10px;
        margin-bottom: 1.25rem;
    }

    .modal form .fee-label {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-main);
    }

    .modal form .fee-amount {
        font-size: 1.4rem;
        font-weight: 700;
        color: #A4161A;
    }

    @media (max-width: 480px) {
        .modal form .form-row {
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
        }
        
        .modal form .form-row select {
            font-size: 0.85rem;
            padding: 0.7rem 0.75rem;
        }
        
        .modal form .radio-group {
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
        }
        
        .modal form .radio-label {
            padding: 0.65rem 0.75rem;
            font-size: 0.85rem;
        }
    }

    .thank-you-notification {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        border-radius: var(--radius);
        padding: 2.5rem 2rem;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        z-index: 3000;
        text-align: center;
        max-width: 400px;
        width: 90%;
        animation: slideUp 0.5s ease;
    }

    /* Dark Mode Theme Toggle Button */
    .theme-toggle-btn {
        position: fixed;
        left: 20px;
        bottom: 172px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: transparent;
        border: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        z-index: 4000;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
        overflow: hidden;
        animation: breathe 3s ease-in-out infinite;
    }

    .theme-toggle-btn svg {
        width: 56px;
        height: 56px;
        transition: all 0.4s ease;
    }

    /* Show moon icon in light mode, hide sun icon */
    .theme-toggle-btn .sun-icon {
        display: none;
    }

    .theme-toggle-btn .moon-icon {
        display: block;
    }

    /* Show sun icon in dark mode, hide moon icon */
    body.dark-mode .theme-toggle-btn .sun-icon {
        display: block;
    }

    body.dark-mode .theme-toggle-btn .moon-icon {
        display: none;
    }

    .theme-toggle-btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    }

    /* Scroll to Top Button */
    .scroll-top-btn {
        position: fixed;
        right: 20px;
        bottom: 176px;
        width: 54px;
        height: 54px;
        border-radius: 50%;
        background: linear-gradient(135deg, #1a73e8, #0d47a1);
        border: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 24px rgba(26, 115, 232, 0.3);
        z-index: 4000;
        cursor: pointer;
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
        color: #ffffff;
        animation: breathe 3s ease-in-out infinite;
    }

    .scroll-top-btn.show {
        opacity: 1;
        visibility: visible;
    }

    .scroll-top-btn svg {
        width: 28px;
        height: 28px;
    }

    .scroll-top-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 32px rgba(26, 115, 232, 0.4);
    }

    /* WhatsApp floating button */
    .whatsapp-btn {
        position: fixed;
        left: 20px;
        bottom: 116px;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: #25D366;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
        z-index: 4000;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
        animation: breathe 3s ease-in-out infinite;
    }

    .whatsapp-btn svg {
        width: 26px;
        height: 26px;
        display: block;
    }

    .whatsapp-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    }

    /* Call floating button */
    .call-btn {
        position: fixed;
        right: 20px;
        bottom: 116px;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: var(--primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
        z-index: 4000;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
        animation: breathe 3s ease-in-out infinite;
    }

    .call-btn svg {
        width: 26px;
        height: 26px;
        display: block;
        fill: #fff;
    }

    .call-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    }

    /* Language Toggle Button */
    .lang-toggle-btn {
        position: fixed;
        right: 20px;
        bottom: 240px;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff;
        border: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
        z-index: 4000;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 700;
        font-size: 0.85rem;
        animation: breathe 3s ease-in-out infinite;
        animation-delay: 0.5s;
    }

    .lang-toggle-btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    }

    @media (max-width: 480px) {
        .theme-toggle-btn {
            left: 12px;
            bottom: 160px;
            width: 52px;
            height: 52px;
        }

        .theme-toggle-btn svg {
            width: 52px;
            height: 52px;
        }

        .scroll-top-btn {
            right: 12px;
            bottom: 164px;
            width: 50px;
            height: 50px;
        }

        .scroll-top-btn svg {
            width: 26px;
            height: 26px;
        }

        .whatsapp-btn {
            left: 12px;
            bottom: 108px;
            width: 48px;
            height: 48px;
        }

        .whatsapp-btn svg {
            width: 24px;
            height: 24px;
        }

        .call-btn {
            right: 12px;
            bottom: 108px;
            width: 48px;
            height: 48px;
        }

        .call-btn svg {
            width: 24px;
            height: 24px;
        }

        .lang-toggle-btn {
            right: 12px;
            bottom: 188px;
            width: 48px;
            height: 48px;
            font-size: 0.8rem;
        }

        .featured-badge {
            text-indent: -18px;
        }
    }


    /* ---------------------------------
   Responsive helper rules (mobile)
   --------------------------------- */

    @media (max-width: 900px) {

        /* Header: show hamburger and collapse nav */
        .hamburger {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            visibility: visible;
            opacity: 1;
        }

        .nav ul {
            display: none;
            flex-direction: column;
            gap: 0;
            background: rgba(255, 255, 255, 0.98);
            position: absolute;
            top: var(--header-space);
            left: 0;
            right: 0;
            padding: 0.75rem 1rem;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        }

        .nav ul.active {
            display: flex;
        }

        .nav ul li {
            display: block;
            padding: 10px 6px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        }

        body.dark-mode .nav ul {
            background: rgba(20, 20, 30, 0.98);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        }

        body.dark-mode .nav ul li {
            color: #ffffff;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-right {
            display: none;
        }

        /* Reduce hero paddings and scale headings */
        .hero {
            padding: 2.5rem 0 3rem;
        }

        .hero-content h1 {
            font-size: 1.6rem;
        }

        .hero-content p {
            font-size: 0.95rem;
            max-width: 420px;
        }

        .hero-image img {
            max-width: 320px;
            width: 100%;
            height: auto;
            object-fit: contain;
        }

        /* Card spacing */
        .pain-grid,
        .features-grid {
            gap: 1rem;
        }

        /* Videos full width */
        .video-grid {
            gap: 1rem;
        }

        .video-card iframe {
            width: 100%;
            height: auto;
            aspect-ratio: 16/9;
        }
    }

    @media (max-width: 640px) {
        :root {
            --header-space: 64px;
        }

        section {
            padding: 1rem .75rem;
        }

        .section-header h2 {
            font-size: 1.4rem;
        }

        .hero-content h1 {
            font-size: 1.3rem;
        }

        .hero-content p {
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }

        .hero-buttons {
            display: flex;
            flex-direction: column;
            flex-wrap: nowrap;
            align-items: stretch;
            gap: 0.75rem;
        }

        .twobtn {
            display: flex !important;
            flex-direction: column !important;
            flex-wrap: nowrap !important;
            align-items: center !important;
            gap: 0.75rem !important;
        }

        .btn-main,
        .btn-outline {
            width: auto;
            min-width: 160px;
            max-width: 90%;
            padding: 10px 18px;
            font-size: 0.95rem;
        }

        /* Make modal full-width with comfortable padding */
        .modal-content {
            width: calc(100% - 2rem);
            max-width: 520px;
            margin: 0 1rem;
            padding: 1.25rem;
            border-radius: 12px;
        }

        /* Keep table format on small screens (mobile-first). Avoid overflow and ensure proper wrapping */
        .table-wrap {
            padding: 0.5rem;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .table-wrap table {
            width: 100%;
            border: none;
            box-shadow: 0 8px 20px rgba(0,0,0,0.04);
            table-layout: fixed;
            min-width: 0;
        }

        .table-wrap thead {
            display: table-header-group;
        }

        .table-wrap tbody tr {
            display: table-row;
            background: transparent;
            box-shadow: none;
            padding: 0;
            margin-bottom: 0;
        }

        .table-wrap thead th,
        .table-wrap tbody td {
            padding: 8px 10px;
            font-size: 0.9rem;
            white-space: normal;
            word-break: break-word;
            overflow-wrap: anywhere;
        }

        .table-wrap .price-highlight {
            font-size: 1.2rem;
            padding: 4px 10px;
            white-space: nowrap;
        }

        .table-wrap .price-cell {
            font-size: 0.85rem;
        }

        .table-wrap .online-row {
            background: linear-gradient(to right, rgba(179, 33, 33, 0.03), rgba(179, 33, 33, 0.06));
            border-left: 3px solid var(--primary);
        }

        /* Prefer readable column widths on small screens (adjust as needed) */
        .table-wrap th:nth-child(1){ width: 30%; }
        .table-wrap th:nth-child(2){ width: 23%; }
        .table-wrap th:nth-child(3){ width: 23%; }
        .table-wrap th:nth-child(4){ width: 24%; }

        .table-wrap td .pill { display: inline-block; }

        /* Stack hero layout vertically */
        .hero {
            grid-template-columns: 1fr;
            text-align: left;
            display: flex;
            flex-direction: column;
        }

        .hero-image {
            order: 1;
            text-align: center;
        }

        .hero-buttons {
            order: 2;
        }

        .hero-content {
            order: 3;
            padding: 24px;
        }

        /* Make join/mentor buttons stack */
        .hero-buttons,
        .twobtn {
            display: flex !important;
            justify-content: center;
            flex-direction: column !important;
            flex-wrap: nowrap !important;
            align-items: center !important;
            gap: 0.75rem !important;
        }

        .hero-buttons .btn-main,
        .hero-buttons a.btn-main {
            width: auto;
            min-width: 160px;
            max-width: 90%;
            text-align: center;
        }

        /* Floating buttons adjustments to avoid overlapping important UI */
        .whatsapp-btn {
            left: 10px;
            bottom: 106px;
        }

        .call-btn {
            right: 10px;
            bottom: 106px;
        }
    }

    @media (max-width:420px) {
        .hero-content h1 {
            font-size: 1.15rem;
        }

        .section-header h2 {
            font-size: 1.2rem;
        }

        .nav ul li {
            font-size: 0.95rem;
        }

        .logo {
            font-size: 1rem;
        }
    }

    /* Utility: avoid very long text in small screens */
    @media (max-width: 520px) {

        .section-header p,
        .about-text,
        .hero-content p {
            font-size: 0.95rem;
        }
    }

    /* Keep table layout even on very narrow screens; ensure wrapping and avoid overflow */
    @media (max-width: 360px) {
        .table-wrap {
            padding: 0.4rem;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .table-wrap table {
            width: 100%;
            border: none;
            box-shadow: 0 6px 16px rgba(0,0,0,0.04);
            table-layout: fixed;
            min-width: 0;
        }

        .table-wrap thead {
            display: table-header-group;
        }

        .table-wrap thead th,
        .table-wrap tbody td {
            padding: 6px 8px;
            font-size: 0.88rem;
            white-space: normal;
            word-break: break-word;
            overflow-wrap: anywhere;
        }
    }


    .thank-you-notification h2 {
        color: var(--primary);
        margin-bottom: 0.5rem;
        font-size: 1.6rem;
    }

    .thank-you-notification p {
        color: var(--text-muted);
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .thank-you-notification .checkmark {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: rgba(179, 33, 33, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        font-size: 2rem;
        color: var(--primary);
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translate(-50%, -40%);
        }

        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }

    .notification-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 2999;
        display: none;
    }

    .notification-overlay.active {
        display: block;
    }

    /* Responsive tweaks */
    @media (max-width: 768px) {
        .nav {
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            padding: 8px 12px;
            gap: 0.65rem;
        }

        .logo {
            font-size: 1rem;
            order: 1;
            justify-items: center;
        }

        .nav-right {
            order: 2;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-left: auto;
        }

        .hamburger {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            order: 3;
        }

        .nav ul {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            width: 100%;
            flex-direction: column;
            background: rgba(255, 255, 255, 0.95);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            margin-top: 0.5rem;
            padding: 1rem 0;
            z-index: 1000;
        }

        .nav ul.active {
            display: flex;
            z-index: 1201;
        }

        .nav ul li {
            width: 100%;
            text-align: center;
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }

        .nav ul li:last-child {
            border-bottom: none;
        }

        .nav-mentor-form {
            order: 3;
            margin-left: auto;
        }

        .nav-mentor-form input {
            display: none;
        }

        .nav-mentor-form button {
            font-size: 0.85rem;
            padding: 6px 12px;
        }

        .hero {
            padding-top: 2rem;
            padding-bottom: 3rem;
            grid-template-columns: 1fr;
            text-align: center;
            gap: 1rem;
        }

        .hero-content h1 {
            font-size: 1.8rem;
        }

        .price-animation-sticky {
            position: fixed;
            top: auto;
            bottom: 111px;
            right: 15px;
            left: auto;
            transform: none;
            z-index: 1500;
            animation: breathe 3s ease-in-out infinite;
        }

        @keyframes breathe {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .sticky-bubble {
            padding: 12px 20px;
            border-radius: 25px;
        }

        .bubble-text {
            font-size: 1.05rem;
        }

        .price-animation-container {
            padding: 0.75rem 1rem;
            margin: 0 auto;
            max-width: 100%;
        }

        .price-text {
            font-size: 0.7rem;
            margin-bottom: 0.5rem;
        }

        .price-display {
            min-height: 35px;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .old-price {
            font-size: 1.1rem;
        }

        .new-price {
            font-size: 1.5rem;
        }

        .price-message {
            font-size: 0.7rem;
            margin-bottom: 0.6rem;
        }

        .sticky-join-btn {
            padding: 0.55rem 1rem;
            font-size: 0.8rem;
        }

        .sticky-close {
            width: 24px;
            height: 24px;
            font-size: 1rem;
            top: -6px;
            right: -6px;
        }

        .sticky-drag-handle {
            font-size: 0.85rem;
            top: 6px;
            left: 6px;
        }

        .hero-content p {
            font-size: 0.9rem;
        }

        .hero-buttons {
            display: flex;
            flex-direction: column;
            flex-wrap: nowrap;
            align-items: center;
            gap: 0.75rem;
        }

        .btn-main,
        .btn-outline {
            width: auto;
            min-width: 160px;
            max-width: 90%;
            font-size: 0.9rem;
            padding: 12px 20px;
            text-align: center;
            display: inline-block;
        }

        .hero-image img {
            width: 100%;
            max-width: 280px;
            height: auto;
            object-fit: contain;
        }

        section {
            padding: 1.5rem 1rem;
        }

        .section-header {
            margin-bottom: 1.5rem;
        }

        .section-header h2 {
            font-size: 1.6rem;
        }

        .section-header p {
            font-size: 0.9rem;
        }

        .about {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .about-text {
            text-align: left;
        }

        .pain-grid,
        .features-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .pain-card,
        .feature-card {
            padding: 1rem;
        }

        .timeline::before {
            left: 18px;
        }

        .timeline-item {
            padding-left: 48px;
        }

        .timeline-item h3 {
            font-size: 1rem;
        }

        .timeline-item p {
            font-size: 0.85rem;
        }

        .testimonials {
            padding: 1.5rem 1rem;
        }

        /* Keep testimonials as a horizontal carousel on mobile with snap + touch scrolling */
        .testimonial-slider {
            flex-direction: row;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x mandatory;
            gap: 1rem;
            padding-bottom: 0;
            justify-content: flex-start;
        }

        .testimonial-card {
            flex: 0 0 85%;
            max-width: 85%;
            scroll-snap-align: center;
            margin: 0;
        }

        .faq-item summary {
            font-size: 0.9rem;
            padding: 0.8rem 1rem;
        }

        .faq-item p {
            font-size: 0.85rem;
            padding: 0 1rem 0.8rem;
        }

        .cta {
            padding: 2rem 1rem;
        }

        .cta h2 {
            font-size: 1.5rem;
        }

        .cta p {
            font-size: 0.9rem;
        }

        .cta .cta-buttons {
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .cta .cta-buttons button {
            width: 100%;
            max-width: 250px;
            font-size: 0.9rem;
            padding: 10px 18px;
        }

        .footer {
            padding: 1.25rem 1rem;
            font-size: 0.75rem;
        }

        .modal-content {
            width: 95%;
            padding: 1.5rem;
        }
    }

    /* Demo lecture / video grid */
    .demo-lecture .video-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1rem;
        align-items: start;
        margin-top: 1rem;
    }

    .demo-lecture .video-card {
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }

    .demo-lecture .video-card iframe {
        width: 100%;
        height: 100%;
        aspect-ratio: 16 / 9;
        display: block;
        border: 0;
    }

    @media (max-width: 480px) {
        .demo-lecture .video-grid {
            gap: 0.6rem;
        }
    }

    /* Extra small screens */
    @media (max-width: 480px) {


        .hamburger {
            font-size: 1.3rem;
        }

        .logo {
            font-size: 0.9rem;
        }

        .nav-mentor-form button {
            font-size: 0.8rem;
            padding: 5px 10px;
        }

        .hero {
            padding-top: 1.5rem;
            padding-bottom: 2rem;
            gap: 0.8rem;
            margin-top: 15px;
        }

        .hero-content h1 {
            font-size: 1.6rem;
        }

        .hero-content p {
            font-size: 0.85rem;
        }

        .hero-image img {
            max-width: 250px;
            height: auto;
            object-fit: contain;
        }

        section {
            padding: 1.5rem 0.8rem;
        }

        .section-header h2 {
            font-size: 1.4rem;
        }

        .section-header p {
            font-size: 0.85rem;
        }

        .pain-card,
        .feature-card {
            padding: 0.8rem;
        }

        .timeline-item {
            padding-left: 40px;
        }

        .timeline::before {
            left: 15px;
        }

        .timeline-item::before {
            left: 9px;
        }

        .testimonials {
            padding: 1.5rem 0.8rem;
        }

        .testimonial-card {
            padding: 1rem;
        }

        .faq-item summary {
            padding: 0.7rem 0.8rem;
            font-size: 0.85rem;
        }

        .faq-item p {
            padding: 0 0.8rem 0.7rem;
            font-size: 0.8rem;
        }

        .cta {
            padding: 1.5rem 0.8rem;
        }

        .cta h2 {
            font-size: 1.3rem;
        }

        .cta p {
            font-size: 0.85rem;
        }

        .cta .cta-buttons button {
            max-width: 220px;
            font-size: 0.85rem;
            padding: 8px 16px;
        }

        .footer {
            padding: 1rem 0.8rem;
            font-size: 0.7rem;
        }

        .modal-content {
            width: 98%;
            padding: 1rem;
        }

        .modal-content h3 {
            font-size: 1.1rem;
        }

        .modal-content p {
            font-size: 0.85rem;
        }
    }