/* 
 * Cheaply Pre-launch Redesign
 * Core CSS Architecture
 */

/* Parallax Scrolling Effects */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.layer-background {
    transform: translateZ(-1px) scale(2);
    z-index: 1;
}

.layer-midground {
    transform: translateZ(-0.5px) scale(1.5);
    z-index: 2;
}

.layer-foreground {
    transform: translateZ(0) scale(1);
    z-index: 3;
}

/* 1. CSS Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

/* Hamburger Menu Styles */
.navbar__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 100;
}

.navbar__toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger animation */
.navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar__toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: linear-gradient(135deg, var(--color-dark), #1e3a8a);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 99;
    }

    .navbar__menu.active {
        right: 0;
    }

    .navbar__menu li {
        margin: 15px 0;
    }

    .navbar__menu a {
        font-size: 1.5rem;
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .navbar__menu a:hover {
        color: var(--color-primary);
    }
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. CSS Variables (Design Tokens) */
:root {
    /* Color System - Solid Colors Only, No Gradients */
    --color-primary: #FFA500;
    /* Orange - for CTAs, highlights, seller-focused elements */
    --color-primary-light: #FFB733;
    --color-primary-dark: #CC8400;
    --color-secondary: #15A8B0;
    /* Teal - for headers, trust indicators, buyer-focused elements */
    --color-secondary-light: #4AC4CC;
    --color-secondary-dark: #10868D;
    --color-dark: #0f172a;
    --color-light: #f8fafc;
    --color-white: #ffffff;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-500: #64748b;

    /* Usage rules */
    --cta-primary: var(--color-primary);
    --cta-secondary: var(--color-secondary);
    --text-heading: var(--color-secondary);
    --text-body: #374151;
    --background-light: #F9FAFB;
    --border-color: #E5E7EB;

    /* Neutral colors */
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Shadow System */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Breakpoints */
    --breakpoint-mobile: 640px;
    --breakpoint-tablet: 1024px;
    --breakpoint-desktop: 1280px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease-in-out;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes floating-element {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, 20px) rotate(10deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes flipIn {
    0% {
        opacity: 0;
        transform: perspective(400px) rotateY(90deg);
    }

    40% {
        transform: perspective(400px) rotateY(-10deg);
    }

    70% {
        transform: perspective(400px) rotateY(10deg);
    }

    100% {
        opacity: 1;
        transform: perspective(400px) rotateY(0deg);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg);
    }

    to {
        opacity: 1;
        transform: rotate(0);
    }
}



.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
    /* Hardware acceleration */
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.reveal--active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Advanced Animation Classes */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.slide-in-down {
    opacity: 0;
    transform: translateY(-30px);
}

.scale-up {
    opacity: 0;
    transform: scale(0.8);
}

.bounce-in {
    opacity: 0;
    transform: scale(0.3) translateY(50px);
}

/* New Hero Section Styles */
.hero {
    min-height: 100vh;
    height: auto;
    padding-bottom: 2rem;
    /* Base space at the bottom for social proof */
    overflow: visible;
    /* Ensure content isn't clipped */
}

.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.2) 0%, rgba(255, 165, 0, 0) 70%);
    z-index: 0;
    animation: floating-element 8s ease-in-out infinite;
}

.floating-element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(21, 168, 176, 0.2) 0%, rgba(21, 168, 176, 0) 70%);
}

.floating-element-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-bottom: 100px;
        /* Increased to ensure social proof is fully visible */
        overflow: visible;
    }

    .hero__content {
        padding-top: 3rem;
        padding-bottom: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero__title {
        font-size: 1.8rem !important;
        margin-bottom: 1rem;
    }

    .hero__subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 1rem;
    }

    .hero__cta {
        margin-top: 1rem;
        width: 100%;
    }

    .hero__cta a {
        width: 100%;
        margin: 0.5rem 0;
    }

    .hero-user-proof {
        margin-bottom: 1.5rem;
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        position: relative;
        z-index: 10;
    }

    .avatar-group {
        margin-bottom: 0.5rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Tablet-specific adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding-bottom: 120px;
        /* Extra space for tablet view */
        overflow: visible;
    }

    .hero__content {
        padding-bottom: 2rem;
        display: flex;
        flex-direction: column;
    }

    /* Ensure title/subtitle usually come first naturally, but let's be safe if needed. 
       Actually, natural order is 0. If we give social proof high order, it goes to bottom. */

    .hero-user-proof {
        margin-bottom: 0;
        margin-top: 2rem;
        position: relative;
        z-index: 10;
        order: 10;
        /* Move to bottom */
    }

    .hero__cta {
        order: 5;
        /* Move below text, above social proof */
        margin-top: 1rem;
    }
}

