/* Import DM Sans font */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* Color Variables */
:root {
    /* Text Colors */
    --text-50: #f6f7f2;
    --text-100: #eaefe1;
    --text-200: #d8e0c5;
    --text-300: #bfcba0;
    --text-400: #a4b47c;
    --text-500: #8c9e5f;
    --text-600: #6d7c4a;
    --text-700: #55613c;
    --text-800: #464f33;
    --text-900: #3b432d;
    --text-950: #1f2416;
    
    /* Background Colors */
    --background-50: #fefefe;
    --background-100: #fcfcfc;
    --background-200: #f7f7f7;
    --background-300: #f1f1f1;
    --background-400: #e8e8e8;
    --background-500: #dcdcdc;
    --background-600: #c4c4c4;
    --background-700: #a3a3a3;
    --background-800: #7f7f7f;
    --background-900: #666666;
    --background-950: #3a3a3a;
    
    /* Primary Colors */
    --primary-50: #f2f7f0;
    --primary-100: #e1eddc;
    --primary-200: #c5dcbb;
    --primary-300: #9fc490;
    --primary-400: #7ba968;
    --primary-500: #5f8e48;
    --primary-600: #4a7137;
    --primary-700: #3c592e;
    --primary-800: #324a27;
    --primary-900: #2b3e23;
    --primary-950: #142110;
    
    /* Secondary Colors - Soft Pink */
    --secondary-50: #fef0f8;
    --secondary-100: #fee5f2;
    --secondary-200: #fecce6;
    --secondary-300: #fda4cf;
    --secondary-400: #fb6bb0;
    --secondary-500: #f43f8e;
    --secondary-600: #e31c6b;
    --secondary-700: #c01352;
    --secondary-800: #a11444;
    --secondary-900: #88163c;
    --secondary-950: #4f0720;
    
    /* Accent Colors - Muted Pink/Rose */
    --accent-50: #fdf2f8;
    --accent-100: #fce7f3;
    --accent-200: #fbcfe8;
    --accent-300: #f9a8d4;
    --accent-400: #f472b6;
    --accent-500: #ec4899;
    --accent-600: #db2777;
    --accent-700: #be185d;
    --accent-800: #9d174d;
    --accent-900: #831843;
    --accent-950: #500724;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-950);
    background: var(--background-50);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    overflow: hidden;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-100), var(--secondary-100));
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(31, 36, 22, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-950);
    margin: 0;
    line-height: 1.2;
}

.nav-ctas {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Hamburger menu styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 101;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-950);
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 0;
    transition: right 0.3s ease-in-out;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 1rem;
    border-bottom: 1px solid #9ca3af;
    height: 60px;
}

.mobile-nav-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-950);
    margin: 0;
    line-height: 1.2;
}

/* Mobile nav close button uses hamburger component */

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 2rem 1rem;
    height: calc(100vh - 60px);
    justify-content: space-between;
}

.mobile-nav-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.mobile-nav-cta {
    width: 100%;
    display: flex;
    justify-content: center;
}

.mobile-nav-main .nav-link {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-800);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: all 0.3s ease;
    display: block !important;
    width: 100%;
}

.mobile-nav-main {
    padding-top: 1rem;
    padding-bottom: 1rem;
    position: relative;
}

.mobile-nav-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -1rem;
    right: -1rem;
    height: 1px;
    background: #9ca3af;
}

.mobile-nav-main .nav-link:hover {
    color: var(--text-950);
    font-weight: 600;
}

.mobile-nav-main .nav-link.active {
    color: var(--text-950);
    font-weight: 600;
}

.mobile-nav-cta .btn-primary {
    font-size: 1.1rem;
    padding: 16px 32px;
    text-align: center;
}

.nav-link {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-800);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-950);
    font-weight: 600;
}

.nav-link.active {
    color: var(--text-950);
    font-weight: 600;
}

.btn-primary {
    background: rgba(66, 168, 195, 1);
    color: var(--background-50);
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Smaller nav button */
.navbar .btn-primary {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(66, 168, 195, 1), rgba(46, 148, 175, 1));
    transform: translateY(-2px);
    box-shadow: 0 1px 16px rgba(66, 168, 195, 0.5);
}

/* Hero Section */
.hero {
    padding: 120px 0 0 0;
    background: var(--background-50);
    display: flex;
    align-items: center;
    overflow-x: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.hero-text {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    min-width: 0;
}

.hero-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-950);
    margin-bottom: 24px;
}

.hero-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-700);
    margin-bottom: 40px;
}

.hero-social-proof {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-700);
    margin-top: 16px;
    text-align: left;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
}

