/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables - Playful & Vibrant */
:root {
    --bg: #fef7f0;
    --fg: #1A1A2E;
    --muted: #6b7280;
    --card: #ffffff;
    --accent: #46C1B8;
    --secondary: #FF8C42;
    --accent-yellow: #FFE66D;
    --accent-ink: #ffffff;
    --ring: #FFB68A;
    
    /* Typography */
    --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Borders - More Playful */
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Shadows - Playful & Soft */
    --shadow-sm: 0 2px 4px 0 rgba(70, 193, 184, 0.1);
    --shadow: 0 4px 8px 0 rgba(70, 193, 184, 0.15), 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 24px -6px rgba(70, 193, 184, 0.2), 0 6px 12px -3px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 8px 16px -4px rgba(70, 193, 184, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.08);
}

/* Base typography - Playful & Friendly */
body {
    font-family: var(--font-system);
    line-height: 1.6;
    color: var(--fg);
    background: linear-gradient(135deg, #ebf1f0 0%, #e5ebe5 50%, #f1f8e9 100%);
    font-weight: 400;
    scroll-behavior: smooth;
    position: relative;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Playful background elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(70, 193, 184, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(78, 205, 196, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(255, 230, 109, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Screen reader only */
.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;
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }
}

/* Typography scale - Friendly & Playful */
h1 {
    font-size: clamp(2rem, 5vw + 1rem, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--fg);
    text-shadow: 0 2px 4px rgba(70, 193, 184, 0.1);
}

h2 {
    font-size: clamp(1.5rem, 4vw + 0.5rem, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    color: var(--fg);
}

h3 {
    font-size: clamp(1.125rem, 2vw + 0.5rem, 1.5rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: var(--space-sm);
    color: var(--fg);
}

p {
    font-size: clamp(0.9375rem, 1vw + 0.5rem, 1.125rem);
    font-weight: 500;
    margin-bottom: var(--space-md);
    color: var(--muted);
    line-height: 1.7;
}

/* Header - Playful Style */
#site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 3px solid var(--accent);
    z-index: 100;
    padding: clamp(0.75rem, 2vw, 1.5rem) 0;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wordmark {
    font-size: clamp(1.375rem, 3vw + 0.5rem, 1.75rem);
    font-weight: 800;
    color: var(--accent);
    text-shadow: 0 2px 4px #ced2d2;
    position: relative;
}

.wordmark::after {
    content: '🦉';
    font-size: 1.2rem;
    margin-left: var(--space-xs);
    display: inline-block;
    animation: owlBounce 2s infinite;
}

@keyframes owlBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

nav {
    display: flex;
    gap: var(--space-lg);
}

nav a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: clamp(0.875rem, 1.5vw + 0.25rem, 1rem);
    white-space: nowrap;
}

nav a:hover {
    color: var(--accent);
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

@media (max-width: 768px) {
    nav {
        gap: var(--space-md);
    }
    
    nav a {
        font-size: 0.9rem;
    }
}

/* Navigation styles */
.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Responsive navigation */
@media (max-width: 720px) {
    .main-nav {
        justify-content: flex-end;
        gap: 0;
    }
    .nav-hide-mobile {
        display: none !important;
    }
    .nav-get-app {
        /* Optionally center or right-align */
        margin-left: auto;
        font-weight: 600;
        /* Add padding or style as needed */
    }
}

/* Buttons - Playful & Engaging */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    height: 64px;
    width: 30%;
    letter-spacing: 0.025em;
}

/* Responsive button sizing for mobile */
@media (max-width: 768px) {
    .btn {
        padding: clamp(0.875rem, 2vw, 1.5rem) clamp(1.5rem, 4vw, 3rem);
        font-size: clamp(1rem, 2vw + 0.25rem, 1.2rem);
        height: auto;
        min-height: clamp(48px, 10vw, 64px);
        width: 100%;
        overflow: visible;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: var(--shadow-card);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    background: #3db5ab;
    box-shadow: 0 12px 32px rgba(78, 205, 196, 0.4), 0 0 30px rgba(78, 205, 196, 0.3);
    transform: translateY(-4px) scale(1.03);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:focus {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Hero button - larger and ensures single line */
.btn-hero {
    font-size: 1.4rem;
    padding: var(--space-lg) var(--space-2xl);
    white-space: nowrap;
    min-width: 200px;
}

@media (max-width: 768px) {
    .btn-hero {
        font-size: clamp(1.125rem, 2.5vw + 0.5rem, 1.4rem);
        padding: clamp(1rem, 2.5vw, 2rem) clamp(2rem, 5vw, 4rem);
        white-space: normal;
    }
}

/* Sections */
section {
    padding: clamp(1rem, 3vw, 2rem) 0;
}

/* Hero Section - Card Style */
#hero {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
    background: transparent;
}

.hero-card {
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: clamp(1rem, 3vw, 2rem);
    box-shadow: var(--shadow-card);
    border: 4px solid var(--accent);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 3vw, 2rem);
    min-height: auto;
    height: auto;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(70, 193, 184, 0.08) 0%, transparent 70%);
    animation: heroFloat 8s ease-in-out infinite;
}

/* Hide hero owl image on mobile - increased specificity */
@media (max-width: 720px) {
    #hero .hero-image {
        display: none !important;
    }
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    min-height: auto;
    height: auto;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    color: var(--fg);
    font-size: clamp(2rem, 6vw + 0.5rem, 3.5rem);
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0;
    margin-bottom: clamp(0.75rem, 2vw, 2rem);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(var(--shadow-card));
    animation: owlFloat 3s ease-in-out infinite;
}

@keyframes owlFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
}

/* Problem Section - Card Style */
#problem {
    background: transparent;
    padding: clamp(1rem, 3vw, 2rem) 0;
}

.problem-card {
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: clamp(1rem, 3vw, 2rem);
    box-shadow: var(--shadow-card);
    border: 4px solid var(--secondary);
    position: relative;
    overflow: visible;
    min-height: auto;
    height: auto;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.08) 0%, transparent 70%);
    animation: problemFloat 10s ease-in-out infinite;
}

