﻿/* 
   InboxPall  Design System v2
    */

:root {
  --bg: #060e1a;
  --bg-soft: #0a1628;
  --bg-panel: rgba(10, 20, 38, 0.62);
  --bg-panel-strong: rgba(6, 14, 26, 0.88);
  --text: #e8f0ff;
  --text-dim: #c4d5ed;
  --muted: #8aa1c0;
  --line: rgba(160, 200, 255, 0.09);
  --line-strong: rgba(160, 200, 255, 0.18);
  --glow: #6dd8ff;
  --glow-warm: #ffcf5e;
  --mint: #5eeaad;
  --accent: #8e7dff;
  --danger: #ff8080;
  --shadow-soft: 0 8px 40px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--line);
  --shadow-glow: 0 0 60px -12px rgba(109, 216, 255, 0.18);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1120px;
  --space-section: clamp(4rem, 8vw, 7rem);
  --space-block: clamp(2rem, 4vw, 3.5rem);
}

/* Reset */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }

/* Focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 3px;
}

/* Body & starfield */
body {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.site-shell {
  position: relative;
  overflow-x: hidden;
}

/* ambient glow blobs */
.ambient {
  position: fixed;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.38;
  z-index: 0;
  will-change: transform;
  animation: ambientDrift 18s ease-in-out infinite;
}
.ambient-a {
  width: 32rem; height: 32rem;
  top: 4rem; left: -8rem;
  background: radial-gradient(circle, rgba(109, 216, 255, 0.28), transparent 70%);
}
.ambient-b {
  width: 38rem; height: 38rem;
  top: 22rem; right: -12rem;
  background: radial-gradient(circle, rgba(142, 125, 255, 0.18), transparent 70%);
  animation-duration: 24s;
  animation-direction: reverse;
}

/* Layout shell */
.site-header, main, .site-footer {
  position: relative; z-index: 1;
  width: min(calc(100% - 2.4rem), var(--container));
  margin: 0 auto;
}

/* HEADER */
.announcement-bar {
  margin-top: 0.75rem;
  display: flex; justify-content: center; align-items: center; gap: 0.6rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 14, 26, 0.55);
  backdrop-filter: blur(14px);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}
.announcement-bar a, .text-link {
  color: var(--glow);
  font-weight: 700;
  white-space: nowrap;
}
.text-link:hover { text-decoration: underline; }

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.6rem;
}

/* Brand */
.brand {
  display: inline-flex; align-items: center; gap: 0.75rem;
}
.brand img { width: 44px; height: 44px; }
.brand span { display: flex; flex-direction: column; gap: 0.05rem; }
.brand strong { font-size: 1.05rem; }
.brand em { font-style: normal; color: var(--muted); font-size: 0.78rem; }

/* Headings */
.brand strong, h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: 0.75rem; }
.site-nav a { color: var(--muted); font-weight: 600; font-size: 0.9rem; transition: color 0.2s; }
.site-nav a.active, .site-nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: 0; border: 0; padding: 0.25rem; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 4px 0; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

/* BUTTONS */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #0a3d5c 0%, #0d5e4a 100%);
  color: #e8f0ff;
  padding: 0.85rem 1.6rem;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.35s, background 0.35s;
  box-shadow: 0 4px 20px rgba(109, 216, 255, 0.12), inset 0 1px 0 rgba(109,216,255,0.15);
  position: relative;
  overflow: hidden;
}
.button::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 999px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(109,216,255,0.5), rgba(94,234,173,0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.button::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(109,216,255,0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0e4d70 0%, #0f7058 100%);
  box-shadow: 0 8px 32px rgba(109, 216, 255, 0.22), inset 0 1px 0 rgba(109,216,255,0.2);
}
.button:hover::after { transform: translateX(100%); }
.button:active { transform: translateY(0); }
.button-secondary {
  background: rgba(10, 20, 38, 0.7);
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.button-secondary::before { display: none; }
.button-secondary::after { display: none; }
.button-secondary:hover {
  background: rgba(15, 28, 48, 0.85);
  border-color: rgba(109, 216, 255, 0.3);
  box-shadow: 0 4px 20px rgba(109, 216, 255, 0.08);
}
.button-small { padding: 0.6rem 1rem; font-size: 0.85rem; }
.button:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

/* TYPOGRAPHY */
.eyebrow {
  font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--glow-warm);
  margin-bottom: 0.6rem;
}

h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.18;
}
h3 {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.25;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 42rem;
  margin-top: 0.8rem;
}

