@font-face {
    font-family: 'GOSTtypeA';
    src: url('../fonts/GOST.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GOSTtypeA';
    src: url('../fonts/GOSTRUS-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   ВЕКТОР НЕБА — STYLE SYSTEM
   Tech / Aviation / HUD Aesthetic
   ============================================================ */

/* ----- VARIABLES ----- */
:root {
    --bg-primary: #1a1a1e;
    --bg-secondary: #212127;
    --bg-card: #24242a;
    --bg-card-hover: #252529;
    --border: #2c2c33;
    --border-accent: #00d4ff1a;
    --text-primary: #e4e4e8;
    --text-secondary: #8c8c96;
    --text-muted: #5c5c66;
    --accent: #00d4ff;
    --accent-dim: #00d4ff12;
    --accent-glow: #00d4ff20;
    --accent-warm: #ff6b35;
    --gradient-accent: linear-gradient(135deg, #00d4ff, #0088cc);
    --gradient-hero: linear-gradient(180deg, #141417 0%, #18181c 50%, #141417 100%);
    --font: 'Exo 2', sans-serif;
    --radius: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --container: 1200px;
    --container-wide: calc(100% - 80px);
    --header-h: 72px;
    --transition: 0.3s ease;
}

/* ----- RESET ----- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font);
    font-weight: 400;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ----- CONTAINER ----- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ----- BUTTONS ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 28px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    color: #fff;
    background: none;
    position: relative;
}

.btn--primary {
    background: var(--gradient-accent);
    border-color: var(--accent);
    color: #000;
    font-weight: 700;
}

.btn--primary:hover {
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.2);
    color: #000;
    transform: translateY(-1px);
}

.btn--outline {
    border-color: var(--border);
    color: var(--text-primary);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 15px;
}

.btn--xl {
    padding: 20px 48px;
    font-size: 16px;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ----- HEADER ----- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(20, 20, 23, 0.3);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), background var(--transition), backdrop-filter var(--transition);
}

.header.scrolled {
    border-bottom-color: var(--border);
    background: rgba(20, 20, 23, 0.95);
    backdrop-filter: blur(12px);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-wide);
}

.header__logo {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
}

.header__logo:hover {
    color: var(--text-primary);
}

.accent {
    color: var(--accent);
}

.header__nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header auth buttons */
.header__auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__auth-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 7px 14px;
    transition: color var(--transition);
}

.header__auth-link:hover {
    color: #fff;
}

.header__auth-btn {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 7px 14px;
    transition: color var(--transition);
}

.header__auth-btn:hover {
    color: #fff;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 1px;
}

.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO — FPV OSD ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding-top: var(--header-h);
    overflow: hidden;
    background: #000;
}

/* --- Background image --- */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.65) saturate(0.85);
}

/* --- Noise canvas (analog static) --- */
.hero__noise {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.09;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: overlay;
}

/* --- Cursor radio interference --- */
.hero__cursor-noise {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 7;
    transition: opacity 0.15s ease;
}
.hero:hover .hero__cursor-noise {
    opacity: 1;
}

/* --- Scanlines --- */
.hero__scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 1px,
        rgba(0, 0, 0, 0.12) 1px,
        rgba(0, 0, 0, 0.12) 2px
    );
    pointer-events: none;
    z-index: 5;
}

/* --- Vignette (FPV lens effect) --- */
.hero__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 75% 65% at 50% 50%, transparent 45%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
    z-index: 4;
}

/* --- Glitch bar (horizontal tear) --- */
.hero__glitch {
    position: absolute;
    left: 0;
    right: 0;
    height: 0;
    z-index: 6;
    pointer-events: none;
    opacity: 0;
    transition: none;
    background: linear-gradient(
        0deg,
        transparent,
        rgba(255,255,255,0.04) 20%,
        rgba(0,212,255,0.06) 50%,
        rgba(255,255,255,0.04) 80%,
        transparent
    );
}

.hero__glitch.active {
    opacity: 1;
}

/* --- Interference lines (rolling horizontal bars) --- */
.hero__interference {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.hero__interference::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    animation: interferenceRoll 4s linear infinite;
    box-shadow:
        0 40px 0 rgba(255,255,255,0.03),
        0 80px 0 rgba(255,255,255,0.025),
        0 140px 0 rgba(255,255,255,0.035),
        0 220px 0 rgba(255,255,255,0.02),
        0 300px 0 rgba(255,255,255,0.03);
}

