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

:root {
    --bg: #061523;
    --panel: rgba(8, 24, 38, 0.74);
    --panel-soft: rgba(8, 24, 38, 0.52);
    --line: rgba(120, 230, 255, 0.2);
    --line-strong: rgba(120, 230, 255, 0.34);
    --text: #f6fbff;
    --muted: rgba(246, 251, 255, 0.72);
    --soft: rgba(246, 251, 255, 0.56);
    --blue: #78e6ff;
    --green: #9af2d0;
    --nav: rgba(5, 14, 24, 0.84);
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: "JetBrains Mono", "Fira Code", monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

.water-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #04101b;
}

.water-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 100% center;
    opacity: 0.42;
    filter: saturate(1.08) contrast(1.06) brightness(0.72);
    transform: scale(1.02);
}

.water-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 10, 18, 0.76) 0%, rgba(4, 13, 22, 0.88) 54%, rgba(4, 10, 18, 0.97) 100%),
        linear-gradient(90deg, rgba(4, 13, 22, 0.86) 0%, rgba(4, 13, 22, 0.34) 56%, rgba(4, 13, 22, 0.78) 100%);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0.95rem 1.5rem;
    background: var(--nav);
    border-bottom: 1px solid rgba(246, 251, 255, 0.1);
    backdrop-filter: blur(18px);
}

.nav__inner {
    width: min(1160px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav__logo-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--blue);
    background: linear-gradient(135deg, rgba(120, 230, 255, 0.22), rgba(154, 242, 208, 0.08));
    border: 1px solid rgba(120, 230, 255, 0.36);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    list-style: none;
    color: var(--muted);
    font-size: 0.92rem;
    scrollbar-width: none;
}

.nav__links::-webkit-scrollbar {
    display: none;
}

.nav__links a:hover {
    color: var(--text);
}

.page {
    position: relative;
    z-index: 1;
}

.hero {
    min-height: 74vh;
    padding: 9.5rem 1.5rem 5rem;
    display: grid;
    align-items: center;
}

.hero__inner,
.section__inner,
.footer__inner {
    width: min(1160px, 100%);
    margin: 0 auto;
}

.hero h1 {
    max-width: 900px;
    color: var(--text);
    font-size: clamp(2.8rem, 7vw, 6.4rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-shadow: 0 6px 32px rgba(0, 0, 0, 0.74);
}

.hero p {
    max-width: 740px;
    margin-top: 1.35rem;
    color: rgba(246, 251, 255, 0.82);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.72);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.82rem 1.15rem;
    border-radius: 8px;
    border: 1px solid rgba(246, 251, 255, 0.2);
    font-weight: 800;
    line-height: 1.2;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    border-color: rgba(120, 230, 255, 0.52);
}

.btn--primary {
    background: #f6fbff;
    color: #03101c;
    border-color: transparent;
}

.btn--secondary {
    background: rgba(4, 16, 27, 0.42);
    color: var(--text);
}

.keyword-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    max-width: 920px;
    margin-top: 2.1rem;
    list-style: none;
}

.keyword-strip li {
    padding: 0.42rem 0.7rem;
    border: 1px solid rgba(120, 230, 255, 0.22);
    border-radius: 8px;
    background: rgba(8, 24, 38, 0.48);
    color: rgba(246, 251, 255, 0.78);
    font-size: 0.86rem;
}

section {
    padding: 5.2rem 1.5rem;
    border-top: 1px solid rgba(246, 251, 255, 0.08);
}

.section__head {
    max-width: 800px;
    margin-bottom: 2rem;
}

.section__head h2,
.cta-band h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.section__head p,
.cta-band p {
    margin-top: 1rem;
    color: var(--muted);
    max-width: 700px;
}

.split {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2rem;
    align-items: start;
}

.panel,
.point,
.related-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-soft);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.panel {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.panel h2,
.panel h3,
.point h3,
.related-card h3 {
    margin-bottom: 0.7rem;
    color: var(--text);
    line-height: 1.2;
}

.panel p,
.point p,
.related-card p {
    color: var(--muted);
}

.panel ul {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-left: 1.1rem;
    color: var(--muted);
}

.proof-grid,
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.point,
.related-card {
    padding: 1.25rem;
}

.point strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--blue);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.method {
    counter-reset: step;
}

.method-list {
    display: grid;
    gap: 1rem;
}

.method-list li {
    counter-increment: step;
    list-style: none;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.15rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 24, 38, 0.48);
    color: var(--muted);
}

.method-list li::before {
    content: counter(step, decimal-leading-zero);
    color: var(--green);
    font-family: var(--font-mono);
    font-weight: 800;
}

.cta-band {
    padding: clamp(1.6rem, 4vw, 2.4rem);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(120, 230, 255, 0.14), rgba(154, 242, 208, 0.08)),
        rgba(8, 24, 38, 0.66);
}

.cta-band .hero__actions {
    margin-top: 1.4rem;
}

.footer {
    position: relative;
    z-index: 1;
    padding: 2.4rem 1.5rem;
    border-top: 1px solid rgba(246, 251, 255, 0.1);
    color: var(--soft);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 820px) {
    .nav {
        padding: 0.85rem 1rem;
    }

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

    .nav__links {
        width: 100%;
        gap: 0.8rem;
        overflow-x: auto;
        padding-bottom: 0.15rem;
        white-space: nowrap;
    }

    .hero {
        min-height: auto;
        padding: 10rem 1rem 4rem;
    }

    .split,
    .proof-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 4rem 1rem;
    }
}