/* SECTIONS */
.section-grid, .page-hero, .demo-layout, .pricing-page, .faq-list, .legal-stack {
  padding: var(--space-section) 0 0;
}

.page-hero {
  text-align: center;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}
.page-hero .lead { margin-left: auto; margin-right: auto; }
.page-hero-404 { padding-top: clamp(5rem, 12vw, 10rem); }

.section-heading { margin-bottom: var(--space-block); max-width: 40rem; }
.section-heading h2 { margin-top: 0.4rem; }

.section-heading-inline {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: var(--space-block);
}
.section-heading-inline > div { max-width: 36rem; }

.section-copy { max-width: 38rem; }
.section-copy h2 { margin-top: 0.5rem; margin-bottom: 0.8rem; }
.section-copy p + ul, .section-copy p + p { margin-top: 0.75rem; }

/* Split layout */
.section-grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* HERO */
.section-grid-hero {
  padding-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy { padding-right: 1rem; }
.hero-copy h1 { margin-top: 0.5rem; margin-bottom: 1rem; }
.hero-actions, .footer-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 1.6rem;
}

/* stat row */
.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}
.stat-card {
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  backdrop-filter: blur(10px);
}
.stat-card strong {
  display: block; color: var(--glow); font-size: 0.95rem; margin-bottom: 0.2rem;
}
.stat-card span { color: var(--muted); font-size: 0.82rem; }

/* PANELS */
.panel {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
  position: relative;
}
.panel:hover {
  border-color: rgba(109, 216, 255, 0.18);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  transform: translateY(-3px);
}

.panel-luminous {
  background: radial-gradient(ellipse at top, rgba(109, 216, 255, 0.08), transparent 55%),
              var(--bg-panel);
}
.panel-dark { background: var(--bg-panel-strong); }
.panel-highlight {
  background: linear-gradient(140deg, rgba(109, 216, 255, 0.09), rgba(94, 234, 173, 0.04)),
              rgba(6, 14, 26, 0.85);
}
.panel-highlight:hover, .panel-dark:hover { transform: translateY(-2px); }

/* HERO VISUAL (mini-scene) */
.hero-visual { padding: 1.25rem; min-height: auto; }
.mini-scene { display: flex; flex-direction: column; gap: 1rem; }

.mini-scene-header, .shot-header, .demo-panel-heading {
  display: flex; align-items: center; gap: 0.45rem; color: var(--muted); font-size: 0.78rem;
}
.mini-scene-header p, .shot-header p { margin: 0; }
.scene-dot, .shot-header > span:not(:last-child) {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25);
}

.mail-stream {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  gap: 0.75rem;
  align-items: center;
}
.stream-card {
  padding: 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  animation: floatCard 8s ease-in-out infinite;
}
.stream-card-right { animation-delay: 1.2s; }
.stream-card h3 { font-size: 0.88rem; margin: 0.4rem 0 0.3rem; }
.stream-card p { font-size: 0.8rem; color: var(--muted); }

.stream-tag, .price-pill {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 800;
  background: rgba(255,255,255,0.05);
}
.stream-tag.missed { color: var(--danger); }
.stream-tag.draft { color: var(--mint); }
.price-pill { color: var(--glow); font-size: 0.85rem; padding: 0.4rem 0.9rem; margin-bottom: 0.5rem; }

/* orbit */
.stream-orbit { position: relative; height: 14rem; }
.orbit-core, .orbit-ring, .trust-orbit {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
}
.orbit-core {
  width: 3.5rem; height: 3.5rem;
  background: radial-gradient(circle, rgba(255,207,94,0.85), rgba(109,216,255,0.4) 60%, transparent 80%);
  box-shadow: 0 0 30px rgba(109,216,255,0.4), 0 0 60px rgba(255,207,94,0.15);
  animation: corePulse 4s ease-in-out infinite;
}
.orbit-ring { border: 1px solid rgba(255,255,255,0.1); }
.ring-one { width: 7rem; height: 7rem; animation: spinSlow 14s linear infinite; }
.ring-two, .trust-orbit { width: 11rem; height: 11rem; animation: spinSlow 20s linear infinite reverse; }
.orbit-note {
  position: absolute;
  padding: 0.4rem 0.65rem; border-radius: 999px;
  background: rgba(6,14,26,0.82); border: 1px solid var(--line);
  color: var(--text-dim); font-size: 0.74rem; white-space: nowrap;
  animation: floatCard 6s ease-in-out infinite;
}
.orbit-note-top { top: 0.5rem; right: -0.3rem; }
.orbit-note-bottom { bottom: 0.5rem; left: -0.5rem; animation-delay: 1s; }

