/* Custom Styles for Kidy AI Landing Page */

/* Base Styles */
:root {
    --primary: #3B82F6; /* brighter, kid-friendly sky blue */
    --primary-light: #60A5FA;
    --secondary: #F97316;
    --accent: #F472B6;
    --success: #22C55E;
    --background: #F3F4FF;
    --card-bg: #FFFFFF;
    --text: #0F172A;
    --text-light: #6B7280;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: radial-gradient(circle at top left, #E0F2FE 0, transparent 55%),
                radial-gradient(circle at top right, #FCE7F3 0, transparent 60%),
                radial-gradient(circle at bottom, #FEF3C7 0, transparent 55%),
                var(--background);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1E1B4B;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Buttons & Interactive Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    line-height: 1.5;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    padding: 1rem 2.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 30px -10px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), #FBBF24);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(245, 158, 11, 0.2), 0 10px 10px -5px rgba(245, 158, 11, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    transform: translateY(-3px) scale(1.02);
}

.btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 8px 12px -6px rgba(15, 23, 42, 0.25);
}

.btn:focus-visible {
    outline: 3px solid #FACC15;
    outline-offset: 3px;
}

/* Floating Elements */
.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-1 { animation-delay: 0s; }
.floating-2 { animation-delay: 1s; }
.floating-3 { animation-delay: 2s; }

/* Decorative Elements */
.decorative-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.2;
    z-index: -1;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -200px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -100px;
    left: -50px;
}

/* Navigation */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: #4B5563;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #3B82F6;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 1rem;
    background-color: #3B82F6;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: calc(100% - 2rem);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #DBEAFE 0%, #EEF2FF 40%, #FDF2FF 100%);
    border-radius: 0 0 100px 100px;
    margin-bottom: 6rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29-22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-29c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234f46e5' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.8;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.hero-badge i {
    margin-right: 0.5rem;
    font-size: 1.2em;
}

.hero-image-container {
    position: relative;
    margin: 3rem auto 0;
    max-width: 800px;
}

.hero-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Hero slogan card background image (visual-only) */
.hero-image-container > div > .relative {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.6), rgba(255,255,255,0.65)), url('../images/slogan.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: lighten;
    opacity: 1; /* full card; overlay keeps image subtle while text is readable */
}

/* Hero center logo tile uses logo.png as artwork */
.hero-logo {
    background-image: url('../images/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-logo i {
    opacity: 0;
}

/* Navbar logo square uses logo.png as well */
.nav-logo {
    background-image: url('../images/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.nav-logo i {
    opacity: 0;
}

/* Footer logo icon also uses logo.png */
.footer-logo-icon {
    background-image: url('../images/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.footer-logo-icon i {
    opacity: 0;
}

.floating-element {
    position: absolute;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.floating-1 { top: -20px; left: 5%; animation-delay: 0s; }
.floating-2 { top: 30%; right: 5%; animation-delay: 1s; }
.floating-3 { bottom: -20px; left: 10%; animation-delay: 2s; }

/* Features Section */
.features {
    position: relative;
    padding: 6rem 0;
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    transition: width 0.3s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 18px;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1E1B4B;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Gamified feature cards (visual-only) */
.game-feature-card {
    border-radius: 26px;
    background: #E5F2FF;
    border: 2px solid #D1E4FF;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.game-feature-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
    border-color: #93C5FD;
}

.game-feature-card .feature-icon {
    position: relative;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    transform-origin: center;
}

.game-feature-card .feature-icon i {
    text-shadow: 0 3px 8px rgba(15, 23, 42, 0.32);
}

.game-feature-card:hover .feature-icon {
    transform: translateY(-2px) scale(1.03);
}

.game-feature-card h3 {
    position: relative;
}

.game-feature-card h3::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22C55E;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.25);
    transform: translateY(-50%);
}

/* Decorative Elements */
.feature-decorative {
    position: absolute;
    z-index: -1;
    opacity: 0.1;
}

.feature-dots {
    top: 5%;
    right: 5%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary) 2px, transparent 2px);
    background-size: 10px 10px;
    opacity: 0.2;
}

/* Section background illustration motifs (very low opacity) */
#how-it-works,
#features,
#parents,
#pricing {
    position: relative;
    z-index: 0;
}

#how-it-works::before,
#features::before,
#parents::before,
#pricing::before {
    content: '';
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
    opacity: 0.20; /* ~20% visibility for section motifs */
    pointer-events: none;
    z-index: -1;
}

/* Distribute imagery 1-3 and slogan across sections */
#how-it-works::before {
    background-image: url('../images/image1.png');
}

#features::before {
    background-image: url('../images/image2.png');
    background-position: center right;
}

#parents::before {
    background-image: url('../images/image3.png');
    background-position: center left;
}

#pricing::before {
    background-image: url('../images/slogan.png');
    background-position: bottom right;
}

/* Pricing Section */
.pricing {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #F9FAFB 0%, #F0F4FF 100%);
    overflow: hidden;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.1), 0 10px 10px -5px rgba(79, 70, 229, 0.04);
}

