:root {
    --bg: #0c0a1a;
    --bg-alt: #12102a;
    --panel: rgba(18, 16, 38, 0.88);
    --panel-strong: rgba(14, 12, 30, 0.96);
    --line: rgba(75, 202, 221, 0.15);
    --line-strong: rgba(75, 202, 221, 0.35);
    --text: #f0f2ff;
    --muted: #a8b4d4;
    --soft: #d4daf0;
    --primary: #4bcadd;
    --primary-strong: #3ab8cc;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --success: #34d399;
    --error: #fb7185;
    --shadow: 0 24px 80px rgba(2, 4, 18, 0.6);
    --radius: 26px;
    --radius-sm: 18px;
    --container: 1180px;
    --font: 'Inter', 'Segoe UI', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    position: relative;
    font-family: var(--font);
    color: var(--text);
    background:
        radial-gradient(circle at 8% 10%, rgba(75, 202, 221, 0.1), transparent 22%),
        radial-gradient(circle at 86% 12%, rgba(168, 85, 247, 0.14), transparent 24%),
        radial-gradient(circle at 52% 100%, rgba(236, 72, 153, 0.08), transparent 28%),
        linear-gradient(180deg, #090814 0%, #0f0c21 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body::before {
    z-index: 0;
    opacity: 0.3;
    background:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0) 85%);
}

body::after {
    z-index: 0;
    background:
        radial-gradient(circle at 20% 28%, rgba(75, 202, 221, 0.08), transparent 22%),
        radial-gradient(circle at 78% 42%, rgba(168, 85, 247, 0.08), transparent 22%);
    filter: blur(20px);
}

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

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

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

.page-shell {
    position: relative;
    overflow: clip;
    z-index: 1;
    isolation: isolate;
}

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

/* ========== ANIMATIONS ========== */

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 50%, var(--accent-pink) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

/* ========== HEADER ========== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 14px 0;
    backdrop-filter: blur(24px);
    background: rgba(12, 10, 26, 0.85);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand img {
    border-radius: 50%;
}

.brand span {
    display: grid;
    gap: 2px;
}

.brand strong {
    font-size: 1rem;
    font-weight: 800;
}

.brand small {
    color: var(--muted);
    font-size: 0.8rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.site-nav a {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: #fff;
}

.site-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--muted);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.site-socials a img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.site-socials a:hover {
    color: #fff;
    border-color: var(--primary);
    background: rgba(75, 202, 221, 0.1);
}

.max-brand-icon {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    object-fit: contain;
}

/* ========== TYPOGRAPHY ========== */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(75, 202, 221, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--soft);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eyebrow--soft {
    background: rgba(75, 202, 221, 0.08);
    border-color: rgba(75, 202, 221, 0.22);
}

.eyebrow--accent {
    background: linear-gradient(135deg, rgba(75, 202, 221, 0.12), rgba(168, 85, 247, 0.12));
    border-color: rgba(168, 85, 247, 0.3);
}

.section {
    padding: 90px 0;
    position: relative;
}

.section--compact {
    padding: 20px 0 44px;
}

.section--alt {
    background: linear-gradient(180deg, rgba(12, 10, 26, 0.5) 0%, rgba(18, 16, 38, 0.3) 50%, rgba(12, 10, 26, 0.5) 100%);
}

