/* ============================================
   LANDING PAGE STYLES - FUN & KID-FRIENDLY
   ============================================ */

/* ===== COLOR PALETTE - WARM & JOYFUL ===== */
:root {
    /* Primary Colors - Golden Yellow */
    --primary-gold: #f0c447;
    --primary-gold-dark: #d4a017;
    --primary-gold-light: #f5d679;

    /* Complementary Colors - Warm Palette */
    --accent-coral: #ff6b6b;
    --accent-peach: #ffa07a;
    --accent-purple: #9b59b6;
    --accent-teal: #48c9b0;
    --accent-orange: #ff8c42;
    --accent-pink: #ff6b9d;

    /* Neutral Colors */
    --text-dark: #2d3748;
    --text-gray: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;

    /* Shadows & Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== TYPOGRAPHY - PLAYFUL & FRIENDLY ===== */
body.landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.landing-page .display-1,
.landing-page .display-2,
.landing-page .display-3,
.landing-page .display-4 {
    color: var(--bs-primary);
}

/* ===== NAVIGATION - CLEAN & STICKY ===== */
.landing-page .navbar {
    padding: 1rem 0;
    transition: all var(--transition-base);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.landing-page .navbar-brand img {
    transition: transform var(--transition-base);
}

.landing-page .navbar-brand:hover img {
    transform: scale(1.05);
}

.landing-page .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px;
    transition: all var(--transition-base);
}

.landing-page .nav-link:hover {
    background: var(--bs-primary);
    transform: translateY(-2px);
}

/* ===== HERO SECTION - WARM & JOYFUL ===== */
.hero-section {
    background: linear-gradient(135deg,
        var(--bs-primary) 0%,
        var(--bs-danger) 50%,
        var(--bs-primary) 100%);
    background-size: 200% 200%;
    animation: gradientFlow 10s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 66, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(72, 201, 176, 0.08) 0%, transparent 60%);
    animation: floatSoft 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatSoft {
    0%, 100% { opacity: 0.6; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(-20px); }
}

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

.hero-image {
    animation: floatImage 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

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

.hero-section h1 {
    -webkit-text-fill-color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

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

/* Trust Badge - Playful Pills */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: bounceIn 1s ease-out, shimmer 3s ease-in-out infinite;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
}

/* ===== BUTTONS - FUN & INTERACTIVE ===== */
.cta-button {
    padding: 16px 48px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all var(--transition-base);
    border: none;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Note: .btn-primary styles now defined in bootstrap-custom.css */

/* ===== FEATURE CARDS - COLORFUL & PLAYFUL ===== */
.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 24px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-coral), var(--accent-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(240, 196, 71, 0.3);
}

.feature-card .card-body {
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    animation: bounceGentle 3s ease-in-out infinite;
    position: relative;
    transform-style: preserve-3d;
}

@keyframes bounceGentle {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.feature-card:nth-child(1) .feature-icon { animation-delay: 0s; }
.feature-card:nth-child(2) .feature-icon { animation-delay: 0.15s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: 0.3s; }
.feature-card:nth-child(4) .feature-icon { animation-delay: 0.45s; }

.icon-purple {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    box-shadow: 0 10px 30px rgba(240, 196, 71, 0.4);
}

.icon-green {
    background: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-pink) 100%);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.icon-orange {
    background: linear-gradient(135deg, var(--accent-teal) 0%, #3498db 100%);
    box-shadow: 0 10px 30px rgba(72, 201, 176, 0.4);
}

.icon-blue {
    background: linear-gradient(135deg, var(--accent-purple) 0%, #8e44ad 100%);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.4);
}

/* ===== PRICING CARD - HIGHLIGHTED & ATTRACTIVE ===== */
.pricing-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
    border: 2px solid var(--bs-primary);
    background-clip: padding-box;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 32px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(240, 196, 71, 0.3);
}

.price-badge {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    animation: pulseGlow 3s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(219, 43, 11, 0.3);
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(214, 41, 10, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 6px 25px rgba(235, 51, 5, 0.5); }
}

/* ===== TESTIMONIAL CARDS - COLORFUL & FRIENDLY ===== */
.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f7 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    border-left: 5px solid transparent;
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary-gold), var(--accent-coral), var(--accent-purple));
    border-radius: 20px 0 0 20px;
}

