* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1e1e2f;
    line-height: 1.4;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #c7c7d0;
    border-radius: 10px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e1e2f;
    color: white;
    padding: 12px 28px;
    border-radius: 48px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
}

.btn:hover {
    background: #2d2d44;
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(0,0,0,0.08);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #1e1e2f;
    color: #1e1e2f;
    box-shadow: none;
}

.btn-outline:hover {
    background: #1e1e2f;
    color: white;
    transform: translateY(-3px);
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    pointer-events: none;
}
.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}
.loader {
    width: 48px;
    height: 48px;
    border: 4px solid #e9e9f0;
    border-top: 4px solid #1e1e2f;
    border-radius: 50%;
    animation: spin 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fade-up {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-hover {
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    will-change: transform;
}
.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 40px -20px rgba(0,0,0,0.12);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 200;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0;
}
.logo-brand {
    background: linear-gradient(135deg, #1e1e2f, #3b3b5c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo-suffix {
    font-weight: 300;
    color: #5a5a7a;
}
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    --nav-pill-height: 2.625rem;
}
.nav-links a {
    text-decoration: none;
    font-weight: 500;
}

.nav-links .btn {
    padding: 0 20px;
    height: var(--nav-pill-height);
    min-height: var(--nav-pill-height);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    line-height: 1;
}

.nav-links .btn:not(.btn-outline) {
    border: 1.5px solid transparent;
}

.nav-links .btn.btn-outline {
    border: 1.5px solid #1e1e2f;
}

.lang-switcher {
    position: relative;
    z-index: 2;
}
.lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--nav-pill-height);
    min-height: var(--nav-pill-height);
    padding: 0 20px;
    box-sizing: border-box;
    border-radius: 48px;
    border: 1.5px solid rgba(30, 30, 47, 0.18);
    background: #fafafc;
    color: #1e1e2f;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: none;
}
.lang-switcher__btn:hover {
    background: #fff;
    border-color: rgba(30, 30, 47, 0.22);
    box-shadow: 0 4px 14px rgba(30, 30, 47, 0.08);
}
.lang-switcher__btn[aria-expanded="true"] {
    background: #1e1e2f;
    color: #fff;
    border-color: #1e1e2f;
    box-shadow: 0 8px 22px rgba(30, 30, 47, 0.22);
}
.lang-switcher__btn .fa-globe {
    font-size: 1em;
    line-height: 1;
}
.lang-switcher__caret {
    font-size: 0.65rem;
    opacity: 0.75;
    transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.lang-switcher__btn[aria-expanded="true"] .lang-switcher__caret {
    transform: rotate(180deg);
    opacity: 1;
}
.lang-switcher__menu {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    left: auto;
    min-width: 200px;
    max-width: min(92vw, 260px);
    margin: 0;
    padding: 6px;
    list-style: none;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-radius: 14px;
    border: 1px solid rgba(30, 30, 47, 0.08);
    box-shadow:
        0 1px 2px rgba(30, 30, 47, 0.04),
        0 12px 32px rgba(30, 30, 47, 0.12),
        0 28px 64px rgba(30, 30, 47, 0.08);
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.97);
    transform-origin: top center;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        transform 0.24s cubic-bezier(0.2, 0.9, 0.3, 1),
        visibility 0.24s;
}
.lang-switcher__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.lang-switcher__menu li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px 11px 12px;
    margin: 2px 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #2a2a3e;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}
.lang-switcher__menu li:hover {
    background: rgba(30, 30, 47, 0.05);
}
.lang-switcher__menu li[aria-selected="true"] {
    font-weight: 600;
    color: #1e1e2f;
    background: linear-gradient(135deg, rgba(30, 30, 47, 0.07), rgba(30, 30, 47, 0.02));
    box-shadow: inset 0 0 0 1px rgba(30, 30, 47, 0.06);
}
.lang-switcher__menu li[aria-selected="true"]::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1e1e2f;
    margin-inline-end: 2px;
}
.lang-switcher__menu li:not([aria-selected="true"])::before {
    content: '';
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    margin-inline-end: 2px;
    border-radius: 50%;
    border: 1.5px solid rgba(30, 30, 47, 0.12);
    background: transparent;
    box-sizing: border-box;
}

