:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --blue: #2563eb;
  --blue-light: #3882f6;
  --gold: #facc15;
  --text: #ffffff;
  --muted: #e2e8f0;
  --muted-soft: #cbd5e1;
  --card: rgba(30, 41, 59, 0.55);
  --border: rgba(148, 163, 184, 0.28);
  --radius: 20px;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  --link: #93c5fd;
  --link-hover: #bfdbfe;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Ensure native hidden attribute always hides */
[hidden] { display: none !important; }

body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

strong, b {
  color: var(--text);
  font-weight: 700;
}

.card strong, .faq-item strong {
  color: #fde047;
}

#scene3d {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

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

/* Keep site chrome above 3D/hero layers */
.header, main, .footer { position: relative; z-index: 2; }

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 5vw;
  position: sticky;
  top: 0;
  /* Always above hero phone/images while swiping */
  z-index: 10000;
  isolation: isolate;
  backdrop-filter: blur(16px);
  background: rgba(15, 23, 42, 0.75);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
}

.logo img {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.footer .logo img {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav a:hover { color: var(--text); }

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(250, 204, 21, 0.14);
  border: 1px solid rgba(250, 204, 21, 0.34);
  color: #fde047;
}

.burger {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.burger span,
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.burger span { top: 9px; }
.burger::before { top: 0; }
.burger::after { bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: white;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}
.header .btn-primary {
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #e2e8f0;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.6);
}

.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem 3rem;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 4rem 5vw 6rem;
  overflow: visible;
}

.hero-content {
  min-width: 0;
}

.badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(147, 197, 253, 0.45);
  color: #dbeafe;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(135deg, #93c5fd, #fde047);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 1.5rem;
  color: var(--gold);
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--muted-soft);
}

.phone-stage {
  position: relative;
  width: min(300px, 100%);
  margin: 0 auto;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.phone-glow {
  position: absolute;
  inset: 8% 0 12%;
  background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.45), rgba(37, 99, 235, 0.15) 45%, transparent 70%);
  filter: blur(28px);
  transform: translateZ(-80px) scale(1.1);
  animation: glowPulse 5s ease-in-out infinite;
  pointer-events: none;
}

.phone-shadow {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -6%;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 70%);
  filter: blur(10px);
  transform: rotateX(75deg) translateZ(-40px);
  opacity: 0.7;
  pointer-events: none;
}

.phone-float {
  animation: phoneFloat 7s ease-in-out infinite;
  transform-style: preserve-3d;
}

.phone-mockup {
  --rx: 6deg;
  --ry: -8deg;
  --tz: 0px;
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(155deg, #475569 0%, #1e293b 35%, #0b1220 100%);
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz));
  transform-origin: center center;
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out;
  will-change: transform;
}

.phone-frame-edge {
  position: absolute;
  inset: 0;
  border-radius: 40px;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.06),
    inset 0 -20px 40px rgba(0, 0, 0, 0.35);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #0b1220;
  z-index: 3;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  transition: opacity 0.2s ease;
}

.phone-mockup.is-photo-slide .phone-notch {
  opacity: 0;
  pointer-events: none;
}

.phone-screen.is-photo-slide .phone-screen-shine {
  opacity: 0.12;
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  touch-action: none;
  cursor: grab;
  user-select: none;
}

/* Phone arrows (click/tap navigation) */
.phone-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 38px;
  height: 62px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.28);
  color: rgba(248, 250, 252, 0.92);
  font-size: 34px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, opacity 0.15s;
  backdrop-filter: blur(8px);
}

.phone-nav:hover {
  background: rgba(15, 23, 42, 0.42);
}

.phone-nav:active {
  transform: translateY(-50%) scale(0.98);
}

.phone-nav--prev { left: 10px; }
.phone-nav--next { right: 10px; }

.phone-screen.is-dragging {
  cursor: grabbing;
}