/* GRIDS */
.problem-grid, .journey-grid, .testimonial-grid, .security-grid, .pricing-side-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.faq-list { display: grid; gap: 0.85rem; }

/* cards content */
.problem-card h3 { margin-bottom: 0.5rem; }
.problem-card p, .feature-card p, .journey-card p, .faq-item p, .legal-card p,
.testimonial-card span, .contact-form-card p { color: var(--muted); margin-top: 0.4rem; }

.feature-card img, .feature-row img { width: 36px; height: 36px; margin-bottom: 0.65rem; }
.feature-card h3, .feature-row h3 { margin-bottom: 0.35rem; }
.feature-card p, .feature-row p { font-size: 0.9rem; }

.journey-label {
  display: inline-block;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--glow); margin-bottom: 0.45rem;
}
.journey-card h3 { margin-bottom: 0.4rem; font-size: 1rem; }

.testimonial-card p { font-size: 0.95rem; line-height: 1.7; color: var(--text-dim); }
.testimonial-card strong { display: block; margin-top: 0.9rem; color: var(--text); }
.testimonial-card span { font-size: 0.82rem; }

/* SCREENSHOT CARD */
.screenshot-card { min-height: auto; overflow: hidden; }
.shot-content { margin-top: 1rem; display: grid; grid-template-columns: 120px 1fr; gap: 0.8rem; }
.signal-map { display: flex; gap: 0.5rem; align-items: end; }
.signal-column { width: 28px; border-radius: 999px 999px 8px 8px; }
.signal-high { height: 120px; background: linear-gradient(180deg, rgba(109,216,255,0.85), rgba(109,216,255,0.08)); }
.signal-mid  { height: 86px; background: linear-gradient(180deg, rgba(255,207,94,0.85), rgba(255,207,94,0.08)); }
.signal-low  { height: 52px; background: linear-gradient(180deg, rgba(142,125,255,0.85), rgba(142,125,255,0.08)); }
.shot-list { display: grid; gap: 0.55rem; }
.shot-list article { padding: 0.7rem 0.8rem; border-radius: var(--radius-sm); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); }
.shot-list strong { font-size: 0.88rem; color: var(--text); }
.shot-list span { font-size: 0.78rem; color: var(--muted); display: block; margin-top: 0.15rem; }

/* CHECK / REASON LIST */
.check-list, .reason-list, .trust-badges { list-style: none; padding: 0; margin: 0.8rem 0 0; display: grid; gap: 0.5rem; }
.check-list li, .reason-list li, .trust-badges li {
  padding: 0.65rem 0.8rem; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-dim); font-size: 0.9rem;
}

/* PRICING */
.pricing-page { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.5rem; align-items: start; }
.pricing-main-card { display: grid; gap: 0.8rem; }
.pricing-main-card h2 { margin-top: 0.3rem; }
.pricing-main-card p { color: var(--muted); }

.pricing-checks { display: grid; gap: 0.4rem; }
.pricing-checks span {
  padding: 0.55rem 0.8rem; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-dim); font-size: 0.88rem;
}

.pricing-slab {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.2rem; align-items: center;
}
.pricing-slab h3 { margin-top: 0.3rem; }

/* PRICING SHOWCASE */
.pricing-showcase {
  padding: var(--space-section) 0 0;
  display: flex;
  justify-content: center;
}
.pricing-hero-card {
  position: relative;
  max-width: 540px;
  width: 100%;
  padding: 2.5rem 2.5rem 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at top center, rgba(109, 216, 255, 0.1), transparent 60%),
    linear-gradient(165deg, rgba(15, 30, 55, 0.95), rgba(6, 14, 26, 0.92));
  border: 1px solid rgba(109, 216, 255, 0.18);
  box-shadow:
    0 0 80px -20px rgba(109, 216, 255, 0.12),
    0 20px 60px -15px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
}
.pricing-hero-top {
  margin-bottom: 1.5rem;
}
.pricing-price-block {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
}
.pricing-currency {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--glow);
  line-height: 1;
  align-self: flex-start;
  margin-top: 0.5rem;
}
.pricing-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(4.5rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.04em;
}
.pricing-period {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}
.pricing-alt {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.pricing-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin: 0.5rem 0 1.5rem;
}
.pricing-hero-card h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}
.pricing-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
  text-align: left;
  margin-bottom: 2rem;
}
.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.pricing-feature-item svg {
  flex-shrink: 0;
}
.pricing-hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* VALUE STRIP */
.pricing-value-strip {
  padding: var(--space-section) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pricing-value-card {
  text-align: center;
  padding: 1.8rem 1.5rem;
}
.pricing-value-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.pricing-value-card h3 {
  margin-bottom: 0.5rem;
}
.pricing-value-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* COMPARE SECTION */
.pricing-compare {
  padding: var(--space-section) 0 0;
}
.pricing-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.pricing-compare-item {
  padding: 1.8rem;
}
.pricing-compare-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}
.pricing-compare-label-good {
  color: var(--mint);
  background: rgba(94, 234, 173, 0.1);
}
.pricing-compare-item p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* PRICING FAQ GRID */
.pricing-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* PRICING BOTTOM CTA */
.pricing-bottom-cta {
  padding: var(--space-section) 0 0;
}
.pricing-bottom-cta-inner {
  text-align: center;
  padding: 3rem 2rem;
}
.pricing-bottom-cta-inner h2 {
  margin-bottom: 0.5rem;
}
.pricing-bottom-cta-inner .lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

