/* ============================================================
   TPlus Auto-Prepare · Landing
   Theme: "Aurora" — flowing mesh gradients over deep space blue.
   ============================================================ */

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #070918;
  --bg-2: #0a0e20;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-hover: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.1);
  --stroke-soft: rgba(255, 255, 255, 0.06);
  --text: #eef1ff;
  --muted: #9aa4c8;
  --violet: #7c5cff;
  --purple: #c026d3;
  --cyan: #22d3ee;
  --teal: #2dd4bf;
  --pink: #f472b6;
  --gold: #fbbf24;
  --grad: linear-gradient(115deg, #7c5cff 0%, #c026d3 45%, #22d3ee 100%);
  --grad-warm: linear-gradient(115deg, #f472b6, #fbbf24);
  --radius: 20px;
  --radius-sm: 14px;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.75);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background: var(--violet);
  color: #fff;
}

/* ------- background layers ------- */

.mesh,
.vignette,
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.mesh {
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  mix-blend-mode: screen;
  will-change: transform;
}

.blob-1 {
  width: 680px;
  height: 680px;
  top: -200px;
  left: -180px;
  background: radial-gradient(circle, #5128e0, transparent 70%);
  opacity: 0.55;
  animation: drift-a 26s var(--ease) infinite alternate;
}

.blob-2 {
  width: 600px;
  height: 600px;
  top: 4%;
  right: -160px;
  background: radial-gradient(circle, #0891b2, transparent 70%);
  opacity: 0.5;
  animation: drift-b 32s var(--ease) infinite alternate-reverse;
}

.blob-3 {
  width: 560px;
  height: 560px;
  bottom: -180px;
  left: 24%;
  background: radial-gradient(circle, #a21caf, transparent 70%);
  opacity: 0.42;
  animation: drift-c 38s var(--ease) infinite alternate;
}

.blob-4 {
  width: 420px;
  height: 420px;
  top: 42%;
  left: -120px;
  background: radial-gradient(circle, #22d3ee, transparent 70%);
  opacity: 0.32;
  animation: drift-a 30s var(--ease) infinite alternate-reverse;
}

@keyframes drift-a {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(60px, 40px, 0) scale(1.15);
  }
}

@keyframes drift-b {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-70px, 50px, 0) scale(1.1);
  }
}

@keyframes drift-c {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(50px, -60px, 0) scale(1.2);
  }
}

.vignette {
  z-index: 1;
  background: radial-gradient(
      120% 90% at 50% 0%,
      transparent 42%,
      rgba(4, 5, 16, 0.55) 100%
    ),
    linear-gradient(180deg, rgba(4, 5, 16, 0.35), transparent 30%, transparent 75%, rgba(4, 5, 16, 0.6));
}

.grain {
  z-index: 2;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

/* ------- layout ------- */

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.container-narrow {
  width: min(820px, 92%);
}

main,
header {
  position: relative;
  z-index: 3;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-tint {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.02) 18%,
    rgba(255, 255, 255, 0.02) 82%,
    transparent
  );
  border-top: 1px solid var(--stroke-soft);
  border-bottom: 1px solid var(--stroke-soft);
}

/* ------- typography ------- */

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  color: var(--muted);
}

strong {
  color: var(--text);
  font-weight: 600;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: linear-gradient(115deg, #a78bfa, #22d3ee 70%, #2dd4bf);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 60px;
}

.section-head p {
  margin-top: 16px;
  font-size: 1.04rem;
}

.section-note {
  margin: 18px auto 0;
  max-width: 540px;
}

.muted {
  color: var(--muted);
}

/* ------- nav ------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease),
    border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(7, 9, 24, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--stroke-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 26px -8px rgba(124, 92, 255, 0.7);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-name em {
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  margin-inline-start: 4px;
  font-size: 0.86em;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

/* ------- buttons ------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  padding: 12px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.btn-gradient {
  background: var(--grad);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 14px 36px -12px rgba(124, 92, 255, 0.7);
  animation: grad-move 8s var(--ease) infinite alternate;
}

.btn-gradient:hover {
  box-shadow: 0 20px 46px -12px rgba(124, 92, 255, 0.85);
}

@keyframes grad-move {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

/* ------- hero ------- */

.hero {
  padding: 170px 0 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(45, 212, 191, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
  }
}

.hero-copy h1 {
  margin-bottom: 22px;
}

.serif-accent {
  text-wrap: balance;
}

.lead {
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 34px;
}

.lead-tagline {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.12em;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  max-width: 560px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  font-variant: tabular-nums;
  background: linear-gradient(180deg, #ffffff, #b9c2e6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ------- hero visual · phone ------- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  transform-style: preserve-3d;
}

.halo {
  position: absolute;
  inset: 6% -6%;
  background: conic-gradient(
    from 160deg,
    rgba(124, 92, 255, 0.5),
    rgba(34, 211, 238, 0.4),
    rgba(192, 38, 211, 0.45),
    rgba(124, 92, 255, 0.5)
  );
  filter: blur(70px);
  border-radius: 46% 54% 48% 52%;
  z-index: 0;
  animation: halo-morph 14s var(--ease) infinite alternate;
}

@keyframes halo-morph {
  0% {
    transform: rotate(0deg) scale(1);
    border-radius: 46% 54% 48% 52%;
  }
  100% {
    transform: rotate(14deg) scale(1.1);
    border-radius: 55% 45% 52% 48%;
  }
}

.phone {
  position: relative;
  z-index: 1;
  width: min(330px, 88vw);
  aspect-ratio: 9 / 19;
  border-radius: 42px;
  background: #0a0e20;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease);
}

.phone-ring {
  position: absolute;
  inset: -280%;
  z-index: 2;
  pointer-events: none;
  background: conic-gradient(
    from var(--angle),
    transparent 0deg,
    #7c5cff 80deg,
    #22d3ee 170deg,
    #f472b6 255deg,
    transparent 360deg
  );
  animation: angle-spin 6s linear infinite;
}

@keyframes angle-spin {
  to {
    --angle: 360deg;
  }
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 26px;
  border-radius: 20px;
  background: #05070f;
  z-index: 4;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: radial-gradient(120% 60% at 50% 0%, rgba(124, 92, 255, 0.18), transparent 60%),
    linear-gradient(180deg, #0b1024, #080b18);
  display: flex;
  flex-direction: column;
  padding: 56px 16px 16px;
  gap: 12px;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 6px 18px -4px rgba(124, 92, 255, 0.7);
}

.app-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.app-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.app-sub {
  font-size: 0.7rem;
  color: var(--muted);
}

.app-live {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.3);
  padding: 4px 9px;
  border-radius: 999px;
}

.app-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6);
  animation: pulse-dot 1.4s infinite;
}