/* Enhanced Navbar Styles */
.navbar__link {
    position: relative;
}

.navbar__link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.3s ease;
}

.navbar__link:hover::after {
    width: 100%;
}

.navbar__link:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Enhanced Button Styles */
.submit-button {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.typewriter {
    overflow: hidden;
    border-right: .15em solid orange;
    white-space: nowrap;
    animation: typewriter 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: orange;
    }
}

/* Progress fill animation */
.progress-fill {
    height: 100%;
    background: var(--color-primary);
    width: 0%;
    transition: width 1.5s ease-in-out;
}

/* Staggered grid animation */
.staggered-grid {
    display: grid;
    gap: var(--space-lg);
}

.delay-100 {
    animation-delay: 100ms;
    transition-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
    transition-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
    transition-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
    transition-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
    transition-delay: 500ms;
}

/* 3. Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.grid {
    display: grid;
    gap: var(--space-xl);
}

.flex {
    display: flex;
    gap: var(--space-md);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-center {
    text-align: center;
}

.text-lg {
    font-size: 1.25rem;
}

.text-sm {
    font-size: 0.875rem;
}

.font-bold {
    font-weight: 700;
}

.mb-4 {
    margin-bottom: var(--space-sm);
}

.mb-8 {
    margin-bottom: var(--space-lg);
}

.py-20 {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.bg-light {
    background-color: var(--color-light);
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

/* 4. Component Patterns */

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: var(--space-sm) 0;
    transition: all 0.3s ease;
}

.navbar--scrolled {
    position: fixed;
    background: #15A8B0;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: var(--space-xs) 0;
}

.navbar--scrolled .navbar__link {
    color: white;
    text-shadow: none;
}

.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--color-primary);
    width: 0%;
    transition: width 0.1s;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__logo img {
    height: 50px;
    width: auto;
    transition: all var(--transition-fast);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar--scrolled .navbar__logo img {
    height: 42px;
}

.navbar__menu {
    display: flex;
    gap: var(--space-lg);
}

.navbar__link {
    text-decoration: none;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
    padding: var(--space-xs) 0;
}

.navbar__link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar__link:hover {
    color: var(--color-primary);
}

.navbar__toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    /* Changed to white for contrast on dark navbar */
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.navbar__toggle:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-secondary-dark) 0%, var(--color-dark) 100%);
    padding-top: 80px;
}

/* Floating Shapes */
.hero__shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    z-index: 2;
}

.hero__shape--1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 165, 0, 0.1);
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.hero__shape--2 {
    width: 80px;
    height: 80px;
    background: rgba(21, 168, 176, 0.1);
    bottom: 30%;
    right: 15%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero__shape--3 {
    width: 100px;
    height: 100px;
    background: rgba(255, 183, 51, 0.1);
    top: 40%;
    right: 20%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }

    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

.hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
    opacity: 0.4;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3rem);
    /* Responsive scaling */
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.5;
    max-width: 600px;
    margin-bottom: var(--space-xl);
    font-weight: 400;
    opacity: 0.9;
}