.hero__interference::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 40px;
    background: rgba(255, 255, 255, 0.012);
    animation: interferenceRoll2 7s linear infinite;
}

@keyframes interferenceRoll {
    0% { top: -15%; }
    100% { top: 115%; }
}

@keyframes interferenceRoll2 {
    0% { top: 120%; }
    100% { top: -20%; }
}

/* ========================================
   BETAFLIGHT OSD OVERLAY
   Accurate to Betaflight Configurator OSD
   Font: Share Tech Mono (mimics BF Bold font)
   Layout: HD with GPS
   ======================================== */
.osd {
    --osd-font: 'Roboto', sans-serif;
    --osd-color: #fff;
    --osd-shadow:
        -2px -2px 0 #000, -1px -2px 0 #000, 0 -2px 0 #000, 1px -2px 0 #000, 2px -2px 0 #000,
        -2px -1px 0 #000, 2px -1px 0 #000,
        -2px  0   0 #000, 2px  0   0 #000,
        -2px  1px 0 #000, 2px  1px 0 #000,
        -2px  2px 0 #000, -1px  2px 0 #000, 0  2px 0 #000, 1px  2px 0 #000, 2px  2px 0 #000;
    --osd-green: #00ff00;
    --osd-yellow: #ffff00;
    --osd-red: #ff0000;
    position: absolute;
    inset: 0;
    z-index: 10;
    padding: calc(var(--header-h) + 12px) 12px 12px;
    pointer-events: none;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "tl tc tr"
        ". mid ."
        "bl bc br";
}

/* --- OSD element base --- */
.osd__el {
    font-family: var(--osd-font);
    font-size: 24px;
    font-weight: 300;
    color: var(--osd-color);
    text-shadow: var(--osd-shadow);
    letter-spacing: 0.5em;
    white-space: nowrap;
    line-height: 1.6;
}

.osd__icon {
    font-size: 11px;
}

/* --- OSD element states --- */
.osd__el--warn {
    color: var(--osd-yellow);
    font-size: 14px;
    font-weight: 700;
}

.osd__el--warn.blink {
    animation: osdBlink 0.5s infinite;
}

.osd__el--battery {
    color: var(--osd-green);
}

.osd__el--battery.warn {
    color: var(--osd-yellow);
}

.osd__el--battery.critical {
    color: var(--osd-red);
    animation: osdBlink 0.5s infinite;
}

.osd__el--battery-total {
    color: var(--osd-color);
}

.osd__el--battery-total.warn {
    color: var(--osd-yellow);
}

.osd__el--battery-total.critical {
    color: var(--osd-red);
    animation: osdBlink 0.5s infinite;
}

.osd__el--home {
    font-size: 18px;
    line-height: 1;
}

@keyframes osdBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.15; }
}