.radar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 108px;
  border: 1px dashed var(--stroke);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.radar-core {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px var(--cyan);
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.4);
  animation: radar 2.6s var(--ease) infinite;
}

.radar-ring.r2 {
  animation-delay: 0.9s;
}

.radar-ring.r3 {
  animation-delay: 1.8s;
}

@keyframes radar {
  0% {
    width: 10%;
    height: 10%;
    opacity: 1;
  }
  100% {
    width: 96%;
    height: 96%;
    opacity: 0;
  }
}

.radar-label {
  position: absolute;
  bottom: 10px;
  font-size: 0.64rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke-soft);
  border-radius: 14px;
  padding: 10px 12px;
  opacity: 0;
  transform: translateY(10px);
  animation: msg-in 0.7s var(--ease) forwards;
  animation-delay: calc(var(--i) * 0.75s + 0.4s);
}

@keyframes msg-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tag {
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  border-radius: 7px;
  margin-top: 1px;
}

.tag-new {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.14);
}

.tag-plan {
  color: var(--violet);
  background: rgba(124, 92, 255, 0.16);
}

.tag-prep {
  color: var(--pink);
  background: rgba(244, 114, 182, 0.16);
}

.msg-body {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.msg-body strong {
  font-size: 0.78rem;
}

.msg-body span {
  font-size: 0.68rem;
  color: var(--muted);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: auto;
  padding-top: 4px;
}

.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.68rem;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke-soft);
  opacity: 0;
  transform: translateY(8px);
  animation: msg-in 0.55s var(--ease) forwards;
  animation-delay: calc(2.7s + var(--i) * 0.16s);
}

.check::before {
  content: '';
  width: 15px;
  height: 15px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid var(--teal);
  background: rgba(45, 212, 191, 0.1) center no-repeat;
  background-size: 8px;
}

.check.done::before {
  background-color: rgba(45, 212, 191, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.check.done {
  color: #cdd6f5;
}

/* ------- ticker ------- */

.ticker {
  margin-top: 90px;
  overflow: hidden;
  direction: ltr;
  border-top: 1px solid var(--stroke-soft);
  border-bottom: 1px solid var(--stroke-soft);
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  direction: ltr;
  will-change: transform;
  animation: ticker-loop 28s linear infinite;
}

.ticker-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 30px;
  padding-inline-end: 30px;
}

.ticker-track span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(238, 241, 255, 0.75);
  white-space: nowrap;
  unicode-bidi: plaintext;
}

.ticker-track i {
  color: var(--violet);
  font-style: normal;
  text-shadow: 0 0 14px rgba(124, 92, 255, 0.8);
}

@keyframes ticker-loop {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-33.333333%, 0, 0);
  }
}

/* ------- steps ------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}

.step:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, 0.5);
  background: var(--panel-hover);
  box-shadow: 0 24px 60px -30px rgba(124, 92, 255, 0.5);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(140deg, var(--c1), var(--c2));
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--c1) 70%, transparent);
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  font-size: 0.93rem;
}

/* ------- features ------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}

.feature:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--panel-hover);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  margin-bottom: 18px;
  background: linear-gradient(140deg, var(--c1), var(--c2));
  box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--c1) 65%, transparent);
}

.feature h3 {
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.9rem;
}

/* ------- platforms ------- */

.platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-bottom: 34px;
}

.platform {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.platform:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.24);
}

.platform-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--stroke-soft);
}

