/* dolphinshop.cc — press1.bot-inspired dark aesthetic */

:root {
  --bg: #030305;
  --bg-elevated: #0a0a0f;
  --bg-card: #0e0e14;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text: #fafafa;
  --text-muted: #71717a;
  --text-dim: #52525b;
  --accent: #a855f7;
  --accent-2: #ec4899;
  --accent-3: #c084fc;
  --accent-glow: rgba(168, 85, 247, 0.18);
  --green: #34d399;
  --red: #f87171;
  --radius: 20px;
  --radius-sm: 10px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --container: 1120px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.12), transparent),
    radial-gradient(1px 1px at 30% 65%, rgba(168, 85, 247, 0.15), transparent),
    radial-gradient(1px 1px at 70% 15%, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(1px 1px at 85% 80%, rgba(236, 72, 153, 0.1), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.05), transparent);
  background-size: 100% 100%;
}

main { position: relative; z-index: 1; }
.header { z-index: 100; }

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Noise overlay */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  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");
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 6, 8, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 0 8px rgba(232, 121, 249, 0.55)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.35));
}

.login-logo .logo-icon {
  width: 44px;
  height: 44px;
}

.logo-mark {
  display: none;
}

.logo-tld {
  color: var(--accent);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 0 36px rgba(168, 85, 247, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-hover);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(168, 85, 247, 0.06);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover { color: var(--text); }

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: calc(var(--header-h) + 5rem) 0 4rem;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.12) 0%, rgba(236, 72, 153, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-3);
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #c084fc 0%, var(--accent) 40%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-sub em {
  color: var(--text-dim);
  font-style: normal;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Stats card — press1.bot glass + waveform */
.stats-card {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(255, 255, 255, 0.04) 50%, rgba(236, 72, 153, 0.15));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(168, 85, 247, 0.06);
}

.stats-card-inner {
  position: relative;
  background: rgba(10, 10, 16, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: calc(var(--radius) - 1px);
  overflow: hidden;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem 2rem 3.5rem;
  position: relative;
  z-index: 2;
}

.stat-value {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat-value .counter {
  display: inline-block;
  transition: text-shadow 0.4s ease;
}

.stat-value .counter.counted {
  text-shadow: 0 0 24px rgba(168, 85, 247, 0.35);
}

.stat-static {
  background: linear-gradient(135deg, #c084fc, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-top: 0.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stats-waveform {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1;
  mask-image: linear-gradient(to top, black 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 30%, transparent 100%);
  pointer-events: none;
}

.waveform-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 100%;
  padding: 0 1.5rem 0.5rem;
}

.waveform-bar {
  flex: 1;
  max-width: 6px;
  min-height: 4px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(168, 85, 247, 0.9), rgba(236, 72, 153, 0.5));
  opacity: 0.7;
  transform-origin: bottom;
  animation: wavePulse var(--wave-dur, 1.2s) ease-in-out infinite alternate;
  animation-delay: var(--wave-delay, 0s);
}

@keyframes wavePulse {
  0% { transform: scaleY(0.3); opacity: 0.4; }
  100% { transform: scaleY(1); opacity: 0.85; }
}

/* Diamond divider */
.feature-divider {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 860px;
  margin: 2rem auto 0;
  padding: 0 1rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
}

.divider-diamond {
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
  flex-shrink: 0;
  margin: 0 0.75rem;
}

/* Marquee */
.marquee-wrap {
  margin-top: 1.75rem;
  overflow: hidden;
  padding: 0.9rem 0;
  position: relative;
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
}

.marquee span {
  padding-right: 2rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.marquee-dot {
  color: rgba(168, 85, 247, 0.4);
  padding: 0 0.5rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: #d8b4fe;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
  max-width: 480px;
}

/* Phone demo */
.demo-section {
  position: relative;
}

.demo-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.phone-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.phone-glow {
  position: absolute;
  inset: -40px;
  border-radius: 60px;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.phone-glow.active {
  opacity: 1;
  animation: phoneGlowPulse 2s ease-in-out infinite;
}

@keyframes phoneGlowPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.04); opacity: 1; }
}