.section--cta {
    padding-top: 24px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

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

.section-heading h2,
.hero__content h1,
.hero-form-card h2,
.cta-panel__content h2,
.legal-card h1 {
    margin: 16px 0 14px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.section-heading h2,
.cta-panel__content h2 {
    font-size: clamp(1.8rem, 2.8vw, 3rem);
}

.section-heading p,
.hero__lead,
.hero-form-card p,
.cta-panel__content p,
.site-footer p,
.legal-card p {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

/* ========== BUTTONS ========== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
    box-shadow: 0 12px 36px rgba(75, 202, 221, 0.3);
    color: var(--bg);
    font-weight: 800;
}

.button--primary:hover {
    box-shadow: 0 16px 48px rgba(75, 202, 221, 0.4);
}

.button--secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(173, 184, 255, 0.18);
    color: var(--text);
}

.button--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(173, 184, 255, 0.3);
}

.button--ghost {
    background: transparent;
    border-color: rgba(173, 184, 255, 0.18);
    color: var(--text);
}

.button--ghost:hover {
    border-color: var(--primary);
}

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

/* ========== HERO ========== */

.hero {
    padding-top: 40px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.hero__gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.hero__gradient-orb--1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(75, 202, 221, 0.15);
    animation: float 8s ease-in-out infinite;
}

.hero__gradient-orb--2 {
    top: 20%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(168, 85, 247, 0.12);
    animation: float 10s ease-in-out infinite 2s;
}

.hero__gradient-orb--3 {
    bottom: -10%;
    left: 30%;
    width: 350px;
    height: 350px;
    background: rgba(236, 72, 153, 0.08);
    animation: float 12s ease-in-out infinite 4s;
}

.hero__layout {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 36px;
}

.hero__content {
    padding: 30px 0 20px;
}

.hero__content--solo {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.hero__content--solo .eyebrow {
    margin: 0 auto;
}

.hero__content h1 {
    font-size: clamp(2.6rem, 4.5vw, 4.8rem);
    max-width: 920px;
    font-weight: 900;
}

.hero__content--solo h1 {
    margin-left: auto;
    margin-right: auto;
}

.hero__lead {
    max-width: 760px;
    font-size: 1.08rem;
}

.hero__content--solo .hero__lead {
    margin: 0 auto;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 0;
}

.hero__content--solo .hero__actions {
    justify-content: center;
}

.hero__bottom {
    display: grid;
    gap: 18px;
}

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

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

.hero-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 18px 20px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        var(--panel);
    border: 1px solid rgba(75, 202, 221, 0.14);
    backdrop-filter: blur(16px);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.hero-contact-card:hover {
    border-color: rgba(75, 202, 221, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(3, 5, 16, 0.28);
    background:
        linear-gradient(180deg, rgba(75, 202, 221, 0.08), rgba(168, 85, 247, 0.04)),
        var(--panel);
}

.hero-contact-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(75, 202, 221, 0.12);
    color: var(--primary);
    flex-shrink: 0;
}

.hero-contact-card__icon--accent {
    background: rgba(75, 202, 221, 0.1);
    color: #d8f7ff;
}

.hero-contact-card__icon--purple {
    background: rgba(168, 85, 247, 0.14);
    color: #d8c7ff;
}

.hero-contact-card__text {
    display: grid;
    gap: 4px;
    text-align: left;
}

.hero-contact-card__text strong {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.hero-contact-card__text small {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.stat-card {
    padding: 20px;
    border-radius: 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.88rem;
}

/* ========== HERO FORM ========== */

.hero-form-card {
    position: relative;
    padding: 28px;
    border-radius: 28px;
    background: var(--panel);
    border: 1px solid rgba(75, 202, 221, 0.2);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    overflow: hidden;
}

.hero-form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-purple), var(--accent-pink), var(--primary));
    background-size: 200% 100%;
    animation: gradient-shift 3s linear infinite;
}

.hero-form-card__head {
    margin-bottom: 20px;
}

.hero-form-card h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
}

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

.lead-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

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

.field span,
.checkbox span {
    color: var(--soft);
    font-weight: 600;
    font-size: 0.9rem;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(173, 184, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.field select {
    appearance: none;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(168, 180, 212, 0.6);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: rgba(75, 202, 221, 0.5);
    background: rgba(255, 255, 255, 0.07);
}

.field textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex: 0 0 auto;
}

.checkbox span {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--muted);
}

.checkbox a,
.lead-form__hint a,
.site-footer__links a,
.legal-card a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.25);
    text-underline-offset: 3px;
}