.phone-slides-track {
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.phone-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.phone-slide--image {
  background: #0b1220;
}

.phone-screen-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* In-phone UI mock screens */
.phone-slide--ui {
  background: #0b1220;
  font-size: 10px;
}

.pui {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 10px 0;
  color: #e2e8f0;
  font-family: "Manrope", system-ui, sans-serif;
}

.pui-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 2px 10px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #93c5fd;
}

.pui-title {
  color: #f8fafc;
  font-weight: 700;
}

.pui-back {
  font-size: 18px;
  line-height: 1;
  color: #94a3b8;
}

.pui-icon-btn {
  font-size: 12px;
  opacity: 0.9;
}

.pui-pro {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 6px;
  background: #2563eb;
  color: #fff;
}

.pui-org {
  margin: 0 2px 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(147, 197, 253, 0.22);
  font-size: 10px;
  font-weight: 700;
  color: #e2e8f0;
}

.pui-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  flex: 1;
  align-content: start;
  margin-bottom: 8px;
}

.pui-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.pui-tile span {
  font-size: 16px;
  line-height: 1;
}

.pui-tile b {
  font-size: 10px;
  font-weight: 700;
}

.pui-search {
  margin: 4px 0 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  font-size: 10px;
}

.pui-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow: hidden;
}

.pui-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 10px;
}

.pui-row strong {
  color: #93c5fd;
  font-size: 10px;
}

.pui-row.dim {
  opacity: 0.55;
}

.pui-card {
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(147, 197, 253, 0.25);
}

.pui-card-label {
  font-size: 9px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.pui-card-value {
  font-size: 12px;
  font-weight: 700;
}

.pui-card-value.green {
  color: #86efac;
}

.pui-fab {
  margin: 8px 0;
  padding: 10px;
  text-align: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #3882f6);
  font-weight: 700;
  font-size: 10px;
}

.pui-chats {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.pui-chats--compact {
  flex: 0 0 auto;
  margin-bottom: 4px;
}

.pui-section-label {
  margin: 6px 2px 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.pui-chat {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.55);
}

.pui-chat.active {
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(147, 197, 253, 0.3);
}

.pui-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}

.pui-chat b {
  display: block;
  font-size: 10px;
}

.pui-chat p {
  margin: 0;
  font-size: 9px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.pui-chat em {
  font-size: 8px;
  color: #64748b;
  font-style: normal;
}

.pui-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.pui-stats div {
  padding: 8px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.75);
}

.pui-stats small {
  display: block;
  font-size: 8px;
  color: #94a3b8;
}

.pui-stats strong {
  font-size: 11px;
  color: #f8fafc;
}

.pui-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 72px;
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.8);
}

.pui-bar {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  opacity: 0.9;
}

.pui-docs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pui-doc {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.75);
}

.pui-doc span {
  font-size: 16px;
}

.pui-doc b {
  display: block;
  font-size: 10px;
}

.pui-doc p {
  margin: 0;
  font-size: 9px;
  color: #94a3b8;
}

.pui-nav {
  display: flex;
  justify-content: space-around;
  padding: 8px 4px 10px;
  margin-top: auto;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(11, 18, 32, 0.95);
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
}

.pui-nav .on {
  color: #93c5fd;
}

.phone-demo-ui {
  margin-top: 1.25rem;
  text-align: center;
  width: 100%;
  max-width: min(360px, 100%);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.phone-demo-hint {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.phone-demo-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.phone-demo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(148, 163, 184, 0.35);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.phone-demo-dot.active {
  background: #60a5fa;
  transform: scale(1.25);
}

.phone-demo-caption {
  font-size: 0.92rem;
  color: #e2e8f0;
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.phone-demo-caption strong {
  color: #f8fafc;
  font-weight: 700;
}

.phone-demo-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.phone-demo-legend-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.55);
  color: #cbd5e1;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.phone-demo-legend-item.active {
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(37, 99, 235, 0.18);
}

.phone-demo-legend-title {
  font-weight: 700;
  color: #f1f5f9;
}

.phone-demo-legend-desc {
  font-size: 0.82rem;
  color: #94a3b8;
}

.phone-demo-legend-desc::before {
  content: '— ';
}

.phone-screen-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.14) 48%,
    transparent 62%
  );
  mix-blend-mode: soft-light;
  opacity: 0.45;
  pointer-events: none;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) translateZ(0); }
  50% { transform: translateY(-18px) translateZ(12px); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.75; transform: translateZ(-80px) scale(1.05); }
  50% { opacity: 1; transform: translateZ(-60px) scale(1.15); }
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: visible;
  min-width: 0;
  padding: 1rem 0 1.5rem;
}

