*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #1a3a5c;
    --color-accent: #2e86de;
    --color-accent-hover: #1b6fbf;
    --color-bg: #ffffff;
    --color-bg-alt: #f4f7fa;
    --color-text: #2c3e50;
    --color-text-light: #5a6f83;
    --color-border: #dce4ec;
    --color-hero-base: #070d16;
    --color-hero-mid: #0c1829;
    --color-hero-edge: #102238;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 960px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-size: 16px;
}

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

/* --- Navbar --- */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(7, 13, 22, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 100;
    padding-top: env(safe-area-inset-top, 0px);
}

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

.nav-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.nav-wordmark {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.nav-wordmark-accent {
    font-weight: 500;
    color: #7ec8ff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #7ec8ff;
}

/* --- Language Switcher --- */

.lang-switch {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 16px;
    flex-shrink: 0;
}

.lang-option {
    font-family: var(--font-family);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.04em;
    transition: color 0.2s;
    cursor: pointer;
}

.lang-option.active {
    color: #7ec8ff;
}

.lang-option:hover {
    color: rgba(255, 255, 255, 0.85);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.78rem;
    user-select: none;
}

/* --- Hero --- */

.hero {
    position: relative;
    padding: 160px 0 120px;
    text-align: center;
    background: url('hero-bg.jpg') center center / cover no-repeat;
    color: #e8eef5;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(46, 134, 222, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, rgba(7, 13, 22, 0.55) 0%, rgba(7, 13, 22, 0.82) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.hero-brand {
    margin: 0;
    line-height: 0;
}

.hero-logo {
    width: min(100%, 480px);
    height: auto;
    max-height: clamp(180px, 36vw, 320px);
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto 32px;
    filter: drop-shadow(0 4px 24px rgba(46, 134, 222, 0.3)) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.15));
}

.tagline {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.cta-button--hero {
    background: linear-gradient(180deg, #3d9aed 0%, var(--color-accent) 100%);
    box-shadow: 0 4px 24px rgba(46, 134, 222, 0.35);
}

.cta-button--hero:hover {
    background: linear-gradient(180deg, #4aa3f0 0%, var(--color-accent-hover) 100%);
    box-shadow: 0 6px 28px rgba(46, 134, 222, 0.45);
}

.cta-button {
    display: inline-block;
    padding: 14px 36px;
    background: var(--color-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.15s;
}

.cta-button:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

/* --- Sections --- */

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    max-width: 520px;
    margin: 0 auto 48px;
}

/* --- About --- */

.about-content {
    max-width: 640px;
    margin: 32px auto 0;
    text-align: center;
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 16px;
}

/* --- Values --- */

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}

.value-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

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

/* --- How It Works --- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-weight: 700;
    font-size: 1.2rem;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

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

/* --- Founders --- */

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.founder-card {
    text-align: center;
}

.founder-photo-placeholder {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2e86de 0%, #1a3a5c 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(46, 134, 222, 0.25);
}

.founder-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.founder-role {
    color: var(--color-accent);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

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

/* --- Contact --- */

.contact-content {
    text-align: center;
    margin-top: 32px;
}

/* --- Footer --- */

.footer {
    padding: 40px 0;
    text-align: center;
    background: var(--color-hero-base);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* --- Responsive --- */

@media (max-width: 768px) {
    .nav-content {
        flex-wrap: wrap;
        min-height: auto;
        padding-top: 14px;
        padding-bottom: 8px;
    }

    .nav-logo-link {
        order: 1;
    }

    .lang-switch {
        order: 2;
        margin-left: auto;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
        padding-top: 10px;
    }

    .hero-logo {
        max-height: min(240px, 42vw);
    }

    .tagline {
        font-size: 1.1rem;
    }

    .values-grid,
    .steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .founders-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .nav-wordmark {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 14px;
        font-size: 0.8rem;
    }

    .hero {
        padding: 120px 0 64px;
    }

    .hero-logo {
        max-height: min(180px, 48vw);
        margin-bottom: 20px;
    }

    .section {
        padding: 56px 0;
    }
}