.lead-form__hint,
.lead-form__status {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.form-alert,
.lead-form__status.is-success,
.lead-form__status.is-error {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.92rem;
    border: 1px solid transparent;
}

.form-alert.is-success,
.lead-form__status.is-success {
    background: rgba(52, 211, 153, 0.1);
    border-color: rgba(52, 211, 153, 0.25);
    color: #d2f9ea;
}

.form-alert.is-error,
.lead-form__status.is-error {
    background: rgba(251, 113, 133, 0.1);
    border-color: rgba(251, 113, 133, 0.25);
    color: #ffdbe2;
}

/* ========== TRUST BAR ========== */

.trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
    padding: 14px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(17, 16, 36, 0.98), rgba(15, 13, 31, 0.96)),
        radial-gradient(circle at top right, rgba(75, 202, 221, 0.08), transparent 45%);
    border: 1px solid rgba(75, 202, 221, 0.12);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 48px rgba(3, 5, 16, 0.32);
}

.trust-bar__grid p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.trust-bar__grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    padding: 16px 20px;
    border: 1px solid rgba(173, 184, 255, 0.1);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    text-align: center;
    font-weight: 700;
    font-size: 0.92rem;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.trust-bar__grid a:hover {
    color: #fff;
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(75, 202, 221, 0.12), rgba(168, 85, 247, 0.08));
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(75, 202, 221, 0.12);
}

/* ========== CARDS ========== */

.cards-grid {
    display: grid;
    gap: 18px;
}

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

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

.info-card {
    height: 100%;
    padding: 26px;
    border-radius: 22px;
    background: var(--panel);
    border: 1px solid var(--line);
    backdrop-filter: blur(16px);
    transition: border-color 0.3s, transform 0.3s;
}

.info-card:hover {
    border-color: rgba(75, 202, 221, 0.3);
    transform: translateY(-2px);
}

.info-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
}

.info-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-card--highlight {
    background:
        radial-gradient(circle at top right, rgba(75, 202, 221, 0.1), transparent 50%),
        var(--panel);
    border-color: rgba(75, 202, 221, 0.22);
}

/* ========== SPLIT LAYOUT ========== */

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.split-layout__content {
    position: sticky;
    top: 110px;
}

.split-layout__content h2 {
    font-size: clamp(1.8rem, 2.8vw, 3rem);
    margin: 16px 0 14px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.check-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--soft);
    font-size: 0.95rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    box-shadow: 0 0 8px rgba(75, 202, 221, 0.4);
}

/* ========== MAX SECTION ========== */

.section--max {
    background: var(--bg);
    overflow: hidden;
}

.max-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(75, 202, 221, 0.1) 0%,
        rgba(168, 85, 247, 0.06) 40%,
        transparent 70%
    );
    filter: blur(60px);
    pointer-events: none;
    animation: pulse-glow 6s ease-in-out infinite;
}

.max-card {
    position: relative;
    padding: 30px 26px;
    border-radius: 22px;
    background: rgba(18, 16, 38, 0.95);
    border: 1px solid rgba(75, 202, 221, 0.25);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.max-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-purple), var(--accent-pink), var(--primary));
    background-size: 200% 100%;
    animation: gradient-shift 3s linear infinite;
}

.max-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-4px);
    box-shadow:
        0 0 30px rgba(75, 202, 221, 0.08),
        0 20px 60px rgba(12, 10, 26, 0.4);
}

.max-card__glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(75, 202, 221, 0.08), transparent 70%);
    pointer-events: none;
    transition: opacity 0.3s;
}

.max-card:hover .max-card__glow {
    opacity: 1.5;
}

.max-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(75, 202, 221, 0.15), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(75, 202, 221, 0.2);
    color: var(--primary);
    margin-bottom: 18px;
}

.max-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.max-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========== ACCORDION / PROJECTS ========== */

.accordion {
    display: grid;
    gap: 14px;
    max-width: 800px;
}

.accordion__item {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: border-color 0.3s;
}

.accordion__item[open] {
    border-color: rgba(75, 202, 221, 0.3);
}

.accordion__trigger {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    font-size: 1.1rem;
    font-weight: 700;
    user-select: none;
    transition: background 0.2s;
}

.accordion__trigger::-webkit-details-marker {
    display: none;
}

.accordion__trigger:hover {
    background: rgba(255, 255, 255, 0.03);
}

.accordion__trigger span {
    flex: 1;
}

.accordion__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(75, 202, 221, 0.1);
    color: var(--primary);
    flex-shrink: 0;
}