.section {
  padding: 5rem 5vw;
}

.section-alt {
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head--wide {
  max-width: 760px;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  background: rgba(250, 204, 21, 0.1);
  color: #fde047;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section-head p { color: var(--muted); }

.grid.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.chat-security-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.chat-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.chat-pillar {
  padding: 1.15rem 1.25rem;
  border-radius: calc(var(--radius) - 4px);
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(147, 197, 253, 0.28);
}

.chat-pillar strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #fde047;
  font-size: 1rem;
}

.chat-pillar span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.grid.features.chat-security-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.chat-security-callout {
  margin-top: 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(250,204,21,0.08));
  border: 1px solid var(--border);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.chat-security-callout p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.chat-security-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.whats-new-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 980px;
  margin: 0 auto 1.75rem;
}

.whats-new-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.whats-new-card h3 {
  margin-bottom: 0.85rem;
  font-size: 1.15rem;
  color: var(--text);
}

.whats-new-card ul {
  list-style: none;
}

.whats-new-card li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.whats-new-card li:last-child { border-bottom: none; }

.whats-new-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.cta-strip {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(37,99,235,0.22), rgba(250,204,21,0.1));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-strip h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.cta-strip p {
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 720px) {
  .chat-pillars {
    grid-template-columns: 1fr;
  }
  .cta-strip {
    text-align: center;
    justify-content: center;
  }
  .cta-strip-actions {
    justify-content: center;
  }
}

.card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.45);
}

.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--text); }
.card p { color: var(--muted); font-size: 0.95rem; }

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.platform-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
}

.platform-card h3 { margin-bottom: 0.5rem; font-size: 1.3rem; color: var(--text); }

.platform-card-lead {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.platform-card ul { list-style: none; }
.platform-card li {
  padding: 0.65rem 0;
  color: #f8fafc;
  font-size: 0.98rem;
  line-height: 1.45;
  border-bottom: 1px solid var(--border);
}
.platform-card li::before { content: "✓ "; color: var(--gold); font-weight: 700; }

.download-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(250,204,21,0.08));
  border: 1px solid var(--border);
  text-align: center;
}

.download-box--maintenance {
  border-color: rgba(250, 204, 21, 0.35);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(250, 204, 21, 0.1));
}

.download-maintenance-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.18);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
}

.download-btn--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

.download-btn--disabled:hover {
  transform: none;
}

.download-box h2 { font-size: 2rem; margin-bottom: 0.75rem; color: var(--text); }
.download-box p { color: var(--muted); margin-bottom: 1.5rem; }

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.download-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 11rem;
}

.download-btn-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.download-btn-ver {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.85;
}

.download-note {
  font-size: 0.85rem;
  color: var(--muted-soft);
}

.download-note a, .privacy-text a {
  color: var(--link);
}

.download-note a:hover, .privacy-text a:hover,
.privacy-strip a:hover,
.footer a:hover, .legal-main a:hover, .faq-item a:hover, .cookie-banner a:hover {
  color: var(--link-hover);
}

.privacy-text {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  display: grid;
  gap: 1rem;
}

.privacy-compact {
  padding-top: 0;
  padding-bottom: 2rem;
}

.privacy-strip {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid var(--border);
}

.privacy-strip-badge {
  flex-shrink: 0;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(147, 197, 253, 0.35);
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.privacy-strip p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted-soft);
  line-height: 1.45;
}