/* FEATURES PAGE STACK */
.feature-stack { display: grid; gap: 0.85rem; }
.feature-row { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; }

.insight-card, .telegram-mockup, .trust-graphic { min-height: auto; }

/* TELEGRAM MOCKUP */
.telegram-topbar { display: flex; justify-content: space-between; margin-bottom: 0.8rem; color: var(--muted); font-size: 0.85rem; }
.telegram-thread, .telegram-sim { display: grid; gap: 0.55rem; }
.telegram-bubble {
  max-width: 82%; padding: 0.7rem 0.85rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
  font-size: 0.88rem;
  animation: fadeSlideUp 0.35s ease both;
}
.telegram-bubble.user { justify-self: end; background: rgba(109,216,255,0.12); color: var(--text); }
.telegram-bubble.bot.muted { opacity: 0.75; }
.telegram-actions, .demo-action-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }
.telegram-actions span {
  padding: 0.4rem 0.8rem; border-radius: 999px;
  background: rgba(255,255,255,0.06); color: var(--glow); font-size: 0.82rem; font-weight: 700;
}

/* DEMO */
.demo-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.demo-sidebar { position: sticky; top: 2rem; }
.demo-sidebar h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.demo-sidebar label, .contact-form label {
  display: grid; gap: 0.3rem; margin-bottom: 0.85rem;
  color: var(--muted); font-size: 0.85rem;
}
.demo-sidebar select, .contact-form input, .contact-form textarea {
  width: 100%; padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03); color: var(--text);
  transition: border-color 0.25s;
}
.demo-sidebar select:focus, .contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--glow);
}
.demo-note { margin-top: 1rem; padding-top: 0.85rem; border-top: 1px solid var(--line); }
.demo-note .eyebrow { font-size: 0.68rem; }
.demo-note p { font-size: 0.82rem; color: var(--muted); margin-top: 0.25rem; }