.accordion__icon--max {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(75, 202, 221, 0.1));
    color: var(--accent-purple);
}

.accordion__icon-image {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    object-fit: contain;
}

.accordion__chevron {
    color: var(--muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion__item[open] .accordion__chevron {
    transform: rotate(180deg);
}

.accordion__body {
    padding: 0 24px 24px;
}

.accordion__body p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* ========== VIDEO ========== */

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

.video-card {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
    transition: border-color 0.3s, transform 0.3s;
}

.video-card:hover {
    border-color: rgba(75, 202, 221, 0.3);
    transform: translateY(-2px);
}

.video-card__embed {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #05060d;
}

.video-card__embed iframe,
.video-card__embed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    background: #000;
}

.video-card__caption {
    padding: 14px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--soft);
    min-height: 70px;
}

.video-card video {
    display: block;
}

/* ========== CLIENTS CAROUSEL ========== */

.section--clients {
    overflow: hidden;
}

.carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.carousel__track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 16px 0;
    flex: 1;
}

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

.carousel__slide {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    scroll-snap-align: center;
    min-width: 120px;
}

.client-logo {
    width: 90px;
    height: 90px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    transition: transform 0.3s, border-color 0.3s;
}

.client-logo:hover {
    transform: scale(1.08);
    border-color: var(--primary);
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    padding: 8px;
    background: #fff;
}

.client-logo span {
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.client-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--soft);
    text-align: center;
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== REVIEWS GALLERY ========== */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1020px;
    margin: 0 auto;
}

.review-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--panel);
    transition: border-color 0.3s, transform 0.3s;
}

.review-card:hover {
    border-color: rgba(75, 202, 221, 0.3);
    transform: translateY(-2px);
}

.review-card img {
    display: block;
    width: 100%;
    height: auto;
}

.carousel__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.carousel__btn:hover {
    color: #fff;
    border-color: var(--primary);
    background: rgba(75, 202, 221, 0.1);
}

.reviews-link {
    text-align: center;
    margin-top: 28px;
}

/* ========== CTA ========== */

.cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 28px 30px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(75, 202, 221, 0.08), transparent 40%),
        linear-gradient(135deg, rgba(18, 16, 38, 0.96), rgba(14, 12, 30, 0.96));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.cta-panel__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

/* ========== FOOTER ========== */

.site-footer {
    padding: 36px 0 50px;
    border-top: 1px solid var(--line);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
}

.site-footer__links a {
    font-size: 0.9rem;
    transition: color 0.2s;
}

.site-footer__links a:hover {
    color: #fff;
}

.site-footer__copy {
    grid-column: 1 / -1;
    padding-top: 6px;
    margin: 0;
    color: rgba(168, 180, 212, 0.6);
    font-size: 0.88rem;
}

/* ========== LEGAL ========== */

.legal-page {
    min-height: 100vh;
    padding: 60px 0;
}

.legal-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 28px;
    background: var(--panel);
    border: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.legal-card h1 {
    font-size: clamp(2rem, 3vw, 3.2rem);
}

.legal-card h2 {
    margin: 30px 0 14px;
    font-size: 1.3rem;
}

.legal-card ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.legal-card li + li {
    margin-top: 8px;
}

.legal-card__back {
    display: inline-flex;
    align-items: center;
    margin-top: 24px;
    color: #fff;
    font-weight: 700;
}

/* ========== GUIDE PAGE ========== */

.guide-hero {
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.guide-hero::before {
    content: "";
    position: absolute;
    inset: auto -10% -25% auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.18), rgba(75, 202, 221, 0.04) 60%, transparent 72%);
    filter: blur(18px);
    pointer-events: none;
}

.guide-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 40px;
    align-items: center;
}

.guide-hero__content {
    position: relative;
    z-index: 1;
}

.guide-hero__content h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    margin: 16px 0 14px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 900;
}

.guide-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.guide-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(75, 202, 221, 0.08);
    border: 1px solid rgba(75, 202, 221, 0.2);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.88rem;
}

.guide-hero__media {
    display: flex;
    justify-content: flex-end;
}