@keyframes problemFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
}

.problem-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: auto;
    height: auto;
}

.problem-illustration {
    display: flex;
    justify-content: center;
}

.problem-illustration img {
    animation: owlStress 2s ease-in-out infinite;
}

@keyframes owlStress {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(-3px) rotate(-1deg); }
    75% { transform: translateX(3px) rotate(1deg); }
}

@media (max-width: 768px) {
    .problem-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
}

/* Solution Section - Card Style */
#solution {
    background: transparent;
    padding: clamp(1rem, 3vw, 2rem) 0;
    padding-bottom: clamp(2rem, 5vw, 4rem);
}

.solution-card {
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: clamp(1rem, 3vw, 2rem);
    box-shadow: var(--shadow-card);
    border: 4px solid var(--accent);
    position: relative;
    overflow: visible;
    min-height: auto;
    height: auto;
}

.solution-card::before {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 230, 109, 0.08) 0%, transparent 70%);
    animation: solutionFloat 12s ease-in-out infinite;
}

@keyframes solutionFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -20px) rotate(-180deg); }
}

.solution-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: auto;
    height: auto;
}

.solution-steps-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.75rem, 2vw, 1.5rem);
    margin: clamp(1rem, 3vw, 2rem) 0;
}

.solution-step-card {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    color: white;
    padding: clamp(0.875rem, 2vw, 1.5rem);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: auto;
    height: auto;
    overflow: visible;
}

.solution-step-card:hover {
    transform: translateY(-4px) rotate(1deg);
    box-shadow: var(--shadow-lg);
}

.step-number {
    background: rgba(255, 255, 255, 0.3);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    font-weight: 800;
    font-size: 1.2rem;
}

.solution-step-card h3 {
    font-size: clamp(0.9375rem, 1.5vw + 0.25rem, 1.1rem);
    margin-bottom: var(--space-xs);
    color: white;
}

.solution-step-card p {
    font-size: clamp(0.8125rem, 1vw + 0.25rem, 0.9rem);
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.solution-image {
    display: flex;
    justify-content: center;
}

.solution-image img {
    animation: owlEureka 3s ease-in-out infinite;
}

@keyframes owlEureka {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

@media (max-width: 768px) {
    .solution-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .solution-steps-cards {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
}

/* How it works Section - Enhanced */
#how {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(70, 193, 184, 0.1) 100%);
    text-align: center;
    position: relative;
    overflow: visible;
    padding-top: clamp(2rem, 5vw, 4rem);
    padding-bottom: clamp(2rem, 5vw, 4rem);
}

#how::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 230, 109, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.how-header {
    position: relative;
    z-index: 2;
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw + 0.25rem, 1.2rem);
    color: var(--muted);
    margin-bottom: 0;
    font-weight: 500;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-top: clamp(1.5rem, 4vw, 3rem);
}

