/* ===== Pidu - Playful Dark Theme ===== */

:root {
    --green-600: #2D9D78;
    --green-500: #3BB98F;
    --green-400: #4DD4A6;
    --green-300: #7DE9C2;
    --green-200: #B5F5DD;
    
    --orange-500: #FF9800;
    --pink-500: #E91E8C;
    --blue-500: #3498DB;
    
    --dark-900: #0A1612;
    --dark-800: #0F1E18;
    --dark-700: #152821;
    --dark-600: #1E362C;
    --gray-500: #8BA89E;
    --gray-400: #B5CFC3;
    --gray-300: #D4E8DF;
    --white: #FFFFFF;
    
    --font-display: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 50px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-400);
    background: var(--dark-900);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--white);
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
}

.highlight {
    color: var(--green-400);
}

.highlight-light {
    color: var(--green-300);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-600) 0%, var(--green-500) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(45, 157, 120, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(45, 157, 120, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--green-400);
    border: 2px solid var(--green-500);
}

.btn-outline:hover {
    background: var(--green-600);
    color: var(--white);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 22, 18, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a:not(.btn) {
    font-weight: 600;
    color: var(--gray-400);
}

.nav-menu a:not(.btn):hover {
    color: var(--green-400);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 100px;
    background: linear-gradient(180deg, var(--dark-900) 0%, var(--dark-800) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.star, .book-float {
    position: absolute;
    font-size: 1.5rem;
    animation: floatStar 6s ease-in-out infinite;
    opacity: 0.3;
}

.star-1 { top: 15%; left: 10%; animation-delay: 0s; }
.star-2 { top: 25%; right: 15%; animation-delay: 2s; }
.star-3 { bottom: 30%; left: 20%; animation-delay: 4s; }
.book-1 { top: 40%; right: 10%; animation-delay: 1s; font-size: 2rem; }
.book-2 { bottom: 20%; right: 25%; animation-delay: 3s; font-size: 1.8rem; }

@keyframes floatStar {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(10deg); opacity: 0.5; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--dark-700);
    border: 1px solid var(--green-600);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--green-400);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green-500);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.hero h1 {
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--gray-400);
    margin-bottom: 28px;
    max-width: 500px;
}

.hero-features {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.mini-feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-icon {
    font-size: 1.5rem;
}

.mini-feature span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-300);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trust-badges {
    display: flex;
    align-items: center;
    gap: 24px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-stars {
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.trust-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-400);
}

.trust-item span:last-child {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--dark-600);
}

/* Hero Visual - Mascot Showcase */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.mascot-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mascot-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--green-500) 0%, var(--green-600) 30%, transparent 70%);
    opacity: 0.2;
    filter: blur(50px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.3; }
}

.mascot-character {
    font-size: 15rem;
    z-index: 2;
    animation: mascotFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

@keyframes mascotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Info Pills */
.info-pill {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px 10px 10px;
    background: rgba(21, 40, 33, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    z-index: 3;
    animation: pillFloat 4s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pill-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.pill-icon.orange { background: var(--orange-500); }
.pill-icon.green { background: var(--green-500); }
.pill-icon.blue { background: var(--blue-500); }
.pill-icon.pink { background: var(--pink-500); }

.pill-content {
    display: flex;
    flex-direction: column;
}

.pill-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pill-value {
    font-weight: 700;
    color: var(--white);
    font-size: 0.95rem;
}

/* Pill Positions */
.pill-1 { top: 5%; left: -30%; animation-delay: 0s; }
.pill-2 { top: 10%; right: -35%; animation-delay: 0.5s; }
.pill-3 { bottom: 30%; left: -35%; animation-delay: 1s; }
.pill-4 { bottom: 15%; right: -30%; animation-delay: 1.5s; }

@keyframes pillFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--dark-800);
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ===== Trust Section ===== */
.trust-section {
    padding: 40px 0;
    background: var(--dark-800);
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--gray-400);
}

.trust-badge-item .badge-icon {
    font-size: 1.5rem;
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--dark-600);
    color: var(--green-400);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-header.light .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.1rem;
}

.section-header.light p {
    color: var(--green-200);
}

.section-header.light h2 {
    color: var(--white);
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
    background: var(--dark-800);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--dark-700);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-600);
}

.feature-card.main-feature {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-600) 0%, var(--dark-700) 100%);
    border: none;
}

.feature-visual {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-visual img {
    max-height: 400px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.feature-info {
    padding: 48px 48px 48px 0;
    color: var(--white);
}

.feature-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.feature-info h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.feature-info p {
    color: var(--green-200);
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-points {
    list-style: none;
}

.feature-points li {
    padding: 8px 0;
    color: var(--green-100);
    font-weight: 500;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card > p {
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== How It Works Section ===== */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--green-600) 0%, var(--dark-700) 100%);
}

.steps-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 280px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 16px;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.step h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.step p {
    color: var(--green-200);
    font-size: 0.95rem;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin-top: 60px;
}

/* ===== Library Section ===== */
.library-section {
    padding: 100px 0;
    background: var(--dark-900);
}

.library-showcase {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.library-image {
    width: 100%;
}

.library-categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.category-tag {
    padding: 10px 20px;
    background: var(--dark-700);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: var(--green-600);
    color: var(--white);
    border-color: var(--green-600);
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 100px 0;
    background: var(--dark-800);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background: var(--dark-700);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-600);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, var(--green-600) 0%, var(--dark-700) 100%);
    border: none;
}

.testimonial-card.featured p {
    color: var(--green-100);
}

.testimonial-card.featured .author-name {
    color: var(--white);
}

.testimonial-card.featured .author-title {
    color: var(--green-200);
}

.testimonial-stars {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--green-600);
    color: var(--white);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--white);
}

.author-title {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ===== Download Section ===== */
.download-section {
    padding: 100px 0;
    background: var(--dark-900);
}

.download-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: linear-gradient(135deg, var(--green-600) 0%, var(--dark-700) 100%);
    border-radius: var(--radius-xl);
    padding: 60px;
    align-items: center;
}

.download-mascot {
    font-size: 4rem;
    margin-bottom: 24px;
}

.download-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.download-content p {
    color: var(--green-200);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: all 0.3s ease;
}

.store-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.store-btn svg {
    width: 28px;
    height: 28px;
}

.store-text {
    display: flex;
    flex-direction: column;
}

.store-text span {
    font-size: 0.75rem;
    opacity: 0.9;
}

.store-text strong {
    font-size: 1.1rem;
}

.download-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ===== Footer ===== */
.footer {
    padding: 80px 0 40px;
    background: var(--dark-800);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand > p {
    color: var(--gray-500);
    margin-bottom: 16px;
}

.company-info {
    font-weight: 600;
    color: var(--gray-400);
    margin-top: 24px;
    margin-bottom: 8px;
}

.company-address, .company-email {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.footer-links h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    padding: 8px 0;
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--green-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.footer-legal a:hover {
    color: var(--green-400);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-description {
        margin: 0 auto 28px;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .info-pill {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card.main-feature {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }

    .feature-info {
        padding: 32px;
    }

    .steps-row {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 16px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-buttons {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .mascot-character {
        font-size: 10rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.main-feature {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-features {
        flex-direction: column;
        gap: 12px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 16px;
    }

    .trust-divider {
        display: none;
    }

    .download-card {
        padding: 32px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .store-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Mobile Menu ===== */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-800);
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    gap: 16px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