.guide-hero__image {
    position: relative;
    width: min(100%, 500px);
    padding: 16px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.2);
    background:
        linear-gradient(180deg, rgba(14, 16, 34, 0.98), rgba(22, 17, 42, 0.92)),
        linear-gradient(135deg, rgba(38, 178, 255, 0.24), rgba(162, 75, 255, 0.24));
    box-shadow:
        0 20px 60px rgba(7, 10, 22, 0.45),
        0 0 40px rgba(75, 202, 221, 0.08);
}

.guide-hero__image::before {
    content: "";
    position: absolute;
    inset: -20% auto auto -10%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(38, 178, 255, 0.22), transparent 70%);
    filter: blur(12px);
    pointer-events: none;
}

.guide-hero__image-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(9, 12, 25, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.guide-hero__image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

.guide-hero__image-caption {
    margin: 12px 4px 2px;
    color: var(--soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

.guide-topic h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--text);
}

.guide-topic p {
    line-height: 1.8;
    margin-bottom: 12px;
}

.guide-topic ul,
.guide-topic ol {
    padding-left: 24px;
    margin-bottom: 14px;
}

.guide-topic li {
    margin-bottom: 6px;
    line-height: 1.7;
}

.guide-topic strong {
    color: var(--primary);
}

.guide-topic a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.guide-topic a:hover {
    color: var(--primary);
}

.guide-block {
    margin-bottom: 48px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(75, 202, 221, 0.08);
}

.guide-block h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(75, 202, 221, 0.12);
    color: var(--text);
}

.guide-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    padding-bottom: 80px;
}

.guide-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(75, 202, 221, 0.2) transparent;
}

.guide-sidebar::-webkit-scrollbar {
    width: 4px;
}

.guide-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.guide-sidebar::-webkit-scrollbar-thumb {
    background: rgba(75, 202, 221, 0.2);
    border-radius: 4px;
}

.guide-toc-toggle {
    display: none;
}

.guide-toc {
    display: grid;
    gap: 4px;
}

.guide-toc__block {
    margin-bottom: 8px;
}

.guide-toc__block-link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--soft);
    transition: background 0.2s, color 0.2s;
}

.guide-toc__block-link strong {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(75, 202, 221, 0.15), rgba(168, 85, 247, 0.1));
    color: var(--primary);
    font-size: 0.78rem;
    flex-shrink: 0;
}

.guide-toc__block-link:hover,
.guide-toc__block-link.is-active {
    background: rgba(75, 202, 221, 0.08);
    color: #fff;
}

.guide-toc__topics {
    display: grid;
    gap: 2px;
    padding-left: 36px;
}

.guide-toc__topics a {
    display: block;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--muted);
    transition: background 0.2s, color 0.2s;
}

.guide-toc__topics a:hover,
.guide-toc__topics a.is-active {
    background: rgba(75, 202, 221, 0.06);
    color: var(--primary);
}

.guide-content {
    min-width: 0;
}

.guide-block {
    margin-bottom: 60px;
}

.guide-block__header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.guide-block__header h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    margin: 14px 0 0;
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.guide-topic {
    padding: 28px;
    margin-bottom: 18px;
    border-radius: 22px;
    background: var(--panel);
    border: 1px solid var(--line);
    backdrop-filter: blur(16px);
    transition: border-color 0.3s;
}

.guide-topic:hover {
    border-color: rgba(75, 202, 221, 0.25);
}