.step-card {
    background: var(--card);
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
    border: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    overflow: visible;
    min-height: auto;
    height: auto;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: var(--radius-lg);
}

.step-card:hover {
    transform: translateY(-8px) rotate(2deg) scale(1.03);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(70, 193, 184, 0.2);
    border-color: var(--accent);
}

.step-card:hover::before {
    opacity: 0.05;
}

.step-card:nth-child(1):hover {
    transform: translateY(-8px) rotate(-2deg) scale(1.03);
}

.step-card:nth-child(3):hover {
    transform: translateY(-8px) rotate(2deg) scale(1.03);
}

.step-card > * {
    position: relative;
    z-index: 3;
}

.step-icon {
    margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
    transition: transform 0.3s ease;
}

.step-icon img {
    width: auto;
    height: clamp(100px, 20vw, 140px);
    margin: 0 auto;
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(-5deg);
}

.step-card h3 {
    color: var(--fg);
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.step-card p {
    font-size: clamp(0.875rem, 1vw + 0.25rem, 1rem);
    margin-bottom: 0;
}

/* Why different Section - Enhanced Cards */
#why {
    position: relative;
    overflow: visible;
    padding-top: clamp(2rem, 5vw, 4rem);
    padding-bottom: clamp(2rem, 5vw, 4rem);
}

#why::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(70, 193, 184, 0.03) 0%, rgba(78, 205, 196, 0.03) 100%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: clamp(0.75rem, 2vw, 1.5rem);
        margin-bottom: clamp(1.5rem, 4vw, 3rem);
    }
}

.feature-card {
    background: var(--card);
    padding: clamp(0.875rem, 2vw, 1.5rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 3px solid var(--accent);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
    min-height: auto;
    height: auto;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px) rotate(1deg) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(255, 230, 109, 0.3);
    border-color: var(--accent);
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card:nth-child(2n):hover {
    transform: translateY(-8px) rotate(-1deg) scale(1.02);
}

.feature-card h3 {
    color: var(--fg);
    font-size: clamp(1.125rem, 2vw + 0.5rem, 1.4rem);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 3;
}

.feature-card p {
    font-size: clamp(0.9375rem, 1.5vw + 0.25rem, 1.1rem);
    margin-bottom: 0;
    position: relative;
    z-index: 3;
    line-height: 1.6;
}

/* Trust Section - Enhanced */
#trust {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(255, 230, 109, 0.1) 100%);
    text-align: center;
    position: relative;
    overflow: visible;
    padding: clamp(2rem, 5vw, 4rem) 0;
}

#trust::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(70, 193, 184, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: trustPulse 8s ease-in-out infinite;
}

@keyframes trustPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

#trust .container {
    position: relative;
    z-index: 2;
}

#trust h2 {
    text-shadow: 0 2px 4px rgba(70, 193, 184, 0.1);
    margin-bottom: var(--space-lg);
}

.trust-note {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: clamp(1rem, 3vw, 2rem);
    padding: clamp(0.75rem, 2vw, 1rem) clamp(0.875rem, 2vw, 1.5rem);
    background: var(--bg);
    border-radius: var(--radius);
    font-size: clamp(0.8125rem, 1vw + 0.25rem, 0.9rem);
    color: var(--muted);
}

.trust-icon {
    font-size: 1.2rem;
}

/* Signup Section - Card Style */
#signup {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    color: var(--accent-ink);
    text-align: center;
    position: relative;
    overflow: visible;
    padding: clamp(2rem, 5vw, 4rem) 0;
}

#signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 230, 109, 0.1) 0%, transparent 50%);
    animation: signupShimmer 15s ease-in-out infinite;
}

@keyframes signupShimmer {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.signup-card {
    position: relative;
    z-index: 2;
}

.signup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
}

.signup-owl {
    animation: owlPoint 2s ease-in-out infinite;
}

