/* ═══════════════════════════════════════════════════════════════════════════════
   HERO SECTION — Visual Upgrade & Re-Structuring
   ═══════════════════════════════════════════════════════════════════════════════
   Layout: 2-column grid (1fr 1fr) with generous whitespace.
   Left: Content (badges, headline, subtext, CTAs, info pills)
   Right: Visuals (globe + code terminal + data stream connector)
   
   Security: NO canvas, NO WebGL, NO JS for layout/animations.
   Privacy: Local assets only, no external CDN/fonts.
   Animation: Pure CSS @keyframes — zero JS dependency.
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─── 1. HERO SECTION CONTAINER ─────────────────────────────────────────────── */
#landing-screen #lp-hero {
  position: relative !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 8rem 2rem 5rem !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 209, 255, 0.07) 0%, rgba(0, 209, 255, 0.02) 24%, transparent 54%),
    radial-gradient(circle at 72% 14%, rgba(124, 106, 247, 0.10) 0%, rgba(124, 106, 247, 0.035) 22%, transparent 46%),
    radial-gradient(circle at 18% 78%, rgba(0, 209, 255, 0.035) 0%, transparent 34%),
    linear-gradient(180deg, #020208 0%, #04050d 34%, #03040a 62%, #010103 100%) !important;
}

/* ─── 2. MAIN GRID — 2-Column Layout ───────────────────────────────────────── */
#landing-screen .lp-hero-inner {
  position: relative !important;
  z-index: 10 !important;
  display: grid !important;
  grid-template-columns: minmax(450px, 1.2fr) minmax(400px, 1fr) !important;
  gap: 4rem !important;
  align-items: center !important;
  max-width: 1200px !important;
  width: 100% !important;
  text-align: left !important;
}

/* ─── 3. LEFT COLUMN — Content & Actions ────────────────────────────────────── */
#landing-screen .lp-hero-left {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}

/* ─── 3a. Top Badges ────────────────────────────────────────────────────────── */
#landing-screen .lp-hero-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.65rem !important;
  margin-bottom: 1.5rem !important;
}

#landing-screen .lp-hero-badge-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0.35rem 0.85rem !important;
  border: 1px solid rgba(0, 255, 255, 0.35) !important;
  border-radius: 999px !important;
  font-family: var(--font-mono) !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #00ffff !important;
  background: rgba(0, 255, 255, 0.04) !important;
}

#landing-screen .lp-badge-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #00ffff !important;
  animation: ec-hero-blink 1.5s ease-in-out infinite !important;
  flex-shrink: 0 !important;
}

@keyframes ec-hero-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ─── 3b. Headline ──────────────────────────────────────────────────────────── */
#landing-screen .lp-h1 {
  font-family: var(--lp-font-display) !important;
  font-size: clamp(3.2rem, 5.5vw, 5rem) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 1.6rem !important;
  background: linear-gradient(135deg, #00ffff 0%, #a78bfa 50%, #7c3aed 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ─── 3c. Subtext ───────────────────────────────────────────────────────────── */
#landing-screen .lp-hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem) !important;
  color: #a0aec0 !important;
  line-height: 1.6 !important;
  max-width: 480px !important;
  margin: 0 0 2.5rem !important;
}

/* ─── 3d. CTA Buttons ───────────────────────────────────────────────────────── */
#landing-screen .lp-ctas {
  display: flex !important;
  flex-direction: row !important;
  gap: 1.5rem !important;
  flex-wrap: wrap !important;
  margin-bottom: 3rem !important;
}

#landing-screen .lp-btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #00ffff, #06b6d4) !important;
  color: #000 !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  font-family: var(--font) !important;
  padding: 0.9rem 2.2rem !important;
  border-radius: 12px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.3), 0 0 60px rgba(0, 255, 255, 0.08) !important;
  transition: transform 0.25s, box-shadow 0.25s !important;
}