/* --- OSD grid areas --- */
.osd__tl {
    grid-area: tl;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.osd__tc {
    grid-area: tc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding-top: 4px;
}

.osd__tr {
    grid-area: tr;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.osd__mid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.osd__bl {
    grid-area: bl;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.osd__bc {
    grid-area: bc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.osd__br {
    grid-area: br;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

/* --- AHI (Artificial Horizon Indicator) --- */
.osd__ahi {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 1.5s ease;
}

.ahi__line {
    height: 1px;
    background: rgba(255,255,255, 0.35);
}

.ahi__line--long { width: 80px; }
.ahi__line--med { width: 50px; background: rgba(255,255,255,0.5); }
.ahi__line--short { width: 25px; }

/* --- Crosshair BF image --- */
.osd__crosshair {
    display: block;
    opacity: 0.85;
    image-rendering: pixelated;
    width: 600px;
    height: 600px;
}

/* ===== HERO MAIN CONTENT (center overlay) ===== */
.hero__main {
    position: relative;
    z-index: 12;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    padding: 100px 24px 50px;
    pointer-events: none;
}
.hero__main > * {
    pointer-events: auto;
}

/* --- HUD Frame (bracket corners) --- */
.hero__hud-frame {
    position: relative;
    padding: 40px 56px;
    background: rgba(6, 6, 15, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 212, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hud-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.hud-corner--tl {
    top: -1px; left: -1px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.hud-corner--tr {
    top: -1px; right: -1px;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

.hud-corner--bl {
    bottom: -1px; left: -1px;
    border-bottom: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.hud-corner--br {
    bottom: -1px; right: -1px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

/* REC indicator — now inside OSD top-left */
.hero__rec {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ff3333;
    text-shadow:
        1px 0 0 rgba(0,0,0,0.9),
        -1px 0 0 rgba(0,0,0,0.9),
        0 1px 0 rgba(0,0,0,0.9),
        0 -1px 0 rgba(0,0,0,0.9);
    margin-bottom: 4px;
}

.rec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3333;
    animation: recBlink 1s infinite;
    box-shadow: 0 0 6px #ff3333;
}

@keyframes recBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Tagline — small OSD-like label above title */
.hero__tagline {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.hero__title {
    font-family: 'GOSTtypeA', 'Exo 2', sans-serif;
    font-size: clamp(56px, 9vw, 110px);
    font-weight: bold;
    line-height: 0.92;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow:
        0 2px 20px rgba(0,0,0,0.7),
        0 0 40px rgba(0, 212, 255, 0.15),
        0 0 80px rgba(0, 212, 255, 0.06);
    position: relative;
}

.hero__title-wrap {
    position: relative;
    display: inline-block;
}

.hero__title-noise {
    position: absolute;
    inset: -40px;
    width: calc(100% + 80px);
    height: calc(100% + 80px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.9;
}

.hero__subtitle {
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 460px;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.hero__actions {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* Main CTA — HUD command style */
.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 14px 32px;
    border: 1px solid rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.06);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero__cta:hover {
    color: #fff;
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.12);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15), inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.hero__cta-icon {
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.hero__cta-text {
    position: relative;
    z-index: 1;
}

/* Scan line animation inside CTA */
.hero__cta-scan {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.08), transparent);
    pointer-events: none;
}

.hero__cta:hover .hero__cta-scan {
    animation: ctaScan 0.8s ease forwards;
}

@keyframes ctaScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Trailer link — OSD-style minimal */
.hero__trailer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    padding: 14px 8px;
    transition: color 0.3s ease;
}

.hero__trailer:hover {
    color: rgba(255, 255, 255, 0.85);
}

.hero__trailer-play {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease;
}

.hero__trailer:hover .hero__trailer-play {
    color: var(--accent);
}

.hero__platforms {
    display: flex;
    gap: 16px;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.3);
    font-family: 'Share Tech Mono', monospace;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.badge-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
}

/* Hero scroll */
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* --- Glitch text effect on title --- */
@keyframes glitchText {
    0% { clip-path: inset(40% 0 61% 0); transform: translate(-2px, 2px); }
    20% { clip-path: inset(92% 0 1% 0); transform: translate(1px, -1px); }
    40% { clip-path: inset(43% 0 1% 0); transform: translate(0px, 0px); }
    60% { clip-path: inset(25% 0 58% 0); transform: translate(3px, 1px); }
    80% { clip-path: inset(54% 0 7% 0); transform: translate(-1px, -2px); }
    100% { clip-path: inset(58% 0 43% 0); transform: translate(0px, 0px); }
}

.hero__title .accent {
    position: relative;
    display: inline-block;
}

/* ===== SECTION COMMON ===== */
.section {
    padding: 0px 0 0px;
    position: relative;
}

#media.section,
#pricing.section,
#faq.section,
#contacts.section {
    padding-top: 0;
    padding-bottom: 0;
}

#media-content.section,
#pricing-content.section,
#faq-content.section,
#contacts-content.section {
    padding-top: 18px;
}
#about-content.section {
    padding-top: 18px;
    padding-bottom: 40px;
}
#pricing-content.section {
    padding-bottom: 40px;
}

#faq-content.section {
    padding-top: 40px;
    padding-bottom: 40px;
}
#contacts-content.section {
    padding-top: 40px;
    padding-bottom: 40px;
}
.section--alt {
    padding-top: 0;
    padding-bottom: 0;
}

/* --- Section pair coloring: A/B alternating by pairs ---
   Pair A (about, media, faq): --bg-secondary
   Pair B (features, pricing, contacts): --bg-card
*/
#about.section--alt,
#about-content.section,
#media.section--alt,
#media-content.section,
#faq.section--alt,
#faq-content.section {
    background: var(--bg-secondary);
}

#features.section--alt,
#features-content.section,
#pricing.section--alt,
#pricing-content.section,
#contacts.section--alt,
#contacts-content.section {
    background: var(--bg-card);
}

/* ===== Unified section header control ===== */
.sec-header {
    padding-top: 8px !important;
}

.sec-header__title {
    margin-bottom: 0px !important;
}

/* ===== Unified section header ===== */
.unif-header {
    text-align: center;
    margin-bottom: 0px;
    padding-top: 0px;
}

.unif-header__title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
}