@keyframes owlPoint {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
}

#signup h2 {
    color: var(--accent-ink);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.signup-form {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    margin-top: clamp(1.5rem, 4vw, 3rem);
}

.form-group {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.form-group input {
    width: 60%;
    padding: var(--space-md) var(--space-lg);
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent-ink);
    font-size: 1.2rem;
    font-weight: 500;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 64px;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 230, 109, 0.4), 0 8px 24px rgba(70, 193, 184, 0.2);
    transform: translateY(-3px) scale(1.01);
    background: rgba(255, 255, 255, 0.3);
}

.form-helper {
    font-size: clamp(0.8125rem, 1vw + 0.25rem, 0.9rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

.form-message {
    margin-top: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.2);
    color: #dcfce7;
    border: 1px solid rgba(34, 197, 94, 0.3);
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: block;
}

@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
        gap: var(--space-md);
    }

    .form-group input {
        width: 100%;
        padding: clamp(0.875rem, 2vw, 1.5rem) clamp(1rem, 3vw, 2rem);
        font-size: clamp(1rem, 2vw + 0.25rem, 1.2rem);
        height: auto;
        min-height: clamp(48px, 10vw, 64px);
    }

    .form-group .btn {
        width: 100%;
    }
}

/* Closing CTA - Card Style */
.closing-cta {
    text-align: center;
    padding: clamp(1rem, 3vw, 2rem) 0;
    background: linear-gradient(135deg, rgba(255, 230, 109, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
}

.closing-card {
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: clamp(1rem, 3vw, 2rem);
    box-shadow: var(--shadow-card);
    border: 4px solid var(--accent);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    min-height: auto;
    height: auto;
}

.closing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(70, 193, 184, 0.05) 0%, transparent 70%);
    animation: closingFloat 6s ease-in-out infinite;
}

@keyframes closingFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-10px, -10px) rotate(90deg); }
}

.closing-card h2 {
    position: relative;
    z-index: 2;
    margin-bottom: var(--space-lg);
}

.closing-card .btn {
    position: relative;
    z-index: 2;
}

/* Footer - Enhanced */
#footer {
    background: linear-gradient(135deg, var(--fg) 0%, #0F1419 100%);
    color: #9ca3af;
    padding: clamp(1rem, 3vw, 2rem) 0;
    position: relative;
    overflow: visible;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 50%, var(--accent) 100%);
}

.footer-content {
    display: flex;
    justify-content: center;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    margin: 0;
    font-size: clamp(0.8125rem, 1vw + 0.25rem, 0.9rem);
}

.footer-content a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-content a:hover {
    color: var(--accent-ink);
}

.footer-links {
    display: flex;
    gap: clamp(0.75rem, 2vw, 1.5rem);
}

.footer-links a {
    font-size: clamp(0.8125rem, 1vw + 0.25rem, 0.9rem);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
    
    .solution-steps-cards {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .signup-owl {
        order: -1;
    }
}

/* Extra playful elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Scroll-triggered animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out;
}

/* Enhanced hover states for interactive elements */
a, button, .step-card, .feature-card, .solution-step-card {
    cursor: pointer;
}

/* Loading states */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--accent-ink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success animations */
.success-bounce {
    animation: successBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Additional mobile optimizations for 320-430px widths */
@media (max-width: 430px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 clamp(0.75rem, 3vw, 1rem);
        max-width: 100%;
    }

    .hero-card,
    .problem-card,
    .solution-card,
    .closing-card {
        border-width: 3px;
        border-radius: clamp(16px, 4vw, 24px);
    }

    .solution-steps-cards {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: clamp(0.75rem, 3vw, 1rem) clamp(1rem, 4vw, 1.5rem);
        min-height: 48px;
    }

    .form-group {
        gap: 0.75rem;
    }

    .form-group input,
    .form-group .btn {
        min-height: 48px;
        font-size: 1rem;
    }

    /* Ensure hero and other content sections stack properly */
    .hero-content,
    .problem-content,
    .solution-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image,
    .problem-illustration,
    .solution-image {
        order: -1;
        max-width: 200px;
        margin: 0 auto;
    }
}

/* Ensure proper text wrapping on very small screens */
@media (max-width: 360px) {
    h1 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    h2 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .btn {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}