#landing-screen .lp-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 32px rgba(0, 255, 255, 0.45), 0 0 80px rgba(0, 255, 255, 0.15) !important;
}

#landing-screen .lp-btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: #e8e8f2 !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  font-family: var(--font) !important;
  padding: 0.9rem 2.2rem !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: background 0.25s, border-color 0.25s, transform 0.25s !important;
}

#landing-screen .lp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  transform: translateY(-1px) !important;
}

/* ─── 3e. Info Pills (vertical stack) ───────────────────────────────────────── */
#landing-screen .lp-hero-note {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  margin-top: 0 !important;
}

#landing-screen .lp-hero-note span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 0.5px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 999px !important;
  padding: 0.45rem 1rem !important;
  font-size: 0.72rem !important;
  color: #7a7f9e !important;
  line-height: 1.4 !important;
}

#landing-screen .lp-hero-note strong {
  color: #c4c8e4 !important;
  font-weight: 600 !important;
}

/* ─── 4. RIGHT COLUMN — Visuals (Globe & Code) ─────────────────────────────── */
#landing-screen .lp-hero-right {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3rem !important;
  width: 100% !important;
  min-width: 0 !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Data stream connector line (Globe → Terminal) */
#landing-screen .lp-hero-right::before {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 1px !important;
  height: 80px !important;
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.4), rgba(0, 255, 255, 0.05)) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* Hide any legacy canvas-based globe if present */
#landing-screen #ec-cobe-globe-container {
  display: none !important;
}

#landing-screen #lp-hero-canvas {
  display: none !important;
}

/* ─── 5. GLOBE IMAGE CONTAINER ──────────────────────────────────────────────── */
.ec-globe-img-wrap {
  position: relative;
  width: 100%;
  max-width: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Subtle radial glow behind the globe image */
.ec-globe-img-wrap::before {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 255, 255, 0.07) 0%,
    rgba(124, 106, 247, 0.05) 40%,
    transparent 70%
  );
  animation: ec-globe-glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

/* ─── 6. GLOBE IMAGE STYLING ───────────────────────────────────────────────── */
.globe-visual {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 50%;
  filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.25))
          drop-shadow(0 0 50px rgba(124, 106, 247, 0.15));
  animation: ec-globe-float 6s ease-in-out infinite;
  will-change: transform;
}

/* ─── 7. TERMINAL / CODE BLOCK (moved to right column) ─────────────────────── */
#landing-screen .lp-terminal {
  position: relative !important;
  z-index: 3 !important;
  margin-top: 0 !important;
  background: rgba(8, 10, 20, 0.85) !important;
  border: 1px solid rgba(0, 255, 255, 0.10) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 550px !important;
  box-sizing: border-box !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 0.5px rgba(0, 255, 255, 0.06) inset !important;
}

#landing-screen .lp-term-bar {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0.7rem 1.1rem !important;
  background: rgba(255, 255, 255, 0.025) !important;
  border-bottom: 0.5px solid rgba(0, 255, 255, 0.07) !important;
}

#landing-screen .lp-term-bar .lp-td {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

#landing-screen .lp-term-bar .lp-td:nth-child(1) { background: #ff5f57 !important; }
#landing-screen .lp-term-bar .lp-td:nth-child(2) { background: #ffbd2e !important; }
#landing-screen .lp-term-bar .lp-td:nth-child(3) { background: #28c840 !important; }

#landing-screen .lp-term-label {
  margin-left: 0.5rem !important;
  font-family: var(--font-mono) !important;
  font-size: 0.65rem !important;
  color: #4a5568 !important;
}

#landing-screen .lp-term-body {
  padding: 1.5rem !important;
  font-family: var(--font-mono) !important;
  font-size: 0.68rem !important;
  line-height: 1.85 !important;
  text-align: left !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  overflow-x: auto !important;
}