.hero-social-proof .highlight {
    font-size: 24px;
    font-weight: 700;
}

.hero-cta {
    margin-top: 60px;
}

.waitlist-label {
    font-size: 12px;
    color: var(--text-600);
    margin-bottom: 8px;
    margin-top: 0;
    text-align: left;
}

/* Subtitle Section */
.subtitle-section {
    padding: 60px 0;
    text-align: center;
}

.subtitle-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-700);
    max-width: 800px;
    margin: 0 auto;
}

.email-form {
    display: flex;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    flex-wrap: nowrap;
    padding: 4px 0;
}

.email-input {
    background: rgba(248, 249, 236, 1);
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 16px;
    color: var(--text-950);
    flex: 1;
    min-width: 200px;
    max-width: 100%;
    transition: all 0.3s ease;
    width: auto;
}

.email-input::placeholder {
    color: rgba(55, 64, 78, 0.6);
}

.email-input:focus {
    box-shadow: 0 0 0 3px rgba(66, 168, 195, 0.3);
    outline: none;
}

.email-input:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 168, 195, 0.4);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-width: 0;
}

.hero-app-image {
    width: 100%;
    max-width: 742px;
    height: auto;
    object-fit: contain;
}

/* Mobile styles for hero image */
@media (max-width: 480px) {
    .hero-app-image {
        width: 96%;
        max-width: 360px;
    }
    
    .hero-content {
        gap: 30px;
        display: flex;
        flex-direction: column;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-container {
        padding: 0 0.75rem;
    }
    
    .hero-heading {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-social-proof {
        font-size: 16px;
    }
    
    .hero-social-proof .highlight {
        font-size: 20px;
    }
    
    /* Center align CTA on mobile */
    .hero-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta p {
        text-align: center !important;
    }
    
    .hero-social-proof {
        text-align: center;
    }
    
    .hero-cta {
        margin-top: 20px;
    }
    
    .waitlist-label {
        margin-top: 0;
    }
}



/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: #ffffff;
    color: var(--text-950);
    text-align: center;
}

.testimonials-header {
    margin-bottom: 60px;
}

.user-avatars {
    display: flex;
    justify-content: center;
    gap: -8px;
    margin-bottom: 20px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    margin-left: -8px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

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

.avatar:hover {
    z-index: 10;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.testimonials-header h2 {
    font-size: 48px;
    font-weight: 600;
    color: var(--text-950);
}

.highlight {
    color: rgba(66, 168, 195, 1);
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Counter animation effects */
.highlight.counter-updating {
    animation: counterUpdate 1.2s ease-in-out;
    position: relative;
    z-index: 10;
}

/* Add spotlight effect during animation */
.testimonials-section:has(.highlight.counter-updating) {
    position: relative;
}

.testimonials-section:has(.highlight.counter-updating)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 5;
}

@keyframes counterUpdate {
    0% {
        transform: scale(1);
    }
    15% {
        transform: scale(1.15) rotate(-2deg);
        color: #6BCF7F;
        text-shadow: 0 0 15px rgba(107, 207, 127, 0.6);
    }
    30% {
        transform: scale(1.2) rotate(2deg);
        color: #FFD93D;
        text-shadow: 0 0 20px rgba(255, 217, 61, 0.8);
    }
    45% {
        transform: scale(1.15) rotate(-1deg);
        color: #ff6b6b;
        text-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
    }
    60% {
        transform: scale(1.1) rotate(1deg);
        color: #4ecdc4;
        text-shadow: 0 0 12px rgba(78, 205, 196, 0.5);
    }
    75% {
        transform: scale(1.05);
        color: #B19CD9;
        text-shadow: 0 0 8px rgba(177, 156, 217, 0.4);
    }
    100% {
        transform: scale(1);
        color: #B19CD9;
        text-shadow: none;
    }
}

/* Loading state for counter */
.highlight.counter-loading {
    opacity: 0.7;
    animation: counterPulse 1.5s ease-in-out infinite;
}

@keyframes counterPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.testimonials-scroll-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
    padding: 20px 0;
}


.testimonial-card {
    background: rgba(248, 249, 236, 1);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    text-align: left;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1px 16px rgba(0, 0, 0, 0.2);
}

.stars {
    font-size: 18px;
    margin-bottom: 16px;
    color: #FFD93D;
}

.testimonial-card blockquote {
    font-size: 16px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-700);
    min-height: 80px;
}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.author-name {
    font-weight: 600;
    color: var(--text-950);
    font-size: 14px;
}


/* Responsive testimonials layout */
@media (min-width: 1200px) {
    .testimonials-carousel {
        max-width: 1400px;
        margin: 0 auto;
    }
}

@media (max-width: 1199px) and (min-width: 769px) {
    .testimonial-card {
        padding: 28px;
    }
    
    .testimonial-card blockquote {
        font-size: 15px;
        min-height: 75px;
    }
}

@media (max-width: 768px) {
    .testimonials-carousel {
        grid-template-columns: 1fr;
        padding: 20px 16px;
        gap: 16px;
    }
    
    .testimonial-card {
        padding: 20px;
        margin: 0;
    }
    
    .testimonial-card blockquote {
        font-size: 15px;
        min-height: 60px;
        line-height: 1.5;
    }
    
    .testimonials-section {
        padding: 100px 0;
    }
    
    .testimonials-header {
        margin-bottom: 40px;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel {
        padding: 20px 12px;
    }
    
    .testimonial-card {
        padding: 16px;
    }
    
    .testimonial-card blockquote {
        font-size: 14px;
        min-height: 50px;
        line-height: 1.4;
    }
    
    .testimonials-header h2 {
        font-size: 32px;
    }
    
    .user-avatars {
        margin-bottom: 16px;
    }
    
    .avatar {
        width: 40px;
        height: 40px;
        margin-left: -6px;
    }
}

/* Why JOMO Section */
.why-section {
    padding: 160px 0;
    background: var(--background-50);
}

.section-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    color: var(--text-950);
    margin-bottom: 32px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: rgba(248, 249, 236, 1);
    border: none;
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(216, 221, 148, 1), rgba(196, 201, 128, 1));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1px 16px rgba(0, 0, 0, 0.2);
}