.hero__cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Additional styles for overlay elements */
.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Position badge at top of hero content */
.hero__badge {
    align-self: flex-start;
    margin-bottom: var(--space-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(21, 168, 176, 0.1);
    color: #15A8B0;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
}

/* Position overlay box */
.hero__overlay-box {
    position: absolute;
    bottom: var(--space-lg);
    right: var(--space-lg);
    z-index: 10;
    background: white;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    max-width: 180px;
    width: auto;
}

/* Avatar group styles */
.avatar-group {
    display: flex;
    margin-right: -0.75rem;
}

.avatar-group img,
.avatar-group>div {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
    margin-right: -0.75rem;
    z-index: 1;
}

.avatar-group>div {
    background: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
}

/* Hero user proof positioning */
.hero-user-proof {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    z-index: 10;
}

/* Mobile stacking */
@media (max-width: 768px) {
    .hero-user-proof {
        position: static;
        margin-top: 2rem;
        padding-top: 0;
        order: 3;
        /* Place after buttons */
        width: 100%;
        /* Full width */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__cta {
        order: 2;
        /* Place in middle */
    }

    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        /* Ensure proper spacing */
    }

    .avatar-group {
        flex-direction: row;
        /* Keep avatars in row on mobile */
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem auto;
        /* Center the group */
        display: flex;
        gap: 0.5rem;
        /* Add spacing between avatars */
    }

    .avatar-info {
        text-align: center;
        margin-left: 0;
        width: 100%;
    }

    .avatar-info p {
        margin: 0.25rem 0;
        /* Better spacing on mobile */
        text-align: center;
    }
}

.avatar-info {
    text-align: left;
    margin-left: 1rem;
}

.avatar-info p {
    color: white !important;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Features image styles */
.features__image {
    width: 100%;
    height: 150px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    margin-bottom: 0;
}

.features__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* Step image styles */
.step-image {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Testimonial image styles */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary);
}

/* Feature Card Improvements */
.feature-card {
    /* Overall card styling */
    padding: 2rem;
    border-radius: 16px;
    background: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;

    /* Flex layout for proper spacing */
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure consistent card heights */
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #15A8B0;
    /* Teal accent on hover */
}

/* Image container with adequate height */
.feature-image-container {
    width: 100%;
    height: 180px;
    /* Adequate height, not too compact */
    margin-bottom: 1.5rem;
    /* Space between image and content */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    /* Light background for contrast */
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Show entire image without cropping */
    padding: 1rem;
    /* Internal spacing */
    transition: transform 0.3s ease;
}

.feature-image:hover {
    transform: scale(1.05);
}

/* Title area with icon */
.feature-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* Space between icon and title */
    margin-bottom: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Description text */
.feature-description {
    line-height: 1.6;
    color: #4b5563;
    flex-grow: 1;
    /* Push content to fill card evenly */
}

/* Step card improvements */
.step-card {
    text-align: center;
}

.step-image {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Responsive adjustments for features section */
@media (max-width: 768px) {
    .feature-image-container {
        height: 150px;
        /* Slightly smaller on mobile */
    }

    .feature-card {
        padding: 1.5rem;
        /* Reduced padding on mobile */
    }

    .feature-header {
        gap: 0.5rem;
        /* Tighter spacing on mobile */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .feature-image-container {
        height: 160px;
    }
}

/* Mobile optimization for features grid */
@media (max-width: 768px) {
    .features__grid {
        gap: 1rem;
        /* Reduce grid gap on mobile */
    }

    .features__card {
        padding: 1.5rem 1rem;
        /* Further reduce on mobile */
        margin: 0 0.25rem;
        /* Adjust margin */
    }

    .features__icon {
        width: 70px;
        /* Slightly smaller on mobile */
        height: 70px;
        margin: 0 auto var(--space-md);
    }

    .features__icon i {
        font-size: 1.75rem;
        /* Adjust icon size */
    }
}

/* Mobile optimization for hero section */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        /* Allow natural height to prevent compacting */
        padding: 3rem 1rem 2rem;
        /* Add padding but prevent overflow */
        padding-bottom: 1rem;
        /* Ensure space for social proof */
        display: flex;
        flex-direction: column;
        /* Single column layout */
    }

    .hero__title {
        font-size: clamp(1.75rem, 5vw, 2rem);
        /* Smaller on mobile */
        line-height: 1.3;
        margin-bottom: var(--space-md);
        /* Increased spacing */
    }

    .hero__subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        /* Slightly smaller on mobile */
        line-height: 1.6;
        /* Better readability */
        margin-bottom: var(--space-lg);
        /* Increased spacing */
    }

    .hero__content {
        padding: var(--space-md);
        /* Reduce padding */
        gap: var(--space-lg);
        /* Increased gap between elements */
        align-items: center;
        /* Center content */
        width: 100%;
        /* Ensure full width */
    }

    .hero__cta {
        flex-direction: column;
        /* Stack buttons vertically */
        gap: var(--space-sm);
        width: 100%;
        /* Ensure full width */
        margin-top: var(--space-md);
        /* Increased space above buttons */
    }

    .submit-button {
        width: 100%;
        /* Full width buttons */
        margin: 0;
        /* Remove any margins */
        min-height: 48px;
        /* Ensure adequate touch target */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Mobile optimization for waitlist form */
@media (max-width: 768px) {
    .waitlist-form {
        padding: 1rem;
        /* Reduce padding */
        margin: 0 0.25rem;
        /* Reduce margin */
    }

    .form-input {
        padding: 0.625rem;
        /* Reduce input padding */
        font-size: 0.9rem;
        /* Slightly smaller text */
    }

    /* Stack form elements better */
    .form-group {
        margin-bottom: 0.75rem;
        /* Reduce spacing */
    }

    .form-label {
        margin-bottom: 0.375rem;
        /* Reduce label spacing */
        font-size: 0.85rem;
        /* Slightly smaller label */
    }

    .phone-input-wrapper {
        gap: 0.5rem;
        /* Reduce gap in phone input */
        width: 100%;
        display: flex;
        align-items: center;
        margin-bottom: 0.5rem;
    }

    @media (min-width: 769px) {
        .phone-input-wrapper {
            gap: 0.75rem;
            margin-bottom: 0.75rem;
        }
    }

    .country-code {
        padding: 0.625rem 0.5rem;
        /* Reduce country code padding */
        font-size: 0.85rem;
        /* Smaller text */
    }

    .whatsapp-icon {
        padding: 0.625rem 0.5rem;
        /* Reduce icon padding */
        font-size: 0.85rem;
        /* Smaller text */
    }

    /* Adjust button sizing */
    .submit-button {
        padding: 0.75rem 1rem;
        /* Reduce button padding */
        font-size: 0.9rem;
        /* Slightly smaller text */
        margin-top: 0.75rem;
        /* Reduce top margin */
    }

    .hint-text {
        font-size: 0.75rem;
        /* Smaller hint text */
        margin-top: 0.25rem;
        /* Reduce margin */
    }

    .privacy-note {
        font-size: 0.75rem;
        /* Smaller privacy text */
        margin-top: 0.5rem;
        /* Reduce margin */
    }
}

/* Mobile optimization for steps section */
@media (max-width: 768px) {
    .steps-section {
        padding: 2rem 1rem;
        /* Reduce section padding */
    }

    .step-card {
        padding: 1.5rem 1rem;
        /* Reduce padding */
        margin-bottom: 1.5rem;
    }

    .step-number {
        width: 40px;
        /* Smaller on mobile */
        height: 40px;
        font-size: 1.25rem;
    }
}

/* Mobile optimization for testimonials */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
        /* Reduced side margins */
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.5;
    }

    .author-avatar {
        width: 60px;
        /* Smaller avatars on mobile */
        height: 60px;
    }
}

