﻿/* =============================================================
   ORBITARIX LANDING — PREMIUM SaaS STYLESHEET
   v5 | 2026-02-19
   ============================================================= */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@400;500;600;700;800&display=swap");

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Core Palette */
  --bg-void: #020408;
  --bg-base: #060c16;
  --bg-subtle: #0a1120;
  --bg-card: rgba(12, 21, 38, 0.7);
  --bg-card-hover: rgba(16, 27, 48, 0.82);

  /* Accent */
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --purple-500: #8b5cf6;

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-tertiary: #4b6490;

  /* Borders */
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-mid: rgba(255, 255, 255, 0.10);
  --border-bright: rgba(255, 255, 255, 0.18);
  --border-accent: rgba(59, 130, 246, 0.35);

  /* Shadows */
  --shadow-card: 0 10px 30px -8px rgba(0, 0, 0, 0.45);
  --shadow-deep: 0 24px 48px -12px rgba(0, 0, 0, 0.65);
  --shadow-glow-sm: 0 0 24px rgba(59, 130, 246, 0.12);
  --shadow-glow-md: 0 0 48px rgba(59, 130, 246, 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Layout */
  --max-w: 1200px;
  --header-h: 88px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

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

html {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 50% at 20% -10%, rgba(59, 130, 246, 0.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(139, 92, 246, 0.07) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-void) 0%, var(--bg-base) 100%);
}

/* Subtle noise grain for depth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.55;
}

/* ─── Typography ────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text-primary);
}

p {
  margin-bottom: 0;
  line-height: 1.65;
}

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

/* ─── Container ─────────────────────────────────────────────── */
.container {
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

/* ─── Section Padding ───────────────────────────────────────── */
.section-pad {
  padding-block: 6rem;
}

/* ─── Section Header ────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  background: linear-gradient(150deg, #fff 0%, #c8d8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ─── Header / Nav ──────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 200;
  background: transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(4, 8, 16, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--border-glass);
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.4);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.45));
  transition: filter 0.3s ease;
}

.logo-wrapper:hover .logo-img {
  filter: drop-shadow(0 0 16px rgba(96, 165, 250, 0.65));
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ─── Language Select ───────────────────────────────────────── */
.lang-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  outline: none;
}

.lang-select:hover,
.lang-select:focus {
  border-color: var(--border-mid);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
}

.lang-select option {
  background: #0a1120;
}