.card-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-950);
    margin-bottom: 16px;
}

.card-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-700);
}

/* How It Works Section */
/* How It Works Section */
.how-it-works {
    padding: 100px 0;
}

.how-it-works-wrapper {
    background: rgba(248, 249, 236, 1);
    border-radius: 24px;
    padding: 80px;
    margin: 0 auto;
    max-width: 1400px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.how-it-works-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 1px 16px rgba(0, 0, 0, 0.2);
}

.how-it-works-content {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    gap: 40px;
    align-items: start;
}

.how-it-works-left {
    padding-right: 64px;
}

.how-it-works-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-950);
    line-height: 1.2;
    margin-bottom: 16px;
}

.how-it-works-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-700);
    line-height: 1.5;
    max-width: 100%;
}

.how-it-works-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.how-steps-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.how-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.how-step-number {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: rgba(66, 168, 195, 1);
    flex-shrink: 0;
    line-height: 1.4;
}

.how-step-content {
    flex: 1;
}

.how-step-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-950);
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.how-step-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-700);
    line-height: 1.5;
    margin: 0;
}

.section-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-700);
    text-align: center;
    max-width: 700px;
    margin: 16px auto 0;
}

.why-section .section-subtitle {
    margin-top: 16px;
    margin-bottom: 48px;
}

.why-cta {
    text-align: center;
    margin-top: 60px;
}

/* How It Works Responsive */
@media (max-width: 768px) {
    .how-it-works-wrapper {
        padding: 60px 1rem;
    }
    
    .how-it-works-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .how-it-works-left {
        padding-right: 0;
        text-align: center;
    }
    
    .how-it-works-title {
        font-size: 36px;
    }
    
    .how-steps-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .how-step {
        gap: 12px;
    }
    
    .how-step-number {
        font-size: 18px;
    }
    
    .how-step-text {
        font-size: 15px;
    }
}

/* JOMO Works Section */
.jomo-works {
    padding: 160px 0;
    background: var(--background-50);
    overflow: hidden;
}

.jomo-works .section-heading {
    text-align: center;
    margin-bottom: 80px;
    color: var(--text-950);
}

.pills-container {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: flex;
    flex-direction: column;
    gap: 32px;
    overflow: hidden;
}

.pills-row {
    display: flex;
    gap: 24px;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    white-space: nowrap;
}

.pills-row-1 {
    animation-name: scrollLeft;
}

