/*
Theme Name: MiniJoy Kids App
Theme URI: https://minijoy.marijadev.cloud
Author: MarijaDev
Author URI: https://marijadev.cloud
Description: Official modern & playful landing page and privacy policy theme for the MiniJoy Kids mobile application.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: minijoy
*/

:root {
    --primary: #FF6B6B;
    --primary-hover: #ee5253;
    --secondary: #4ECDC4;
    --accent-yellow: #FFE66D;
    --accent-purple: #A55EEA;
    --text-dark: #2C3E50;
    --text-muted: #636e72;
    --bg-light: #F7F9FC;
    --white: #FFFFFF;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

#features, #safety {
    scroll-margin-top: 100px;
}

/* Header & Nav */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-badge {
    background: linear-gradient(135deg, #FF6B6B, #FFA07A);
    color: white;
    font-weight: 900;
    font-size: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.35);
}

.logo-text {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF6B6B, #A55EEA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #FF8E53);
    color: white !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Zero-Plugin Language Switcher */
.lang-switch-box {
    display: flex;
    align-items: center;
    background: #edf2f7;
    border-radius: 20px;
    padding: 3px;
    gap: 3px;
    margin-left: 6px;
}

.lang-pill {
    padding: 5px 12px;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 16px;
    color: #4a5568 !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lang-pill:hover {
    color: var(--primary) !important;
}

.lang-pill.active {
    background: #ffffff;
    color: var(--primary) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    padding: 70px 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    background: #FFEAA7;
    color: #D35400;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 46px;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 20px;
    color: #2D3436;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.google-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #111;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.google-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.google-play-btn svg {
    width: 28px;
    height: 28px;
}

.google-play-btn .btn-text-small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    line-height: 1;
}

.google-play-btn .btn-text-large {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-preview {
    position: relative;
    display: flex;
    justify-content: center;
}

.mockup-card {
    background: linear-gradient(135deg, #4ECDC4, #55EFC4);
    border-radius: 36px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(78, 205, 196, 0.25);
    text-align: center;
    color: white;
    width: 100%;
    max-width: 400px;
    position: relative;
}

.mockup-icon {
    font-size: 80px;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

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

.mockup-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.mockup-card p {
    font-size: 15px;
    opacity: 0.95;
}

/* Features */
.features-section {
    background: white;
    padding: 80px 24px;
}

.section-title {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.section-title h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 17px;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 35px 25px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Dedicated Child Safety Banner */
.safety-banner {
    max-width: 1200px;
    margin: 50px auto 0;
    background: linear-gradient(135deg, #f0fdf4, #e8f8f5);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 2px solid #86efac;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
    align-items: center;
}

.safety-banner-icon {
    font-size: 60px;
    text-align: center;
}

.safety-banner-text h3 {
    font-size: 24px;
    font-weight: 800;
    color: #166534;
    margin-bottom: 8px;
}

.safety-banner-text p {
    font-size: 16px;
    color: #1e3a2b;
    margin-bottom: 15px;
}

.safety-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.safety-pill {
    background: white;
    color: #15803d;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    border: 1px solid #bbf7d0;
}

/* Privacy Page / Policy Container */
.policy-container {
    max-width: 900px;
    margin: 40px auto 80px;
    padding: 40px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
}

.policy-container h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.policy-container .last-updated {
    color: #95a5a6;
    font-size: 14px;
    margin-bottom: 30px;
    display: block;
}

.policy-container h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 32px 0 12px;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 8px;
}

.policy-container p, .policy-container li {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 14px;
}

.policy-container ul {
    margin-left: 24px;
    margin-bottom: 20px;
}

.policy-container strong {
    color: #2d3748;
}

/* Footer */
.site-footer {
    background: #2D3436;
    color: #DFE6E9;
    padding: 50px 24px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
}

.footer-copy {
    max-width: 1200px;
    margin: 25px auto 0;
    text-align: center;
    font-size: 14px;
    color: #B2BEC3;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 40px;
        text-align: center;
    }
    .hero p {
        margin: 0 auto 30px;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero h1 {
        font-size: 34px;
    }
    .nav-links {
        display: none;
    }
}