.privacy-strip a {
  color: var(--link);
}

.footer {
  padding: 2rem 5vw 3rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted-soft);
  font-size: 0.9rem;
}

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

.footer a { color: var(--link); text-decoration: none; }

.legal-page .header { position: sticky; }
.legal-main {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 5vw 4rem;
}

.legal-main h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.75rem;
  color: var(--text);
}

.legal-meta {
  color: var(--muted-soft);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-main section {
  margin-bottom: 1.75rem;
}

.legal-main h2 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  margin-top: 1.25rem;
  color: var(--text);
}

.legal-main h3 {
  font-size: 1rem;
  margin: 1rem 0 0.5rem;
  color: var(--text);
}

.legal-main ol {
  padding-left: 1.35rem;
  margin-bottom: 0.75rem;
}

.legal-main ol li {
  margin-bottom: 0.5rem;
}

.legal-box {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 2rem;
  font-size: 0.88rem;
}

.legal-nav a { color: var(--link); }

.legal-main code {
  font-size: 0.85em;
  background: rgba(15, 23, 42, 0.6);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.legal-main ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.legal-main a { color: var(--link); }

/* SEO-лендинг: счёт, накладная, акт */
.doc-landing {
  max-width: 52rem;
}

.doc-breadcrumb {
  font-size: 0.85rem;
  color: var(--muted-soft);
  margin-bottom: 1rem;
}

.doc-breadcrumb a {
  color: var(--link);
  text-decoration: none;
}

.doc-breadcrumb a:hover {
  color: var(--link-hover);
}

.doc-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.doc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 2.5rem;
}

.doc-cta-bottom {
  margin-top: 2rem;
  margin-bottom: 0;
}

.doc-types {
  margin-bottom: 2rem;
}

.doc-grid {
  margin-top: 1.25rem;
}

.doc-grid .card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.doc-grid .card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.doc-grid .card a {
  color: var(--link);
}

.doc-faq-wrap {
  padding: 1.5rem 1.25rem;
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid var(--border);
  margin-top: 2rem;
}

.doc-faq-wrap h2 {
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .doc-cta-row .btn-lg {
    width: 100%;
  }
}
.legal-back { margin-top: 2rem; }

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  max-width: min(640px, calc(100vw - 2rem));
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.cookie-banner p {
  flex: 1;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  min-width: 200px;
}

.cookie-banner a { color: var(--link); }