/* Terminal syntax colors */
#landing-screen .lt-c { color: #4a5568 !important; }
#landing-screen .lt-k { color: #c792ea !important; }
#landing-screen .lt-v { color: #82aaff !important; }
#landing-screen .lt-f { color: #c3e88d !important; }
#landing-screen .lt-s { color: #ffcb6b !important; }
#landing-screen .lt-ok { color: #00ffaa !important; }
#landing-screen .lt-d { color: #546e7a !important; }

/* ─── 8. ANIMATIONS ────────────────────────────────────────────────────────── */

/* Smooth vertical floating effect */
@keyframes ec-globe-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Glow pulse on the outer aura */
@keyframes ec-globe-glow-pulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* ─── 9. SCROLL INDICATOR ──────────────────────────────────────────────────── */
#landing-screen .lp-scroll {
  margin-top: 4rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.65rem !important;
  color: #4a5568 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-family: var(--font-mono) !important;
}

#landing-screen .lp-scroll-line {
  width: 1px !important;
  height: 32px !important;
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.4), transparent) !important;
  animation: ec-scroll-pulse 2s ease-in-out infinite !important;
}

@keyframes ec-scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ─── 10. RESPONSIVE — MOBILE (≤768px) ─────────────────────────────────────── */
@media (max-width: 768px) {
  #landing-screen #lp-hero {
    padding: 6rem 1.25rem 3rem !important;
  }

  #landing-screen .lp-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
    text-align: center !important;
  }

  #landing-screen .lp-hero-left {
    align-items: center !important;
    text-align: center !important;
    order: 1 !important;
  }

  #landing-screen .lp-hero-badges {
    justify-content: center !important;
  }

  #landing-screen .lp-h1 {
    font-size: clamp(2.4rem, 10vw, 3.5rem) !important;
    text-align: center !important;
  }

  #landing-screen .lp-hero-sub {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #landing-screen .lp-ctas {
    justify-content: center !important;
  }

  #landing-screen .lp-hero-note {
    align-items: center !important;
  }

  #landing-screen .lp-hero-right {
    order: 2 !important;
  }

  /* Hide the data stream connector on mobile */
  #landing-screen .lp-hero-right::before {
    display: none !important;
  }

  .ec-globe-img-wrap {
    width: 260px;
    height: 260px;
  }

  #landing-screen .lp-terminal {
    max-width: 100% !important;
  }
}

/* ─── 11. RESPONSIVE — SMALL MOBILE (≤480px) ───────────────────────────────── */
@media (max-width: 480px) {
  .ec-globe-img-wrap {
    width: 220px;
    height: 220px;
  }

  #landing-screen .lp-ctas {
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  #landing-screen .lp-btn-primary,
  #landing-screen .lp-btn-secondary {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ─── 12. RESPONSIVE — TABLET (769px–1024px) ───────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  #landing-screen .lp-hero-inner {
    gap: 3rem !important;
  }

  .ec-globe-img-wrap {
    width: 300px;
    height: 300px;
  }
}

/* ─── 13. REDUCED MOTION ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .globe-visual {
    animation: none;
    filter: drop-shadow(0 0 16px rgba(0, 255, 255, 0.2));
  }

  .ec-globe-img-wrap::before {
    animation: none;
    opacity: 0.5;
  }

  #landing-screen .lp-badge-dot {
    animation: none !important;
  }

  #landing-screen .lp-scroll-line {
    animation: none !important;
    opacity: 0.6 !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   HERO TERMINAL — clean spacing fix   §LP-TERM-FIX-2026-07-21
   The body was white-space:pre-wrap, so the newlines + indentation
   BETWEEN the <div> lines rendered as phantom blank lines and made
   the card far too tall / loosely spaced. Collapse the inter-line
   whitespace on the body; keep intra-line spaces + wrapping on each
   line. (Matches the clean terminal in the design blueprint.)
   ═══════════════════════════════════════════════════════════════ */
#landing-screen .lp-term-body { white-space: normal !important; }
#landing-screen .lp-term-body > div { white-space: pre-wrap; }