.os {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.6);
}

.os-ios {
  background: linear-gradient(150deg, #0891b2, #2563eb);
}

.os-android {
  background: linear-gradient(150deg, #2dd4bf, #16a34a);
}

.os-harmony {
  background: linear-gradient(150deg, #e7354f, #8b1fdb);
}

.os-letter {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
}

.platform-title h3 {
  font-size: 1.4rem;
}

.platform-meta {
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.platform ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.platform li {
  position: relative;
  padding-left: 24px;
  font-size: 0.94rem;
  color: var(--muted);
}

.platform li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.platform li strong {
  color: var(--text);
}

.platform-store-link {
  color: #6552d7;
  font-weight: 700;
  text-decoration: none;
}

.platform-store-link:hover {
  text-decoration: underline;
}

/* ------- route ------- */

.route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.route-chip {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  animation: chip-glow 3.5s var(--ease) infinite;
  animation-delay: calc(var(--i, 0) * 0.5s);
}

.route-chip.chip-hot {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(124, 92, 255, 0.75);
}

.route-arrow {
  color: var(--violet);
  font-weight: 700;
}

@keyframes chip-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(124, 92, 255, 0);
  }
  50% {
    box-shadow: 0 0 22px 0 rgba(124, 92, 255, 0.4);
  }
}

/* ------- FAQ ------- */

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(34, 211, 238, 0.55);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

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

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  font-size: 1.15rem;
  color: var(--cyan);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}

.faq-item[open]:not(.is-closing) summary::after {
  transform: rotate(45deg);
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}

.faq.is-enhanced .faq-answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    height 0.36s var(--ease),
    opacity 0.24s ease;
}

.faq.is-enhanced .faq-item[open]:not(.is-closing) .faq-answer {
  opacity: 1;
}

.faq-item p {
  padding: 0 22px 20px;
  font-size: 0.94rem;
}

.faq-item a {
  color: var(--cyan);
  text-decoration: none;
}

.faq-item a:hover {
  text-decoration: underline;
}

/* ------- CTA ------- */

.cta-wrap {
  padding-bottom: 130px;
}

.cta {
  position: relative;
  text-align: center;
  background: rgba(10, 14, 32, 0.55);
  border: 1px solid var(--stroke);
  border-radius: 26px;
  padding: 76px 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cta-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen;
}

.cta-blob.b1 {
  width: 420px;
  height: 420px;
  top: -160px;
  left: -80px;
  background: radial-gradient(circle, #7c5cff, transparent 70%);
  opacity: 0.6;
  animation: drift-a 18s var(--ease) infinite alternate;
}

.cta-blob.b2 {
  width: 400px;
  height: 400px;
  right: -80px;
  bottom: -160px;
  background: radial-gradient(circle, #22d3ee, transparent 70%);
  opacity: 0.5;
  animation: drift-b 22s var(--ease) infinite alternate-reverse;
}

.cta h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.cta > p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 1.04rem;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.cta .fine {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ------- footer ------- */

.footer {
  border-top: 1px solid var(--stroke-soft);
  background: #05070f;
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--text);
}

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--stroke-soft);
  font-size: 0.82rem;
  color: var(--muted);
}

.heart {
  color: var(--pink);
  animation: beat 1.6s infinite;
  display: inline-block;
}

@keyframes beat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

/* ------- legal pages ------- */

.legal {
  padding: 170px 0 100px;
}

.legal-head {
  margin-bottom: 48px;
}

.legal-head h1 {
  margin-bottom: 10px;
}

.legal-body h2 {
  margin: 34px 0 12px;
  font-size: 1.4rem;
}