.pills-row-2 {
    animation-name: scrollRight;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.pill {
    padding: 16px 32px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 300;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.pill {
    background: rgba(235, 240, 180, 1);
    color: var(--text-950);
    box-shadow: 0 4px 20px rgba(235, 240, 180, 0.3);
    flex-shrink: 0;
}


/* Pause animation on hover for better UX */
.pills-row:hover {
    animation-play-state: paused;
}

/* Responsive adjustments for pills */
@media (max-width: 768px) {
    .jomo-works {
        padding: 160px 0;
    }
    
    .jomo-works .section-heading {
        margin-bottom: 60px;
        font-size: 28px;
        padding: 0 20px;
    }
    
    .pills-container {
        gap: 24px;
    }
    
    .pill {
        font-size: 14px;
        padding: 12px 24px;
    }
    
    .pills-row {
        animation-duration: 30s; /* Faster on mobile */
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .jomo-works .section-heading {
        font-size: 24px;
    }
    
    .pill {
        font-size: 13px;
        padding: 10px 20px;
    }
    
    .pills-row {
        gap: 12px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Final CTA Section */
.final-cta {
    padding: 160px 0;
    background: rgba(248, 249, 236, 1);
    text-align: center;
    color: var(--text-950);
}

.final-cta .section-heading {
    color: var(--text-950);
    margin-bottom: 32px;
}

.cta-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.8;
    color: var(--text-700);
}

.final-cta .pills-container {
    margin-bottom: 80px;
}

.final-cta .email-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 4px 0;
}

.final-cta .email-input {
    background: #ffffff;
    border: none;
    color: var(--text-950);
}

.final-cta .email-input::placeholder {
    color: rgba(55, 64, 78, 0.6);
}

.final-cta .btn-primary {
    background: rgba(66, 168, 195, 1);
    color: var(--background-50);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
}

.final-cta .btn-primary:hover {
    background: linear-gradient(135deg, rgba(66, 168, 195, 1), rgba(46, 148, 175, 1));
    color: var(--background-50);
    transform: translateY(-2px);
    box-shadow: 0 1px 16px rgba(66, 168, 195, 0.5);
}

/* Contact Form Section */
.contact-section {
    padding: 100px 0;
    background: rgba(250, 250, 250, 1);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header .section-heading {
    color: var(--text-950);
    margin-bottom: 20px;
}

.contact-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-700);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: linear-gradient(135deg, var(--primary-100), var(--secondary-100));
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(216, 221, 148, 0.08);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: var(--text-900);
    background: var(--background-100);
    transition: box-shadow 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    background: var(--background-50);
    box-shadow: 0 0 0 3px var(--primary-300);
    outline: none;
}

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

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666666' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.character-count {
    text-align: right;
    font-size: 12px;
    color: #999999;
    margin-top: 8px;
}

.character-count.over-limit {
    color: #dc3545;
}

.privacy-notice {
    background: rgba(177, 156, 217, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(177, 156, 217, 0.2);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    margin-right: 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #44B36D;
    transform: scale(1.2);
}

.checkbox-label input[type="checkbox"]:focus {
    outline: 2px solid #44B36D;
    outline-offset: 2px;
}

.form-actions {
    text-align: center;
    margin-top: 32px;
}

.contact-submit {
    position: relative;
    min-width: 160px;
    margin-bottom: 16px;
}

.contact-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-note {
    font-size: 14px;
    color: #666666;
    margin: 0;
    font-style: italic;
}

/* Error states */
.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Responsive contact form */
@media (max-width: 768px) {
    .contact-form {
        padding: 24px;
        margin: 0 16px;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-header {
        margin-bottom: 40px;
    }
    
    .contact-description {
        font-size: 16px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Footer */
.footer {
    background: var(--text-950);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: rgba(66, 168, 195, 1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.success-message.show {
    display: flex;
}

.success-content {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.4s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-content h3 {
    color: #6BCF7F;
    margin-bottom: 16px;
    font-size: 24px;
}

.close-success {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999999;
    transition: color 0.3s ease;
}

.close-success:hover {
    color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-heading {
        font-size: 48px;
    }
    
    .hero-app-image {
        width: 100%;
        max-width: 480px;
    }
    
    .hero-text {
        max-width: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-heading {
        font-size: 36px;
    }
    
    .hero-app-image {
        width: 100%;
        max-width: 420px;
    }
    
    .email-form {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .email-input {
        min-width: auto;
        width: 100%;
        max-width: 400px;
    }
    
    .btn-primary {
        padding: 16px 24px;
        font-size: 18px;
        width: 100%;
        max-width: 400px;
    }
    
    .navbar .btn-primary {
        padding: 10px 18px;
        font-size: 14px;
        width: auto;
        max-width: none;
    }
    
    .hero-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta p {
        text-align: center !important;
        width: 100%;
        max-width: 400px;
    }
    
    .hero-cta {
        margin-top: 20px;
    }
    
    .waitlist-label {
        margin-top: 0;
    }
    
    .section-heading {
        font-size: 32px;
    }
    
    .testimonial-card {
        padding: 24px;
        margin: 0 10px;
    }
    
    .email-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
        align-items: center;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .nav-link {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-ctas .btn-primary {
        display: none;
    }
}

/* Hide mobile navigation on larger screens */
@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
    
    .mobile-nav.active {
        display: none !important;
    }
}