#features.section--alt {
    padding-bottom: 0;
    padding-top: 0;
}

#features-content.section {
    padding-top: 0;
    padding-bottom: 0;
}

#about.section {
    padding-top: 0;
    padding-bottom: 0;
}

/* ===== FEATURES HEADER ===== */

.features-header {
    text-align: center;
    margin-bottom: 0;
    padding-top: 6px;
    padding-bottom: 0;
}

.features-header__title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
}



/* --- Wind arrow animation row --- */
.feat-row--wind {
    position: relative;
    overflow: hidden;
}

.wind-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.feat-row--wind .feat-row__inner {
    position: relative;
    z-index: 2;
}

.section-head {
    margin-bottom: 56px;
}

.section-head--center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-head__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 14px;
}

.section__title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    max-width: 600px;
}

.section__desc {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 520px;
    margin-top: 14px;
    line-height: 1.7;
}

/* ===== ABOUT ===== */
/* About section header */
.about-header {
    text-align: center;
    margin-bottom: 0px;
    padding-top: 6px;
    padding-bottom: 0;
    background: var(--bg-secondary);
}

.about-header__title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    margin-top: 0;
}



.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content__lead {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 500;
}

.about-content__text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 0;
}

.about-content__text:last-child {
    margin-bottom: 0;
}

.about-content__text strong {
    color: var(--accent);
    font-weight: 600;
}

/* Telemetry shared styles */
.tlm {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tlm__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 4px 0;
    border-bottom: 1px solid rgba(44, 44, 51, 0.4);
}

.tlm__row:last-child {
    border-bottom: none;
}

.tlm__key {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.12em;
}

.tlm__val {
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.04em;
    transition: opacity 0.15s ease;
}

.tlm__status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 9px;
    color: #4ade80;
    letter-spacing: 0.1em;
}

.tlm__dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
    animation: tlmPulse 1.5s ease-in-out infinite;
}

@keyframes tlmPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== FEATURES (zigzag rows) ===== */
.features {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feat-row {
    padding: 80px 0;
    position: relative;
}

.feat-row__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.feat-row--reverse .feat-row__inner {
    direction: rtl;
}

.feat-row--reverse .feat-row__inner > * {
    direction: ltr;
}

.feat-row__text {
    display: flex;
    flex-direction: column;
}

.feat-row__title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.feat-row__desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 520px;
}

/* Image container */
.feat-row__media {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    aspect-ratio: 16 / 10;
}

/* Subtle corner brackets */
.feat-row__media::before,
.feat-row__media::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--accent);
    border-style: solid;
    opacity: 0.3;
    z-index: 2;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feat-row__media::before {
    top: 12px;
    left: 12px;
    border-width: 2px 0 0 2px;
}

.feat-row__media::after {
    bottom: 12px;
    right: 12px;
    border-width: 0 2px 2px 0;
}

.feat-row:hover .feat-row__media::before,
.feat-row:hover .feat-row__media::after {
    opacity: 0.7;
}

.feat-row__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.feat-row:hover .feat-row__img {
    transform: scale(1.03);
}

.feat-row--has-line {
    padding-bottom: 0;
    overflow: hidden;
}

.wave-reflect__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.feat-row__line {
    grid-column: 2;
    margin-top: 30px;
    margin-bottom: 0px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15) 15%, rgba(255,255,255,0.15) 85%, transparent);
}

/* ===== MEDIA ===== */
.media-hero {
    max-width: 1200px;
    margin: 0 auto 32px;
}

.media-hero__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border);
}