.legal-body h2::before {
  content: '§ ';
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-body p {
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.legal-body ul {
  margin: 0 0 12px 20px;
  color: var(--muted);
  font-size: 0.98rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-body li::marker {
  color: var(--violet);
}

.legal-body a {
  color: var(--cyan);
  text-decoration: none;
}

.legal-body a:hover {
  text-decoration: underline;
}

.legal-sign {
  margin-top: 40px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text);
}

/* ------- reveal scroll animation ------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.58s var(--ease), transform 0.58s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

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

/* ------- responsive ------- */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 70px;
    text-align: center;
  }

  .pill {
    justify-content: center;
  }

  .lead,
  .hero-stats {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero {
    padding-top: 140px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .platforms {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
    margin-inline: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .platforms {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 70px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .phone-ring {
    animation: none;
  }
}

/* ============================================================
   Structured landing system
   Section and surface language adapted from the Shareikna site,
   translated into TPlus's existing aurora palette.
   ============================================================ */

:root {
  --bg: #060816;
  --bg-2: #0a0d1e;
  --surface: #0d1126;
  --surface-raised: #11162f;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-hover: rgba(255, 255, 255, 0.075);
  --stroke: rgba(190, 198, 255, 0.14);
  --stroke-soft: rgba(190, 198, 255, 0.075);
  --muted: #a7b0d2;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow-card: 0 24px 70px -34px rgba(0, 0, 0, 0.82);
}

body {
  background: #f7f8ff;
}

body.menu-open {
  overflow: hidden;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.container {
  width: min(1200px, 92%);
}

.container-narrow {
  width: min(880px, 92%);
}

.mesh {
  opacity: 0.58;
}

.legal-page .mesh {
  opacity: 0.34;
}

.section {
  padding: 112px 0;
  overflow: hidden;
  scroll-margin-top: 72px;
}

.section-tint {
  background: none;
  border-top: 0;
  border-bottom: 0;
}

.section-steps {
  background:
    radial-gradient(circle at 8% 22%, rgba(124, 92, 255, 0.13), transparent 28%),
    linear-gradient(180deg, #fbfaff 0%, #f3f0ff 100%);
}

.section-features {
  background:
    radial-gradient(circle at 92% 12%, rgba(34, 211, 238, 0.13), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f2fbff 100%);
  border-top: 1px solid #e3e9f5;
  border-bottom: 1px solid #e3e9f5;
}

.section-platforms {
  background:
    radial-gradient(circle at 12% 78%, rgba(192, 38, 211, 0.1), transparent 28%),
    linear-gradient(180deg, #f8f5ff 0%, #fff8fc 100%);
}

.section-faq {
  background:
    radial-gradient(circle at 88% 88%, rgba(124, 92, 255, 0.12), transparent 32%),
    #f4f6ff;
  border-top: 1px solid #e2e5f3;
}

.section-steps .section-head h2,
.section-features .section-head h2,
.section-platforms .section-head h2,
.section-faq .section-head h2 {
  color: #19162f;
}

.section-steps .section-head p,
.section-features .section-head p,
.section-platforms .section-head p,
.section-faq .section-head p {
  color: #66708f;
}

.section-steps .kicker,
.section-features .kicker,
.section-platforms .kicker,
.section-faq .kicker {
  color: #6552d7;
}

.section-steps .serif-accent,
.section-features .serif-accent,
.section-platforms .serif-accent,
.section-faq .serif-accent {
  background: linear-gradient(115deg, #7255dd, #b832b5 55%, #1187a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(2.25rem, 4.7vw, 3.65rem);
  text-wrap: balance;
}

.section-head p {
  max-width: 640px;
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 1.75;
}

.kicker {
  position: relative;
  padding: 0 0 0 22px;
  margin-bottom: 18px;
  color: var(--cyan);
  background: none;
  border: 0;
  border-radius: 0;
  letter-spacing: 0.13em;
}

.kicker::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--grad);
  transform: translateY(-50%);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.6);
}

/* ------- navigation system ------- */

.nav {
  padding: 16px 0;
}

.nav.scrolled,
.nav.is-menu-open {
  padding: 10px 0;
  background:
    linear-gradient(115deg, rgba(8, 10, 27, 0.94), rgba(23, 18, 55, 0.92));
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  backdrop-filter: blur(20px) saturate(135%);
  border-bottom-color: rgba(167, 139, 250, 0.18);
  box-shadow: 0 12px 34px rgba(2, 3, 12, 0.28);
}

.nav-inner {
  min-height: 48px;
}

.nav-links {
  gap: 2px;
}

.nav-links a {
  padding: 9px 13px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  background: rgba(8, 10, 27, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--stroke);
  transform: translateY(-10px);
  transition: max-height 0.35s var(--ease), opacity 0.25s, transform 0.35s var(--ease), visibility 0.35s;
}

.nav.is-menu-open .nav-mobile {
  max-height: 470px;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 18px;
  padding-bottom: 24px;
}

.nav-mobile a:not(.btn) {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
}

.nav-mobile a:not(.btn):hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-mobile .btn {
  margin-top: 8px;
}

/* ------- hero as a distinct product section ------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 92vh;
  padding: 158px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(34, 211, 238, 0.22), transparent 28%),
    radial-gradient(circle at 12% 82%, rgba(244, 114, 182, 0.16), transparent 28%),
    linear-gradient(135deg, #08081e 0%, #17113c 40%, #35155b 70%, #081a2e 100%);
  background-size: 145% 145%;
  animation: hero-section-shift 18s ease-in-out infinite;
  border-bottom: 1px solid rgba(167, 139, 250, 0.18);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
}

.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  top: -250px;
  right: -120px;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.28);
  filter: blur(80px);
}

@keyframes hero-section-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
}

.hero-copy h1 {
  max-width: 700px;
  font-size: clamp(3rem, 6vw, 5rem);
  text-wrap: balance;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.75;
}

.pill {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-stats {
  gap: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat {
  min-width: 136px;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.phone {
  width: min(342px, 88vw);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 42px 100px -34px rgba(0, 0, 0, 0.92);
}

.ticker {
  margin-top: 78px;
  background: rgba(5, 7, 18, 0.24);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ------- generous cards and text surfaces ------- */

.steps {
  gap: 28px;
}

.step,
.feature,
.platform {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 92, 255, 0.09), transparent 42%),
    linear-gradient(145deg, #ffffff, #fbfaff);
  border: 1px solid rgba(90, 73, 164, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 20px 54px rgba(55, 45, 104, 0.09);
}

.step::after,
.platform::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 170px;
  height: 170px;
  top: -108px;
  right: -88px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(34, 211, 238, 0.12));
  transition: transform 0.45s var(--ease);
}

.step:hover::after,
.platform:hover::after {
  transform: scale(1.22);
}

.step {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 38px 34px;
}

.step:hover,
.feature:hover,
.platform:hover {
  transform: translateY(-6px);
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 92, 255, 0.13), transparent 44%),
    linear-gradient(145deg, #ffffff, #f8f6ff);
  border-color: rgba(112, 86, 210, 0.32);
  box-shadow: 0 28px 68px rgba(55, 38, 120, 0.15);
}

.step h3,
.feature h3,
.platform h3 {
  color: #1d1936;
}

.step p,
.feature p,
.platform li {
  color: #68718f;
}

.step strong,
.feature strong,
.platform strong,
.platform li strong {
  color: #25203f;
}

.step-top {
  margin-bottom: auto;
}

.step-num {
  font-size: 2.45rem;
}

.step-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
}

.step h3 {
  margin-top: 42px;
  font-size: 1.42rem;
}

.step p {
  max-width: 42ch;
  font-size: 0.96rem;
  line-height: 1.7;
}

.features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.feature {
  min-height: 286px;
  padding: 38px 36px;
}

.feature::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0.22);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 42px;
  border-radius: 21px;
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.feature p {
  max-width: 52ch;
  font-size: 0.96rem;
  line-height: 1.7;
}