/* Mobile navigation improvements */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
        /* Reduce navbar padding */
    }

    .navbar__container {
        padding: 0 0.5rem;
        /* Reduce container padding */
    }

    .navbar__menu {
        padding: 1rem;
        /* Adjust menu padding */
    }

    .navbar__link {
        padding: 0.75rem 1rem;
        /* Adjust link padding */
        font-size: 1rem;
        /* Ensure readability */
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {

    /* Minimum touch target size */
    button,
    a,
    .form-input,
    .navbar__link {
        min-height: 44px;
        /* Apple HIG standard */
        min-width: 44px;
        /* For tappable elements */
    }

    .submit-button {
        padding: 0.875rem 1.5rem;
        /* Adequate touch area */
        min-height: 48px;
        /* Ensure adequate touch target */
    }

    .form-input {
        padding: 0.875rem;
        /* Easier to tap */
        min-height: 48px;
        /* Ensure adequate touch target */
    }
}

/* Global container padding consistency */
.container {
    padding: 0 clamp(1rem, 4vw, 2rem);
    /* Consistent responsive padding */
}

/* Section-specific mobile padding */
.section-padding {
    padding: clamp(2rem, 5vw, 4rem) 1rem;
    /* Responsive section padding */
}

/* Mobile typography scaling */
@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        line-height: 1.2;
    }

    h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    h3 {
        font-size: clamp(1.5rem, 4vw, 2rem);
        /* Adjust for how-it-works heading */
    }

    p {
        font-size: clamp(0.9rem, 3vw, 1rem);
        line-height: 1.6;
    }
}

