/**
 * Språki Landing Page - FRESH Modern Design
 * Big logo, soft curves, warm colors
 */

/* ========================================
   1. CSS Variables
======================================== */
:root {
    --color-primary: #fbc24b;
    --color-primary-hover: #eea94d;
    --color-text: #3d3425;
    --color-text-secondary: #6b5a42;
    --color-text-light: #8a7a62;
    --color-text-muted: #a89b82;
    --color-bg: #faf8f4;
    --color-bg-warm: #f5f1e8;
    --color-white: #ffffff;
    --shadow-soft: 0 8px 30px rgba(107, 90, 66, 0.08);
    --shadow-hover: 0 12px 40px rgba(107, 90, 66, 0.12);
    --radius-soft: 20px;
    --radius-round: 50px;
    --container-max: 1140px;
}

/* ========================================
   2. Reset & Base
======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   3. Buttons - Soft & Rounded
======================================== */
.welcome-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    max-width: 280px;
}

.welcome-button {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.welcome-button-primary {
    background: linear-gradient(135deg, #fbc24b 0%, #f0a830 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(251, 194, 75, 0.35);
}

.welcome-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 194, 75, 0.4);
}

.welcome-button-secondary {
    background: white;
    color: var(--color-text-secondary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.welcome-button-secondary:hover {
    background: var(--color-text-secondary);
    color: white;
    transform: translateY(-3px);
}

.welcome-button-google {
    background: white;
    color: #3c4043;
    border: 1px solid #e0ddd5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.welcome-button-google:hover {
    background: #fafafa;
    border-color: #ccc;
    transform: translateY(-2px);
}

/* ========================================
   4. Header - Clean & Minimal
======================================== */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 244, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.landing-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem 2rem;
}

.header-logo { display: flex; align-items: center; gap: 0.5rem; }

.header-logo-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    padding: 0.5rem 0.875rem;
    border-radius: 10px;
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--color-text);
    background: rgba(251, 194, 75, 0.12);
}

