/* ============================================================
   LANDING.CSS - Landing Page Styles
   "Selamat Datang di Dunianya Kancil Digital!"
   ============================================================ */

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, var(--white) 0%, var(--green-50) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--green-100), transparent 70%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--green-100), transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding: var(--space-3xl) 0;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-text .badge {
    margin-bottom: var(--space-lg);
}

.hero-text h1 {
    margin-bottom: var(--space-lg);
    line-height: 1.15;
}

.hero-text h1 .highlight {
    background: linear-gradient(135deg, var(--green-500), var(--green-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: var(--font-lg);
    color: var(--gray-500);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-illustration {
    width: 100%;
    max-width: 480px;
    position: relative;
}

.hero-illustration .mascot {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--green-100), var(--green-200));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.15);
}

/* Floating Stats Cards around Mascot */
.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
    white-space: nowrap;
}

.floating-card.card-1 {
    top: 20px;
    right: 10px;
    animation-delay: 0.5s;
}

.floating-card.card-2 {
    bottom: 40px;
    left: 0;
    animation-delay: 1s;
}

.floating-card.card-3 {
    top: 50%;
    right: -10px;
    animation-delay: 1.5s;
}

.floating-card .fc-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.floating-card .fc-label {
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 600;
}

.floating-card .fc-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--gray-800);
}

/* ---------- Features Section ---------- */
.features {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.features .section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.features .section-header p {
    color: var(--gray-500);
    font-size: var(--font-lg);
    margin-top: var(--space-md);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    background: var(--white);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--green-200);
    background: var(--green-50);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-lg);
    background: var(--green-50);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--green-100);
    transform: scale(1.1);
}

.feature-card h4 {
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--gray-500);
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--green-50) 0%, var(--green-100) 100%);
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-3xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.cta-box h2 {
    margin-bottom: var(--space-md);
}

.cta-box p {
    color: var(--gray-500);
    margin-bottom: var(--space-xl);
    font-size: var(--font-lg);
}

/* ---------- Footer ---------- */
.footer {
    padding: var(--space-xl) 0;
    background: var(--gray-800);
    color: var(--gray-400);
    text-align: center;
    font-size: 14px;
}

.footer span {
    color: var(--green-400);
    font-weight: 700;
}

/* ---------- Mobile Responsive ---------- */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--space-2xl) 0;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-illustration .mascot {
        width: 180px;
        height: 180px;
        font-size: 80px;
    }

    .floating-card {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: var(--space-xl);
    }
}