/* Mobile optimization for how-it-works section (Tailwind classes compatibility) */
@media (max-width: 768px) {

    /* Adjust grid layout for mobile */
    [class*="grid-cols-"] {
        grid-template-columns: 1fr !important;
        /* Force single column on mobile */
    }

    /* Adjust padding for mobile */
    [class*="py-16"] {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    [class*="lg:py-24"] {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    [class*="gap-16"] {
        gap: 2rem !important;
    }

    /* Adjust avatar group for mobile */
    .flex.-space-x-3 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .size-11 {
        width: 2.75rem !important;
        height: 2.75rem !important;
    }

    /* Adjust text sizes for mobile */
    [class*="text-4xl"] {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }

    [class*="lg:text-5xl"] {
        font-size: 1.75rem !important;
    }

    [class*="text-lg"] {
        font-size: 1rem !important;
    }

    [class*="lg:text-xl"] {
        font-size: 1rem !important;
    }

    /* Adjust the savings panel positioning */
    .sm\\:block {
        display: none !important;
    }

    @media (min-width: 640px) {
        .sm\\:block {
            display: block !important;
        }
    }
}

/* Floating Shapes in Hero */
.hero__shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
    /* Hardware acceleration */
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.hero__shape--1 {
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.hero__shape--2 {
    width: 200px;
    height: 200px;
    background: var(--color-secondary);
    bottom: 20%;
    right: -50px;
    animation-delay: 2s;
}

.hero__shape--3 {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    top: 20%;
    right: 20%;
    animation-delay: 4s;
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* About Section */
.about {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-gray-100);
}

.about__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.about__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.about__card {
    background: var(--color-white);
    border-radius: 20px;
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    text-align: center;
}

.about__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.about__icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

/* Roadmap Section */
.roadmap {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-secondary-dark);
    color: white;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--color-primary);
}

.timeline__item {
    position: relative;
    width: 50%;
    padding: var(--space-xl);
}

.timeline__item--odd {
    left: 0;
    text-align: right;
}

.timeline__item--even {
    left: 50%;
    text-align: left;
}

.timeline__content {
    background: var(--color-white);
    border-radius: 16px;
    padding: var(--space-xl);
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Roadmap Section */
.roadmap-section {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-white);
    position: relative;
    overflow: hidden;
    color: var(--color-dark);
}

.roadmap-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.roadmap-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.roadmap-glow-1 {
    background: var(--color-primary);
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.roadmap-glow-2 {
    background: var(--color-secondary);
    bottom: 20%;
    right: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.roadmap-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-gray-100);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    border: 1px solid var(--color-gray-200);
    color: var(--color-gray-700);
}

.roadmap-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: var(--color-secondary);
}