/* ========================================
   5. Hero - BIG LOGO, Clean Layout
======================================== */
.hero {
    padding: 100px 2rem 60px;
    background: var(--color-bg);
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== THE BIG LOGO ===== */
.hero-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.hero-logo {
    max-width: 700px;
    width: 100%;
    height: auto;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-title {
    font-size: 1.6rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 400;
    line-height: 1.5;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .hero-title {
        white-space: normal;
        max-width: 600px;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trial-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #059669;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trial-note i {
    color: #10b981;
}

.pricing-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
    transition: color 0.2s;
}

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

.pricing-link i {
    font-size: 0.75rem;
}

/* Welcome Info Box - instead of video */
.welcome-info-box {
    background: linear-gradient(135deg, rgba(251,194,75,0.08) 0%, rgba(251,194,75,0.03) 100%);
    border: 1px solid rgba(251, 194, 75, 0.2);
    border-radius: var(--radius-soft);
    padding: 1.75rem;
    text-align: left;
    max-width: 360px;
}

.welcome-info-box h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.welcome-features {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.welcome-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.welcome-features li i {
    width: 20px;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.welcome-features li strong {
    color: var(--color-text);
}

.welcome-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-primary-hover);
    font-weight: 500;
    transition: all 0.2s;
}

.welcome-more-link:hover {
    color: var(--color-text-secondary);
}

.welcome-more-link i {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.welcome-more-link:hover i {
    transform: translateY(3px);
}

/* Spacer to push school button down */
.welcome-spacer {
    flex-grow: 1;
    min-height: 1.5rem;
}

/* Welcome Section - Side by Side */
.welcome-hero {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.welcome-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.welcome-video iframe {
    width: 360px;
    height: 203px;
    border-radius: var(--radius-soft);
    border: none;
    box-shadow: var(--shadow-soft);
}

.welcome-contact {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.welcome-contact:hover {
    color: var(--color-primary);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 2rem auto 0;
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 1.2rem;
    animation: bounce 2s ease-in-out infinite;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.scroll-indicator:hover {
    opacity: 1;
}

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

/* School CTA - At bottom of welcome content */
.school-cta-link-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(251, 194, 75, 0.4);
    border-radius: var(--radius-round);
    color: var(--color-text-light);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.school-cta-link-small:hover {
    background: rgba(251, 194, 75, 0.1);
    border-color: var(--color-primary);
    color: var(--color-text-secondary);
}

.school-cta-link-small i:first-child {
    color: var(--color-primary-hover);
}

.school-cta-link-small i:last-child {
    font-size: 0.7rem;
    color: var(--color-primary);
    transition: transform 0.2s;
}

.school-cta-link-small:hover i:last-child {
    transform: translateX(3px);
}

/* ========================================
   6. Curved Section Divider
======================================== */
.section-curve {
    height: 80px;
    background: var(--color-bg);
    position: relative;
}

.section-curve::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--color-white);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.section-curve-reverse {
    background: var(--color-white);
}

.section-curve-reverse::after {
    background: var(--color-bg);
}

/* ========================================
   7. Section Titles
======================================== */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   8. Features Section
======================================== */
.features {
    background: var(--color-white);
    padding: 4rem 0;
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-showcase-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--color-bg);
    border-radius: var(--radius-soft);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.feature-showcase-card:hover {
    box-shadow: var(--shadow-soft);
}

.feature-showcase-card.feature-showcase-reverse {
    direction: rtl;
}

.feature-showcase-card.feature-showcase-reverse > * {
    direction: ltr;
}

.feature-showcase-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #fbc24b 0%, #f0a830 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    box-shadow: 0 4px 12px rgba(251, 194, 75, 0.3);
}

.feature-showcase-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.feature-badge {
    background: linear-gradient(135deg, #fbc24b, #f0a830);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-badge-new {
    background: linear-gradient(135deg, #10b981, #059669);
}

.feature-showcase-desc {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature-highlights li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.feature-highlights li i {
    color: #10b981;
    font-size: 0.75rem;
}

/* Feature Placeholder - Soft */
.feature-placeholder {
    background: linear-gradient(135deg, var(--color-bg-warm) 0%, #efe9dc 100%);
    border-radius: var(--radius-soft);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 280px;
}

.feature-placeholder i {
    font-size: 3.5rem;
    color: var(--color-primary);
    opacity: 0.35;
}

.feature-placeholder span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Screenshot Carousel */
.screenshot-carousel {
    position: relative;
    width: 100%;
}

.carousel-images {
    position: relative;
    width: 100%;
}

.feature-screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-soft);
    box-shadow:
        0 4px 20px rgba(251, 194, 75, 0.25),
        0 8px 40px rgba(107, 90, 66, 0.15);
    border: 2px solid rgba(251, 194, 75, 0.3);
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
}

.feature-screenshot.active {
    display: block;
}

.feature-screenshot:hover {
    box-shadow:
        0 6px 30px rgba(251, 194, 75, 0.35),
        0 12px 50px rgba(107, 90, 66, 0.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: all 0.2s;
    z-index: 10;
}

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

.carousel-prev { left: -18px; }
.carousel-next { right: -18px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-text-muted);
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-dot.active {
    background: var(--color-primary);
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-soft);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

/* Features Grid */
.features-grid-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--color-bg);
    border-radius: var(--radius-soft);
    padding: 1.75rem;
    transition: all 0.3s ease;
}

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

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-icon-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(251,194,75,0.2) 0%, rgba(251,194,75,0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--color-primary-hover);
}

.feature-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Update Notice */
.update-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(251, 194, 75, 0.1);
    border-radius: var(--radius-round);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.update-notice i:first-child {
    color: var(--color-primary);
}

.update-notice a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
    color: var(--color-primary-hover);
    margin-left: 0.25rem;
}

.update-notice a:hover {
    text-decoration: underline;
}

.update-notice a i {
    font-size: 0.7rem;
}

/* ========================================
   9. Schools Section
======================================== */
.schools {
    padding: 4rem 0;
    background: var(--color-bg);
}

.schools-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.schools-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(251,194,75,0.2) 0%, rgba(251,194,75,0.1) 100%);
    color: var(--color-primary-hover);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-round);
    margin-bottom: 1rem;
}