.phone {
  position: relative;
  width: 290px;
  margin: 0 auto;
  background: linear-gradient(145deg, #222228 0%, #141418 50%, #1a1a20 100%);
  border-radius: 44px;
  padding: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(168, 85, 247, 0.08);
}

.phone-island {
  width: 90px;
  height: 26px;
  background: #000;
  border-radius: 20px;
  margin: 0 auto 6px;
  position: relative;
}

.phone-island::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1a1a22, #0a0a0e);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-notch { display: none; }

.phone-brand {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.phone-status {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.phone-screen {
  background: linear-gradient(180deg, #12141c 0%, #080a0e 100%);
  border-radius: 34px;
  min-height: 500px;
  padding: 1.25rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.phone-state {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: phoneFadeIn 0.35s ease;
}

@keyframes phoneFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.phone-screen.incoming-active {
  background: linear-gradient(180deg, #14101c 0%, #0a0810 100%);
}

.phone-screen.call-active {
  background: linear-gradient(180deg, #101218 0%, #080a0e 100%);
}

.phone-idle-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.phone-idle-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.phone-idle-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.incoming-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.caller-avatar-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.caller-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.4);
  animation: callerRing 2.4s ease-out infinite;
}

.caller-ring-2 { animation-delay: 0.8s; }
.caller-ring-3 { animation-delay: 1.6s; }

@keyframes callerRing {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

.caller-avatar {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.35);
}

.caller-avatar.sm {
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
}

.caller-name {
  font-weight: 700;
  font-size: 1rem;
}

.caller-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.incoming-actions {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.call-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.call-btn:hover { transform: scale(1.08); }

.call-btn.decline {
  background: var(--red);
  color: #fff;
}

.call-btn.accept {
  background: var(--accent);
  color: #fff;
}

.call-timer {
  font-size: 0.85rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.5rem;
}

.ivr-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}

.dialpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  width: 100%;
  max-width: 210px;
  margin-bottom: 1rem;
}

.dial-key {
  aspect-ratio: 1;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  font-family: inherit;
}

.dial-num {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.1;
}

.dial-letters {
  font-size: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  line-height: 1;
  min-height: 0.55rem;
}

.dial-key:hover { background: rgba(255, 255, 255, 0.12); }

.dial-key.highlight {
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent);
}

.dial-key.pressed {
  background: var(--accent);
  color: #000;
  transform: scale(0.95);
}

.ended-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.ended-title {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.ended-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hidden { display: none !important; }

/* 3CX incoming call screen — desktop softphone style */
.phone-screen.tcx-active {
  background: linear-gradient(180deg, #1a2332 0%, #0f1620 55%, #0a1018 100%);
  justify-content: flex-start;
  padding: 0.85rem 0.75rem 1.25rem;
}

.phone-3cx {
  gap: 0;
  align-items: stretch;
  min-height: 100%;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.tcx-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.15rem 0.35rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.85rem;
}

.tcx-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.tcx-brand-mark {
  flex-shrink: 0;
  border-radius: 5px;
}

.tcx-brand-text {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #00b386;
}

.tcx-app-title {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.tcx-incoming-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  animation: tcxPanelIn 0.35s ease;
}

@keyframes tcxPanelIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tcx-status-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.tcx-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00b386;
  animation: tcxDotPulse 1.4s ease-in-out infinite;
}

@keyframes tcxDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.tcx-status-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #00b386;
}

.tcx-route {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 1.1rem;
  letter-spacing: 0.01em;
}

.tcx-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tcx-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 179, 134, 0.45);
  animation: tcxRing 2.2s ease-out infinite;
}

.tcx-ring-2 { animation-delay: 0.73s; }
.tcx-ring-3 { animation-delay: 1.46s; }

@keyframes tcxRing {
  0% { transform: scale(0.88); opacity: 0.65; }
  100% { transform: scale(1.55); opacity: 0; }
}

.tcx-avatar {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2a3548 0%, #1e2736 100%);
  border: 2px solid rgba(0, 179, 134, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.tcx-caller-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tcx-caller-number {
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.3rem;
}

.tcx-call-type {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 1.35rem;
}

.tcx-actions {
  display: flex;
  gap: 2.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.tcx-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: transform 0.15s;
}

.tcx-action:hover { transform: scale(1.06); }
.tcx-action:active { transform: scale(0.96); }

.tcx-action-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.tcx-action-decline {
  background: linear-gradient(180deg, #ef5350 0%, #d32f2f 100%);
}

.tcx-action-accept {
  background: linear-gradient(180deg, #00c896 0%, #00a070 100%);
  animation: tcxAcceptGlow 1.8s ease-in-out infinite;
}

@keyframes tcxAcceptGlow {
  0%, 100% { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(0, 179, 134, 0.35); }
  50% { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(0, 179, 134, 0); }
}

.tcx-action-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

/* 3CX connecting / bridged state */
.tcx-connecting-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 2rem 0.5rem;
  animation: tcxPanelIn 0.3s ease;
}

.tcx-connecting-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 179, 134, 0.12);
  border: 2px solid rgba(0, 179, 134, 0.4);
  color: #00b386;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  animation: tcxConnectPulse 1.2s ease-in-out infinite;
}

@keyframes tcxConnectPulse {
  0%, 100% { transform: scale(1); border-color: rgba(0, 179, 134, 0.4); }
  50% { transform: scale(1.04); border-color: rgba(0, 179, 134, 0.7); }
}

.tcx-connecting-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.tcx-connecting-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 1.25rem;
}

.tcx-connecting-bar {
  width: 140px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.tcx-connecting-fill {
  display: block;
  height: 100%;
  width: 35%;
  border-radius: 999px;
  background: #00b386;
  animation: tcxBarSlide 1.1s ease-in-out infinite;
}

@keyframes tcxBarSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(320%); }
}