.lang-select-wrapper::after {
  content: "";
  position: absolute;
  right: 0.65rem;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-tertiary);
  pointer-events: none;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn-primary {
  background: linear-gradient(175deg, #4f94fa 0%, #2563eb 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 4px 12px rgba(37, 99, 235, 0.35),
    var(--shadow-glow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 8px 20px rgba(37, 99, 235, 0.45),
    var(--shadow-glow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-mid);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
}

/* ─── Hero Section ──────────────────────────────────────────── */
.hero-section {
  --halo-opacity: 0.52;
  --halo-size: 88%;
  --halo-y: 100%;
  --hero-bg-height: 100svh;
  --hero-bg-y: 58%;
  --hero-bg-width: min(calc(100% - 1.25rem), 1160px);
  /* Active blend (solution 1): feather mask to hide hard visual bounds */
  --hero-edge-feather-x: 128%;
  --hero-edge-feather-y: 112%;
  --hero-edge-feather-center-y: 54%;
  --hero-edge-feather-inner: 62%;
  --hero-edge-feather-mid: 82%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Full screen hero */
  min-height: 100vh;
  min-height: 100svh;
  /* No top padding (header floats over) */
  padding-top: 0;
  padding-bottom: 0;
  text-align: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  right: auto;
  width: var(--hero-bg-width);
  height: var(--hero-bg-height);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  background-image: url('/static/landing/orbitarix-hero-v2.png?v=20260221-heroasset1');
  /* Keep framing, but constrain hero visual width and center it */
  background-size: 100% auto;
  background-position: center var(--hero-bg-y);
  background-repeat: no-repeat;
  /* Solution 1 (ACTIVE): directional feather to hide rectangle edges (L/R/T/B). */
  -webkit-mask-image:
    linear-gradient(to right,
      transparent 0,
      #000 140px,
      #000 calc(100% - 140px),
      transparent 100%),
    linear-gradient(to bottom,
      transparent 0,
      #000 90px,
      #000 calc(100% - 160px),
      transparent 100%);
  mask-image:
    linear-gradient(to right,
      transparent 0,
      #000 140px,
      #000 calc(100% - 140px),
      transparent 100%),
    linear-gradient(to bottom,
      transparent 0,
      #000 90px,
      #000 calc(100% - 160px),
      transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  /* Solution 1B (ALTERNATIVE, disabled): radial feather only.
  -webkit-mask-image: radial-gradient(ellipse 132% 114% at 50% 54%, #000 62%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(ellipse 132% 114% at 50% 54%, #000 62%, rgba(0, 0, 0, 0) 100%);
  */
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--hero-bg-height);
  pointer-events: none;
  z-index: 1;
  /* Subtle vignette fallback if mask-image is not supported. */
  background:
    radial-gradient(140% 118% at 50% 52%,
      rgba(2, 8, 18, 0.00) 56%,
      rgba(2, 8, 18, 0.20) 82%,
      rgba(2, 8, 18, 0.38) 100%),
    linear-gradient(90deg,
      rgba(4, 11, 26, 0.58) 0%,
      rgba(4, 11, 26, 0.22) 16%,
      rgba(4, 11, 26, 0.00) 34%,
      rgba(4, 11, 26, 0.00) 66%,
      rgba(4, 11, 26, 0.22) 84%,
      rgba(4, 11, 26, 0.58) 100%),
    radial-gradient(ellipse var(--halo-size) 34% at 50% var(--halo-y),
      rgba(88, 196, 255, var(--halo-opacity)) 0%,
      rgba(46, 144, 235, 0.32) 30%,
      rgba(12, 55, 117, 0.14) 55%,
      rgba(3, 15, 34, 0.00) 76%),
    linear-gradient(180deg,
      rgba(2, 5, 12, 0.66) 0%,
      rgba(2, 5, 12, 0.18) 44%,
      rgba(28, 106, 196, 0.10) 74%,
      rgba(4, 13, 27, 0.90) 100%);
  /* Solution 2 (ALTERNATIVE, disabled): stronger vignette fallback.
  background:
    radial-gradient(140% 118% at 50% 52%, rgba(2, 8, 18, 0.00) 50%, rgba(2, 8, 18, 0.52) 100%),
    linear-gradient(90deg,
      rgba(3, 10, 22, 0.70) 0%,
      rgba(3, 10, 22, 0.30) 14%,
      rgba(3, 10, 22, 0.00) 34%,
      rgba(3, 10, 22, 0.00) 66%,
      rgba(3, 10, 22, 0.30) 86%,
      rgba(3, 10, 22, 0.70) 100%),
    linear-gradient(180deg,
      rgba(2, 6, 14, 0.76) 0%,
      rgba(2, 6, 14, 0.18) 42%,
      rgba(4, 14, 30, 0.78) 100%);
  */
  /* Solution 3 (ALTERNATIVE, disabled): dedicated blend layer via extra element.
  .hero-bg-blend {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(120% 85% at 50% 52%, transparent 58%, rgba(2, 8, 18, 0.56) 100%);
    mix-blend-mode: multiply;
  }
  */
}

.hero-glow {
  display: none;
}

.orbital-canvas {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin-inline: auto;
  /* Centering logic */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
  /* Compensate fixed header visually */
  padding-bottom: 5vh;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue-300);
  margin-bottom: 1.75rem;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.12);
}

.badge-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-400);
  box-shadow: 0 0 6px var(--blue-400);
  animation: blink 2.5s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  background: linear-gradient(160deg, #fff 30%, #a8c4e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 4.5rem;
}

.hero-cta-transparent {
  background: rgba(8, 20, 44, 0.18);
  border-color: rgba(203, 221, 255, 0.34);
  color: #dce8ff;
  backdrop-filter: blur(5px) saturate(120%);
  -webkit-backdrop-filter: blur(5px) saturate(120%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 10px 24px rgba(2, 8, 20, 0.28);
}

.hero-cta-transparent:hover {
  background: rgba(12, 30, 64, 0.24);
  border-color: rgba(222, 234, 255, 0.46);
  color: #eef4ff;
}

/* ─── Hero Screenshot (Floating Frame) ──────────────────────── */
.hero-visual-wrapper {
  position: relative;
  z-index: 15;
  width: 100%;
  margin-inline: auto;
  margin-top: 0;
  padding-top: 2.5rem;
  padding-bottom: 7rem;
  background: transparent;
  isolation: isolate;
}

/* Smooth cinematic cut between hero and screenshot section */
.hero-visual-wrapper::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  width: 100vw;
  height: 180px;
  transform: translateX(-50%);
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 16, 0) 0%,
    rgba(2, 6, 16, 0.72) 56%,
    rgba(2, 6, 16, 0.98) 100%
  );
  pointer-events: none;
}