.schools-text .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.schools-description {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.schools-benefits {
    margin-bottom: 1.5rem;
}

.schools-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.schools-benefits li i {
    color: #10b981;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.schools-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.schools-placeholder {
    min-height: 320px;
}

/* ========================================
   10. Pricing Section
======================================== */
.pricing {
    padding: 4rem 0;
    background: var(--color-white);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 850px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-white);
    border-radius: var(--radius-soft);
    padding: 2rem;
    border: 2px solid var(--color-bg-warm);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(251, 194, 75, 0.5);
    box-shadow: var(--shadow-hover);
}

.pricing-card-featured {
    border-color: var(--color-primary);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbc24b 0%, #f0a830 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-bg-warm);
}

.pricing-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.pricing-tagline {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.pricing-price {
    text-align: center;
    margin-bottom: 0.5rem;
}

.pricing-price .from {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.pricing-price .amount {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-text);
}

.pricing-price .currency,
.pricing-price .period {
    font-size: 1rem;
    color: var(--color-text-light);
}

.pricing-alt {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.period-inline {
    font-size: 1rem;
    color: var(--color-text-light);
}

.pricing-tiers {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.pricing-tier {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
}

.pricing-tier:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.tier-range {
    color: var(--color-text-secondary);
}

.tier-price {
    font-weight: 600;
    color: var(--color-text);
}

.pricing-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-style: italic;
}

.pricing-features {
    margin-bottom: 1.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-bg);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: #10b981;
    font-size: 0.7rem;
}

.pricing-trial {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    text-align: center;
    padding: 0.875rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* ========================================
   11. Simple CTA Banner
======================================== */
.cta-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, rgba(251,194,75,0.15) 0%, rgba(251,194,75,0.08) 100%);
    border-top: 1px solid rgba(251,194,75,0.2);
    border-bottom: 1px solid rgba(251,194,75,0.2);
}

.cta-banner span {
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.cta-banner a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary-hover);
    transition: all 0.2s;
}

.cta-banner a:hover {
    color: var(--color-text);
}

.cta-banner a i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.cta-banner a:hover i {
    transform: translateX(3px);
}

/* ========================================
   12. Footer
======================================== */
.landing-footer {
    background: var(--color-bg-warm);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: auto;
    width: 240px;
    margin-bottom: 1rem;
}

.footer-apps {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.footer-apps a {
    display: block;
}

/* Google Play badge has built-in padding, so make it larger */
.footer-apps a:first-child img {
    width: 135px;
    height: auto;
    opacity: 0.85;
    transition: opacity 0.2s;
}

/* App Store badge - slightly smaller to match visually */
.footer-apps a:last-child img {
    width: 120px;
    height: auto;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.footer-apps a:hover img {
    opacity: 1;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    max-width: 260px;
}

.footer-business {
    margin-top: 0.75rem;
}

.footer-business p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0.15rem 0;
}

.footer-column h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-light);
    padding: 0.35rem 0;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--color-primary-hover);
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.footer-bottom a {
    color: var(--color-text-light);
}

.footer-bottom a:hover {
    color: var(--color-primary);
}