.platforms {
  gap: 28px;
  margin-bottom: 30px;
}

.platform {
  min-height: 370px;
  padding: 40px 38px;
}

.platform-top {
  margin-bottom: 28px;
  padding-bottom: 26px;
  border-bottom-color: #e8e5f3;
}

.os {
  width: 62px;
  height: 62px;
  border-radius: 20px;
}

.platform-title h3 {
  font-size: 1.65rem;
}

.platform-meta {
  color: #777f9b;
}

.platform ul {
  gap: 16px;
}

.platform li {
  padding-left: 26px;
  font-size: 0.96rem;
  line-height: 1.65;
}

.route {
  padding: 22px;
  gap: 12px;
  background:
    radial-gradient(circle at 0% 100%, rgba(192, 38, 211, 0.06), transparent 34%),
    #ffffff;
  border-color: rgba(90, 73, 164, 0.14);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(55, 45, 104, 0.08);
}

.route-chip {
  padding: 11px 16px;
  border-radius: 12px;
  color: #292341;
  background: #f2f0f9;
  border-color: #e3dfef;
}

.faq {
  gap: 0;
  padding: 16px 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.09), transparent 32%),
    #ffffff;
  border: 1px solid rgba(90, 73, 164, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 20px 58px rgba(55, 45, 104, 0.09);
}

.faq-item,
.faq-item[open] {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #e7e5f0;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  padding: 24px 4px;
  font-size: 1.08rem;
  color: #211c3a;
}

.faq-item p {
  max-width: 680px;
  padding: 0 48px 24px 4px;
  line-height: 1.75;
  color: #68718f;
}

.faq-item summary::after {
  background: #f2f0f9;
  border-color: #e0dceb;
  color: #6a54d9;
}

.faq-item a {
  color: #6552d7;
}

/* ------- download-style CTA and footer ------- */

.cta-wrap {
  padding-top: 96px;
  padding-bottom: 128px;
  background:
    radial-gradient(circle at 8% 12%, rgba(34, 211, 238, 0.1), transparent 26%),
    linear-gradient(180deg, #ffffff, #f3f5ff);
}

.cta {
  padding: 82px 52px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 8%, rgba(34, 211, 238, 0.17), transparent 30%),
    linear-gradient(120deg, #121035, #2b1554 52%, #101e3a);
  background-size: 180% 180%;
  border-color: rgba(167, 139, 250, 0.24);
  box-shadow: 0 32px 90px -32px rgba(45, 22, 105, 0.8);
  animation: hero-section-shift 16s ease-in-out infinite;
}

.cta h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
}

.cta > p {
  line-height: 1.75;
}