.pricing-card.popular::after {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 0.25rem 2rem;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
    width: 150px;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-title {
    font-size: 1.5rem;
    color: #1E1B4B;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
    line-height: 1;
}

.pricing-period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-features {
    margin: 2rem 0;
    text-align: left;
}

.pricing-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.pricing-feature i {
    color: var(--success);
    margin-right: 0.75rem;
    font-size: 1.2em;
}

.pricing-cta {
    margin-top: 2rem;
}

/* Decorative Elements */
.pricing-decorative {
    position: absolute;
    z-index: -1;
}

.pricing-blob {
    width: 300px;
    height: 300px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    animation: morph 10s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* Testimonials Section */
.testimonials {
    position: relative;
    padding: 6rem 0;
    background: white;
    overflow: hidden;
}

.testimonial-slider {
    margin-top: 3rem;
    position: relative;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 1rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -1rem;
    font-size: 4rem;
    color: var(--primary);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid var(--primary);
    padding: 2px;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    margin: 0;
    color: #1E1B4B;
}

.testimonial-info p {
    margin: 0.25rem 0 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Testimonial Navigation */
.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E5E7EB;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Decorative Elements */
.testimonial-decorative {
    position: absolute;
    z-index: -1;
    opacity: 0.1;
}

.testimonial-dots-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary) 2px, transparent 2px);
    background-size: 10px 10px;
}

.testimonial-dots-2 {
    bottom: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent) 2px, transparent 2px);
    background-size: 15px 15px;
    transform: rotate(45deg);
}

/* Animations */

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1E1B4B;
}

#waitlist input[type="email"] {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #1F2937;
    background-color: white;
    background-clip: padding-box;
    border: 2px solid #E5E7EB;
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

#waitlist input[type="email"]:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}

#waitlist input[type="email"]::placeholder {
    color: #9CA3AF;
    opacity: 1;
}

/* Waitlist section enhancements (visual-only) */
#waitlist {
    position: relative;
    overflow: hidden;
    /* Override Tailwind gradient with a softer, playful one */
    background: radial-gradient(circle at top left, #BFDBFE 0, transparent 55%),
                radial-gradient(circle at top right, #FBCFE8 0, transparent 55%),
                linear-gradient(135deg, #1D4ED8 0%, #6366F1 40%, #EC4899 100%);
}

#waitlist::before,
#waitlist::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    opacity: 0.25;
    pointer-events: none;
}

#waitlist::before {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, #FCD34D 0, transparent 60%);
    top: -40px;
    left: -60px;
}

#waitlist::after {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, #A5B4FC 0, transparent 65%);
    bottom: -80px;
    right: -60px;
}

.waitlist-form {
    position: relative;
}

.waitlist-form::before,
.waitlist-form::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: #FDE68A;
    box-shadow: 24px 10px 0 #F9A8D4, -20px 26px 0 #BFDBFE;
    opacity: 0.85;
    pointer-events: none;
}

.waitlist-form::before {
    top: -16px;
    right: 26px;
}

.waitlist-form::after {
    bottom: -22px;
    left: 18px;
    transform: rotate(8deg);
}

#waitlist .bg-white.rounded-2xl {
    border-radius: 32px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
}

#waitlist #submit-btn.btn-primary {
    border-radius: 999px;
    position: relative;
}

#waitlist #submit-btn.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px dashed rgba(248, 250, 252, 0.6);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.25s ease-out;
}

#waitlist #submit-btn.btn-primary:hover::after {
    opacity: 1;
    transform: scale(1.03);
}

#waitlist #submit-btn.btn-primary:active::after {
    opacity: 0.7;
    transform: scale(0.97);
}

/* Fun focus halo on email field when wrapper is hovered */
#waitlist .flex-grow:hover input[type="email"],
#waitlist .flex-grow:focus-within input[type="email"] {
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.35);
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    min-width: 20px;
    background-color: white;
    border: 2px solid #D1D5DB;
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 3px;
    transition: all 0.2s ease;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Form Footer */
.form-footer {
    margin-top: 2rem;
    text-align: center;
}

.form-footer p {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.form-footer a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1E1B4B;
    color: white;
    padding: 6rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
    margin-right: 0.75rem;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, white, #E0E7FF);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-about {
    color: #E5E7EB;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.footer-heading {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #E5E7EB;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 20px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #E5E7EB;
}

.footer-contact i {
    margin-right: 1rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #9CA3AF;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Decorative Elements */
.footer-decorative {
    position: absolute;
    z-index: 0;
    opacity: 0.05;
}

.footer-blob {
    width: 400px;
    height: 400px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    animation: morph 15s ease-in-out infinite;
}

.footer-dots {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, white 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.1;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem;
    text-align: center;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .testimonial-card {
        margin: 0.5rem;
        padding: 1.5rem;
    }
    
    .hero {
        padding: 6rem 0 4rem;
        border-radius: 0 0 50px 50px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-card, .pricing-card {
        padding: 1.5rem;
    }
}

/* Animations */

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;

    }
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

/* Custom Animations */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #3B82F6;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563EB;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Custom Checkbox */
.custom-checkbox {
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.5rem;
    width: 1.5rem;
    background-color: #fff;
    border: 2px solid #D1D5DB;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: #9CA3AF;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #3B82F6;
    border-color: #3B82F6;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #1F2937;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1F2937 transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
