*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0b1220;
  background: #0b1220;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

.page {
  position: relative;
  height: 100vh;
  width: 100vw;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(99, 102, 241, 0.35), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(14, 165, 233, 0.30), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #0a0f1c 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 70%);
  pointer-events: none;
}

header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 48px;
  z-index: 2;
}

nav {
  justify-self: end;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand .dot {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45);
  display: grid; place-items: center;
}
.brand .dot svg { width: 14px; height: 14px; color: #fff; }

nav a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 14px;
  margin-left: 24px;
  transition: color .15s ease;
}

main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 72px 48px;
  z-index: 2;
}
.hero {
  max-width: 720px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 11.5px;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

.mini-ba {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
  user-select: none;
  -webkit-user-select: none;
}
.mini-arrow {
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
}
.mini-doc {
  width: 44px;
  height: 56px;
  background: #fafaf7;
  border-radius: 5px;
  padding: 7px 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04);
}
.mini-doc span {
  height: 2px;
  border-radius: 1px;
  background: #cbd5e1;
  display: block;
}
.mini-doc span:nth-child(1) { width: 65%; background: #64748b; height: 3px; }
.mini-doc span:nth-child(2) { width: 95%; }
.mini-doc span:nth-child(3) { width: 80%; }
.mini-doc span:nth-child(4) { width: 60%; }

.mini-phone {
  position: relative;
  width: 34px;
  height: 60px;
  background: linear-gradient(160deg, #1a2235 0%, #0f1524 100%);
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.45);
}
.mini-phone::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 2px;
  background: #06080f;
  border-radius: 2px;
  z-index: 2;
}
.mini-screen {
  height: 100%;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  border-radius: 5px;
  padding: 10px 3px 3px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mini-screen span {
  flex: 1;
  background: #fff;
  border-radius: 2px;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  display: block;
}
.mini-screen span::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: linear-gradient(180deg, #7c3aed, #06b6d4);
  border-radius: 1px;
}
.pill .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
}

h1 {
  color: #fff;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 20px 0 20px;
}
.grad {
  background: linear-gradient(90deg, #a78bfa 0%, #22d3ee 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub {
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 24px;
}

.features {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 0;
  flex-wrap: wrap;
}
.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.78);
  font-size: 13.5px;
}
.feature svg { width: 16px; height: 16px; color: #22d3ee; flex-shrink: 0; }

.ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit;
  touch-action: manipulation;
}
@media (hover: hover) {
  nav a:hover { color: #fff; }
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}

.legal {
  margin-top: 16px;
  color: rgba(255,255,255,0.45);
  font-size: 12.5px;
}

.phone {
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  width: 300px;
  height: 600px;
  border-radius: 44px;
  background: linear-gradient(160deg, #1a2235 0%, #0f1524 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.55),
    0 0 0 8px rgba(255,255,255,0.03),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  padding: 14px;
}
.phone::after {
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 24px;
  background: #06080f;
  border-radius: 20px;
  z-index: 3;
}

.screen {
  position: relative;
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  overflow: hidden;
  padding: 54px 18px 18px;
}

.screen .app-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  font-weight: 600;
}
.screen .trip-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b1220;
  margin: 2px 0 14px;
}

.day-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.day-tab {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
  touch-action: manipulation;
}
.day-tab:active { transform: scale(0.96); }
@media (hover: hover) {
  .day-tab:hover:not(.active) { border-color: #cbd5e1; color: #334155; }
}
.day-tab.active {
  background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.cards { display: flex; flex-direction: column; gap: 10px; }
.card {
  background: #fff;
  border-radius: 14px;
  padding: 12px 12px 12px 14px;
  border: 1px solid #eef2f7;
  position: relative;
  animation: card-in .22s ease-out;
}
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.35);
  animation: scroll-bob 2s ease-in-out infinite;
  z-index: 2;
}
.scroll-hint svg { width: 22px; height: 22px; display: block; }

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

