:root {
    --bg: #05070c;
    --panel: rgba(12, 18, 29, 0.84);
    --panel-strong: rgba(17, 27, 43, 0.94);
    --line: rgba(176, 203, 255, 0.14);
    --line-strong: rgba(91, 229, 255, 0.34);
    --text: #f7fbff;
    --muted: #aeb9c8;
    --soft: #d7e1ef;
    --cyan: #5be5ff;
    --green: #6ef0b5;
    --amber: #ffd166;
    --danger: #ff6b7a;
    --radius: 8px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(5, 7, 12, 0.22), var(--bg) 55%),
        linear-gradient(90deg, rgba(91, 229, 255, 0.08) 0 1px, transparent 1px),
        linear-gradient(0deg, rgba(141, 123, 255, 0.06) 0 1px, transparent 1px),
        var(--bg);
    background-size: auto, 72px 72px, 72px 72px, auto;
    color: var(--text);
    font-family: "Space Grotesk", Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 7, 12, 0.86);
    backdrop-filter: blur(16px);
}

.nav-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
}

.logo-img {
    display: block;
    width: auto;
    height: 52px;
    max-width: 210px;
    border-radius: 4px;
}

.logo-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(91, 229, 255, 0.32);
    border-radius: var(--radius);
    color: var(--cyan);
    background: linear-gradient(145deg, rgba(91, 229, 255, 0.12), rgba(110, 240, 181, 0.08));
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
}

.nav-links a {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links .is-cta {
    color: var(--cyan);
}

.hero {
    padding: 92px 0 62px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 10% -10% auto auto;
    width: min(520px, 58vw);
    height: min(520px, 58vw);
    border: 1px solid rgba(91, 229, 255, 0.12);
    background: radial-gradient(circle, rgba(91, 229, 255, 0.14), transparent 66%);
    transform: rotate(18deg);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.54fr);
    gap: 34px;
    align-items: center;
}

.eyebrow {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    color: var(--text);
    line-height: 1.08;
}

h1 {
    max-width: 980px;
    margin-top: 16px;
    font-size: clamp(2.65rem, 6.6vw, 5.8rem);
}

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

h3 {
    font-size: 1.18rem;
}

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

.lead {
    max-width: 810px;
    margin-top: 22px;
    color: var(--soft);
    font-size: clamp(1.05rem, 2vw, 1.23rem);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--green));
    color: #041017;
    box-shadow: 0 18px 45px rgba(91, 229, 255, 0.16);
}

.btn-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.05);
}

.section {
    padding: 74px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.section-heading {
    display: grid;
    gap: 12px;
    max-width: 790px;
    margin-bottom: 34px;
}

.section-heading.center {
    margin-inline: auto;
    text-align: center;
}

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

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

.grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
    text-decoration: none;
}

.card:hover {
    border-color: var(--line-strong);
}

.mini-panel {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(91, 229, 255, 0.18);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(16, 25, 39, 0.9), rgba(8, 13, 22, 0.9));
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 0.88rem;
}

.breadcrumbs a {
    color: var(--cyan);
    text-decoration: none;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius);
    color: var(--soft);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    font-weight: 800;
}

.check-list {
    display: grid;
    gap: 10px;
    list-style: none;
}

.check-list li {
    color: var(--soft);
}

.check-list li::before {
    content: ">";
    margin-right: 9px;
    color: var(--green);
    font-weight: 800;
}

.process {
    counter-reset: step;
}

.process .card {
    align-content: start;
}

.process .card::before {
    counter-increment: step;
    content: "0" counter(step);
    color: var(--cyan);
    font-weight: 800;
}

details {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
}

summary {
    cursor: pointer;
    color: var(--text);
    font-weight: 800;
}

details p {
    margin-top: 12px;
}

.cta {
    padding: 34px;
    border: 1px solid rgba(91, 229, 255, 0.24);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(91, 229, 255, 0.1), rgba(110, 240, 181, 0.08));
}

.form {
    display: grid;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: grid;
    gap: 7px;
}

label {
    color: var(--soft);
    font-size: 0.86rem;
    font-weight: 800;
}

.form-control {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.24);
    color: var(--text);
    outline: none;
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(91, 229, 255, 0.1);
}

.form-error {
    display: none;
    color: var(--danger);
    font-size: 0.82rem;
}

.form-success {
    display: none;
    padding: 14px;
    border: 1px solid rgba(110, 240, 181, 0.28);
    border-radius: var(--radius);
    background: rgba(110, 240, 181, 0.1);
    color: var(--green);
    font-weight: 800;
}

.mockup {
    min-height: 240px;
    padding: 18px;
    border: 1px solid rgba(91, 229, 255, 0.2);
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, rgba(91, 229, 255, 0.12) 0 1px, transparent 1px),
        linear-gradient(0deg, rgba(110, 240, 181, 0.1) 0 1px, transparent 1px),
        rgba(5, 10, 18, 0.92);
    background-size: 36px 36px;
}

.mockup img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.portfolio-shot {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 16px;
    border: 1px solid rgba(91, 229, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(6, 10, 18, 0.72);
    box-shadow: var(--shadow);
}

.portfolio-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.legal-note {
    border-color: rgba(255, 209, 102, 0.35);
    background: rgba(255, 209, 102, 0.08);
}

footer {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

.cookie-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 100;
    display: none;
    width: min(520px, calc(100% - 36px));
    padding: 18px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: rgba(6, 10, 18, 0.96);
    box-shadow: var(--shadow);
}

.cookie-banner.is-visible {
    display: block;
}

.cookie-banner h2,
.cookie-modal h2 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.cookie-banner p,
.cookie-modal p {
    font-size: 0.94rem;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.cookie-actions .btn {
    min-height: 42px;
    padding: 0 14px;
}

.cookie-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: none;
    place-items: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.62);
}

.cookie-modal-backdrop.is-visible {
    display: grid;
}

.cookie-modal {
    width: min(620px, 100%);
    max-height: min(720px, calc(100vh - 36px));
    overflow: auto;
    padding: 22px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: #07101c;
    box-shadow: var(--shadow);
}

.cookie-option {
    display: grid;
    gap: 6px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
}

.cookie-option label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
}

.cookie-option input {
    width: 20px;
    height: 20px;
    accent-color: var(--green);
}

@media (max-width: 920px) {
    .hero-grid,
    .grid,
    .grid.two,
    .grid.four,
    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-inner,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .hero {
        padding: 60px 0 44px;
    }

    h1 {
        font-size: clamp(2.25rem, 12vw, 3.7rem);
    }

    .actions .btn {
        width: 100%;
    }

    .logo-img {
        height: 46px;
        max-width: 184px;
    }

    .cookie-actions .btn {
        width: 100%;
    }
}
