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

:root {
    /* Blue gradient theme from app icon */
    --primary-blue: #0080FF;
    --primary-cyan: #00BFFF;
    --gradient-bg: linear-gradient(135deg, #0080FF 0%, #00BFFF 100%);
    --dark-blue: #0066CC;
    --light-blue: #E6F4FF;

    /* Text colors */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;

    /* Background colors */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;

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

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 128, 255, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 128, 255, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 128, 255, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

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

.nav-title {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.language-selector select {
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 2px solid var(--light-blue);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    border-color: var(--primary-blue);
}

/* Hero Section */
.hero {
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl) 0;
    background: linear-gradient(135deg, #E6F4FF 0%, #ffffff 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-bg);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--light-blue);
}

.store-badge-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.store-badge-link:hover {
    transform: translateY(-4px);
    filter: brightness(1.1);
}

.store-badge {
    height: 50px;
    width: auto;
    display: block;
}

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

.app-preview {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(var(--shadow-lg));
    animation: float 3s ease-in-out infinite;
}

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

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.feature-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

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

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, #E6F4FF 0%, #ffffff 100%);
}

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

.step {
    text-align: center;
    padding: var(--spacing-md);
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    background: var(--gradient-bg);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

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

.step p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Languages Section */
.languages {
    background: var(--bg-white);
}

.languages-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.languages-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.language-tag {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-tag:hover {
    background: var(--gradient-bg);
    color: var(--text-white);
    transform: scale(1.05);
}

/* Privacy Policy Content */
.privacy-content {
    padding: calc(80px + var(--spacing-md)) 0 var(--spacing-lg) 0;
    min-height: 80vh;
}

.privacy-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.privacy-text h1 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-text h2 {
    font-size: 1.5rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.privacy-text p,
.privacy-text ul {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    line-height: 1.8;
}

.privacy-text ul {
    list-style-position: inside;
    padding-left: var(--spacing-sm);
}

.privacy-text a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.privacy-text a:hover {
    color: var(--dark-blue);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: var(--spacing-lg) 0 var(--spacing-md) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

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

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--text-white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    color: var(--text-white);
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

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

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

    .nav-links {
        gap: var(--spacing-sm);
        font-size: 0.875rem;
    }

    .nav-links a:not(.language-selector select) {
        display: none;
    }

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

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

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

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .privacy-wrapper {
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

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

    .btn {
        width: 100%;
    }

    .store-badge {
        height: 45px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .store-badge-link {
        width: 100%;
        max-width: 200px;
    }
}
