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

html {
    scroll-behavior: smooth;
}

/* ── TOKENS ── */
:root {
    --ink: #06080F;
    --ink-2: #0E1220;
    --ink-3: #16192A;
    --muted: #4A5175;
    --line: rgba(255, 255, 255, 0.07);
    --white: #F4F6FF;
    --off: #CBD2F0;
    --accent: #3BFFC2;
    --accent2: #4D9EFF;
    --glow: rgba(59, 255, 194, 0.18);

    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    font-family: var(--font-body);
    background: var(--ink);
    color: var(--off);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}

.mono {
    font-family: var(--font-mono);
}

/* ── LABELS ── */
.label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
    position: relative;
    padding-left: 20px;
}

.label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background: var(--accent);
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    background: var(--accent);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--glow);
}

.btn-primary:hover::after {
    opacity: 0.1;
}

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

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 15px 36px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(59, 255, 194, 0.05);
}

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--ink-2);
    position: relative;
    overflow: hidden;
}

/* noise texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    z-index: 0;
    pointer-events: none;
}

/* ambient glows */
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(59, 255, 194, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

#particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* grid lines */
.hero-grid-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.gl {
    position: absolute;
    background: var(--line);
}

.gl-v1 {
    left: 25%;
    top: 0;
    width: 1px;
    height: 100%;
}

.gl-v2 {
    right: 25%;
    top: 0;
    width: 1px;
    height: 100%;
}

.gl-h1 {
    top: 55%;
    left: 0;
    width: 100%;
    height: 1px;
}

/* navbar */
.navbar {
    padding: 28px 0;
    position: relative;
    z-index: 20;
    transition: background 0.3s, backdrop-filter 0.3s;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.logo-mark {
    width: 34px;
    height: 34px;
    background: var(--accent);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.logo-text em {
    font-style: normal;
    color: var(--accent);
}

.nav-cta {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--accent);
    text-decoration: none;
    border: 1px solid rgba(59, 255, 194, 0.3);
    padding: 8px 20px;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.05em;
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--ink);
}

/* hero content */
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 0 80px;
    position: relative;
    z-index: 5;
}

.hero-eyebrow {
    margin-bottom: 24px;
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 32px;
    color: var(--white);
    letter-spacing: -0.03em;
}

.title-accent {
    color: var(--accent);
    display: block;
}

.title-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
    color: transparent;
    display: block;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 48px;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 5;
}

.hero-scroll-hint span {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--muted);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* ═══════════════════════════════════
   MARQUEE
═══════════════════════════════════ */
.marquee-track {
    overflow: hidden;
    background: var(--ink-3);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}

.marquee-inner {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
}

.marquee-inner span {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    text-transform: uppercase;
    padding: 0 24px;
    flex-shrink: 0;
}

.marquee-inner .dot {
    color: var(--accent);
    padding: 0 4px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ═══════════════════════════════════
   SECTION HEADER
═══════════════════════════════════ */
.section-header {
    margin-bottom: 64px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.section-sub {
    margin-top: 14px;
    color: var(--muted);
    font-size: 1rem;
}

/* ═══════════════════════════════════
   ADVANTAGES
═══════════════════════════════════ */
.advantages {
    padding: 120px 0;
    background: var(--ink);
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    border: 1px solid var(--line);
}

.adv-card {
    padding: 44px 36px;
    background: var(--ink);
    border: none;
    position: relative;
    transition: background 0.3s;
    overflow: hidden;
}

.adv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.adv-card:hover::before {
    transform: scaleX(1);
}

.adv-card:hover {
    background: var(--ink-3);
}

.adv-num {
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.adv-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--accent);
    margin-bottom: 24px;
    transition: border-color 0.3s, background 0.3s;
}

.adv-card:hover .adv-icon {
    border-color: var(--accent);
    background: rgba(59, 255, 194, 0.07);
}

.adv-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.adv-card p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════
   FORMATS
═══════════════════════════════════ */
.formats {
    padding: 120px 0;
    background: var(--ink-2);
    border-top: 1px solid var(--line);
}

.formats-list {
    display: flex;
    flex-direction: column;
}

.fmt-item {
    display: grid;
    grid-template-columns: 280px 1fr 40px;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
    transition: background 0.3s;
    cursor: default;
    position: relative;
}

.fmt-item::before {
    content: '';
    position: absolute;
    inset: 0 -28px;
    background: var(--ink-3);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 4px;
    pointer-events: none;
}

.fmt-item:hover::before {
    opacity: 1;
}

.fmt-item:first-child {
    border-top: 1px solid var(--line);
}

.fmt-left {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.fmt-num {
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

.fmt-left h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.fmt-desc {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

.fmt-arrow {
    font-size: 1.2rem;
    color: var(--muted);
    transition: color 0.3s, transform 0.3s;
    position: relative;
    z-index: 1;
    text-align: right;
}

.fmt-item:hover .fmt-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

/* ═══════════════════════════════════
   EXPERTISE
═══════════════════════════════════ */
.expertise {
    padding: 120px 0;
    background: var(--ink);
    border-top: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.expertise::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(77, 158, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.exp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.exp-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.exp-text p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.98rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.stat-card {
    padding: 36px 28px;
    background: var(--ink-3);
    border: 1px solid var(--line);
    transition: border-color 0.3s;
}

.stat-card:hover {
    border-color: rgba(59, 255, 194, 0.2);
}

.stat-card-wide {
    grid-column: span 2;
}

.stat-num {
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.04em;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

/* ═══════════════════════════════════
   CONTACT
═══════════════════════════════════ */
.contact {
    padding: 120px 0;
    background: var(--ink-2);
    border-top: 1px solid var(--line);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.tg-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    background: rgba(59, 255, 194, 0.08);
    border: 1px solid rgba(59, 255, 194, 0.25);
    border-radius: 6px;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    margin-bottom: 20px;
}

.tg-btn:hover {
    background: rgba(59, 255, 194, 0.15);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.tg-btn svg {
    color: var(--accent);
    flex-shrink: 0;
}

.contact-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--muted);
    font-family: var(--font-mono);
}

.contact-note svg {
    flex-shrink: 0;
    color: var(--muted);
}

/* form */
.contact-right {
    display: flex;
    flex-direction: column;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.field label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.field input,
.field textarea {
    background: var(--ink-3);
    border: 1px solid var(--line);
    color: var(--white);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: 4px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--muted);
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(59, 255, 194, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 255, 194, 0.06);
}

.btn-submit {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.footer {
    padding: 32px 0;
    background: var(--ink);
    border-top: 1px solid var(--line);
}

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

.footer-copy {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.back-top {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.06em;
}

.back-top:hover {
    color: var(--accent);
}

/* ═══════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 900px) {
    .exp-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .fmt-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fmt-arrow {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-ghost {
        text-align: center;
        justify-content: center;
    }

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

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

    .stat-card-wide {
        grid-column: span 1;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}
/* ═══════════════════════════════════
   ДОПОЛНИТЕЛЬНЫЕ УЛУЧШЕНИЯ
═══════════════════════════════════ */

/* Теги для форматов */
.fmt-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 12px;
    background: rgba(59, 255, 194, 0.08);
    border: 1px solid rgba(59, 255, 194, 0.2);
    border-radius: 3px;
    color: var(--accent);
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

.fmt-item:hover .tag {
    background: rgba(59, 255, 194, 0.15);
    border-color: var(--accent);
}

/* Улучшенный блок контактов */
.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--off);
}

.feature-icon {
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 255, 194, 0.08);
    border-radius: 6px;
    flex-shrink: 0;
}