.premium-countdown {
    background: var(--color-white);
    border-radius: 24px;
    padding: var(--space-xl);
    margin-bottom: var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.countdown-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.countdown-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.countdown-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.countdown-text h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.launch-date {
    font-size: 1rem;
    color: var(--color-gray-600);
    margin: 0;
    font-weight: 400;
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-number {
    color: var(--color-primary);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-unit {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--space-xs);
}

.approaching-launch {
    animation: pulse-glow 1.5s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        text-shadow: 0 0 5px rgba(255, 165, 0, 0.3);
    }

    100% {
        text-shadow: 0 0 20px rgba(255, 165, 0, 0.8), 0 0 30px rgba(255, 165, 0, 0.6);
    }
}

.countdown-separator {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: var(--color-gray-200);
    align-self: stretch;
    margin: var(--space-sm) 0;
}

.roadmap-journey {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.roadmap-path-svg {
    width: 100%;
    height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.roadmap-path-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 4;
}

.roadmap-path-progress {
    fill: none;
    stroke: url(#pathGradient);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.roadmap-milestones {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.roadmap-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: var(--space-xl);
    border: 1px solid var(--color-gray-200);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.roadmap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.roadmap-card.active:hover {
    box-shadow: 0 8px 24px rgba(255, 165, 0, 0.2);
}

.roadmap-card.upcoming:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.roadmap-card.active {
    background: var(--color-white);
    border: 1px solid var(--color-primary);
    box-shadow: 0 8px 24px rgba(255, 165, 0, 0.15);
}

.roadmap-card.upcoming {
    opacity: 0.9;
    border: 1px solid var(--color-gray-200);
}

/* Uniform card effects */
.roadmap-card .card-icon {
    transition: transform 0.3s ease;
}

.roadmap-card:hover .card-icon {
    transform: scale(1.05);
}

.roadmap-card .phase-badge {
    transition: all 0.3s ease;
}

.roadmap-card:hover .phase-badge {
    transform: scale(1.05);
}





.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.phase-badge {
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-gray-100);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-gray-700);
}

.current {
    background: var(--color-primary);
    color: white;
}

.next {
    background: var(--color-secondary);
    color: white;
}

.finale-badge {
    background: var(--color-primary);
    color: white;
}

.phase-date {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: rotate 10s linear infinite;
}

.flag-icon {
    animation: wave 3s ease-in-out infinite;
}

.gear-icon {
    animation: rotate 20s linear infinite;
}

.checkmark-icon {
    /* SVG draw animation would be added here */
}

.calendar-icon {
    /* Page flip animation would be added here */
}

.finale-ring {
    animation: rotate 5s linear infinite;
    border: 2px solid var(--color-primary);
}

.icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 165, 0, 0.2);
    animation: pulse 2s infinite;
}

.card-icon i {
    font-size: 2rem;
    z-index: 2;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    text-align: center;
}

.card-subtitle {
    color: var(--color-gray-600);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg);
}

.card-features li {
    padding: var(--space-xs) 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.card-features i {
    font-size: 0.875rem;
    min-width: 16px;
    color: var(--color-primary);
}

.card-progress {
    height: 6px;
    background: var(--color-gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-primary);
    width: var(--progress, 0%);
    transition: width 1.5s ease-in-out;
}

.roadmap-cta {
    text-align: center;
    margin-top: var(--space-3xl);
    position: relative;
    z-index: 2;
}

.roadmap-cta p {
    margin-bottom: var(--space-lg);
    font-size: 1.125rem;
    color: var(--color-gray-700);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}





/* How It Works Section */
.how-it-works-section {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-light);
    color: var(--color-dark);
}

.video-demo-section {
    margin: var(--space-2xl) 0;
    text-align: center;
}

.video-frame {
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
    position: relative;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.framed-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-gray-200);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.play-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.play-button i {
    font-size: 2rem;
    margin-left: 4px;
    color: white;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 11;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.control-btn {
    background: var(--color-gray-200);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.progress-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    margin: 0 var(--space-sm);
}

.progress-bar {
    height: 100%;
    width: 100%;
}

.progress {
    height: 100%;
    background: var(--color-primary);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.video-description {
    margin-top: var(--space-lg);
    text-align: center;
}

.video-description h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-gray-800);
}

.video-description p {
    color: var(--color-gray-600);
    line-height: 1.6;
}