.footer {
  position: relative;
  z-index: 3;
  padding-top: 72px;
  background:
    radial-gradient(circle at 14% 0%, rgba(124, 92, 255, 0.22), transparent 30%),
    linear-gradient(180deg, #211746, #100c28);
  border-top-color: rgba(167, 139, 250, 0.16);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.72;
}

.footer-inner {
  gap: 54px;
  padding-bottom: 58px;
}

/* ------- legal pages: navigation box + readable text panel ------- */

.legal {
  padding: 132px 0 112px;
  background:
    radial-gradient(circle at 86% 4%, rgba(124, 92, 255, 0.14), transparent 26%),
    linear-gradient(180deg, #fbfaff, #f2f5ff);
}

.legal-head {
  margin-bottom: 34px;
}

.legal-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 46px;
}

.legal-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-switcher,
.site-language-switcher {
  display: inline-flex;
  direction: ltr;
  gap: 3px;
  padding: 4px;
  background: #ece9f7;
  border: 1px solid rgba(90, 73, 164, 0.12);
  border-radius: 999px;
}

.language-switcher a,
.site-language-switcher a {
  min-width: 72px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #686f8a;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.language-switcher a:hover,
.site-language-switcher a:hover {
  color: #322950;
}

.language-switcher a.active,
.site-language-switcher a.active {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 7px 18px -8px rgba(94, 67, 202, 0.7);
}

.site-language-switcher {
  flex-shrink: 0;
  padding: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.site-language-switcher a {
  min-width: 36px;
  padding: 6px 8px;
  color: #c7cdeb;
  font-size: 0.72rem;
}

.site-language-switcher a:hover {
  color: #fff;
}

.legal-page .nav:not(.scrolled):not(.is-menu-open) {
  background: linear-gradient(115deg, rgba(18, 15, 48, 0.96), rgba(38, 24, 72, 0.94));
  border-bottom-color: rgba(167, 139, 250, 0.18);
  box-shadow: 0 12px 34px rgba(36, 25, 78, 0.14);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6552d7;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.legal-back:hover {
  color: #211b3d;
  transform: translateX(-2px);
}

.legal-updated {
  font-size: 0.78rem;
}

.legal-head h1 {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  color: #19152f;
}

.legal-summary {
  max-width: 560px;
  font-size: 1.02rem;
  color: #68718f;
}

.legal-updated {
  color: #777f9b;
}

.legal .kicker {
  color: #6552d7;
}

.legal .serif-accent {
  background: linear-gradient(115deg, #7255dd, #b832b5 55%, #1187a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-toc {
  margin-bottom: 28px;
  padding: 28px 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.09), transparent 34%),
    #ffffff;
  border: 1px solid rgba(90, 73, 164, 0.14);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(55, 45, 104, 0.08);
}

.legal-toc-label {
  display: block;
  margin-bottom: 16px;
  color: #211c3a;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  list-style: none;
}

.legal-toc a {
  position: relative;
  display: inline-block;
  padding-left: 14px;
  color: #68718f;
  font-size: 0.86rem;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-toc a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 9px rgba(124, 92, 255, 0.75);
}

.legal-toc a:hover {
  color: #6552d7;
}

.legal-body {
  padding: 48px 54px 52px;
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 92, 255, 0.07), transparent 30%),
    #ffffff;
  border: 1px solid rgba(90, 73, 164, 0.14);
  border-radius: 30px;
  box-shadow: 0 24px 68px rgba(55, 45, 104, 0.1);
}

.legal-body .legal-intro {
  margin-bottom: 34px;
  padding: 20px 22px;
  color: #4f5673;
  font-size: 1.02rem;
  line-height: 1.78;
  background: #f4f1ff;
  border: 1px solid rgba(112, 86, 210, 0.16);
  border-left: 3px solid var(--violet);
  border-radius: 14px;
}

.legal-body h2 {
  margin: 42px 0 14px;
  padding-top: 38px;
  border-top: 1px solid #e8e5f0;
  scroll-margin-top: 92px;
  font-size: 1.42rem;
  color: #211c3a;
}

.legal-body h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-body h2::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  vertical-align: 0.18em;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
  -webkit-text-fill-color: initial;
}

.legal-body p,
.legal-body ul {
  font-size: 0.97rem;
  line-height: 1.76;
  color: #626b88;
}

.legal-body strong {
  color: #25203f;
}

.legal-body a {
  color: #6552d7;
}

.legal-body code {
  direction: ltr;
  display: inline-block;
  padding: 2px 7px;
  color: #453a78;
  background: #f1eefb;
  border: 1px solid #e2dcef;
  border-radius: 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
}

.legal-body ul {
  gap: 10px;
  margin: 18px 0 18px 22px;
}

.legal-contact-card {
  margin-top: 14px;
  padding: 22px 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.1), transparent 42%),
    #f5f2ff;
  border: 1px solid rgba(112, 86, 210, 0.17);
  border-inline-start: 4px solid #7255dd;
  border-radius: 16px;
}

.legal-contact-card p {
  color: #4f5673;
}

.legal-contact-card ul {
  margin-bottom: 0;
}

.legal-sign {
  padding-top: 26px;
  color: #211c3a;
  border-top: 1px solid #e8e5f0;
}

/* ------- Arabic legal pages ------- */

[dir='rtl'] body {
  font-family: 'Cairo', 'Inter', system-ui, sans-serif;
}

[dir='rtl'] h1,
[dir='rtl'] h2,
[dir='rtl'] h3,
[dir='rtl'] h4,
[dir='rtl'] .brand-name,
[dir='rtl'] .legal-toc-label {
  font-family: 'Cairo', 'Space Grotesk', system-ui, sans-serif;
}

[dir='rtl'] .serif-accent {
  font-family: 'Cairo', system-ui, sans-serif;
  font-style: normal;
  font-weight: 800;
}

[dir='rtl'] .kicker {
  padding-right: 22px;
  padding-left: 0;
}

[dir='rtl'] .kicker::before {
  right: 0;
  left: auto;
}