.media-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Screenshot carousel ===== */
.media-carousel {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

.media-carousel__viewport {
    width: 100%;
    overflow: hidden;
}

.media-carousel__arrow--left {
    position: absolute;
    left: calc(50% - 630px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.media-carousel__arrow--right {
    position: absolute;
    right: calc(50% - 630px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.media-carousel__track {
    display: flex;
    will-change: transform;
}

.media-carousel__slide {
    flex-shrink: 0;
    width: 1200px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-right: 12px;
    position: relative;
    cursor: pointer;
}

.media-carousel__slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.media-carousel__slide.active::before {
    opacity: 0;
}

.media-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.media-carousel__arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s, background 0.3s;
    z-index: 2;
}

.media-carousel__arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 255, 0.06);
}

/* Dots */
.media-carousel__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    padding-bottom: 24px;
    position: relative;
    height: 18px;
}

.media-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
}

/* Morphing blob indicator */
.media-carousel__blob {
    position: absolute;
    height: 8px;
    width: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5), 0 0 24px rgba(0, 212, 255, 0.2);
    will-change: left;
}

/* ===== PLYR THEME ===== */
.media-hero__frame {
    --plyr-color-main: var(--accent);
    --plyr-video-control-color: #fff;
    --plyr-video-control-color-hover: var(--accent);
    --plyr-video-controls-background: linear-gradient(transparent, rgba(20,20,23,0.85));
    --plyr-range-thumb-background: var(--accent);
    --plyr-range-fill-background: var(--accent);
    --plyr-range-track-background: rgba(255,255,255,0.15);
    --plyr-video-control-background-hover: transparent;
}

.media-hero__frame .plyr {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.media-hero__frame .plyr__control:hover {
    background: transparent !important;
    color: var(--accent) !important;
}

/* ===== PRICING ===== */

@property --card-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* --- Base card --- */
.pricing-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.08);
}

/* --- Accent card (glow) --- */
.pricing-card--glow {
    border: none;
    padding: 0;
    background: none;
    overflow: visible;
}

.pricing-card--glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: conic-gradient(
        from var(--card-angle),
        var(--accent),
        hsl(240, 90%, 65%),
        hsl(300, 80%, 55%),
        hsl(340, 85%, 55%),
        var(--accent)
    );
    animation: card-spin 3.5s linear infinite;
    z-index: -2;
}

.pricing-card--glow::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: conic-gradient(
        from var(--card-angle),
        var(--accent),
        hsl(240, 90%, 65%),
        hsl(300, 80%, 55%),
        hsl(340, 85%, 55%),
        var(--accent)
    );
    animation: card-spin 3.5s linear infinite;
    filter: blur(20px);
    opacity: 0.4;
    z-index: -3;
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.pricing-card--glow:hover::after {
    filter: blur(28px);
    opacity: 0.6;
}

.pricing-card--glow:hover {
    transform: translateY(-6px);
    box-shadow: none;
}

/* Inner wrapper for glow card */
.pricing-card__inner {
    background: var(--bg-card);
    border-radius: calc(var(--radius-lg) - 1px);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
    flex: 1;
}

/* Non-glow cards don't need inner wrapper styling override */
.pricing-card:not(.pricing-card--glow) .pricing-card__inner {
    background: none;
    padding: 0;
    border-radius: 0;
}

.pricing-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-card--glow .pricing-card__title {
    color: var(--accent);
}

.pricing-card__sub {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-top: -8px;
}

.pricing-card__price {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-card__btn {
    align-self: flex-start;
    position: relative;
    z-index: 2;
}

/* --- Badge --- */
.pricing-card__badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(0, 212, 255, 0.12);
    color: var(--accent);
}

/* Glow span — hidden, not used */
.pricing-card__glow {
    display: none;
}

@keyframes card-spin {
    to { --card-angle: 360deg; }
}

/* Tier chips */
.pricing-tiers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-tier {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    position: relative;
}

.pricing-tier:hover {
    border-color: rgba(255,255,255,0.15);
    background: var(--bg-card-hover);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.pricing-tier--active {
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.04);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.08), inset 0 0 0 1px rgba(0, 212, 255, 0.1);
}

.pricing-tier--active:hover {
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.06);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.12), inset 0 0 0 1px rgba(0, 212, 255, 0.15);
}

