:root {
    --bg: #0a101d;
    --bg-alt: #0f1627;
    --surface: #131c31;
    --surface-2: #19253d;
    --surface-3: #213455;
    --text: #eef4ff;
    --text-soft: #bfd0ea;
    --muted: #93a7c4;
    --accent: #3fd8ff;
    --accent-2: #5cf0ca;
    --danger: #ff6f7f;
    --success: #62dfa2;
    --border: rgba(156, 183, 228, 0.24);
    --border-strong: rgba(182, 207, 245, 0.34);
    --shadow-soft: 0 18px 45px rgba(5, 10, 20, 0.4);
    --shadow-hard: 0 24px 80px rgba(3, 7, 14, 0.62);
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --space: 18px;
    --header-height: 72px;
    --container: 1180px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --font-display: "Space Grotesk", "SF Pro Display", "Avenir Next", "Segoe UI", sans-serif;
    --font-text: "Manrope", "SF Pro Text", "Avenir Next", "Segoe UI", sans-serif;
}

@media (min-width: 768px) {
    :root {
        --space: 26px;
        --radius: 20px;
        --radius-lg: 30px;
    }
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background:
        radial-gradient(circle at 16% 8%, rgba(68, 182, 255, 0.2), transparent 28%),
        radial-gradient(circle at 86% 0%, rgba(90, 235, 196, 0.14), transparent 32%),
        linear-gradient(160deg, var(--bg) 0%, #0a1322 50%, #0d1628 100%);
    color: var(--text);
    font-family: var(--font-text);
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

:focus-visible {
    outline: 3px solid rgba(63, 216, 255, 0.45);
    outline-offset: 2px;
}

.container {
    width: min(var(--container), calc(100% - (var(--space) * 2)));
    margin-inline: auto;
}

.section {
    padding: clamp(58px, 8.5vw, 98px) 0;
}

.section-header {
    display: grid;
    gap: 14px;
    margin-bottom: clamp(22px, 4vw, 34px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid rgba(92, 240, 202, 0.36);
    background: rgba(92, 240, 202, 0.11);
    color: var(--accent-2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 7px 12px;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 0 5px rgba(92, 240, 202, 0.14);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2rem, 6.3vw, 4rem);
}

h2 {
    font-size: clamp(1.7rem, 4.7vw, 2.8rem);
}

h3 {
    font-size: clamp(1.1rem, 3.2vw, 1.45rem);
}

.section-header p,
.lead {
    color: var(--text-soft);
    max-width: 68ch;
    font-size: clamp(1rem, 2.3vw, 1.18rem);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 13, 24, 0.72);
    border-bottom: 1px solid rgba(156, 183, 228, 0.18);
    backdrop-filter: blur(14px) saturate(145%);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
    border-color: rgba(186, 208, 244, 0.3);
    box-shadow: 0 10px 26px rgba(3, 8, 15, 0.45);
    background: rgba(7, 12, 22, 0.84);
}

.nav-inner {
    min-height: calc(var(--header-height) + var(--safe-top));
    padding-top: var(--safe-top);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    object-fit: cover;
    border: 1px solid rgba(214, 228, 255, 0.45);
    box-shadow: 0 8px 22px rgba(8, 12, 30, 0.45);
}

.brand-label {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 20px;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a[aria-current="page"] {
    color: var(--text);
}

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 11px 17px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

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

.btn:active {
    transform: translateY(0);
}

.btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    color: #04111f;
    background: linear-gradient(145deg, var(--accent), #53ffc6);
    box-shadow: 0 10px 24px rgba(63, 216, 255, 0.28);
}

.btn-secondary,
.btn-ghost {
    color: var(--text);
    border-color: rgba(178, 202, 240, 0.35);
    background: rgba(145, 178, 230, 0.11);
}

.btn-ghost {
    color: var(--text-soft);
    border-color: rgba(168, 194, 236, 0.26);
    background: rgba(116, 143, 192, 0.08);
}

.menu-toggle {
    width: 41px;
    height: 41px;
    border-radius: 12px;
    border: 1px solid rgba(168, 194, 236, 0.32);
    background: rgba(116, 143, 192, 0.11);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(7, 11, 20, 0.96);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-family: var(--font-display);
    text-decoration: none;
    font-size: 1.35rem;
}

.menu-close {
    position: absolute;
    top: calc(16px + var(--safe-top));
    right: var(--space);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(178, 202, 240, 0.32);
    background: rgba(130, 156, 205, 0.14);
    color: var(--text);
    cursor: pointer;
}

.hero {
    padding-top: clamp(46px, 7vw, 84px);
}

.hero-grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: 16px;
}

.hero-copy h1 {
    max-width: 17ch;
}

.hero-copy .lead {
    max-width: 60ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.hero-visual {
    position: relative;
    border-radius: clamp(18px, 4vw, 30px);
    border: 1px solid var(--border-strong);
    background: linear-gradient(180deg, rgba(31, 50, 84, 0.58), rgba(18, 28, 48, 0.85));
    box-shadow: var(--shadow-hard);
    padding: clamp(10px, 2vw, 16px);
    overflow: hidden;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    border: 1px solid rgba(220, 235, 255, 0.2);
}

.hero-visual img {
    width: 100%;
    border-radius: clamp(12px, 2.3vw, 20px);
    object-fit: cover;
}

.trust-row {
    margin-top: clamp(22px, 4vw, 34px);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-pill {
    border: 1px solid rgba(170, 198, 241, 0.3);
    border-radius: 999px;
    background: rgba(113, 141, 194, 0.16);
    color: var(--text-soft);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 8px 12px;
}

.panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(21, 32, 55, 0.9), rgba(19, 28, 48, 0.93));
    box-shadow: var(--shadow-soft);
}

.feature-grid {
    display: grid;
    gap: 14px;
}

.feature-card {
    padding: 20px;
    border: 1px solid rgba(166, 193, 235, 0.22);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(25, 38, 63, 0.88), rgba(18, 29, 49, 0.88));
    display: grid;
    gap: 11px;
}

.feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(160, 187, 232, 0.4);
    background: rgba(89, 121, 174, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.feature-card p {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.workflow-grid {
    display: grid;
    gap: 14px;
}

.workflow-card {
    border: 1px solid rgba(167, 193, 236, 0.24);
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(160deg, rgba(25, 38, 62, 0.86), rgba(16, 26, 43, 0.9));
}

.workflow-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.workflow-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workflow-body {
    padding: 18px;
    display: grid;
    gap: 9px;
}

.step-number {
    color: var(--accent-2);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.workflow-body p {
    color: var(--text-soft);
    font-size: 0.93rem;
}

.showcase-wrap {
    border: 1px solid rgba(172, 197, 237, 0.28);
    border-radius: var(--radius-lg);
    background: linear-gradient(170deg, rgba(24, 37, 61, 0.9), rgba(15, 25, 42, 0.92));
    padding: clamp(16px, 3vw, 24px);
    display: grid;
    gap: 14px;
}

.carousel {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(171, 197, 236, 0.22);
    background: rgba(8, 13, 23, 0.6);
}

.carousel-track {
    display: flex;
    transition: transform 0.35s ease;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    padding: 8px;
}

.carousel-image {
    border-radius: calc(var(--radius) - 4px);
    overflow: hidden;
    cursor: zoom-in;
    border: 1px solid rgba(178, 203, 242, 0.24);
}

.carousel-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.carousel-caption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.87rem;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.carousel-actions {
    display: inline-flex;
    gap: 8px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(172, 198, 239, 0.3);
    background: rgba(115, 142, 195, 0.13);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.icon-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.carousel-index {
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 700;
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.thumb-button {
    border: 1px solid rgba(167, 193, 234, 0.22);
    border-radius: 11px;
    overflow: hidden;
    background: rgba(111, 137, 186, 0.12);
    cursor: pointer;
}

.thumb-button img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.thumb-button[aria-current="true"] {
    border-color: rgba(95, 235, 203, 0.8);
    box-shadow: 0 0 0 1px rgba(95, 235, 203, 0.5);
}

.merger-grid {
    display: grid;
    gap: 22px;
    align-items: center;
}

.merger-shot {
    border-radius: var(--radius);
    border: 1px solid rgba(176, 202, 242, 0.25);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

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

.merger-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-soft);
}

.merger-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 0 4px rgba(92, 240, 202, 0.14);
}

.pricing-card {
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid rgba(178, 204, 242, 0.28);
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, rgba(26, 40, 66, 0.94), rgba(17, 27, 46, 0.96));
    display: grid;
    gap: 14px;
}

.pricing-badge {
    width: fit-content;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(63, 216, 255, 0.45);
    background: rgba(63, 216, 255, 0.11);
}

.price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.price-line strong {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 5vw, 2.45rem);
}

.price-line span {
    color: var(--muted);
    font-weight: 700;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid rgba(168, 195, 236, 0.24);
    border-radius: var(--radius);
    background: rgba(24, 37, 61, 0.84);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
    padding: 16px 18px;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.faq-answer-inner {
    padding: 0 18px 18px;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.contact-grid {
    display: grid;
    gap: 14px;
}

.info-card,
.form-card,
.legal-card,
.support-panel {
    border: 1px solid rgba(173, 199, 238, 0.24);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(24, 37, 61, 0.9), rgba(16, 26, 44, 0.92));
    padding: clamp(16px, 3vw, 24px);
}

.info-card ul {
    list-style: none;
    display: grid;
    gap: 9px;
    margin-top: 14px;
}

.info-card li {
    padding-left: 19px;
    position: relative;
    color: var(--text-soft);
}

.info-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(63, 216, 255, 0.14);
}

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

.form-row {
    display: grid;
    gap: 12px;
}

.field {
    display: grid;
    gap: 6px;
}

.field label {
    font-size: 0.83rem;
    color: var(--text-soft);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.field input,
.field textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(176, 202, 241, 0.26);
    background: rgba(113, 140, 192, 0.12);
    color: var(--text);
    padding: 12px 13px;
    font-size: 0.95rem;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(187, 206, 236, 0.68);
}

.field-error {
    min-height: 18px;
    font-size: 0.78rem;
    color: #ffbcc7;
}

.form-note {
    color: var(--muted);
    font-size: 0.84rem;
}

.form-status {
    display: none;
    border-radius: 12px;
    border: 1px solid;
    padding: 11px 13px;
    font-size: 0.9rem;
}

.form-status.show {
    display: block;
}

.form-status.success {
    border-color: rgba(98, 223, 162, 0.54);
    background: rgba(98, 223, 162, 0.15);
    color: #acffcf;
}

.form-status.error {
    border-color: rgba(255, 111, 127, 0.54);
    background: rgba(255, 111, 127, 0.15);
    color: #ffc1ca;
}

.turnstile-wrap {
    min-height: 66px;
    display: flex;
    align-items: center;
}

.page-hero {
    margin-top: clamp(28px, 5vw, 48px);
    margin-bottom: 18px;
}

.page-hero h1 {
    max-width: 18ch;
}

.legal-card {
    display: grid;
    gap: 20px;
}

.legal-card section {
    display: grid;
    gap: 8px;
}

.legal-card p,
.legal-card li {
    color: var(--text-soft);
}

.legal-card ul {
    margin-left: 20px;
    display: grid;
    gap: 8px;
}

.legal-footnote {
    border-top: 1px solid rgba(170, 196, 236, 0.24);
    padding-top: 14px;
    color: var(--muted);
    font-size: 0.82rem;
}

.table-scroll {
    overflow-x: auto;
    border: 1px solid rgba(171, 197, 235, 0.22);
    border-radius: 12px;
}

.table-scroll table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.table-scroll th,
.table-scroll td {
    padding: 11px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(172, 199, 238, 0.17);
    font-size: 0.89rem;
    color: var(--text-soft);
}

.table-scroll th {
    color: var(--text);
    background: rgba(117, 144, 196, 0.16);
}

.site-footer {
    margin-top: clamp(56px, 7vw, 84px);
    border-top: 1px solid rgba(167, 194, 237, 0.2);
    background: rgba(7, 11, 21, 0.72);
    padding: 26px 0 calc(18px + var(--safe-bottom));
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.81rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--text);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    background: rgba(4, 7, 12, 0.9);
    backdrop-filter: blur(8px);
    padding: clamp(14px, 3vw, 28px);
}

.lightbox.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-dialog {
    width: min(1100px, 100%);
    position: relative;
}

.lightbox-image {
    width: 100%;
    max-height: 84vh;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid rgba(174, 199, 238, 0.35);
    background: #060b16;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(188, 211, 246, 0.34);
    background: rgba(18, 30, 51, 0.72);
    color: var(--text);
    cursor: pointer;
}

.lightbox-caption {
    margin-top: 10px;
    color: var(--text-soft);
    font-size: 0.9rem;
    text-align: center;
}

.hide-mobile {
    display: none;
}

@media (min-width: 760px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .merger-grid,
    .contact-grid {
        grid-template-columns: 1.07fr 0.93fr;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hide-mobile {
        display: inline-flex;
    }
}

@media (min-width: 980px) {
    .desktop-nav {
        display: inline-flex;
    }

    .menu-toggle {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 44px;
    }

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

@media (max-width: 979px) {
    .hide-tablet-down {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto;
        transition: none !important;
        animation: none !important;
    }
}