.testimonial-card:hover {
    box-shadow: 0 12px 30px rgba(240, 196, 71, 0.2);
    transform: translateY(-8px);
    background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
}

/* ===== FAQ SECTION - INTERACTIVE ===== */
.faq-item {
    border-bottom: 2px solid #e2e8f0;
    padding: 1.5rem 0;
    transition: all var(--transition-base);
}

.faq-item:hover {
    background: rgba(102, 126, 234, 0.03);
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 12px;
}

.faq-question {
    cursor: pointer;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-base);
}

.faq-question:hover {
    color: var(--primary-purple);
}

.faq-question i {
    font-size: 1.25rem;
    transition: transform var(--transition-base);
    color: var(--primary-purple);
}

.faq-answer {
    margin-top: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== FOOTER - FRIENDLY & INFORMATIVE ===== */
.landing-page footer {
    background: linear-gradient(135deg, #3d3d3d 0%, #2d2d2d 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

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

.landing-page footer a {
    transition: all var(--transition-base);
}

.landing-page footer a:hover {
    color: var(--primary-gold) !important;
    transform: translateX(3px);
}

/* ===== DECORATIVE ELEMENTS ===== */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: floatShape 20s infinite ease-in-out;
}

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


/* ===== NUMBER BADGES - STEP INDICATORS ===== */
.step-number {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-orange));
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(240, 196, 71, 0.4);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 3px dashed var(--primary-gold);
    opacity: 0.3;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== SECTION SPACING ===== */
section {
    position: relative;
}

section + section {
    margin-top: 0 !important;
}

/* Add subtle animations to sections on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 1.1rem;
    }

    .feature-card:hover {
        transform: translateY(-8px) rotate(0deg);
    }

    .display-1, .display-2, .display-3, .display-4 {
        font-size: 2.5rem !important;
    }
}

/* ===== UTILITY CLASSES ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bounce-on-hover {
    transition: transform var(--transition-base);
}

.bounce-on-hover:hover {
    animation: bounce 0.5s ease;
}

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

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* ===== DASHBOARD PREVIEW ANIMATION ===== */
.dashboard-preview {
    animation: dashboardFloat 6s ease-in-out infinite, dashboardFadeIn 1s ease-out;
    transform-origin: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@keyframes dashboardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dashboard-preview:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 30px 60px rgba(240, 196, 71, 0.3) !important;
}

/* ===== SECTION BACKGROUNDS - WARM & SUBTLE ===== */

/* Features Section - White background with padding */
.features-section {
    background: #ffffff;
    position: relative;
    padding: 100px 0 !important;
}

/* How It Works - Warm gradient background */
.how-it-works-section {
    background: linear-gradient(135deg, #fffbf0 0%, #fff5e6 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 !important;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(240, 196, 71, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 20s ease-in-out infinite;
}

.how-it-works-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 15s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* Pricing Section - Light warm accent */
.pricing-section {
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
    position: relative;
    padding: 100px 0 !important;
}

/* Testimonials - Subtle peach gradient background */
.testimonials-section {
    background: linear-gradient(135deg, #fff 0%, #fffbf5 100%);
    position: relative;
    padding: 100px 0 !important;
}

/* FAQ Section - Light golden tint */
.faq-section {
    background: linear-gradient(135deg, #fffdf7 0%, #fff 100%);
    position: relative;
    padding: 100px 0 !important;
}

/* Final CTA - Warm colorful gradient */
.final-cta-section {
    background: linear-gradient(135deg,
        rgba(240, 196, 71, 0.08) 0%,
        rgba(255, 107, 107, 0.06) 100%);
    position: relative;
    padding: 100px 0 !important;
}

/* Footer */
.landing-footer {
    background: linear-gradient(135deg, #3d3d3d 0%, #2d2d2d 100%);
    color: var(--bs-light);
    position: relative;
}