.steps-section {
    margin-top: var(--space-3xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.step-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: var(--space-xl);
    text-align: center;
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: var(--color-dark);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.step-card h3 {
    margin-bottom: var(--space-md);
    color: var(--color-gray-800);
}

.step-card p {
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: var(--space-3xl) var(--space-lg);
}

.features__grid {
    display: grid;
    /* Base mobile-first: 1 column */
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Tablet: 2 columns */
@media (min-width: 768px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Desktop: 3 columns (WIDER CARDS) */
@media (min-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(3, 1fr);
        /* Each card will be ~33% width allowing for wider display */
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .features__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.features__card {
    text-align: center;
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
    /* Reduced horizontal padding */
    border-radius: 24px;
    background: white;
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
    color: var(--color-dark);
    margin: 0 0.5rem;
    /* Add small margin for mobile touch targets */
}

.features__card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(255, 165, 0, 0.1);
    transform: translateY(-8px);
}

.features__icon {
    width: 90px;
    height: 90px;
    margin: 0 auto var(--space-lg);
    background: var(--color-primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: white;
    transform: rotate(-10deg);
    transition: var(--transition-base);
}

.features__icon i {
    color: white !important;
}

/* Icon Color Rules */
.action-icon {
    color: var(--color-primary);
}

.informational-icon {
    color: var(--color-secondary);
}

.neutral-icon {
    color: var(--gray-500);
}

.features__card:hover .features__icon {
    transform: rotate(0deg);
}

/* Form Section */
.waitlist-form {
    max-width: 650px;
    margin: 0 auto;
    padding: var(--space-2xl);
    /* Generous padding */
    background: white;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    /* Softer, deeper shadow */
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    /* More space between label and input */
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
}

.form-group {
    margin-bottom: var(--space-xl);
    /* Increased vertical spacing (24-32px approx) */
}

.form-input {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--color-gray-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(255, 165, 0, 0.15);
}

/* WhatsApp Input Field Styling */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 2px;
    transition: all var(--transition-base);
}

.phone-input-wrapper:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(255, 165, 0, 0.15);
}

.country-code {
    padding: calc(var(--space-md) - 2px) var(--space-sm);
    background-color: var(--color-gray-100);
    border-right: 1px solid var(--color-gray-200);
    font-weight: 600;
    color: var(--color-gray-500);
}

.phone-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    padding: calc(var(--space-md) - 2px) var(--space-sm);
    font-size: 1rem;
}

.whatsapp-icon {
    padding: 0 var(--space-sm);
    font-size: 1.2rem;
    color: var(--color-gray-500);
}

.hint-text {
    margin-top: var(--space-sm);
    font-size: 0.85rem;
    color: var(--color-gray-500);
    font-style: italic;
}

.field-info {
    position: relative;
    display: inline-block;
    margin-left: 5px;
}

.tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-dark);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    width: 250px;
    text-align: center;
    z-index: 1000;
    transition: opacity 0.3s;
}

.field-info:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.privacy-note {
    margin-top: var(--space-sm);
    font-size: 0.85rem;
    color: var(--color-gray-500);
    text-align: center;
}

.privacy-note a {
    color: var(--color-primary);
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* From reference example styling */
    border-radius: 9999px;
    /* rounded-full */
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
    /* Force remove underline */
    background: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Shadow from reference */
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 165, 0, 0.4);
}

.btn {
    /* From reference example styling */
    border-radius: 9999px;
    /* rounded-full */
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: #FFA500;
    /* Orange */
    color: white;
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 165, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #15A8B0;
    /* Teal */
    border: 2px solid #15A8B0;
}

.btn-secondary:hover {
    background: #15A8B0;
    color: white;
}

.submit-button:focus-visible,
.navbar__link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes wave {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(5deg);
    }

    75% {
        transform: rotate(-5deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive Overrides */
/* Community Voices Section */
.community-voices-section {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-light);
    color: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.stat-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: var(--space-xl);
    text-align: center;
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    display: block;
}

.stat-label {
    color: var(--color-gray-600);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonials-section {
    margin: var(--space-3xl) 0;
}

.testimonials-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-2xl);
    color: var(--color-white);
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: var(--space-xl);
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--space-lg);
    color: var(--color-gray-700);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: var(--space-xs);
}