.cookie-banner[hidden] { display: none !important; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

@media (min-width: 901px) {
  .hero-visual .phone-stage {
    transform: translateX(-6%);
  }
}

@media (max-width: 1100px) {
  .nav a { font-size: 0.85rem; }
  .nav { gap: 0.85rem; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 2rem; padding-bottom: 3rem; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { width: 100%; padding-bottom: 0.5rem; }
  .phone-stage {
    width: min(300px, 88vw);
    margin-top: 1rem;
    perspective: none;
    transform-style: flat;
  }
  .phone-mockup {
    --rx: 0deg;
    --ry: 0deg;
    --tz: 0px;
    transform: none !important;
    will-change: auto;
  }
  .phone-float { animation: none; }
  .phone-glow { opacity: 0.55; }
  .phone-screen-shine { opacity: 0.25; }
  .phone-screen { touch-action: pan-y; }
  .phone-slide--ui { font-size: 11px; }
  .phone-demo-legend { display: flex; }
  .phone-demo-caption { display: none; }
  .phone-demo-hint { font-size: 0.85rem; color: #cbd5e1; }
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(4.75rem + env(safe-area-inset-top, 0px)) 5vw 2rem;
    background: #0f172a;
    z-index: 150;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: none;
    box-shadow: none;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 1rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #f8fafc;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  }
  .nav a:hover,
  .nav a:active {
    color: #fff;
  }
  .burger {
    display: block;
    z-index: 220;
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: -12px -8px -12px 0;
    padding: 12px 8px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .burger span,
  .burger::before,
  .burger::after {
    left: 8px;
    width: calc(100% - 16px);
  }
  .header {
    z-index: 200;
    isolation: isolate;
  }
  .header .logo {
    position: relative;
    z-index: 160;
  }
  .header.menu-open {
    background: #0f172a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* Кнопка профиля скрыта в шапке — ссылки «Чат» / кабинет внутри меню */
  .header > .btn-primary { display: none; }
  .header.menu-open > .btn-primary {
    display: none;
  }
  .nav a[hidden] { display: none !important; }
  .nav a#nav-chat-link,
  .nav a#nav-cabinet-link {
    color: #93c5fd;
    font-weight: 700;
  }
}

/* Конструктор: React-контент не перекрывает бургер */
.constructor-page .header {
  position: sticky;
  top: 0;
  z-index: 10000;
}
.constructor-page .constructor-main,
.constructor-page #app {
  position: relative;
  z-index: 1;
}

body.nav-open {
  overflow: hidden;
}

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

@media (prefers-reduced-motion: reduce) {
  .phone-float,
  .phone-glow,
  .phone-screen-shine {
    animation: none !important;
  }
  .phone-mockup { transition: none; }
  .phone-slides-track { transition: none !important; }
}

/* FAQ — SEO-блок с ключевыми запросами */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.25rem 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 0;
  list-style: none;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--muted-soft);
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.faq-item a { color: var(--link); }

/* Тарифы */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  border-radius: 24px;
  padding: 1.65rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card-top {
  text-align: center;
  margin-bottom: 1.15rem;
}

.pricing-tier-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.pricing-tier-tag--pro {
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.35);
}

.pricing-tier-tag--plus {
  background: rgba(250, 204, 21, 0.12);
  color: #fde047;
  border-color: rgba(250, 204, 21, 0.35);
}

.pricing-icon {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

/* Free — сдержанный, «входной» */
.pricing-card--free {
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.pricing-card--free:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.pricing-card--free .pricing-features li::before {
  color: #94a3b8;
}

.pricing-price--free {
  color: #e2e8f0 !important;
}

/* PRO — акцент, приподнят */
.pricing-card--pro {
  background: linear-gradient(165deg, rgba(37, 99, 235, 0.22) 0%, rgba(30, 41, 59, 0.85) 45%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid rgba(96, 165, 250, 0.55);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.2),
    0 24px 48px -16px rgba(37, 99, 235, 0.35);
  transform: scale(1.04);
  z-index: 2;
}

.pricing-card--pro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(96, 165, 250, 0.25), transparent 60%);
  pointer-events: none;
}

.pricing-card--pro:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.3),
    0 28px 56px -12px rgba(37, 99, 235, 0.45);
}

/* PRO+ — премиум, золото + фиолетовый */
.pricing-card--plus {
  background: linear-gradient(165deg, rgba(124, 58, 237, 0.18) 0%, rgba(30, 41, 59, 0.8) 40%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid rgba(250, 204, 21, 0.4);
  box-shadow: 0 20px 40px -16px rgba(124, 58, 237, 0.25);
}

.pricing-card--plus::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(250, 204, 21, 0.12), transparent 55%);
  pointer-events: none;
}

.pricing-card--plus:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -12px rgba(250, 204, 21, 0.2);
}

.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  z-index: 1;
}

.pricing-badge--plus {
  background: linear-gradient(135deg, #a16207, #facc15);
  color: #1e293b;
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.35);
}

.pricing-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.pricing-card--pro h3 {
  background: linear-gradient(90deg, #fff, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-card--plus h3 {
  background: linear-gradient(90deg, #fde047, #f8fafc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-price {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.15;
  margin: 0;
}

.pricing-price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted-soft);
}

