:root {
    --color-deep-navy: #002B49;
    --color-primary: #0E5284;
    --color-cyan-teal: #00A3C4;
    --color-aqua: #00D2D3;
    --color-bg: #F8F9FA;
    --color-surface: #FFFFFF;
    --color-text: #1A202C;
    --color-text-secondary: #64748B;
    --color-border: #E2E8F0;
    --radius-md: 8px;
}

html.i18n-pending body {
    visibility: hidden;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: #F8F9FA;
    color: #1A202C;
    line-height: 1.6;
}

/* Visually hidden but accessible to screen readers and LLMs */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Scroll Animations */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fade-in-up,
    .fade-in,
    .slide-in-left,
    .slide-in-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Navigation */
header {
    background: white;
    padding: 20px 60px;
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #0E5284;
}

.logo img {
    max-width: 200px;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    will-change: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: #64748B;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

/* Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-selector select {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 6px 32px 6px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    transition: all 0.3s ease;
    min-width: 140px;
}

.language-selector select option {
    padding: 8px;
    font-size: 14px;
}

.language-selector select:hover {
    border-color: #00A3C4;
    color: #00A3C4;
}

.language-selector select:focus {
    outline: none;
    border-color: #00A3C4;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.nav-links a:hover {
    color: #0E5284;
}

.nav-cta {
    background: #0E5284;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
}

.nav-cta:hover {
    background: #002B49;
}

/* Hero Section */
.hero {
    padding: 80px 60px;
    background: #F8F9FA;
    scroll-margin-top: 100px;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-left h1 {
    font-size: 52px;
    font-weight: 700;
    color: #002B49;
    line-height: 1.2;
    margin-bottom: 24px;
    text-wrap: balance;
}

.hero-left p {
    font-size: 18px;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 40px;
    text-wrap: balance;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    background: #0E5284;
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #002B49;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #0E5284;
    border: 2px solid #0E5284;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #0E5284;
    color: #0E5284;
}

.hero-right {
    background: linear-gradient(135deg, #E6F3F8 0%, #F8F9FA 100%);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    overflow: hidden;
}

.hero-right img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    will-change: auto;
}

.hero-placeholder {
    font-size: 48px;
    color: #94A3B8;
    text-align: center;
}

/* Features Section */
.features {
    padding: 100px 60px;
    background: #F8F9FA;
    scroll-margin-top: 100px;
}

.features-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.features-intro {
    text-align: center;
    margin-bottom: 80px;
}

.features-intro p {
    font-size: 18px;
    color: #64748B;
    margin-bottom: 16px;
}

.features-intro .section-title {
    margin-bottom: 0;
}

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

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

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

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 60px;
    background: white;
    scroll-margin-top: 100px;
}

.how-it-works-intro {
    text-align: center;
    margin-bottom: 80px;
}

.how-it-works-intro p {
    font-size: 18px;
    color: #64748B;
    margin-bottom: 16px;
}

.how-it-works-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #64748B;
    margin-bottom: 80px;
    text-wrap: balance;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: flex-start;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step {
    display: flex;
    gap: 24px;
}

.step-arrow {
    font-size: 24px;
    color: #0E5284;
    font-weight: 600;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    background: white;
}

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

.pricing-card {
    background: #F8F9FA;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: #0E5284;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: #0E5284;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    transform: scale(1.05);
}

.plan-name {
    font-size: 18px;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 12px;
}

.plan-price {
    font-size: 32px;
    font-weight: 700;
    color: #0E5284;
    margin-bottom: 4px;
}

.plan-period {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 32px;
}

.plan-features {
    text-align: left;
    margin-bottom: 40px;
}

.plan-feature {
    font-size: 14px;
    color: #64748B;
    padding: 12px 0;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-feature:last-child {
    border-bottom: none;
}

.plan-feature-check {
    color: #0E5284;
    font-weight: 700;
}

.plan-cta {
    width: 100%;
    background: #F8F9FA;
    color: #1A202C;
    border: 2px solid #E2E8F0;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-card.featured .plan-cta {
    background: #0E5284;
    color: white;
    border-color: #0E5284;
}

.plan-cta:hover {
    background: #E2E8F0;
    color: #1A202C;
}

.pricing-card.featured .plan-cta:hover {
    background: #002B49;
    border-color: #002B49;
}

/* Team Section */
.team {
    padding: 100px 60px;
    background: #F8F9FA;
    scroll-margin-top: 100px;
}

.team-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    margin-top: 60px;
}

.team-member {
    text-align: center;
}

.team-avatar {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #0E5284 0%, #002B49 100%);
    border-radius: 12px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: white;
    font-weight: 700;
}

.team-member h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 8px;
}

.team-role {
    font-size: 14px;
    color: #0E5284;
    font-weight: 600;
    margin-bottom: 16px;
}

.team-bio {
    font-size: 15px;
    color: #64748B;
    line-height: 1.7;
}

/* Final CTA Section */
.final-cta {
    padding: 100px 60px;
    background: white;
    text-align: center;
    scroll-margin-top: 100px;
}

.final-cta-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 24px;
    text-wrap: balance;
}

.final-cta p {
    font-size: 18px;
    color: #64748B;
    margin-bottom: 40px;
    text-wrap: balance;
}

.final-cta-button {
    background: #0E5284;
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.final-cta-button:hover {
    background: #002B49;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #F8F9FA;
    color: #1A202C;
    padding: 48px 60px;
    text-align: center;
    border-top: 1px solid #E2E8F0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 0 0 16px;
}

.footer-links a {
    color: #64748B;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.footer-links a:hover {
    color: #0E5284;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
    text-align: left;
}

.footer-brand-text strong {
    font-size: 1.25rem;
    color: #002B49;
    font-weight: 700;
}

.footer-brand-text span {
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    color: #002B49;
    font-weight: 500;
}

.hero-brand {
    margin-bottom: 20px;
}

.hero-brand img {
    max-width: min(100%, 320px);
    height: auto;
    display: block;
}

.hero-slogan {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #002B49;
    font-weight: 500;
}

footer p {
    font-size: 14px;
    color: #64748B;
    margin: 0;
}

footer a {
    color: #64748B;
    text-decoration: underline;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0E5284;
}

/* Responsive */
@media (max-width: 1024px) {
    header {
        padding: 16px 32px;
    }

    .header-content {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .language-selector select {
        font-size: 13px;
        padding: 5px 28px 5px 10px;
    }

    .hero {
        padding: 60px 32px;
    }

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

    .hero-left h1 {
        font-size: 36px;
    }

    .features {
        padding: 60px 32px;
    }

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

    .how-it-works {
        padding: 60px 32px;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

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

    .team {
        padding: 60px 32px;
    }

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

    .final-cta {
        padding: 60px 32px;
    }

    .final-cta h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .language-selector {
        margin-left: auto;
    }

    .language-selector select {
        font-size: 12px;
        padding: 4px 24px 4px 8px;
    }

    .hero-left h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

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

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}