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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    background-color: #05060a;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Color system */
:root {
    --color-bg: #05060a;
    --color-surface: #101320;
    --color-surface-alt: #171b2c;
    --color-accent-primary: #1C234F;
    --color-accent-secondary: #235993;
    --color-accent-tertiary: #60C6F2;
    --color-border-subtle: rgba(255, 255, 255, 0.06);
    --color-text: #f5f5f7;
    --color-muted: #9ea4c1;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
    --radius-lg: 20px;
    --radius-pill: 999px;
}

/* Layout */
.page {
    min-height: 100vh;
    background-color: var(--color-bg);
    color: var(--color-text);
}

.shell {
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.shell--nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 4.5rem;
}

/* Header & navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(22px);
    background: linear-gradient(to bottom, rgba(5, 6, 10, 0.92), rgba(5, 6, 10, 0.75), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    padding-block: 0.4rem;
    padding-inline-end: 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
}

.brand__logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    justify-content: center;
}

.nav__link {
    position: relative;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-muted);
    padding-block: 0.4rem;
}

.nav__link::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -0.35rem;
    height: 2px;
    border-radius: 999px;
    background: var(--color-accent-tertiary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease-out;
}

.nav__link:hover {
    color: #ffffff;
}

.nav__link:hover::after {
    transform: scaleX(1);
}

.nav__link--active {
    color: #ffffff;
}

.nav__link--active::after {
    transform: scaleX(1);
}

/* Language toggle */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: radial-gradient(circle at top left, rgba(96, 198, 242, 0.16), transparent),
        radial-gradient(circle at bottom right, rgba(28, 35, 79, 0.65), rgba(5, 6, 10, 0.9));
}

.lang-toggle__btn {
    border: none;
    background: transparent;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-muted);
    cursor: pointer;
    padding: 0.1rem 0.25rem;
    transition: color 140ms ease-out, transform 120ms ease-out;
}

.lang-toggle__btn--active {
    color: #ffffff;
    transform: translateY(-1px);
}

.lang-toggle__divider {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Hero */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: stretch;
    color: #ffffff;
    background-color: #000000;
    background-image: linear-gradient(135deg, rgba(28, 35, 79, 0.92), rgba(96, 198, 242, 0.36));
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 600ms ease-in-out;
    z-index: 0;
}

.hero__bg--visible {
    opacity: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 10%, rgba(96, 198, 242, 0.18), transparent 55%),
        radial-gradient(circle at 80% 90%, rgba(96, 198, 242, 0.38), transparent 55%);
    opacity: 0.8;
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.35));
    z-index: 1;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero__inner--sub {
    min-height: 50vh;
}

.hero--sub {
    min-height: 40vh;
}

.hero__content {
    max-width: 640px;
    padding-block: 5rem;
    animation: hero-fade-up 700ms ease-out both;
}

.hero__kicker {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-tertiary);
    margin-bottom: 1.5rem;
}

.hero__title {
    font-size: clamp(2.2rem, 3.1vw, 2.9rem);
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero__subtitle {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--color-muted);
    max-width: 36rem;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero__ribbon {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.hero__dots {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
    pointer-events: auto;
}

.hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.hero__dot--active {
    background: #60C6F2;
    border-color: #60C6F2;
    transform: scale(1.12);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: background-color 160ms ease-out, border-color 160ms ease-out,
        color 160ms ease-out, transform 100ms ease-out, box-shadow 160ms ease-out;
}

.btn--primary {
    background: var(--color-accent-tertiary);
    background: linear-gradient(135deg, var(--color-accent-tertiary), var(--color-accent-secondary));
    color: #05060a;
    box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.7);
}

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #ffffff;
}

.btn--ghost:hover {
    border-color: var(--color-accent-tertiary);
    background: rgba(5, 6, 10, 0.65);
}

.btn--block {
    width: 100%;
}

/* Sections */
.section {
    padding-block: 4.5rem;
}

.section--dark {
    background: radial-gradient(circle at top left, rgba(96, 198, 242, 0.08), rgba(5, 6, 10, 0.98));
}

.section--light {
    background-color: #05060a;
}

.section--stats {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section--full-height {
    min-height: calc(100vh - 4.5rem);
}

.section--centered {
    display: flex;
    align-items: center;
}

/* Scroll reveal baseline */
.section {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 520ms ease-out, transform 520ms ease-out;
}

.section.section--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section headings */
.section__header {
    margin-bottom: 2.5rem;
}

.section__header--center {
    text-align: center;
}

.section__title {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.section__subtitle {
    font-size: 0.96rem;
    color: var(--color-muted);
    max-width: 34rem;
}

.section__body--columns {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2rem;
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--color-muted);
}

/* Grids & cards */
.grid {
    display: grid;
    gap: 1.6rem;
}

.grid--features,
.grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.value-card,
.service-card {
    position: relative;
    padding: 1.7rem 1.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: radial-gradient(circle at top left, rgba(96, 198, 242, 0.09), rgba(16, 19, 32, 0.96));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
    overflow: hidden;
}

.section--light .feature-card,
.section--light .service-card {
    background: radial-gradient(circle at top left, rgba(96, 198, 242, 0.06), #070812);
}

.service-card--dark {
    background: radial-gradient(circle at bottom right, rgba(35, 89, 147, 0.3), #070812);
}

.feature-card::before,
.value-card::before,
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background: radial-gradient(circle at top right, rgba(96, 198, 242, 0.22), transparent 55%);
    transition: opacity 220ms ease-out;
}

.feature-card:hover::before,
.value-card:hover::before,
.service-card:hover::before {
    opacity: 1;
}

.feature-card__title,
.value-card__title,
.service-card__title {
    font-size: 1.02rem;
    font-weight: 500;
    margin-bottom: 0.85rem;
    color: #ffffff;
}

.feature-card__body,
.value-card__body,
.service-card__body {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-muted);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: center;
}

.logo-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(96, 198, 242, 0.12), rgba(5, 6, 10, 0.85));
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.3rem;
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-card img,
.logo-card svg {
    height: 52px;
    max-height: 60px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.82;
    transition: filter 140ms ease-out, opacity 140ms ease-out, transform 140ms ease-out;
}