/* ═══════════════════════════════════════════════════════════════
   HERO COLUMN ALIGNMENT   §LP-HERO-ALIGN-2026-07-21
   Top-align the two hero columns. Previously align-items:center let
   the (much taller) right column push the globe far above the left
   headline — it read as "not centred". Top-alignment starts the
   headline and the globe together at the top of the section.
   (Desktop 2-col only in effect; the ≤768px layout is single-column.)
   ═══════════════════════════════════════════════════════════════ */
#landing-screen .lp-hero-inner {
  align-items: start !important;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE STRIP + HERO-FOOTER-BAR + HERO-ROW ICONS  §LP-FEATURESTRIP-2026-07-21
   3-Karten-Strip (ersetzt Trust-Leiste) · schmale Footer-Bar · Icons
   für die Hero-Info-Rows. Nur lokales CSS + Inline/Data-URI-SVG.
   ═══════════════════════════════════════════════════════════════ */

/* ── Feature strip (3 cards) ── */
#landing-screen .lp-featurestrip {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
#landing-screen .lp-fs-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1.05rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(120, 100, 255, 0.14);
  border-radius: 16px;
  transition: border-color 0.25s, background 0.25s;
}
#landing-screen .lp-fs-card:hover {
  border-color: rgba(0, 255, 255, 0.22);
  background: rgba(124, 106, 247, 0.05);
}
#landing-screen .lp-fs-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 209, 255, 0.12), rgba(124, 106, 247, 0.12));
  border: 0.5px solid rgba(0, 255, 255, 0.18);
  color: #00e5ff;
}
#landing-screen .lp-fs-icon svg { width: 20px; height: 20px; }
#landing-screen .lp-fs-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#landing-screen .lp-fs-text strong { color: #e8e8f2; font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em; }
#landing-screen .lp-fs-text span { color: #8a8fb0; font-size: 0.74rem; line-height: 1.4; }

/* ── Hero footer bar ── */
#landing-screen .lp-herofoot {
  max-width: 1100px;
  margin: 1.1rem auto 0;
  padding: 0.95rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(120, 100, 255, 0.10);
  border-radius: 14px;
}
#landing-screen .lp-herofoot-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
}
#landing-screen .lp-herofoot-ico { display: inline-flex; color: #00e5ff; }
#landing-screen .lp-herofoot-ico svg { width: 18px; height: 18px; }
#landing-screen .lp-herofoot-brand strong { color: #e8e8f2; font-family: var(--font-mono); font-weight: 700; }
#landing-screen .lp-herofoot-sep { color: rgba(255, 255, 255, 0.2); }
#landing-screen .lp-herofoot-claim { color: #9094b8; }
#landing-screen .lp-herofoot-tag { color: #6d7194; font-size: 0.78rem; }

/* ── Hero info-row icons (CSS ::before — the spans' innerHTML is i18n-overwritten
      by ui-render.js:23286, so an inline icon would be wiped; a pseudo-element
      survives). Tinted rounded square + local data-URI SVG (cyan, zero egress). ── */
#landing-screen .lp-hero-note span { border-radius: 13px !important; }
#landing-screen .lp-hero-note span::before {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background-color: rgba(0, 209, 255, 0.10);
  border: 0.5px solid rgba(0, 255, 255, 0.18);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}
#landing-screen .lp-hero-note span:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e5ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6l1-8z'/%3E%3C/svg%3E");
}
#landing-screen .lp-hero-note span:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e5ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='3' width='10' height='18' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
}
#landing-screen .lp-hero-note span:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e5ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-6-4-6 4V3z'/%3E%3C/svg%3E");
}

/* ── Responsive ── */
@media (max-width: 900px) {
  #landing-screen .lp-featurestrip { grid-template-columns: 1fr; padding: 0 1.25rem; }
  #landing-screen .lp-herofoot { flex-direction: column; text-align: center; justify-content: center; }
}