@media (max-width: 760px) {
    .navbar {
        flex-direction: column;
        gap: 16px;
    }
    .nav-links {
        gap: 24px;
    }
    .container {
        padding: 0 20px;
    }
}

.hero {
    padding: 60px 0 40px 0;
}
.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-content {
    flex: 1.2;
}
.hero-badge {
    background: #f0f0f8;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1e1e2f;
}
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 24px;
}
.hero-content p {
    font-size: 1.1rem;
    color: #4a4a5a;
    max-width: 550px;
    margin-bottom: 32px;
}
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 20px;
}
.stat-item {
    font-weight: 600;
}
.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
}
.hero-image {
    flex: 0.9;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-globe-wrap {
    position: relative;
    width: min(100%, 400px);
    aspect-ratio: 1;
    max-height: min(72vw, 400px);
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
}
.hero-globe-canvas {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.hero-globe-grain {
    position: absolute;
    inset: -8%;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.22;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.hero-globe-vignette {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.65);
}
@media (max-width: 860px) {
    .hero-content h1 { font-size: 2.3rem; }
    .hero-grid { flex-direction: column; text-align: center; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }
}

.section {
    padding: 80px 0;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 16px;
}
.section-sub {
    text-align: center;
    color: #5a5a70;
    max-width: 650px;
    margin: 0 auto 48px auto;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}
.features-grid--below-rate {
    margin-bottom: 40px;
}
.feature-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 32px 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.02), 0 0 0 1px rgba(0,0,0,0.02);
    transition: all 0.3s;
    border: 1px solid #f0f0f5;
}
.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 24px;
    color: #1e1e2f;
}
.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.feature-card p {
    color: #5f5f75;
    line-height: 1.5;
}
.badge-new {
    background: #eef2ff;
    color: #1e40af;
    font-size: 0.7rem;
    border-radius: 40px;
    padding: 4px 10px;
    margin-left: 10px;
    vertical-align: middle;
}

.rate-card {
    background: linear-gradient(135deg, #1e1e2f 0%, #2a2a3e 100%);
    border-radius: 48px;
    padding: 40px;
    color: white;
    text-align: center;
    margin: 40px 0;
}
.rate-card h2 {
    font-size: 2rem;
    font-weight: 700;
}
.rate-number {
    font-size: 4rem;
    font-weight: 800;
    margin: 16px 0;
    letter-spacing: 2px;
}
.rate-desc {
    opacity: 0.85;
}
.rate-card__tags {
    margin-top: 32px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.rate-card__pill {
    background: rgba(255,255,255,0.2);
    padding: 10px 24px;
    border-radius: 100px;
}

.cta {
    text-align: center;
    background: #f5f5fe;
    border-radius: 64px;
    padding: 60px 30px;
}
.cta__title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}
.cta__lead {
    margin: 16px auto 32px;
    max-width: 500px;
}
.cta__register {
    background: #000;
    padding: 14px 40px;
}
.cta__register:hover {
    background: #000;
}
.cta__note {
    margin: 30px 0 0;
    font-size: 0.85rem;
}

.ripple-effect {
    position: relative;
    overflow: hidden;
}
.ripple-effect:active:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    transform: translate(-50%, -50%);
    animation: rippleAnim 0.5s ease-out;
}
@keyframes rippleAnim {
    0% { width: 0; height: 0; opacity: 0.4; }
    100% { width: 300px; height: 300px; opacity: 0; }
}

.footer {
    margin: 0;
    border-top: 1px solid #ececf0;
    padding: 40px 0 30px;
    text-align: center;
    color: #6f6f87;
}
.footer__links {
    margin: 0 0 12px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer__copy {
    margin: 0;
}