.logo-card svg {
    display: block;
}

.logo-card img:hover,
.logo-card svg:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-2px);
}

.stat {
    padding: 1.6rem 1.4rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: radial-gradient(circle at top, rgba(96, 198, 242, 0.12), rgba(5, 6, 10, 0.96));
    text-align: center;
}

.stat__value {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: #ffffff;
}

.stat__label {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.7rem;
}

.team-grid--partners {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: radial-gradient(circle at top left, rgba(96, 198, 242, 0.05), rgba(16, 19, 32, 0.98));
    padding: 1.4rem 1.3rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
}

.team-card--ceo {
    grid-column: span 2;
    position: relative;
    background: radial-gradient(circle at top left, rgba(96, 198, 242, 0.12), rgba(28, 35, 79, 0.96));
    border-color: rgba(96, 198, 242, 0.7);
}

.team-card--ceo::after {
    content: "Lead";
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(5, 6, 10, 0.9);
    background: var(--color-accent-tertiary);
    padding: 0.22rem 0.7rem;
    border-radius: var(--radius-pill);
}

.team-card--partner {
    border-style: dashed;
    border-color: rgba(96, 198, 242, 0.75);
    background: radial-gradient(circle at bottom, rgba(35, 89, 147, 0.42), rgba(16, 19, 32, 0.98));
}

.team-grid__spacer {
    height: 0;
}

.team-card__avatar {
    width: 9rem;
    height: 9rem;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.team-card--ceo .team-card__avatar {
    width: 10rem;
    height: 10rem;
}

.team-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.team-card__badge {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0b1f33;
    background: var(--color-accent-tertiary);
    align-self: flex-start;
    border-radius: var(--radius-pill);
    padding: 0.18rem 0.7rem;
}

.team-card__name {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.team-card__role {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-muted);
    margin-bottom: 1.0rem;
}

.team-card__bio {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--color-muted);
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    max-width: 1120px;
    margin-inline: auto;
    gap: 2.2rem;
}

.contact-list {
    display: grid;
    gap: 1.4rem;
    font-size: 0.92rem;
}

.contact-list__label {
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 0.25rem;
}

.contact-list__value {
    color: #ffffff;
}

.contact-list__value a {
    color: var(--color-accent-tertiary);
    text-decoration: none;
}

.contact-list__value a:hover {
    text-decoration: underline;
}

.contact-map-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: radial-gradient(circle at top left, rgba(96, 198, 242, 0.06), rgba(16, 19, 32, 0.98));
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    height: 100%;
    min-height: 360px;
}

.contact-map {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}

.contact-form {
    padding: 1.6rem 1.5rem 1.7rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: radial-gradient(circle at top left, rgba(96, 198, 242, 0.06), rgba(16, 19, 32, 0.98));
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.35rem;
}

.field__label {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.field__input {
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(5, 6, 10, 0.95);
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
    color: #ffffff;
    outline: none;
    transition: border-color 140ms ease-out, box-shadow 140ms ease-out, background-color 140ms ease-out;
    resize: vertical;
}

.field__input--textarea {
    min-height: 7rem;
}

.field__input::placeholder {
    color: rgba(158, 164, 193, 0.7);
}

.field__input:focus {
    border-color: var(--color-accent-tertiary);
    box-shadow: 0 0 0 1px rgba(96, 198, 242, 0.55);
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-block: 1.4rem;
    background: radial-gradient(circle at top, rgba(28, 35, 79, 0.55), rgba(5, 6, 10, 0.98));
}

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

.site-footer__brand {
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* 404 */
.not-found {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    align-items: center;
}

.not-found__code {
    font-size: clamp(5rem, 15vw, 6.5rem);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(96, 198, 242, 0.18);
}

.not-found__title {
    font-size: 1.5rem;
    font-weight: 500;
}

.not-found__subtitle {
    font-size: 0.95rem;
    color: var(--color-muted);
    max-width: 26rem;
}

/* Animations */
@keyframes hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

.contact-form--sent {
    animation: contact-flash 600ms ease-out;
}

@keyframes contact-flash {
    0% {
        box-shadow: 0 0 0 0 rgba(96, 198, 242, 0.8);
    }

    100% {
        box-shadow: 0 0 0 12px rgba(96, 198, 242, 0);
    }
}

/* Responsive */
@media (max-width: 960px) {
    .shell--nav {
        flex-wrap: wrap;
    }

    .nav {
        justify-content: flex-start;
        flex-wrap: wrap;
        order: 2;
    }

    .lang-toggle {
        order: 3;
    }

    .grid--features,
    .grid--three,
    .stats-grid,
    .team-grid,
    .team-grid--partners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .team-card--ceo {
        grid-column: span 2;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .shell {
        padding-inline: 1.1rem;
    }

    .shell--nav {
        align-items: flex-start;
    }

    .nav {
        gap: 0.9rem;
    }

    .hero__content {
        padding-block: 4rem;
    }

    .hero__title {
        font-size: 1.9rem;
    }

    .section {
        padding-block: 3.3rem;
    }

    .section__body--columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .grid--features,
    .grid--three,
    .stats-grid,
    .team-grid,
    .team-grid--partners {
        grid-template-columns: minmax(0, 1fr);
    }

    .logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-card--ceo {
        grid-column: auto;
    }

    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
