:root {
    color-scheme: dark;
    --color-bg: #05070a;
    --color-surface: #0d1117;
    --color-card: rgba(13, 17, 23, 0.92);
    --color-text: #f3f4f6;
    --color-muted: #9ca3af;
    --color-yellow: #facc15;
    --color-yellow-dark: #eab308;
    --max-width: 1180px;
}

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

body {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

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

img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.page {
    position: relative;
    overflow: hidden;
}

.page::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: -2;
}

.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem clamp(1.5rem, 5vw, 4rem) 4rem;
}

.hero__background {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
    z-index: -3;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 7, 10, 0.7) 0%, rgba(5, 7, 10, 0.9) 100%);
    z-index: -1;
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav__logo-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    font-weight: 600;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.language-switcher {
    position: relative;
}

.language__toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(250, 204, 21, 0.45);
    background: rgba(250, 204, 21, 0.18);
    color: var(--color-text);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.language__toggle:hover {
    background: rgba(250, 204, 21, 0.28);
    transform: translateY(-2px);
}

.language__icon {
    font-size: 1.05rem;
}

.language__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.language__label {
    font-size: 0.75rem;
}

.language__current {
    font-size: 0.7rem;
    color: var(--color-muted);
    text-transform: none;
}

.language__chevron {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.language-switcher--open .language__chevron {
    transform: rotate(180deg);
}

.language__list {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    width: 240px;
    max-height: 340px;
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    background: rgba(13, 17, 23, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.language-switcher--open .language__list {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.language__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.language__option:hover,
.language__option:focus {
    background: rgba(250, 204, 21, 0.15);
    outline: none;
}

.language__option--active {
    background: rgba(250, 204, 21, 0.22);
    color: var(--color-yellow);
}

.language__option--active .language__check {
    opacity: 1;
}

.language__flag {
    font-size: 1.1rem;
}

.language__name {
    flex: 1;
    font-size: 0.85rem;
}

.language__check {
    font-size: 0.85rem;
    color: var(--color-yellow);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.hero__content {
    max-width: 780px;
    margin: clamp(4rem, 10vw, 12rem) 0 0;
}

.hero__title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero__title strong {
    display: block;
    font-weight: 800;
    color: var(--color-text);
}

.hero__subtitle {
    margin-top: 1.75rem;
    font-size: clamp(1.125rem, 3vw, 1.75rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text);
}

.hero__description {
    margin-top: 1.25rem;
    max-width: 580px;
    font-size: 1.05rem;
    color: var(--color-muted);
}

.hero__actions {
    margin-top: 2.5rem;
    display: inline-flex;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.75rem;
    border-radius: 999px;
    border: 1px solid rgba(250, 204, 21, 0.65);
    background: linear-gradient(90deg, rgba(250, 204, 21, 0.18), rgba(250, 204, 21, 0.08));
    color: var(--color-text);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero__cta:hover {
    transform: translateY(-2px);
    border-color: var(--color-yellow);
    background: linear-gradient(90deg, rgba(250, 204, 21, 0.28), rgba(250, 204, 21, 0.18));
    box-shadow: 0 18px 40px rgba(250, 204, 21, 0.25);
}

.section {
    position: relative;
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
}

.section::before {
    content: "";
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 32px;
    pointer-events: none;
    z-index: -1;
}

.section__intro {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section__intro h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
}

.section__intro h2 span {
    color: var(--color-yellow);
}

.section__intro p {
    margin-top: 1.25rem;
    color: var(--color-muted);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: rgba(250, 204, 21, 0.15);
    color: var(--color-yellow);
    border: 1px solid rgba(250, 204, 21, 0.4);
}

.text-accent {
    color: var(--color-yellow);
}

.steps {
    background: radial-gradient(circle at top right, rgba(250, 204, 21, 0.1), transparent 45%), rgba(5, 7, 10, 0.96);
}

.steps::before {
    border-radius: 24px;
}

.steps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.step-card {
    position: relative;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(13, 17, 23, 0.92), rgba(13, 17, 23, 0.72));
    border: 1px solid rgba(250, 204, 21, 0.05);
    overflow: hidden;
    backdrop-filter: blur(10px);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.step-card__number {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
}

.step-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: var(--color-yellow);
    display: grid;
    place-items: center;
}

.step-card__icon svg {
    width: 26px;
    height: 26px;
    color: #0f172a;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.35s ease;
}

.step-card__body {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--color-muted);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
    pointer-events: none;
}

.step-card:hover,
.step-card:focus-within {
    transform: translateY(-12px);
    background: var(--color-yellow);
    border-color: rgba(250, 204, 21, 0.45);
    box-shadow: 0 25px 45px rgba(250, 204, 21, 0.18);
    color: #111827;
}

.step-card:hover .step-card__number,
.step-card:focus-within .step-card__number {
    color: rgba(17, 24, 39, 0.12);
}

.step-card:hover .step-card__icon,
.step-card:focus-within .step-card__icon {
    background: #111827;
}

.step-card:hover .step-card__icon svg,
.step-card:focus-within .step-card__icon svg {
    color: var(--color-yellow);
}

.step-card:hover h3,
.step-card:focus-within h3 {
    color: #111827;
}

.step-card:hover .step-card__body,
.step-card:focus-within .step-card__body {
    opacity: 1;
    transform: translateY(0);
    color: #1f2937;
}

.step-card:focus {
    outline: none;
}

.step-card:focus-visible {
    outline: 2px solid rgba(250, 204, 21, 0.6);
    outline-offset: 4px;
}

.highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    gap: 2.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.highlight__image {
    border-radius: 24px;
    min-height: 320px;
    /* Keep a gentle background as a fallback if the video is not present */
    background: linear-gradient(180deg, rgba(5, 7, 10, 0.1), rgba(5, 7, 10, 0.85)), url("https://images.unsplash.com/photo-1485773713621-4b53d4d3f655?auto=format&fit=crop&w=1200&q=80") center/cover;
    overflow: hidden;
}

.highlight__video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.highlight__content {
    max-width: 480px;
}

.highlight__content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.highlight__content p {
    color: var(--color-muted);
}

.about {
    max-width: var(--max-width);
    margin: 0 auto;
}

.about__gallery {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 1.25rem;
}

.about__gallery img {
    border-radius: 16px;
    height: 220px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.cta {
    max-width: var(--max-width);
    margin: 0 auto clamp(3rem, 6vw, 5rem);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.cta__content {
    display: grid;
    gap: 1.5rem;
}

.cta__content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta__content p {
    color: var(--color-muted);
}

.cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2.5rem;
    border-radius: 999px;
    background: var(--color-yellow);
    color: #111827;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid transparent;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cta__button:hover {
    background: var(--color-yellow-dark);
    transform: translateY(-2px);
}

.cta__image {
    border-radius: 24px;
    min-height: 320px;
    background: linear-gradient(180deg, rgba(5, 7, 10, 0.2), rgba(5, 7, 10, 0.85)), url("https://images.unsplash.com/photo-1489515217757-5fd1be406fef?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem clamp(1.5rem, 5vw, 4rem) 3rem;
    display: grid;
    gap: 1.5rem;
    background: rgba(5, 7, 10, 0.96);
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.footer__links {
    display: inline-flex;
    gap: 1.5rem;
}

.footer__links a:hover {
    color: var(--color-yellow);
}

.footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    justify-content: space-between;
}

.footer__heading {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.footer__icons {
    display: inline-flex;
    gap: 1rem;
}

.footer__icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer__icons svg {
    width: 20px;
    height: 20px;
}

.footer__icons a:hover {
    background: rgba(250, 204, 21, 0.15);
    transform: translateY(-2px);
}

.redirect-status {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.15);
    color: var(--color-text);
    border: 1px solid rgba(250, 204, 21, 0.35);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.redirect-status:not(:empty) {
    opacity: 1;
}

@media (max-width: 920px) {
    .steps__grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .about__gallery {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        justify-items: center;
    }

    .about__gallery img {
        height: 180px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 1.75rem 1.5rem 3.5rem;
    }

    .nav__actions {
        gap: 0.5rem;
    }

    .language__toggle {
        width: 100%;
        justify-content: space-between;
    }

    .section::before {
        inset: 6%;
        border-radius: 20px;
    }

    .footer {
        text-align: center;
    }

    .footer__meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer__socials {
        justify-content: center;
    }

    .footer__icons {
        justify-content: center;
    }
}

