/* ── Design Tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg:          #080d1a;
  --bg-2:        #0d1325;
  --bg-3:        #111c36;
  --border:      #1c2540;
  --border-light:#243055;
  --text:        #f0f4ff;
  --text-muted:  #8a96bc;
  --text-faint:  #4d5c85;
  --accent:      #f97316;
  --accent-dark: #c2540a;
  --accent-glow: rgba(249, 115, 22, 0.22);
  --blue-glow:   rgba(56, 113, 255, 0.18);

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;

  --header-h:    68px;
  --container:   min(1160px, 92%);

  --easing:      cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter Tight', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Typography ────────────────────────────────────────────────────────────── */
h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p { max-width: 60ch; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.subhead {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-muted);
  max-width: 48ch;
  line-height: 1.65;
}

.section-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-muted);
  max-width: 52ch;
  margin-top: 12px;
  line-height: 1.65;
}

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container {
  width: var(--container);
  margin-inline: auto;
}

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

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.4s;
}

.btn:hover::after { transform: translateX(100%); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 32px rgba(249, 115, 22, 0.35);
}

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

.btn-lg {
  padding: 15px 32px;
  font-size: 17px;
  border-radius: 14px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-float {
  animation: float 3s ease-in-out infinite;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 16px;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.2s, backdrop-filter 0.2s, border-color 0.2s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8, 13, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 32px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s var(--easing);
  transform-origin: center;
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta { padding: 9px 20px; font-size: 14px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}

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

.mobile-nav-cta {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

/* ── Background Glow Orbs ──────────────────────────────────────────────────── */
.bg-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.glow-1 {
  width: 600px;
  height: 500px;
  top: -100px;
  left: -100px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
}

.glow-2 {
  width: 500px;
  height: 400px;
  bottom: 0;
  right: -80px;
  background: radial-gradient(ellipse at center, var(--blue-glow) 0%, transparent 70%);
}

.glow-cta {
  width: 600px;
  height: 400px;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 65%);
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--header-h));
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy { display: flex; flex-direction: column; gap: 0; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .subhead { margin-bottom: 36px; }

.hero-actions { margin-bottom: 28px; }

.waitlist-count-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  max-width: none;
}

.waitlist-count-row strong { color: var(--text); }

.count-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-visual { position: relative; }

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ── App Mockup (Hero Visual) ──────────────────────────────────────────────── */
.app-mockup-wrap {
  position: relative;
}

/* Subtle dot grid background */
.app-bg-grid {
  position: absolute;
  inset: -24px;
  background-image: radial-gradient(circle, rgba(180, 195, 230, 0.25) 1px, transparent 1px);
  background-size: 22px 22px;
  border-radius: 24px;
  pointer-events: none;
  z-index: 0;
}

/* Main app window */
.app-window {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dde1f0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 4px 16px rgba(0, 0, 0, 0.18);
  margin-right: 164px;
}

/* Title bar */
.app-titlebar {
  background: #f4f6fc;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e8eaf4;
}

.app-traffic-lights {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.tl {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.tl--red    { background: #ff5f57; }
.tl--yellow { background: #febc2e; }
.tl--green  { background: #28c840; }

.app-searchbar {
  flex: 1;
  background: #eaedf8;
  border-radius: 8px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-orb-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316 0%, #c2540a 100%);
  flex-shrink: 0;
}

.app-searchbar-text {
  font-size: 11px;
  color: #8a96bc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* App body */
.app-body {
  display: flex;
  min-height: 260px;
}

/* Sidebar */
.app-sidebar {
  width: 48px;
  background: #f8f9fd;
  border-right: 1px solid #e8eaf4;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.sb-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa3c8;
}

.sb-icon--active {
  background: #f97316;
  color: #fff;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.sb-icon--bottom { margin-top: auto; }

.sb-logo {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.sb-logo-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Main content */
.app-main-content {
  flex: 1;
  overflow: hidden;
}

.app-list-header {
  padding: 10px 14px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #1a2040;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff;
  border-bottom: 1px solid #f0f2f8;
}

.app-job-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #f4f5fc;
  background: #fff;
  transition: background 0.12s;
}

.app-job-row:hover { background: #fafbff; }
.app-job-row--muted { opacity: 0.55; }

.job-pill {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.job-pill--orange { background: linear-gradient(135deg, #f97316, #c2540a); }
.job-pill--blue   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.job-pill--purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.job-pill--muted  { background: #c8d0e8; }

.job-row-info { flex: 1; min-width: 0; }

.job-row-name {
  font-size: 12px;
  font-weight: 600;
  color: #1a2040;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.job-row-name--muted { color: #9ca3af; }

.job-row-time {
  font-size: 10px;
  font-weight: 400;
  color: #9ca3af;
  margin-left: auto;
}

.job-row-desc {
  font-size: 11px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.job-row-desc--muted { color: #c0c8e0; }

/* Notification cards */
.notif-cards-stack {
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  z-index: 3;
}

.notif-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px 13px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13), 0 1px 4px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.notif-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-card-icon--green  { background: #dcfce7; color: #16a34a; }
.notif-card-icon--blue   { background: #dbeafe; color: #1d4ed8; }
.notif-card-icon--orange { background: rgba(249, 115, 22, 0.1); color: #f97316; }

.notif-card-body { flex: 1; min-width: 0; }

.notif-card-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #1a2040;
}

.notif-card-text {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.4;
  margin: 2px 0 0;
  max-width: none;
}

.notif-card-time {
  font-size: 10px;
  color: #9ca3af;
  flex-shrink: 0;
}

/* ── Featured notification card — rotating mixed border ─────────────────── */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.notif-card--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(
      from var(--border-angle),
      #f97316 0%,
      #3b82f6 30%,
      #080d1a 55%,
      #3b82f6 70%,
      #f97316 100%
    ) border-box;
  animation: spin-border 3s linear infinite;
  box-shadow:
    0 6px 24px rgba(0,0,0,0.13),
    0 1px 4px rgba(0,0,0,0.07),
    0 0 18px rgba(249,115,22,0.18),
    0 0 12px rgba(59,130,246,0.12);
}

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

/* ── Trust Strip ───────────────────────────────────────────────────────────── */
.trust {
  padding: 40px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.badge-ticker {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.badge-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: badge-scroll 48s linear infinite;
}

.badge-ticker:hover .badge-track {
  animation-play-state: paused;
}

@keyframes badge-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

.industry-badge {
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Stats Section ─────────────────────────────────────────────────────────── */
.stats-section {
  background: var(--bg);
  text-align: center;
}

.stats-section h2 { margin: 0 auto 12px; }
.stats-section .section-sub { margin: 0 auto 56px; text-align: center; }

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

.stat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: border-color 0.2s, transform 0.2s;
}

.stat-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.stat-num-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.stat-num {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-suffix {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 18ch;
  margin: 0 auto;
  line-height: 1.5;
}

/* ── Solution Section ──────────────────────────────────────────────────────── */
.solution-section {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.solution-copy h2 { margin-bottom: 28px; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.solution-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}

/* ── Solution Carousel ───────────────────────────────────────────────────── */
.sol-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.sol-carousel-track-wrap {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.sol-carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.sol-carousel-slide {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.slide-caption {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  max-width: 320px;
  line-height: 1.5;
  opacity: 0.75;
  height: 84px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Prev / Next buttons */
.sol-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% + 8px));
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid var(--accent);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}

.sol-carousel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.sol-carousel-btn--prev { left: calc(50% - 190px); }
.sol-carousel-btn--next { right: calc(50% - 190px); }

/* Dots */
.sol-carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.sol-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.sol-carousel-dot--active {
  background: var(--accent);
  transform: scale(1.3);
}

.iphone-pair {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 0;
  position: relative;
  z-index: 1;
}

.iphone-pair .iphone-mockup--small {
  transform-origin: bottom left;
  transform: scale(0.85);
  margin-left: 16px;
}

.iphone-pair .iphone-mockup--tiny {
  transform-origin: bottom left;
  transform: scale(0.7225);
  margin-left: -20px;
}

.solution-bg-grid {
  position: absolute;
  top: 50%;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  background-image: radial-gradient(circle, rgba(180, 195, 230, 0.3) 1px, transparent 1px);
  background-size: 22px 22px;
  border-radius: 24px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,1) 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,1) 100%);
}

.solution-visual .iphone-mockup {
  position: relative;
}

/* iPhone 17 Pro mockup */
.iphone-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 10px;
  position: relative;
  flex-shrink: 0;
}

/* Titanium frame */
.iphone-frame {
  position: relative;
  width: 210px;
  background: linear-gradient(160deg,
    #4a4a4c 0%,
    #3a3a3c 20%,
    #2e2e30 40%,
    #3c3c3e 60%,
    #484848 80%,
    #3a3a3c 100%
  );
  border-radius: 22px;
  padding: 3px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 1.5px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* Inner screen area */
.iphone-screen {
  background: #000;
  border-radius: 19px;
  overflow: hidden;
  position: relative;
  line-height: 0;
}

/* Dynamic Island */
.iphone-dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: #000;
  border-radius: 12px;
  z-index: 10;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.iphone-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

/* Home indicator */
.iphone-home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

/* Side buttons (left: Action + Volume; right: Power) */
.iphone-btn {
  position: absolute;
  background: linear-gradient(180deg, #5a5a5c 0%, #3a3a3c 50%, #4a4a4c 100%);
  border-radius: 2px;
  box-shadow:
    -1px 0 0 rgba(255,255,255,0.12),
    1px 0 0 rgba(0,0,0,0.5);
}

.iphone-btn--action {
  left: -3px;
  top: 88px;
  width: 3px;
  height: 32px;
  border-radius: 2px 0 0 2px;
}

.iphone-btn--vol-up {
  left: -3px;
  top: 138px;
  width: 3px;
  height: 56px;
  border-radius: 2px 0 0 2px;
}

.iphone-btn--vol-down {
  left: -3px;
  top: 204px;
  width: 3px;
  height: 56px;
  border-radius: 2px 0 0 2px;
}

.iphone-btn--power {
  right: -3px;
  top: 150px;
  width: 3px;
  height: 72px;
  border-radius: 0 2px 2px 0;
}

/* Chat mockup */
.chat-mockup {
  background: #0a0f1f;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.chat-dots { display: flex; gap: 6px; }

.chat-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-light);
}

.chat-dot--red    { background: #ff5f57; }
.chat-dot--yellow { background: #febc2e; }
.chat-dot--green  { background: #28c840; }

.chat-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
}

.chat-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #28c840;
  letter-spacing: 0.05em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28c840;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.chat-msg--user { flex-direction: row-reverse; }

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.chat-avatar--user {
  background: var(--accent);
  color: #fff;
}

.chat-avatar--agent {
  background: linear-gradient(135deg, #3b4fd8, #6b32d4);
  color: #fff;
}

.chat-bubble {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  max-width: 85%;
}

.chat-msg--user .chat-bubble {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.25);
  border-bottom-right-radius: 4px;
}

.chat-msg--agent .chat-bubble { border-bottom-left-radius: 4px; }

.chat-bubble p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: none;
  line-height: 1.5;
  margin: 0;
}

.chat-bubble p + p { margin-top: 4px; }

.chat-success {
  font-weight: 700;
  color: #28c840 !important;
  font-size: 13px !important;
}

.chat-price {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--text) !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.chat-gst {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.chat-detail {
  font-size: 12px !important;
  color: var(--text-faint) !important;
}

/* Typing indicator */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0 2px 42px;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
  animation: typing 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #28c840;
  padding: 8px 14px;
  background: rgba(40, 200, 64, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(40, 200, 64, 0.15);
}

.chat-status svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── Features Section ──────────────────────────────────────────────────────── */
.features-section { background: var(--bg-2); }

.features-section h2 { margin-bottom: 12px; }
.features-section .section-sub { margin-bottom: 52px; }

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

.feature-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  border-top: 2px solid transparent;
}

.feature-card:hover {
  border-top-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.feature-icon svg { width: 22px; height: 22px; }

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

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 32ch;
  line-height: 1.6;
}

/* ── How It Works ──────────────────────────────────────────────────────────── */
.how-section { background: var(--bg); }

.how-section h2 { margin-bottom: 56px; }

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 24px;
}

.step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.step-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 { font-size: 20px; }

.step p {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  max-width: 22ch;
  margin: 0 auto;
}

.step-connector {
  padding-top: 14px;
  color: var(--border-light);
  opacity: 0.7;
}

.step-connector svg { width: 40px; height: 12px; }

/* ── Testimonials ──────────────────────────────────────────────────────────── */
.testi-section { background: var(--bg-3); border-top: 1px solid var(--border); }

.testi-section h2 { margin-bottom: 48px; }

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

.testi-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.testi-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-light);
}

.testi-quote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  max-width: none;
  flex: 1;
}

.testi-quote::before {
  content: '"';
  font-size: 40px;
  line-height: 0.8;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
  opacity: 0.6;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #c2540a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.testi-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.testi-author span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── CTA Section ───────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--bg);
  text-align: center;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-inner h2 { max-width: 18ch; margin: 0 auto; }

.cta-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 auto;
}

/* ── Modal ─────────────────────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s var(--easing), visibility 0.22s;
}

.modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 16, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s var(--easing);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
}

.modal.open .modal-dialog { transform: none; }

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.modal-header h2 { font-size: 22px; }

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.modal-close:hover { background: var(--border); color: var(--text); }
.modal-close svg { width: 16px; height: 16px; }

.modal-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 42ch;
  line-height: 1.6;
}

/* ── Form ──────────────────────────────────────────────────────────────────── */
.form-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.field input {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  width: 100%;
}

.field input::placeholder { color: var(--text-faint); }

.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.field--full { grid-column: 1 / -1; }

.field select {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a96bc' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.field select option { background: var(--bg-2); color: var(--text); }

.field-error {
  font-size: 12px;
  color: #f87171;
  min-height: 16px;
  max-width: none;
}

.consent-row {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--accent);
  cursor: pointer;
}

.checkbox-custom { display: none; }

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.fineprint {
  font-size: 12px;
  color: var(--text-faint);
}

.wl-toast {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(40, 200, 64, 0.08);
  border: 1px solid rgba(40, 200, 64, 0.2);
  border-radius: var(--radius-sm);
  color: #4ade80;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: none;
}

.wl-toast[hidden] {
  display: none;
}

.wl-toast svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  text-align: center;
}

.logo-img--footer { height: 28px; }

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  max-width: none;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom small {
  font-size: 12px;
  color: var(--text-faint);
}

/* ── Animations ────────────────────────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

@keyframes typing {
  0%, 80%, 100% { transform: scale(1); opacity: 0.4; }
  40%           { transform: scale(1.3); opacity: 1; }
}

/* ── Reveal-on-scroll ──────────────────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--easing) var(--delay, 0ms),
              transform 0.6s var(--easing) var(--delay, 0ms);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* ── Focus Styles ──────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Reduced motion ────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate] { opacity: 1; transform: none; }
}

/* ── Media Queries ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner      { gap: 40px; }
  .solution-inner  { gap: 48px; }
  .app-window          { margin-right: 120px; }
  .notif-cards-stack   { width: 180px; }
  .notif-card-text     { font-size: 10px; }
  .notif-card-title    { font-size: 10px; }
  .features-grid   { grid-template-columns: repeat(2, 1fr); }
  .steps {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    row-gap: 32px;
  }
  .step:last-child { grid-column: 1 / -1; }
  .step-connector:last-of-type { display: none; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .testi-card:last-child { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; width: 100%; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* ── Nav ── */
  .nav { display: none; }
  .nav-toggle {
    display: flex;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-light);
    padding: 10px;
    border-radius: 8px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }

  .mobile-menu {
    z-index: 98;
    position: relative;
  }

  /* ── Hero ── */
  .hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 56px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .app-mockup-wrap {
    max-width: 100%;
    overflow: hidden;
  }

  .app-window {
    margin-right: 0;
    font-size: 13px;
    max-width: 100%;
  }

  .notif-cards-stack { display: none; }
  .app-bg-grid       { display: none; }

  .hero-copy h1 { font-size: clamp(36px, 8vw, 52px); }
  .hero-copy .subhead { max-width: none; }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: 1fr 1fr; max-width: 420px; margin: 0 auto; }

  /* ── Solution ── */
  .solution-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .solution-visual {
    justify-content: center;
  }

  /* Show all 3 phones — keep cascading sizes, scale base frame to fit mobile */
  .iphone-pair {
    gap: 0;
    justify-content: center;
  }

  .iphone-pair .iphone-mockup {
    padding: 10px 5px;
  }

  /* Keep all 3 visible */
  .iphone-mockup--small,
  .iphone-mockup--tiny {
    display: flex;
  }

  /* Restore cascade scaling with mobile-appropriate margins */
  .iphone-pair .iphone-mockup--small {
    transform: scale(0.85);
    transform-origin: bottom left;
    margin-left: 12px;
  }

  .iphone-pair .iphone-mockup--tiny {
    transform: scale(0.7225);
    transform-origin: bottom left;
    margin-left: -6px;
  }

  /* Scaled-down frame (~0.48x of 210px desktop) */
  .iphone-frame {
    width: 100px;
    border-radius: 10px;
  }

  .iphone-screen {
    border-radius: 9px;
  }

  .iphone-dynamic-island {
    width: 36px;
    height: 8px;
    top: 5px;
    border-radius: 5px;
  }

  /* Proportionally repositioned side buttons */
  .iphone-btn--action   { top: 40px;  height: 15px; }
  .iphone-btn--vol-up   { top: 62px;  height: 26px; }
  .iphone-btn--vol-down { top: 94px;  height: 26px; }
  .iphone-btn--power    { top: 70px;  height: 34px; }

  .iphone-home-bar {
    width: 52px;
    height: 3px;
    bottom: 4px;
  }

  /* ── Features / Steps / Testimonials ── */
  .features-grid { grid-template-columns: 1fr; }

  .steps {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .step-connector { display: none; }

  .testi-grid { grid-template-columns: 1fr; }
  .testi-card:last-child { grid-column: auto; max-width: none; }

  .footer-inner { flex-direction: column; align-items: center; gap: 12px; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: 36px; }
  .hero-actions .btn-lg { width: 100%; justify-content: center; }
  .modal-dialog { padding: 24px 20px; }
  .stat-card { padding: 28px 20px; }
  .stats-grid { grid-template-columns: 1fr; }

  /* Scale down app window on very small screens */
  .app-window {
    font-size: 11px;
    border-radius: 10px;
  }

  .solution-visual {
    width: 100%;
    overflow: hidden;
  }

  .iphone-pair {
    width: min(100%, 320px);
    justify-content: center;
  }

  .iphone-pair .iphone-mockup {
    padding: 8px 4px;
  }

  .iphone-frame { width: 92px; }

  .iphone-pair .iphone-mockup--small {
    margin-left: 8px;
  }

  .iphone-pair .iphone-mockup--tiny {
    margin-left: -10px;
  }
}