.guide-topic h3 {
    margin: 0 0 18px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

.guide-topic__body p {
    margin: 0 0 14px;
    color: var(--soft);
    font-size: 0.95rem;
    line-height: 1.7;
}

.guide-topic__body p:last-child {
    margin-bottom: 0;
}

.guide-topic__body strong {
    color: var(--text);
}

.guide-topic__body a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(75, 202, 221, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.guide-topic__body a:hover {
    text-decoration-color: var(--primary);
}

.guide-topic__body ul,
.guide-topic__body ol {
    margin: 0 0 14px;
    padding-left: 22px;
    color: var(--soft);
    font-size: 0.95rem;
    line-height: 1.7;
}

.guide-topic__body li + li {
    margin-top: 6px;
}

.guide-topic__body code {
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(75, 202, 221, 0.1);
    color: var(--primary);
    font-size: 0.88em;
}

.guide-footer-cta {
    margin-top: 40px;
}

.guide-footer-cta__inner {
    padding: 32px;
    border-radius: 26px;
    background: radial-gradient(circle at top right, rgba(75, 202, 221, 0.08), transparent 40%), linear-gradient(135deg, rgba(18, 16, 38, 0.96), rgba(14, 12, 30, 0.96));
    border: 1px solid var(--line);
}

.guide-footer-cta__inner h2 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    font-weight: 800;
}

.guide-footer-cta__inner p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.guide-footer-cta__inner p a {
    color: var(--primary);
    text-decoration: underline;
}

.guide-footer-cta__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.guide-back-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--panel-strong);
    border: 1px solid var(--line);
    color: var(--muted);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s, color 0.2s, border-color 0.2s;
    pointer-events: none;
}

.guide-back-top.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.guide-back-top:hover {
    color: #fff;
    border-color: var(--primary);
}

.site-nav a.is-active {
    color: var(--primary);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1180px) {
    .hero__contact-cards,
    .split-layout,
    .cta-panel,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .trust-bar__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .hero-form-card,
    .split-layout__content {
        position: static;
    }

    .cta-panel__actions,
    .site-footer__links {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .cards-grid--three,
    .cards-grid--two,
    .hero__stats,
    .hero__contact-cards,
    .video-grid {
        grid-template-columns: 1fr;
    }

    .hero__content--solo {
        text-align: left;
    }

    .hero__content--solo .eyebrow {
        margin: 0;
    }

    .hero__content--solo .hero__actions {
        justify-content: flex-start;
    }

    .site-header__inner {
        flex-wrap: wrap;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
    }

    .site-socials {
        margin-left: auto;
    }

    .hero__content {
        padding-top: 10px;
    }

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

    .guide-layout {
        grid-template-columns: 1fr;
    }

    .guide-hero__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .guide-hero__media {
        justify-content: center;
    }

    .guide-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .guide-toc-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 14px 18px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--panel);
        color: var(--soft);
        font-weight: 700;
        font-size: 0.95rem;
        cursor: pointer;
    }

    .guide-toc-toggle.is-open {
        border-color: var(--primary);
        border-radius: 14px 14px 0 0;
    }

    .guide-toc {
        display: none;
        border: 1px solid var(--line);
        border-top: 0;
        border-radius: 0 0 14px 14px;
        background: var(--panel);
        padding: 14px;
    }

    .guide-toc.is-open {
        display: grid;
    }

    .guide-topic {
        padding: 20px;
    }

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

@media (max-width: 720px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        padding-top: 24px;
    }

    .hero__content h1 {
        font-size: clamp(2rem, 9vw, 3.2rem);
    }

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

    .hero__actions,
    .cta-panel__actions {
        flex-direction: column;
    }

    .hero__stats {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .hero-form-card,
    .info-card,
    .max-card,
    .legal-card,
    .cta-panel,
    .trust-bar__grid {
        padding: 20px;
    }

    .accordion__trigger {
        padding: 16px 18px;
        font-size: 1rem;
    }

    .accordion__body {
        padding: 0 18px 18px;
    }

    .guide-hero__image {
        padding: 12px;
        border-radius: 22px;
    }

    .guide-hero__image-badge {
        top: 12px;
        left: 12px;
        font-size: 0.74rem;
    }

    .trust-bar__grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .carousel__btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(var(--container), calc(100% - 20px));
    }

    .site-nav {
        gap: 8px;
    }

    .site-nav a {
        font-size: 0.88rem;
    }

    .hero__stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 18px;
    }

    .stat-card strong {
        font-size: 1.6rem;
    }

    .stat-card span {
        margin-top: 0;
    }

    .hero-form-card h2 {
        font-size: 1.3rem;
    }

    .section-heading h2 {
        font-size: 1.5rem;
    }

    .brand small {
        display: none;
    }

    .legal-card {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .client-logo {
        width: 72px;
        height: 72px;
    }

    .client-logo span {
        font-size: 1rem;
    }
}