/* Full-width star-only backdrop behind the dashboard capture */
.hero-visual-wrapper::after {
  content: none;
}

.hero-visual-wrapper > * {
  z-index: 2;
}

.hero-screenshot-floating {
  border-radius: var(--radius-lg);
  background: #07111f;
  border: 1px solid var(--border-mid);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    var(--shadow-deep),
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(59, 130, 246, 0.12);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  transform: perspective(1200px) rotateX(2deg);
}

.hero-screenshot-floating:hover {
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.08) inset,
    var(--shadow-deep),
    0 0 80px rgba(59, 130, 246, 0.2);
}

.mockup-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border-glass);
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.window-dot:nth-child(1) {
  background: rgba(255, 90, 90, 0.5);
}

.window-dot:nth-child(2) {
  background: rgba(255, 190, 70, 0.5);
}

.window-dot:nth-child(3) {
  background: rgba(78, 200, 120, 0.5);
}

.hero-screenshot-inner {
  overflow: hidden;
}

.hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border: none;
}

/* Fake reflection / glow under screenshot */
.hero-screenshot-glow {
  position: absolute;
  bottom: -60px;
  left: 10%;
  right: 10%;
  height: 100px;
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

/* ─── Features Section ──────────────────────────────────────── */
.features-section {
  position: relative;
}

.features-section::before {
  content: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Top highlight line */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card), var(--shadow-glow-sm);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue-400);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon-box {
  background: rgba(59, 130, 246, 0.18);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.2);
}

.feature-title {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* Ensure screenshots always sit above any decorative canvases */
.hero-screenshot-floating,
.mockup-frame {
  position: relative;
  z-index: 20;
}

/* ─── Visuals / Screenshots Grid ────────────────────────────── */
.visuals-section {
  position: relative;
  z-index: 5;
  /* solid premium base so nothing from hero "reads through" behind screenshots */
  background: linear-gradient(180deg, #050b16 0%, #070f1d 40%, #060c16 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.visuals-dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
  max-width: 1000px;
  margin-inline: auto;
  margin-top: 3.5rem;
}

.mockup-frame {
  position: relative;
  border-radius: var(--radius-lg);
  background: #070f1d;
  border: 1px solid var(--border-mid);
  overflow: hidden;
  box-shadow: var(--shadow-deep), var(--shadow-glow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.mockup-frame:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-deep), var(--shadow-glow-md);
}

.mockup-chrome {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-glass);
}

.chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.chrome-dot:nth-child(1) {
  background: rgba(255, 90, 90, 0.5);
}

.chrome-dot:nth-child(2) {
  background: rgba(255, 190, 70, 0.5);
}

.chrome-dot:nth-child(3) {
  background: rgba(78, 200, 120, 0.5);
}

.mockup-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.mockup-frame figcaption {
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-glass);
}

/* ─── Telegram Section (Feature Highlight) ──────────────────── */
.telegram-section {
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
}

.telegram-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.telegram-text .section-title {
  margin-bottom: 1rem;
}

.telegram-text .section-desc {
  margin-bottom: 2rem;
}

.telegram-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.telegram-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.tl-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue-400);
  margin-top: 1px;
}

.telegram-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.telegram-card-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 171, 238, 0.2) 0%, transparent 65%);
  filter: blur(50px);
  pointer-events: none;
  animation: breathe 6s ease-in-out infinite alternate;
}

.telegram-icon-showcase {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tlg-plane {
  width: 120px;
  height: 120px;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 0 30px rgba(42, 171, 238, 0.45));
  animation: float-icon 4s ease-in-out infinite;
}

.tlg-plane svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

@keyframes float-icon {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.tlg-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(42, 171, 238, 0.2);
  animation: expand-ring 3s linear infinite;
}

.tlg-ring-1 {
  width: 180px;
  height: 180px;
  animation-delay: 0s;
}

.tlg-ring-2 {
  width: 260px;
  height: 260px;
  animation-delay: 1.5s;
}

@keyframes expand-ring {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* ─── Security Section ──────────────────────────────────────── */
.security-section {
  border-top: 1px solid var(--border-glass);
}

.security-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.security-badge svg {
  color: var(--blue-400);
  flex-shrink: 0;
}

.security-badge:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: var(--border-accent);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-sm);
}