.author-location {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    text-align: center;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: 12px;
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.badge-item:hover {
    background: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.badge-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.badge-item span {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

/* Adaptive Animation Tiers */
.universal-tier {
    /* Basic CSS animations only */
}

.enhanced-tier {
    /* Enhanced animations with physics and staggered effects */
}

.premium-tier {
    /* Premium animations with advanced effects */
    /* Add subtle enhancements for high-end devices */
}

/* Enhanced parallax elements */
[data-enhanced-parallax] {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Marketplace Diversity Section */
.marketplace-diversity {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-light);
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.marketplace-card {
    background: white;
    border-radius: 16px;
    padding: var(--space-xl);
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.marketplace-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.marketplace-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.marketplace-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--color-gray-800);
}

.marketplace-card p {
    color: var(--color-gray-600);
    line-height: 1.6;
}

.marketplace-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: var(--space-md);
    border: 1px solid var(--color-gray-200);
}

.marketplace-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base);
}

.image-overlay {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.marketplace-card:hover .marketplace-image img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    background-color: var(--color-dark);
    color: var(--color-gray-100);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer__logo img {
    height: 40px;
    margin-bottom: var(--space-md);
}

.footer__column h4 {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    font-family: var(--font-heading);
}

.footer__link {
    display: block;
    color: var(--color-gray-500);
    text-decoration: none;
    margin-bottom: var(--space-xs);
    transition: var(--transition-fast);
}

.footer__link:hover {
    color: var(--color-primary);
}

.footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* Scroll Top */
.scroll-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.scroll-top--visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    background-color: var(--color-primary-dark);
}

/* Active Navigation Highlight */
.navbar__link--active {
    color: var(--color-primary);
    position: relative;
}

.navbar__link--active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .navbar__container {
        padding: 0 var(--space-sm);
    }

    .navbar__logo img {
        height: 30px;
    }

    .navbar__toggle {
        display: block;
        color: white !important;
        /* Ensure white color on mobile */
        background-color: rgba(255, 255, 255, 0.2) !important;
        border-radius: 8px !important;
        -webkit-backdrop-filter: blur(10px) !important;
        backdrop-filter: blur(10px) !important;
        padding: 0.5rem !important;
        transition: all 0.3s ease !important;
    }

    .navbar__toggle:hover {
        background-color: rgba(255, 255, 255, 0.3) !important;
        transform: scale(1.05) !important;
    }

    .navbar__menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        /* Dark background with transparency */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--space-lg);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
        gap: var(--space-md);
        text-align: center;
        border-radius: 0 0 12px 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar__menu--active {
        display: flex;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline__item {
        width: 100%;
        padding-left: 50px;
        text-align: left;
    }

    .timeline__item--even {
        left: 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    /* Mobile Touch Targets & Spacing */
    .submit-button,
    .navbar__link {
        min-height: 48px;
        /* Comfortable touch target */
        display: flex;
        align-items: center;
        color: white !important;
        /* White text for dark menu */
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        width: 100%;
        justify-content: center;
    }

    .navbar__link:hover {
        background-color: rgba(255, 165, 0, 0.15) !important;
        /* Orange hover effect */
        color: #FFA500 !important;
        /* Orange on hover */
    }

    .navbar__link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--color-primary);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .navbar__link:hover::after {
        width: 70%;
    }

    .timeline__item {
        padding-left: 30px;
        /* Adjust for mobile */
    }

    .hero__title {
        font-size: 2.5rem;
        /* Better mobile sizing */
    }

    section {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: white;
    color: #333;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    pointer-events: auto;
    animation: slideInRight 0.3s ease forwards;
    border-left: 4px solid var(--color-primary);
}

.toast.success {
    border-left-color: #10B981;
}

.toast.error {
    border-left-color: #EF4444;
}

.toast.info {
    border-left-color: #3B82F6;
}

.toast-icon {
    font-size: 20px;
}

.toast.success .toast-icon {
    color: #10B981;
}

.toast.error .toast-icon {
    color: #EF4444;
}

.toast.info .toast-icon {
    color: #3B82F6;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.toast-message {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.toast-close {
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #333;
}

@keyframes slideOutRight {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}