/* ========================================
   13. Animations
======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   14. Responsive - Large Screens
======================================== */
@media (min-width: 1400px) {
    .hero-logo {
        max-width: 800px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .welcome-buttons {
        max-width: 320px;
    }

    .welcome-button {
        padding: 1.15rem 1.75rem;
        font-size: 1.05rem;
    }

    .welcome-info-box {
        max-width: 420px;
        padding: 2rem;
    }

    .welcome-info-box h3 {
        font-size: 1.2rem;
    }

    .welcome-features li {
        font-size: 1rem;
    }

    .welcome-content {
        min-height: 380px;
    }

    .section-title {
        font-size: 2.25rem;
    }
}

/* ========================================
   15. Responsive - Tablet
======================================== */
@media (max-width: 1024px) {
    .welcome-hero {
        flex-direction: column;
        align-items: center;
    }

    .welcome-content {
        align-items: center;
        text-align: center;
    }

    .welcome-buttons {
        margin: 0 auto;
    }

    .hero-logo {
        max-width: 550px;
    }

    .feature-showcase-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-showcase-card.feature-showcase-reverse {
        direction: ltr;
    }

    .feature-showcase-image {
        order: -1;
    }

    .schools-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .schools-text {
        text-align: center;
    }

    .schools-text .section-title {
        text-align: center;
    }

    .schools-benefits {
        display: inline-block;
        text-align: left;
    }

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

    .schools-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
        margin: 0 auto;
    }
}

/* ========================================
   16. Responsive - Mobile
======================================== */
@media (max-width: 768px) {
    .hero {
        padding: 80px 1rem 40px;
        min-height: auto;
    }

    .hero-logo {
        max-width: 400px;
    }

    .hero-title {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .nav-link.hide-mobile {
        display: none;
    }

    .welcome-video iframe {
        width: 100%;
        max-width: 340px;
    }

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

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        max-width: 280px;
        margin: 0 auto;
    }

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

    .footer-brand {
        grid-column: span 1;
    }
}

/* ========================================
   17. Responsive - Small Mobile
======================================== */
@media (max-width: 480px) {
    .hero-logo {
        max-width: 320px;
    }

    .hero-title {
        font-size: 1.1rem;
    }

    .school-cta-link span {
        display: none;
    }

    .school-cta-link::after {
        content: 'For skoler';
    }
}

/* ========================================
   18. Language Selector & Modal
======================================== */
.language-selector-float {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(251, 194, 75, 0.5);
    padding: 0;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.language-selector-float:hover {
    border-color: var(--color-primary);
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.language-selector-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.language-selector {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(251, 194, 75, 0.3);
    padding: 0;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.language-selector:hover {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.language-selector img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Language Modal */
.lang-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 1rem;
}

.lang-modal.active {
    opacity: 1;
    visibility: visible;
}

.lang-modal-content {
    background: var(--color-white);
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: scale(0.95);
    transition: transform 0.3s;
}

.lang-modal.active .lang-modal-content {
    transform: scale(1);
}

.lang-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: none;
}

.lang-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.lang-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: var(--color-bg);
    color: var(--color-text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.lang-modal-close:hover {
    background: #fbc24b;
    color: white;
}

.lang-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.lang-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    border: 2px solid transparent;
    background: var(--color-bg);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.lang-option:hover {
    background: var(--color-bg-alt);
    transform: translateY(-2px);
}

.lang-option.active {
    border-color: var(--color-primary);
    background: rgba(251, 194, 75, 0.1);
}

.lang-option img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-native {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
}

.lang-no {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
}

.lang-modal-footer {
    padding: 1rem 1.5rem;
    border-top: none;
    background: transparent;
}

.lang-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.lang-note i {
    color: var(--color-primary);
}

/* Translation Loading Overlay */
.translation-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.translation-overlay.active {
    opacity: 1;
    visibility: visible;
}

.translation-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 2.5rem 3.5rem;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.translation-loader .spinner {
    width: 56px;
    height: 56px;
    border: 4px solid #f0ebe3;
    border-top-color: #fbc24b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.translation-loader span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #4a4540;
}

/* Language modal responsive */
@media (max-width: 768px) {
    .lang-modal-content {
        max-width: 95%;
    }

    .lang-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .lang-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lang-modal-header h3 {
        font-size: 1rem;
    }

    .lang-option {
        padding: 0.75rem 0.25rem;
    }

    .lang-option img {
        width: 36px;
        height: 36px;
    }

    .lang-native {
        font-size: 0.8rem;
    }
}
