/* Školkáček Landing Page Styles */

/* === DESIGN TOKENS === */
:root {
    /* Colors - Soft pastels matching the design */
    --primary-teal: #4DB8A8;
    --primary-teal-light: #E8F6F4;
    --accent-peach: #FFB88C;
    --accent-yellow: #FFD966;
    --accent-green: #7FC7AF;
    --accent-purple: #A393EB;

    --text-dark: #2C3E50;
    --text-medium: #5A6C7D;
    --text-light: #8B9CAD;
    --background: #FAFBFC;
    --white: #FFFFFF;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: var(--spacing-sm);
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

/* === LAYOUT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-3xl) 0;
}

/* === HEADER === */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: var(--spacing-md) 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    list-style: none;
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-teal);
}

.lang-switcher {
    background: var(--primary-teal-light);
    border: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--primary-teal);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-switcher:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-2px);
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-teal-light) 0%, var(--white) 50%, #FFF5ED 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-text h1 {
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero-text .subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--text-medium);
    margin-bottom: var(--spacing-xl);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 1400px;
    height: auto;
}

.app-screenshot {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--primary-teal);
    color: var(--white);
}

.btn-primary:hover {
    background: #3BA395;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
}

.btn-secondary:hover {
    background: var(--primary-teal-light);
    transform: translateY(-2px);
}

.btn-cta {
    background: var(--accent-yellow);
    color: var(--text-dark);
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
}

.btn-cta:hover {
    background: #FFC94D;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* === FEATURES SECTION === */
.features {
    background: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    background: var(--background);
    transition: all var(--transition-base);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--radius-md);
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-medium);
    font-size: 1rem;
}

/* === HOW IT WORKS === */
.how-it-works {
    background: linear-gradient(180deg, var(--background) 0%, var(--primary-teal-light) 100%);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-teal);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: var(--spacing-md) 0;
    border-radius: var(--radius-md);
}

.step h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.step p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #3BA395 100%);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === FOOTER === */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

.footer-section p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-link:hover {
    color: var(--primary-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.875rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-links {
        gap: var(--spacing-md);
    }

    .nav-link {
        font-size: 0.875rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .features-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--spacing-2xl) 0;
    }
}

@media (max-width: 480px) {
    .nav {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* === UTILITIES === */
.text-center {
    text-align: center;
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}