[dir='rtl'] .legal-back svg {
  transform: scaleX(-1);
}

[dir='rtl'] .legal-back:hover {
  transform: translateX(2px);
}

[dir='rtl'] .legal-toc a {
  padding-right: 14px;
  padding-left: 0;
}

[dir='rtl'] .legal-toc a::before {
  right: 0;
  left: auto;
}

[dir='rtl'] .legal-body .legal-intro {
  border-right: 3px solid var(--violet);
  border-left-width: 1px;
}

[dir='rtl'] .legal-body h2::before {
  margin-right: 0;
  margin-left: 10px;
}

[dir='rtl'] .legal-body ul {
  margin-right: 22px;
  margin-left: 0;
}

[dir='rtl'] .hero-actions .btn svg {
  transform: scaleX(-1);
}

[dir='rtl'] .stat {
  padding-right: 0;
  padding-left: 28px;
  margin-right: 0;
  margin-left: 28px;
  border-right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

[dir='rtl'] .stat:last-child {
  padding-left: 0;
  margin-left: 0;
  border-left: 0;
}

[dir='rtl'] .feature::before {
  transform-origin: right;
}

[dir='rtl'] .platform li {
  padding-right: 26px;
  padding-left: 0;
}

[dir='rtl'] .platform li::before {
  right: 0;
  left: auto;
}

@media (max-width: 1040px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-inner {
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    white-space: nowrap;
  }

  .site-language-switcher {
    margin-inline-start: auto;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-mobile {
    max-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav.is-menu-open .nav-mobile {
    max-height: min(470px, calc(100dvh - 68px));
  }

  .nav-mobile-inner {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .nav-mobile a:not(.btn),
  .nav-mobile .btn {
    min-height: 48px;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding-top: 136px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 78px;
    text-align: center;
  }

  .hero-copy,
  .hero-visual {
    width: 100%;
    min-width: 0;
  }

  .hero-copy h1 {
    margin-inline: auto;
  }

  .pill {
    justify-content: center;
  }

  .lead,
  .hero-stats {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
  }

  .step {
    min-height: 270px;
  }

  .footer-inner {
    gap: 42px;
  }
}

@media (max-width: 720px) {
  .home-page .mesh,
  .home-page .vignette,
  .home-page .grain {
    display: none;
  }

  .home-page .section,
  .home-page .footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 760px;
  }

  .home-page .hero,
  .home-page .cta,
  .home-page .btn-gradient,
  .home-page .pill-dot,
  .home-page .app-live i,
  .home-page .radar-ring,
  .home-page .phone-ring,
  .home-page .halo,
  .home-page .msg,
  .home-page .check,
  .home-page .route-chip,
  .home-page .cta-blob,
  .home-page .heart {
    animation: none;
  }

  .home-page .hero,
  .home-page .cta {
    background-size: 100% 100%;
  }

  .home-page .hero::after,
  .home-page .halo,
  .home-page .phone-ring,
  .home-page .cta-mesh {
    display: none;
  }

  .home-page .msg,
  .home-page .check {
    opacity: 1;
    transform: none;
  }

  .home-page .phone {
    box-shadow: 0 24px 54px -26px rgba(0, 0, 0, 0.78);
  }

  .home-page .step,
  .home-page .feature,
  .home-page .platform,
  .home-page .faq,
  .home-page .route {
    box-shadow: 0 12px 28px rgba(55, 45, 104, 0.08);
  }

  .nav {
    padding: calc(10px + env(safe-area-inset-top)) 0 10px;
  }

  .nav.scrolled,
  .nav.is-menu-open {
    padding: calc(8px + env(safe-area-inset-top)) 0 8px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 22px rgba(2, 3, 12, 0.22);
  }

  .nav-toggle {
    display: block;
  }

  .nav-mobile {
    display: block;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .brand-name em {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .section-head h2 {
    font-size: clamp(1.9rem, 9vw, 2.65rem);
    line-height: 1.13;
  }

  .section-head p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hero {
    padding: calc(112px + env(safe-area-inset-top)) 0 58px;
  }

  .hero-grid {
    gap: 52px;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
    line-height: 1.08;
  }

  .lead {
    max-width: 38rem;
    font-size: 1rem;
    line-height: 1.72;
  }

  .hero-actions {
    width: min(100%, 420px);
    margin-inline: auto;
    margin-bottom: 42px;
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .hero-stats {
    justify-content: center;
    gap: 22px;
  }

  .stat {
    min-width: 118px;
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
  }

  [dir='rtl'] .stat,
  [dir='rtl'] .stat:last-child {
    padding-left: 0;
    margin-left: 0;
    border-left: 0;
  }

  .ticker {
    margin-top: 64px;
  }

  .ticker-track {
    animation-duration: 34s;
  }

  .steps,
  .features,
  .platforms {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .step,
  .feature,
  .platform {
    min-height: auto;
    padding: 28px 24px;
  }

  .step-top,
  .feature-icon {
    margin-bottom: 24px;
  }

  .step h3 {
    margin-top: 0;
  }

  .step-icon,
  .feature-icon,
  .os {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .platform-top {
    padding-bottom: 22px;
  }

  .route {
    flex-direction: column;
    padding: 24px;
  }

  .route-chip {
    width: 100%;
    text-align: center;
  }

  .route-arrow {
    transform: rotate(90deg);
  }

  [dir='rtl'] .route-arrow {
    transform: rotate(-90deg);
  }

  .faq {
    padding: 6px 18px;
  }

  .faq-item summary {
    min-height: 64px;
    padding: 18px 2px;
    font-size: 1rem;
  }

  .faq-item p {
    padding: 0 2px 22px;
    padding-inline-end: 42px;
  }

  .cta-wrap {
    padding-top: 72px;
    padding-bottom: 84px;
  }

  .cta {
    padding: 52px 22px;
    border-radius: 26px;
  }

  .cta h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .cta-actions {
    width: min(100%, 420px);
    margin-inline: auto;
    flex-direction: column;
  }

  .footer {
    padding-top: 56px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-bottom: 40px;
  }

  .footer-brand,
  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-col a {
    width: fit-content;
    min-height: 36px;
    margin-bottom: 4px;
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: column;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
    text-align: center;
  }

  .legal {
    padding: calc(104px + env(safe-area-inset-top)) 0 72px;
  }

  .legal-topline {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 36px;
  }

  .legal-meta {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .legal-head h1 {
    font-size: clamp(2.3rem, 11vw, 3.35rem);
    line-height: 1.12;
  }

  .legal-toc {
    padding: 24px 22px;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-body {
    padding: 28px 22px 34px;
    border-radius: 24px;
    overflow-wrap: anywhere;
  }

  .legal-body .legal-intro {
    padding: 18px;
  }

  .legal-body h2 {
    margin-top: 34px;
    padding-top: 32px;
    font-size: 1.28rem;
    line-height: 1.35;
  }

  .legal-contact-card {
    padding: 20px;
  }
}

@media (max-width: 440px) {
  .container,
  .container-narrow {
    width: min(1200px, calc(100% - 24px));
  }

  .nav-inner {
    gap: 8px;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .site-language-switcher a {
    min-width: 32px;
    padding-inline: 6px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .stat {
    min-width: 0;
    min-height: 72px;
    justify-content: center;
    padding: 10px 6px;
    margin: 0;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
  }

  [dir='rtl'] .stat,
  [dir='rtl'] .stat:last-child {
    padding: 10px 6px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-num {
    font-size: 1.55rem;
  }

  .stat-label {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .phone {
    width: min(100%, 310px);
  }

  .phone-screen {
    gap: 10px;
    padding: 52px 12px 12px;
  }

  .radar {
    height: 96px;
  }

  .msg {
    gap: 8px;
    padding: 9px 10px;
  }

  .tag {
    padding-inline: 6px;
  }

  .route {
    padding: 18px;
  }

  .faq {
    padding-inline: 14px;
    border-radius: 22px;
  }

  .faq-item p {
    padding-inline-end: 4px;
  }

  .legal-topline {
    gap: 14px;
  }

  .legal-meta {
    gap: 6px 14px;
  }

  .legal-toc {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .legal-body {
    padding: 24px 17px 30px;
    border-radius: 20px;
  }

  .legal-body .legal-intro {
    padding: 15px;
    font-size: 0.96rem;
  }

  .legal-contact-card {
    padding: 18px 15px;
  }
}

@media (max-width: 350px) {
  .brand {
    gap: 7px;
  }

  .brand-name {
    font-size: 0.86rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-language-switcher a {
    min-width: 29px;
    padding-inline: 4px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .hero-copy h1 {
    font-size: 2.35rem;
  }

  .pill {
    max-width: 100%;
    padding-inline: 12px;
    font-size: 0.74rem;
  }

  .step,
  .feature,
  .platform {
    padding: 24px 19px;
  }

  .legal-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (hover: none) {
  .step:hover,
  .feature:hover,
  .platform:hover,
  .btn:hover {
    transform: none;
  }
}

/* ------- lightweight rendering profile ------- */

.mesh,
.vignette,
.grain,
.halo,
.phone-ring,
.radar-ring,
.cta-mesh,
.hero::after {
  display: none;
}

.nav {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
  transition: padding 0.22s var(--ease), background-color 0.22s ease,
    border-color 0.22s ease, box-shadow 0.22s ease;
}

.nav.scrolled,
.nav.is-menu-open,
.legal-page .nav:not(.scrolled):not(.is-menu-open) {
  background: #15112f;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: rgba(167, 139, 250, 0.18);
  box-shadow: 0 6px 18px rgba(2, 3, 12, 0.18);
}

.nav-mobile {
  background: #15112f;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hero,
.cta,
.btn-gradient,
.pill-dot,
.app-live i,
.msg,
.check,
.route-chip,
.heart {
  animation: none;
}

.hero,
.cta {
  background-size: 100% 100%;
}

.msg,
.check {
  opacity: 1;
  transform: none;
}

.phone {
  box-shadow: 0 22px 52px -28px rgba(0, 0, 0, 0.72);
  transition: none;
}