/* Demo panels: 2 on top, 1 full width below */
.demo-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.demo-panel {
  min-height: auto;
  position: relative; overflow: hidden;
}
.demo-panel:last-child {
  grid-column: 1 / -1;
}
.demo-panel-heading {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.85rem; padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.demo-panel-heading h2 { font-size: 0.92rem; margin: 0; }
.demo-panel-heading span { font-size: 0.78rem; color: var(--muted); }

.demo-inbox, .explain-box { display: grid; gap: 0.6rem; }
.mail-item {
  padding: 0.75rem 0.85rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.mail-item strong { font-size: 0.88rem; color: var(--text); }
.mail-item span { font-size: 0.78rem; color: var(--muted); }
.mail-item p { font-size: 0.82rem; color: var(--muted); margin-top: 0.25rem; }
.mail-item-ghost { opacity: 0.6; border-style: dashed; }
.mail-item.highlighted {
  border-color: rgba(109,216,255,0.6);
  box-shadow: 0 0 0 1px rgba(109,216,255,0.25), 0 0 24px rgba(109,216,255,0.1);
  animation: glowPulse 2s ease-in-out infinite;
}

.reason-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.reason-pills span {
  padding: 0.3rem 0.6rem; border-radius: 999px;
  background: rgba(109,216,255,0.07); color: var(--glow); font-size: 0.78rem;
}

.draft-box {
  margin-top: 0.8rem; padding: 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(6,14,26,0.5); border: 1px solid var(--line);
}
.draft-box h4 { font-size: 0.82rem; margin-bottom: 0.3rem; }
.draft-box p { font-size: 0.85rem; color: var(--text-dim); }

/* TRUST */
.trust-graphic { display: flex; align-items: center; justify-content: center; min-height: 16rem; position: relative; }
.trust-orbit {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 12rem; height: 12rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(94,234,173,0.12), transparent 65%);
  border: 1px solid rgba(94,234,173,0.15);
  animation: spinSlow 22s linear infinite reverse;
}
.trust-badges { position: relative; z-index: 1; }

/* CONTACT */
.contact-card h2, .contact-form-card h2 { margin-bottom: 1rem; }
.contact-list { display: grid; gap: 0.6rem; }
.contact-list div { padding: 0.8rem; border-radius: var(--radius-sm); background: rgba(255,255,255,0.04); }
.contact-list span { display: block; font-size: 0.82rem; color: var(--muted); }
.contact-list strong { display: block; color: var(--text); font-size: 0.92rem; margin-top: 0.1rem; }
.contact-form { display: grid; gap: 0.65rem; }

/* LEGAL */
.legal-stack { display: grid; gap: 0.85rem; }
.legal-card h2 { font-size: 1.1rem; margin-bottom: 0.4rem; }

/* FAQ */
.faq-item h2 { font-size: 1.05rem; margin-bottom: 0.35rem; }

/* FOOTER */
.footer-cta {
  display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 1.5rem; align-items: center;
  margin-top: var(--space-section);
}
.footer-cta h2 { margin-top: 0.4rem; }

.site-footer { padding-bottom: 2rem; }
.footer-grid {
  margin-top: 2rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line);
}
.footer-grid h3 { margin-top: 0; margin-bottom: 0.6rem; font-size: 0.9rem; }
.footer-grid a, .footer-price { display: block; margin-bottom: 0.5rem; color: var(--muted); font-size: 0.85rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--text); }
.footer-brand { margin-bottom: 0.6rem; }
.footer-copy { font-size: 0.85rem; color: var(--muted); max-width: 26rem; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-top: 1rem; font-size: 0.8rem; color: var(--muted);
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes ambientDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(20px, -14px, 0) scale(1.04); }
  66% { transform: translate3d(-12px, 8px, 0) scale(0.97); }
}

@keyframes spinSlow {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 30px rgba(109,216,255,0.4), 0 0 60px rgba(255,207,94,0.15); }
  50% { box-shadow: 0 0 50px rgba(109,216,255,0.6), 0 0 90px rgba(255,207,94,0.25); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(109,216,255,0.25), 0 0 24px rgba(109,216,255,0.1); }
  50% { box-shadow: 0 0 0 1px rgba(109,216,255,0.5), 0 0 36px rgba(109,216,255,0.2); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* shimmer decoration on panels */
.panel::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109,216,255,0.3), transparent);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  opacity: 0;
  transition: opacity 0.4s;
}
.panel:hover::before { opacity: 1; }

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .section-grid-hero, .section-grid-split, .pricing-page, .pricing-slab,
  .shot-content, .mail-stream, .footer-cta {
    grid-template-columns: 1fr;
  }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-layout { grid-template-columns: 1fr; }
  .demo-sidebar { position: static; }
  .demo-panels { grid-template-columns: 1fr; }
  .demo-panel:last-child { grid-column: auto; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading-inline { flex-direction: column; align-items: flex-start; }
  .pricing-compare-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .problem-grid, .journey-grid, .testimonial-grid, .security-grid, .pricing-side-grid {
    grid-template-columns: 1fr;
  }
  .pricing-value-strip { grid-template-columns: 1fr; }
  .pricing-faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --space-section: 3rem; --space-block: 1.5rem; }

  .site-header, main, .site-footer {
    width: calc(100% - 1.5rem);
  }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0;
    display: none; flex-direction: column; align-items: flex-start;
    padding: 0.85rem; gap: 0.4rem;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: rgba(6,14,26,0.96); backdrop-filter: blur(20px);
  }
  .site-nav.is-open { display: flex; }

  .feature-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-stat-row { grid-template-columns: 1fr; }
  .hero-actions, .footer-actions, .footer-bottom, .announcement-bar { flex-direction: column; align-items: stretch; }
  .pricing-feature-grid { grid-template-columns: 1fr; }
  .pricing-hero-card { padding: 1.8rem 1.5rem 1.5rem; }
  .pricing-hero-actions { flex-direction: column; }
  .announcement-bar { text-align: left; }
  .brand em { display: none; }
  h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
}