.demo-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.demo-step {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  position: relative;
}

.demo-step.active {
  background: rgba(168, 85, 247, 0.04);
  border-color: rgba(168, 85, 247, 0.2);
  transform: translateX(4px);
}

.demo-step.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 0 2px 2px 0;
}

.step-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.demo-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.35rem 0 0.25rem;
}

.demo-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
  margin-inline: auto;
}

.cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.card-link .card-cta {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.page-hero-compact {
  padding-top: 7rem;
}

@media (max-width: 900px) {
  .cards-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Shop grids — unified price-card layout */
.shop-block {
  margin-bottom: 3rem;
}

.shop-addons {
  margin-top: 4rem;
}

.section-head-compact {
  margin-bottom: 2rem;
}

.shop-addons-grid {
  margin-top: 2rem;
}

.shop-block:last-of-type {
  margin-bottom: 0;
}

.shop-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.shop-grid-access {
  grid-template-columns: repeat(3, 1fr);
}

.shop-grid-services {
  grid-template-columns: repeat(6, 1fr);
}

.shop-grid-services .price-card:nth-child(1),
.shop-grid-services .price-card:nth-child(2),
.shop-grid-services .price-card:nth-child(3) {
  grid-column: span 2;
}

.shop-grid-services .price-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.shop-grid-services .price-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.shop-icon { display: none; }

.price-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.35rem;
}

.section-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

.card-kicker {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.card-icon { display: none; }

.btn-inquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, filter 0.2s;
  font-family: inherit;
}

.btn-inquire:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.price-card.popular .btn-inquire,
.btn-inquire-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow);
}

.price-card.popular .btn-inquire:hover,
.btn-inquire-primary:hover {
  filter: brightness(1.08);
  background: var(--accent);
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.price-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.price-card .btn-crypto {
  margin-top: auto;
}

.card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.card.featured {
  border-color: rgba(168, 85, 247, 0.25);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.06) 0%, var(--bg-card) 100%);
}

.card-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Split feature list */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.split h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #d8b4fe;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.4' fill='none' stroke='%23a855f7' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.feature-list .check { display: none; }

/* Comparison table */
.compare-wrap {
  max-width: 900px;
  margin-inline: auto;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(255, 255, 255, 0.04) 50%, rgba(168, 85, 247, 0.1));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.compare {
  border: none;
  border-radius: calc(var(--radius) - 1px);
  overflow: hidden;
  background: rgba(10, 10, 16, 0.92);
  backdrop-filter: blur(16px);
}

.compare-header,
.compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  align-items: center;
}

.compare-header {
  background: rgba(168, 85, 247, 0.06);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.compare-feature-col { color: var(--text-dim); }

.compare-us {
  color: var(--accent-3);
  text-align: right;
}

.compare-them { text-align: right; }

.compare-row {
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  transition: background 0.2s;
}

.compare-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.compare-row:last-child { border-bottom: none; }

.compare-label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.85rem;
}

.compare-bad,
.compare-good {
  text-align: right;
  line-height: 1.45;
}

.compare-tag {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.15rem;
}

.compare-tag.us { color: var(--accent); }

.compare-bad {
  color: var(--text-dim);
}

