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

:root {
    --primary: #04335F;
    --primary-light: #0a4d8a;
    --secondary: #A6B0B9;
    --accent: #4CAF50;
    --bg: #F5F5F5;
    --white: #FFFFFF;
    --text: #212121;
    --text-light: #757575;
    --border: #E0E0E0;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
}

.language-selector select {
    padding: 8px 16px;
    border: 2px solid var(--primary);
    border-radius: 24px;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.language-selector select:hover {
    background: var(--primary);
    color: var(--white);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-full {
    height: 36px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-dropdown {
    padding: 8px 12px;
    border: 2px solid var(--primary);
    border-radius: 24px;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.language-dropdown:hover {
    background: var(--primary);
    color: var(--white);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-hero,
.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(4, 51, 95, 0.3);
}

.btn-hero {
    background: var(--white);
    color: var(--primary);
    padding: 16px 48px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-hero svg {
    width: 24px;
    height: 24px;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 24px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-note {
    font-size: 14px;
    opacity: 0.8;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    text-align: center;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
}

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

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

.feature-card {
    background: var(--bg);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(4, 51, 95, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: block;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

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

/* How It Works */
.how-it-works {
    background: var(--bg);
}

.steps {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    align-items: center;
}

.step-reverse {
    direction: rtl;
}

.step-reverse .step-content {
    direction: ltr;
}

.step-visual {
    display: flex;
    justify-content: center;
}

.step-number {
    width: 100px;
    height: 100px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 800;
    box-shadow: 0 8px 30px rgba(4, 51, 95, 0.3);
}

.step-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.step-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

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

.language-categories {
    display: grid;
    gap: 48px;
}

.language-category h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    text-align: center;
}

.language-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.language-item {
    background: var(--bg);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.language-item:hover {
    border-color: var(--primary);
    background: var(--white);
}

/* Pricing Section */
.pricing {
    background: var(--bg);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 32px;
    padding: 48px 32px;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(4, 51, 95, 0.15);
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border);
}

.pricing-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.price-currency {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 6px;
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-period {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 20px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text);
    position: relative;
    padding-left: 32px;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 20px;
}

.pricing-note {
    text-align: center;
    margin-top: 48px;
    color: var(--text-light);
    font-size: 14px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact {
    background: var(--white);
    text-align: center;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg);
    padding: 48px;
    border-radius: 24px;
}

.contact-info p {
    font-size: 18px;
    margin: 16px 0;
    color: var(--text);
}

.contact-info strong {
    color: var(--primary);
}

/* Legal Section */
.legal {
    background: var(--bg);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 24px;
}

.legal-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 60px;
    margin-bottom: 24px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 32px;
    margin-bottom: 16px;
}

.legal-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 24px;
    margin-bottom: 12px;
    padding-left: 0;
}

.legal-content ul {
    margin: 16px 0 24px 0;
    padding-left: 0;
    list-style: none;
}

.legal-content ul li {
    padding: 10px 0 10px 32px;
    color: var(--text-light);
    position: relative;
    line-height: 1.7;
    border-bottom: 1px solid var(--border);
}

.legal-content ul li:last-child {
    border-bottom: none;
}

.legal-content ul li::before {
    content: "•";
    position: absolute;
    left: 12px;
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.contact-placeholder {
    background: linear-gradient(135deg, rgba(4, 51, 95, 0.05), rgba(166, 176, 185, 0.05));
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    margin: 48px 0;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--primary);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: var(--primary);
    text-decoration: none;
    opacity: 0.8;
    margin-bottom: 12px;
    transition: opacity 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .logo-full {
        height: 28px;
    }

    .hero {
        min-height: 80vh;
        padding: 60px 24px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 28px;
    }

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

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

    .step-reverse {
        direction: ltr;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .legal-content {
        padding: 32px 24px;
    }

    .language-selector {
        top: 80px;
        right: 10px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

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

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

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}