/* ─── Disclaimer Section ─────────────────────────────────────── */
.disclaimer-section {
  padding-top: 0;
  padding-bottom: 3rem;
}

.disclaimer-card {
  border-radius: var(--radius-md);
  background: rgba(255, 40, 40, 0.04);
  border: 1px solid rgba(255, 80, 80, 0.15);
  padding: 2rem 2.5rem;
}

.disclaimer-title {
  font-size: 1rem;
  color: rgba(255, 200, 200, 0.75);
  margin-bottom: 1rem;
  font-weight: 600;
}

.disclaimer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.disclaimer-list li {
  font-size: 0.85rem;
  color: rgba(200, 180, 180, 0.55);
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}

.disclaimer-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: rgba(200, 100, 100, 0.4);
}

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-glass);
  padding: 2.5rem 0;
  background: var(--bg-void);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo-link {
  display: inline-flex;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  opacity: 0.65;
  filter: grayscale(0.2);
  transition: opacity 0.3s ease;
}

.footer-logo-link:hover .footer-logo-img {
  opacity: 1;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-secondary);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

/* ─── Scroll Reveal (Futuristic) ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.94) perspective(1000px) rotateX(10deg);
  filter: blur(12px);
  transition:
    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s ease-out;
  will-change: opacity, transform, filter;
}

.reveal.inview {
  opacity: 1;
  transform: translateY(0) scale(1) perspective(1000px) rotateX(0deg);
  filter: blur(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.delay-3 {
  transition-delay: 0.36s;
}

/* ─── Legal Pages ───────────────────────────────────────────── */
.legal-page {
  min-height: 100vh;
  color: var(--text-primary);
}

.legal-shell {
  width: min(900px, 100% - 2.5rem);
  margin: 0 auto;
  padding: 6rem 0 3rem;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.legal-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.legal-link {
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
}

.legal-link:hover {
  border-color: var(--border-mid);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.legal-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  background: rgba(7, 15, 29, 0.82);
  box-shadow: var(--shadow-deep);
  padding: 2.5rem;
}

.legal-card h1 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 1.5rem;
}

.legal-section {
  margin-top: 1.75rem;
}

.legal-section h2 {
  font-size: 1rem;
  color: #d3e4ff;
  margin-bottom: 0.5rem;
}

.legal-section p,
.legal-section li {
  font-size: 0.9rem;
  color: #8ca0bc;
  line-height: 1.65;
}

.legal-section ul {
  padding-left: 1.25rem;
  margin-top: 0.4rem;
}

.legal-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* ─── Focus / A11y ──────────────────────────────────────────── */
a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (min-width: 1600px) {
  .hero-section {
    --halo-size: 96%;
    --halo-y: 102%;
    --halo-opacity: 0.56;
    --hero-bg-height: 100svh;
    --hero-bg-y: 58%;
    --hero-bg-width: min(calc(100% - 1.25rem), 1220px);
    --hero-edge-feather-x: 134%;
    --hero-edge-feather-y: 116%;
    --hero-edge-feather-inner: 60%;
    --hero-edge-feather-mid: 80%;
  }
}

@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .telegram-content {
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .visuals-dual-grid {
    grid-template-columns: 1fr;
  }

  .telegram-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .telegram-text {
    order: 2;
  }

  .telegram-visual {
    order: 1;
    height: 200px;
  }

  .telegram-features-list {
    align-items: center;
  }

  .telegram-features-list li {
    text-align: left;
  }

  .section-pad {
    padding-block: 4rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    --halo-size: 118%;
    --halo-y: 102%;
    --halo-opacity: 0.46;
    --hero-bg-height: 100svh;
    --hero-bg-y: 54%;
    --hero-bg-width: min(150vw, 980px);
    --hero-edge-feather-x: 138%;
    --hero-edge-feather-y: 120%;
    --hero-edge-feather-center-y: 50%;
    --hero-edge-feather-inner: 56%;
    --hero-edge-feather-mid: 78%;
  }
}

@media (max-width: 680px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-lg {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .header-nav .btn-ghost {
    display: none;
  }

  .disclaimer-card {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .security-badges {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ─── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .reveal,
  .reveal.inview {
    opacity: 1 !important;
    transform: none !important;
  }

  .orbital-canvas {
    display: none;
  }
}