.compare-good {
  color: var(--text);
  position: relative;
}

.compare-good::after {
  content: "";
  position: absolute;
  inset: -0.9rem -1.5rem -0.9rem -0.25rem;
  background: rgba(168, 85, 247, 0.04);
  z-index: -1;
  border-radius: 0;
}

.compare-bad::before,
.compare-good::before {
  display: none;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.pricing-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin-inline: auto;
}

.price-card.popular {
  border-color: rgba(168, 85, 247, 0.45);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08) 0%, var(--bg-card) 100%);
  box-shadow: 0 0 48px rgba(168, 85, 247, 0.14);
  transform: scale(1.02);
}

.price-card.popular:hover {
  transform: scale(1.02) translateY(-2px);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: auto;
  transform: none;
  padding: 0.25rem 0.65rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
}

.price-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 0.5rem 0 1.25rem;
}

.price-card ul {
  margin-bottom: 1.5rem;
  list-style: none;
  padding: 0;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}

.price-card li:last-child { border-bottom: none; }

.price-card li::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.4' fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pricing-footer {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-footer a {
  color: var(--accent);
}

.pricing-footer a:hover {
  text-decoration: underline;
}

.shop-group-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
  text-align: center;
}

/* Crypto bar */
.crypto-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.06), rgba(99, 102, 241, 0.06));
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: var(--radius);
}

.crypto-bar-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.crypto-coins {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.coin {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.coin-muted {
  color: var(--text-dim);
  font-weight: 500;
}

.crypto-bar-powered {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Crypto buy button */
.btn-crypto {
  background: linear-gradient(135deg, #f7931a 0%, #ffb347 50%, #f7931a 100%);
  color: #0a0a0a;
  font-weight: 700;
  border: none;
  box-shadow: 0 0 20px rgba(247, 147, 26, 0.2);
}

.btn-crypto:hover {
  box-shadow: 0 0 28px rgba(247, 147, 26, 0.35);
  transform: translateY(-1px);
}

/* Checkout modal */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.checkout-modal.open {
  opacity: 1;
  visibility: visible;
}

.checkout-panel {
  position: relative;
  width: min(100%, 420px);
  padding: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s;
}

.checkout-modal.open .checkout-panel {
  transform: translateY(0) scale(1);
}

.checkout-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
}

.checkout-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.checkout-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.checkout-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.checkout-usdt-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent);
}

.checkout-header h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.checkout-header p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.checkout-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-control button {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}

.qty-control button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.qty-control input {
  width: 48px;
  height: 36px;
  border: none;
  border-inline: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.checkout-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.checkout-summary span:first-child {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkout-total {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.checkout-field {
  display: block;
  margin-bottom: 1rem;
}

.checkout-field span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.checkout-field small {
  font-weight: 400;
  color: var(--text-dim);
}

.checkout-field input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.checkout-field input:focus {
  outline: none;
  border-color: var(--accent);
}

.checkout-crypto-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.checkout-crypto-note span {
  font-size: 0.85rem;
  opacity: 0.7;
}

.checkout-error {
  font-size: 0.8rem;
  color: var(--red);
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: rgba(248, 113, 113, 0.1);
  border-radius: var(--radius-sm);
}

.checkout-panel .btn + .btn {
  margin-top: 0.5rem;
}

/* Payment result pages */
.payment-result {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.payment-result-card {
  max-width: 440px;
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.payment-result-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
}

.payment-result-icon.success {
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent);
}

.payment-result-icon.cancel {
  background: rgba(248, 113, 113, 0.15);
  color: var(--red);
}

.payment-result-card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.payment-result-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.payment-order-id {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: monospace;
}

.payment-result-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stars {
  color: #fbbf24;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.testimonial p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.testimonial footer {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* CTA */
.cta-section {
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer a:last-child {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer a:last-child:hover { color: var(--accent); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
  .shop-grid-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-grid-services .price-card:nth-child(n) {
    grid-column: auto;
  }

  .shop-grid-access {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .nav, .header-actions { display: none; }

  .menu-toggle { display: flex; }

  .header.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .header.nav-open .header-actions {
    display: flex;
    position: absolute;
    top: calc(var(--header-h) + 140px);
    left: 1rem;
    right: 1rem;
  }

  .stats { grid-template-columns: repeat(2, 1fr); }

  .demo-grid,
  .split,
  .cards-grid,
  .cards-grid-3,
  .cards-grid-4,
  .shop-grid,
  .shop-grid-services,
  .shop-grid-access,
  .pricing-grid,
  .pricing-grid-2,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .price-card.popular { transform: none; }

  .compare-header,
  .compare-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
  }

  .compare-header .compare-feature-col { display: none; }

  .compare-label {
    font-size: 0.9rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.25rem;
  }

  .compare-bad,
  .compare-good {
    text-align: left;
    padding-left: 0.25rem;
  }

  .compare-good::after { display: none; }

  .compare-them,
  .compare-us { text-align: left; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; padding: 1.25rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .routes-panel { grid-template-columns: 1fr; }
  .routes-diagram { flex-wrap: wrap; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Polish v7 ─────────────────────────────────────────────── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 1001;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 16px var(--accent-glow);
  pointer-events: none;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 22s ease-in-out infinite alternate;
}

.orb-1 {
  width: 480px;
  height: 480px;
  top: -8%;
  left: 15%;
  background: rgba(168, 85, 247, 0.22);
}

.orb-2 {
  width: 360px;
  height: 360px;
  top: 40%;
  right: -5%;
  background: rgba(236, 72, 153, 0.14);
  animation-delay: -8s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  bottom: 5%;
  left: 30%;
  background: rgba(192, 132, 252, 0.12);
  animation-delay: -14s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.08); }
}

.header.scrolled {
  background: rgba(3, 3, 5, 0.92);
  border-bottom-color: rgba(168, 85, 247, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.nav a {
  position: relative;
}

.nav a.active {
  color: var(--text);
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--spot-x, 50%) var(--spot-y, 30%),
    rgba(168, 85, 247, 0.09),
    transparent 55%
  );
}

.badge {
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 rgba(168, 85, 247, 0); }
  50% { box-shadow: 0 0 24px rgba(168, 85, 247, 0.15); }
}

.card-interactive {
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.card-interactive::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(168, 85, 247, 0.1), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.card-interactive:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 32px rgba(168, 85, 247, 0.06);
}

.card-interactive:hover::after { opacity: 1; }

.card-num {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }

.demo-step {
  cursor: pointer;
  user-select: none;
}

.demo-step:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Direct routes panel */
.routes-section {
  padding-top: 2rem;
}

.routes-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(168, 85, 247, 0.15);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(10, 10, 16, 0.9));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.routes-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #d8b4fe;
  margin: 0.5rem 0 1rem;
}

.routes-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.route-chip {
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.25);
  background: rgba(168, 85, 247, 0.08);
  color: var(--accent-3);
}

.routes-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
}

.route-node {
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: var(--bg-card);
  min-width: 88px;
  text-align: center;
}

.route-active {
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-3);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.15);
}

