/* CSS Variables - Color Palette */
:root {
    /* Primary Colors */
    --mint-green: #4ADEB5;
    --lavender-purple: #A78BFA;
    
    /* Secondary Colors */
    --soft-coral: #FF9F80;
    --pastel-yellow: #FDE68A;
    
    /* Neutrals */
    --almost-white: #F9FAFB;
    --light-gray: #E5E7EB;
    --dark-navy: #1E1B4B;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 16px;
    --border-radius-small: 12px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-navy);
    background-color: var(--almost-white);
    overflow-x: hidden;
}

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

/* Language Selector */
.language-selector {
    position: fixed;
    top: 24px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 1000;
    background: rgba(249, 250, 251, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: var(--border-radius-small);
    box-shadow: 0 4px 20px rgba(30, 27, 75, 0.1);
}

.lang-btn {
    background: none;
    border: 2px solid transparent;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-navy);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: var(--mint-green);
    color: white;
}

.lang-btn.active {
    background-color: var(--lavender-purple);
    color: white;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--almost-white) 0%, rgba(74, 222, 181, 0.05) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.logo {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-small);
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 48px;
    color: var(--dark-navy);
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 56px;
    line-height: 1.1;
    color: var(--dark-navy);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 20px;
    color: rgba(30, 27, 75, 0.7);
    margin-bottom: 40px;
    max-width: 480px;
}

.cta-buttons {
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--mint-green) 0%, var(--lavender-purple) 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(74, 222, 181, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(74, 222, 181, 0.4);
}

.app-store-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.app-store-buttons.large {
    justify-content: center;
    margin-top: 32px;
}

.store-btn {
    display: block;
    transition: transform 0.3s ease;
}

.store-btn:hover {
    transform: translateY(-2px);
}

.store-badge {
    height: 60px;
    width: auto;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(30, 27, 75, 0.15);
}

/* How It Works Section */
.how-it-works {
    padding: var(--section-padding);
    background: white;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 48px;
    text-align: center;
    color: var(--dark-navy);
    margin-bottom: 64px;
    letter-spacing: -0.02em;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.step {
    text-align: center;
    padding: 32px 24px;
}

.step-icon {
    margin-bottom: 24px;
}

.icon-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--mint-green) 0%, var(--lavender-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(74, 222, 181, 0.2);
}

.step h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 24px;
    color: var(--dark-navy);
    margin-bottom: 16px;
}

.step p {
    font-size: 16px;
    color: rgba(30, 27, 75, 0.7);
    max-width: 280px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: var(--almost-white);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.feature.reverse {
    direction: rtl;
}

.feature.reverse > * {
    direction: ltr;
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background: linear-gradient(135deg, rgba(74, 222, 181, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    border-radius: var(--border-radius);
    object-fit: cover;
    box-shadow: 0 12px 48px rgba(30, 27, 75, 0.1);
}

.feature-content h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 32px;
    color: var(--dark-navy);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.feature-content p {
    font-size: 18px;
    color: rgba(30, 27, 75, 0.7);
    line-height: 1.7;
}

/* Final CTA Section */
.final-cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--mint-green) 0%, var(--lavender-purple) 100%);
    text-align: center;
    color: white;
}

.cta-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 48px;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--dark-navy);
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 24px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--mint-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .language-selector {
        top: 16px;
        right: 16px;
    }
    
    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .brand-name {
        font-size: 36px;
    }
    
    .hero-tagline {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 18px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 48px;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .feature {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .feature.reverse {
        direction: ltr;
    }
    
    .feature-content h3 {
        font-size: 28px;
    }
    
    .feature-content p {
        font-size: 16px;
    }
    
    .cta-title {
        font-size: 36px;
    }
    
    .cta-description {
        font-size: 18px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        gap: 24px;
    }
    
    .app-store-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .feature-content h3 {
        font-size: 24px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* Smooth Animations */
.hero-content,
.step,
.feature {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.step:nth-child(2) {
    animation-delay: 0.2s;
}

.step:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* Loading state for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}
