:root {
    --text: #eff6ff;
    --muted: #a9bdd9;
    --line: rgba(162, 188, 222, 0.18);
    --panel: rgba(15, 28, 49, 0.82);
    --panel-soft: rgba(255, 255, 255, 0.04);
    --shadow: 0 22px 70px rgba(3, 10, 25, 0.45);
    --accent: #7dd3fc;
    --accent-strong: #38bdf8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background: #07111f;
    top: 0 !important;
    overflow-x: hidden;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    line-height: normal;
    backdrop-filter: blur(18px);
    background: rgba(5, 11, 20, 0.72);
    border-bottom: 1px solid var(--line);
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.logo {
    text-decoration: none;
    color: var(--text);
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-links a,
.lang-switch {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: normal;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active,
.lang-switch:hover {
    color: var(--text);
    border-color: var(--line);
    background: rgba(125, 211, 252, 0.08);
}

.lang-switch {
    cursor: pointer;
    font-family: inherit;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(125, 211, 252, 0.08);
    color: var(--text);
    padding: 10px 16px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
}

#google_translate_element,
.goog-te-banner-frame,
.skiptranslate {
    display: none !important;
}

.wrapper {
    width: min(1180px, calc(100% - 40px));
    margin: 36px auto;
    display: grid;
    gap: 24px;
}

.hero,
.section-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 22px;
    padding: 28px;
}

.hero-copy {
    padding: 12px 8px;
}

.eyebrow {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d7f1ff;
    background: rgba(125, 211, 252, 0.1);
    border: 1px solid rgba(125, 211, 252, 0.16);
}

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
}

h1 {
    font-size: clamp(2.95rem, 4.8vw, 4.35rem);
    line-height: 0.94;
    margin: 18px 0 16px;
}

.lead {
    color: var(--muted);
    font-size: 1.02rem;
    max-width: 56ch;
    line-height: 1.76;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.25s ease;
}

.btn-primary {
    color: #05111c;
    background: linear-gradient(135deg, #c5f0ff, #61d3ff);
    box-shadow: 0 18px 32px rgba(56, 189, 248, 0.18);
}

.btn-secondary {
    color: var(--text);
    background: var(--panel-soft);
    border: 1px solid var(--line);
}

.btn:hover {
    transform: translateY(-2px);
}

.hero-media {
    display: grid;
    gap: 14px;
    align-content: start;
}

.hero-image {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
    border: 1px solid rgba(162, 188, 222, 0.18);
    box-shadow: 0 24px 54px rgba(2, 10, 24, 0.28);
    filter: saturate(1.03) contrast(1.02);
    transition: transform 0.45s ease, filter 0.45s ease, box-shadow 0.45s ease;
}

.hero:hover .hero-image {
    transform: scale(1.018);
    filter: saturate(1.08) contrast(1.04);
    box-shadow: 0 28px 64px rgba(2, 10, 24, 0.34);
}

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

.metric {
    padding: 16px;
    border-radius: 18px;
    background: var(--panel-soft);
    border: 1px solid var(--line);
}

.metric strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.metric span {
    color: var(--muted);
    font-size: 0.88rem;
}

.section-card {
    padding: 28px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 20px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 0.98;
}

.section-head p {
    margin: 0;
    max-width: 54ch;
    color: var(--muted);
    line-height: 1.72;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.snapshot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.snapshot-card {
    padding: 18px;
    border-radius: 20px;
    background: var(--panel-soft);
    border: 1px solid var(--line);
}

.snapshot-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d7f1ff;
}

.snapshot-card span {
    color: var(--muted);
    line-height: 1.72;
}

.tool-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tool-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #d7f1ff;
    background: rgba(125, 211, 252, 0.1);
    border: 1px solid rgba(125, 211, 252, 0.18);
}

.process-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.process-step {
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.08), transparent 55%);
    pointer-events: none;
}

.process-step strong {
    display: block;
    margin-bottom: 10px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d7f1ff;
}

.process-step p {
    margin: 0;
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.compare-card {
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
}

.compare-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    margin-bottom: 14px;
    border: 1px solid rgba(162, 188, 222, 0.16);
}

.compare-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d7f1ff;
}

.compare-card span {
    color: var(--muted);
    line-height: 1.68;
}

.info-card,
.detail-card,
.gallery-card {
    padding: 20px;
    border-radius: 20px;
    background: var(--panel-soft);
    border: 1px solid var(--line);
}

.info-card h3,
.detail-card h3 {
    margin: 0 0 10px;
    font-size: 1.62rem;
    line-height: 0.98;
}

.info-card p,
.detail-card p,
.detail-card li,
.stack li {
    color: var(--muted);
    line-height: 1.72;
}

.stack {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.stack li::before {
    content: "+";
    color: var(--accent);
    margin-right: 10px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.gallery-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    margin-bottom: 12px;
    border: 1px solid rgba(162, 188, 222, 0.16);
    transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-card {
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
}

.gallery-card:hover img {
    transform: scale(1.035);
    filter: saturate(1.06);
}

.gallery-card span {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.archive-note {
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-note {
    text-align: center;
    color: var(--muted);
    padding-bottom: 8px;
}

@media (max-width: 920px) {
    .hero,
    .grid-3,
    .grid-2,
    .metrics,
    .snapshot-grid,
    .process-strip,
    .compare-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: relative;
        backdrop-filter: none;
        background: rgba(5, 11, 20, 0.94);
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-flex {
        display: block;
        gap: 0;
    }

    .wrapper {
        width: min(100% - 24px, 1180px);
    }

    #site-nav {
        display: none;
        width: 100%;
        margin-top: 12px;
    }

    #site-nav.nav-open {
        display: block;
    }

    .nav-toggle {
        display: inline-flex;
        flex: 0 0 auto;
        margin: 0;
    }

    .nav-links {
        width: 100%;
        gap: 8px;
    }

    .nav-links li {
        width: calc(50% - 4px);
    }

    .nav-links li:last-child {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        text-align: center;
    }

    .lang-switch {
        width: 100%;
        justify-content: center;
    }

    .hero,
    .section-card {
        padding: 22px;
    }

    .logo {
        min-width: 0;
        white-space: nowrap;
        letter-spacing: 0.03em;
        font-size: 0.92rem;
    }

    .hero-image,
    .compare-card img,
    .gallery-card img {
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .btn {
        width: 100%;
    }
}

@media (min-width: 769px) {
    #site-nav {
        display: block !important;
        margin-top: 0 !important;
    }

    .nav-toggle {
        display: none !important;
    }
}