.route-backup {
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.route-connector {
  flex: 1;
  max-width: 48px;
  height: 2px;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.4), rgba(168, 85, 247, 0.1));
  position: relative;
}

.route-pulse {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: routePulse 2s ease-in-out infinite;
}

.route-pulse.delay { animation-delay: 1s; }

@keyframes routePulse {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}

/* Testimonials */
.testimonial.card-interactive {
  backdrop-filter: blur(8px);
}

.stars {
  display: flex;
  gap: 0.15rem;
  color: #fbbf24;
  margin-bottom: 1rem;
}

/* CTA glow */
.cta-section::before {
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.14) 0%, transparent 65%);
}

.cta-section .btn-primary {
  animation: ctaGlow 3s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 24px var(--accent-glow); }
  50% { box-shadow: 0 0 40px rgba(168, 85, 247, 0.35); }
}

/* Footer */
.footer {
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 16, 0.6));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.footer-tagline {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 280px;
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent-3); }

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Login page polish */
.login-wrap {
  position: relative;
}

.login-wrap::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(168, 85, 247, 0.12), transparent),
    radial-gradient(ellipse 40% 30% at 100% 80%, rgba(236, 72, 153, 0.08), transparent);
}

.login-card {
  border-color: rgba(168, 85, 247, 0.15);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 48px rgba(168, 85, 247, 0.06);
}

.login-card h1 {
  background: linear-gradient(135deg, #fff, #d8b4fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 960px) {
  .nav a.active::after { display: none; }
  .routes-panel { grid-template-columns: 1fr; text-align: center; }
  .routes-chips { justify-content: center; }
}