@keyframes card-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #7c3aed, #06b6d4);
}
.card .time {
  font-size: 10.5px;
  color: #7c3aed;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card .title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0b1220;
  margin: 2px 0 6px;
}
.card .meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #475569;
  margin-top: 3px;
}
.card .meta svg { width: 11px; height: 11px; color: #0ea5e9; flex-shrink: 0; }
.card .meta .link { color: #0ea5e9; font-weight: 500; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 24, 0.6);
  backdrop-filter: blur(6px);
  animation: modal-fade .18s ease-out;
}

.modal-panel {
  position: relative;
  width: min(560px, 100%);
  min-height: 320px;
  padding: 32px 32px 28px;
  border-radius: 18px;
  background: linear-gradient(180deg, #141a2c 0%, #0f1524 100%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  color: #fff;
  animation: modal-pop .22s cubic-bezier(.2,.9,.3,1.2);
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.75);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: #fff; }
.modal-close svg { width: 16px; height: 16px; }

.modal-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.modal-body {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  line-height: 1.55;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.3);
}
.step-title {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 3px;
}
.step-desc {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.5;
}

@keyframes modal-fade {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.transform {
  position: relative;
  padding: 72px 72px 88px;
  background: linear-gradient(180deg, #0a0f1c 0%, #0b1220 50%, #0a0f1c 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.transform-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.transform-title {
  color: #fff;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-align: center;
  margin: 0 0 14px;
}
.transform-sub {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}
.transform-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  justify-items: center;
}
.transform-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.transform-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
}
.transform-arrow {
  color: rgba(255,255,255,0.55);
  display: grid;
  place-items: center;
  padding: 0 8px;
}
.transform-arrow svg { width: 48px; height: 48px; }

.doc-mock {
  user-select: none;
  -webkit-user-select: none;
  width: 100%;
  max-width: 440px;
  height: 600px;
  background: #fafaf7;
  border-radius: 14px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.doc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #eceae3;
  border-bottom: 1px solid #d9d6cc;
  flex-shrink: 0;
}
.doc-dots { display: flex; gap: 6px; }
.doc-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #cfcbbf;
  display: block;
}
.doc-dots i:nth-child(1) { background: #f87171; }
.doc-dots i:nth-child(2) { background: #fbbf24; }
.doc-dots i:nth-child(3) { background: #34d399; }
.doc-name {
  font-size: 12px;
  color: #6b6a62;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.doc-body {
  padding: 28px 32px;
  font-family: 'Courier New', ui-monospace, monospace;
  color: #2c2a25;
  font-size: 13.5px;
  line-height: 1.85;
  overflow: hidden;
}
.doc-title {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 14px;
  color: #1a1915;
}
.doc-h {
  font-weight: 700;
  margin: 14px 0 4px;
  color: #1a1915;
  text-transform: none;
}
.doc-h:first-of-type { margin-top: 6px; }
.doc-l {
  color: #4a4841;
  padding-left: 2px;
}

.transform .phone {
  box-shadow:
    0 40px 80px rgba(0,0,0,0.55),
    0 0 0 8px rgba(255,255,255,0.03),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

.closing-section {
  background: linear-gradient(180deg, #0d1424 0%, #0b1220 100%);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 96px 72px;
  text-align: center;
}
.closing-inner {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.closing-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 12px;
}
.closing-line {
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
}
.closing-line--accent {
  color: rgba(255,255,255,0.85);
}

.cta-section {
  padding: 64px 72px 80px;
  text-align: center;
  background: linear-gradient(180deg, #0a0f1c 0%, #0b1220 60%, #0a0f1c 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
.cta-heading {
  color: #fff;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 24px;
}
.cta-section .ctas { margin-bottom: 14px; }
.cta-section .legal {
  margin: 0;
  color: rgba(255,255,255,0.45);
  font-size: 12.5px;
}

@media (max-width: 900px) {
  body { overflow-y: auto; overflow-x: hidden; }
  .page {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .page::before { background-size: 32px 32px; opacity: 0.6; }

  header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 18px;
    padding-top: max(14px, env(safe-area-inset-top));
    gap: 6px 0;
  }
  .brand { flex: 1; font-size: 16px; }
  .brand .dot { width: 24px; height: 24px; }
  nav { justify-self: unset; }
  nav a { margin-left: 0; font-size: 13.5px; }
  .pill { order: 3; flex-basis: 100%; }

  main {
    justify-content: flex-start;
    padding: 16px 20px 28px;
    gap: 24px;
    text-align: center;
  }

  h1 {
    font-size: clamp(30px, 8.5vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 22px 0 20px;
  }
  h1 br { display: none; }

  .sub {
    font-size: 15.5px;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 32px;
  }

  .features {
    justify-content: center;
    gap: 12px 18px;
    margin: 0 auto 32px;
  }
  .feature { font-size: 13px; }

  .ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 15.5px;
    min-height: 48px;
  }

  .legal {
    font-size: 12px;
    max-width: 420px;
    margin: 14px auto 0;
  }

  .phone {
    width: min(86vw, 340px);
    height: auto;
    aspect-ratio: 1 / 2;
    padding: 14px;
  }
  .phone::after { width: 100px; height: 22px; top: 16px; }
  .screen { padding: 52px 18px 18px; border-radius: 32px; }

  .modal { padding: 16px; }
  .modal-panel {
    padding: 28px 22px 22px;
    min-height: 260px;
    border-radius: 16px;
  }
  .modal-title { font-size: 20px; }
  .modal-close { width: 40px; height: 40px; }

  .transform {
    padding: 56px 20px 72px;
  }
  .transform-sub { margin-bottom: 36px; }
  .transform-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .transform-arrow svg {
    width: 36px;
    height: 36px;
    transform: rotate(90deg);
  }
  .doc-mock {
    max-width: min(86vw, 380px);
    height: 480px;
  }
  .doc-body {
    padding: 22px 24px;
    font-size: 13px;
    line-height: 1.75;
  }
  .transform .phone {
    width: min(86vw, 320px);
    height: auto;
    aspect-ratio: 1 / 2;
  }

  .closing-section { padding: 64px 24px; }
  .closing-title { margin-bottom: 8px; }

  .cta-section { padding: 56px 20px 72px; }
  .cta-heading { margin-bottom: 24px; }
}

@media (max-width: 420px) {
  main { padding: 4px 16px 24px; gap: 20px; }
  h1 { font-size: clamp(26px, 9vw, 36px); }
  .sub { font-size: 15px; }
  .pill { font-size: 11px; padding: 5px 10px; }
  .phone { width: min(90vw, 320px); }
}