.pricing-tier__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 70px;
}

.pricing-tier--active .pricing-tier__label {
    color: var(--accent);
}

.pricing-tier__discount {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent);
    padding: 1px 6px;
    border-radius: 8px;
}

.pricing-tier__badge {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-tier__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    margin-left: auto;
}

.pricing-tier--active .pricing-tier__price {
    color: #fff;
}

.pricing-tier__unit {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Tier info tooltip */
.pricing-tier__info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: help;
    position: relative;
    transition: color 0.2s;
}

.pricing-tier__info:hover,
.pricing-tier__info:focus {
    color: var(--accent);
}

.pricing-tier__info::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    width: 240px;
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.pricing-tier__info::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--border);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 11;
}

.pricing-tier__info:hover::after,
.pricing-tier__info:focus::after,
.pricing-tier__info:hover::before,
.pricing-tier__info:focus::before {
    opacity: 1;
    visibility: visible;
}

/* Pricing CTA */
.pricing-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 24px 0 0;
    margin-top: 8px;
    border-top: 1px solid var(--border);
}

.pricing-cta__text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Buttons */
.btn--ghost {
    border: 1px solid var(--border);
    color: var(--text-secondary);
    background: none;
    transition: all var(--transition);
}

.btn--ghost:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

/* ===== FAQ ===== */
.faq__layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: start;
}

.faq__list {
    max-width: none;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition);
}

.faq-item__q::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: var(--text-muted);
    transition: color var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-item__q::after {
    content: '\2212';
    color: var(--accent);
}

.faq-item__q:hover {
    color: var(--accent);
}

.faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-item__a {
    max-height: 400px;
    padding-bottom: 20px;
}

.faq-item__a p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CONTACTS ===== */
.contacts__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 56px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    font-family: var(--font);
    font-size: 14px;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--text-primary);
    transition: border-color var(--transition);
    outline: none;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 4px;
}

.contact-block__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.contact-block a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    transition: color var(--transition);
}

.contact-block a:hover {
    color: var(--accent);
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer__left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer__logo {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer__nav {
    display: flex;
    gap: 24px;
}

.footer__nav a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer__nav a:hover {
    color: var(--text-primary);
}

.footer__copy {
    font-size: 11px;
    color: var(--text-muted);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .osd {
        padding: 18px 20px;
    }

    .osd__el {
        font-size: 12px;
    }

    .pricing-card__inner {
        padding: 24px 20px;
    }

    .pricing-tiers {
        gap: 8px;
    }

    .pricing-tier {
        padding: 14px 16px;
    }

    .pricing-cta {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .contacts__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .faq__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 60px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }

    .header__nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        transform: translateX(100%);
        transition: transform var(--transition);
    }

    .header__nav.open {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 18px;
    }

    .header__auth {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero__title {
        font-size: 44px;
    }

    .hero__hud-frame {
        padding: 28px 28px;
    }

    .hero__cta {
        padding: 12px 24px;
        font-size: 13px;
    }

    .hero__trailer {
        font-size: 12px;
    }

    .hero__rec {
        font-size: 11px;
    }

    .osd {
        padding: 14px 16px;
    }

    .osd__el {
        font-size: 10px;
    }

    .osd__tl [data-osd="gps-lat"],
    .osd__tl [data-osd="gps-lon"],
    .osd__br [data-osd="fly-dist"],
    .osd__bc {
        display: none;
    }

    .osd__ahi {
        opacity: 0.4;
        transform: scale(0.7);
    }

    .about {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing__cards {
        grid-template-columns: 1fr;
    }

    .pricing__cards .price-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer__nav {
        flex-wrap: wrap;
        gap: 16px;
    }

    .feat-row {
        padding: 48px 0;
    }

    .feat-row__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feat-row--reverse .feat-row__inner {
        direction: ltr;
    }

    .feat-row__title {
        font-size: 24px;
    }

    .feat-row__desc {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .feat-row {
        padding: 36px 0;
    }

    .feat-row__inner {
        gap: 24px;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero__hud-frame {
        padding: 24px 20px;
    }

    .hero__actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero__cta {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .btn--lg, .btn--xl {
        width: 100%;
        justify-content: center;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