.pricing-price--plus {
  background: linear-gradient(90deg, #fde047, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-price--plus span {
  color: #94a3b8;
  background: none;
  -webkit-background-clip: unset;
}

.pricing-audience {
  font-size: 0.88rem;
  color: var(--muted-soft);
  margin: 0.35rem 0 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  flex: 1;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-top: 1rem;
}

.pricing-card--pro .pricing-features {
  border-top-color: rgba(147, 197, 253, 0.2);
}

.pricing-card--plus .pricing-features {
  border-top-color: rgba(250, 204, 21, 0.2);
}

.pricing-features li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #86efac;
  font-weight: 700;
}

.pricing-card--plus .pricing-features li::before {
  color: #fde047;
}

.pricing-trial {
  font-size: 0.82rem;
  color: #93c5fd;
  text-align: center;
  margin: 0 0 0.85rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(147, 197, 253, 0.25);
}

.pricing-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-top: auto;
  text-decoration: none;
}

.pricing-cta--plus {
  background: linear-gradient(135deg, #ca8a04, #facc15);
  color: #1e293b;
  border: none;
  font-weight: 800;
}

.pricing-cta--plus:hover {
  filter: brightness(1.08);
  color: #0f172a;
}

/* Отзывы */
.reviews-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 2.25rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(250, 204, 21, 0.06));
  border: 1px solid var(--border);
}

.reviews-box-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.reviews-box-head h2 {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.reviews-box-head p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.review-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  text-align: left;
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.review-card-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.review-card-date {
  font-size: 0.75rem;
  color: var(--muted-soft);
  white-space: nowrap;
}

.review-stars {
  color: var(--gold);
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.review-stars .dim { color: rgba(250, 204, 21, 0.25); }

.review-card-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  white-space: pre-wrap;
}

.reviews-empty {
  grid-column: 1 / -1;
  color: var(--muted-soft);
  font-size: 0.95rem;
  text-align: center;
  padding: 1.5rem 0;
}

/* Диалог отправки отзыва (нейтральные имена — не блокируются AdBlock) */
.goc-dialog {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.goc-dialog[hidden]:not(.is-open) {
  display: none !important;
}

.goc-dialog.is-open {
  display: flex !important;
}

body.goc-dialog-open {
  overflow: hidden;
}

.goc-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(4px);
}

.goc-dialog-panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: 20px;
  background: #1e293b;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.goc-dialog-panel h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-right: 2rem;
}

.goc-dialog-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.goc-dialog-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.goc-feedback-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.star-rating {
  display: flex;
  gap: 0.15rem;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.star-rating .star {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(250, 204, 21, 0.28);
  padding: 0 0.1rem;
  transition: color 0.15s, transform 0.15s;
}

.star-rating .star.active {
  color: var(--gold);
}

.star-rating .star:not(.active) {
  color: rgba(250, 204, 21, 0.28);
}

.star-rating .star:hover {
  transform: scale(1.1);
}

.goc-feedback-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.goc-feedback-form .field span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-soft);
}

.goc-feedback-form .field em {
  color: #fca5a5;
  font-style: normal;
}

.goc-feedback-form input,
.goc-feedback-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.goc-feedback-form input:focus,
.goc-feedback-form textarea:focus {
  outline: none;
  border-color: rgba(147, 197, 253, 0.6);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.goc-feedback-note {
  font-size: 0.75rem;
  color: var(--muted-soft);
  line-height: 1.45;
}

.goc-feedback-note a {
  color: var(--link);
}

.goc-feedback-msg {
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.goc-feedback-msg.ok { color: #86efac; }
.goc-feedback-msg.err { color: #fca5a5; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .pricing-card--pro {
    transform: none;
    order: -1;
  }
  .pricing-card--pro:hover {
    transform: translateY(-4px);
  }
}
  .reviews-box { padding: 1.5rem 1.25rem; }
  .reviews-box-head { flex-direction: column; align-items: stretch; }
  .reviews-box-head .btn { width: 100%; }
  .reviews-grid { grid-template-columns: 1fr; }
  .privacy-strip { flex-direction: column; align-items: flex-start; }
}
