:root {
  --bg: #dffcff;
  --surface: #eefeff;
  --surface-strong: #ffffff;
  --surface-dark: #0f6f87;
  --ink: #0d3042;
  --muted: #35657a;
  --accent: #ff9800;
  --accent-deep: #f05d00;
  --line: rgba(13, 48, 66, 0.12);
  --shadow: 0 24px 70px rgba(13, 48, 66, 0.12);
}

[data-theme="dark"] {
  --bg: #050c14;
  --surface: #0f1620;
  --surface-strong: #121a24;
  --surface-dark: #111113;
  --ink: #f3f3f4;
  --muted: #c6c6cc;
  --accent: #4da3ff;
  --accent-deep: #86c5ff;
  --line: rgba(42, 52, 64, 0.92);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(0, 220, 232, 0.22), transparent 28rem),
    radial-gradient(circle at left top, rgba(255, 152, 0, 0.18), transparent 24rem),
    var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(223, 252, 255, 0.88);
  border-bottom: 1px solid rgba(13, 48, 66, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-with-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(16, 34, 45, 0.16);
}

.placeholder-mark {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: white;
  background: linear-gradient(145deg, #0f6f87, #00dce8);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--muted);
}

.top-nav a {
  position: relative;
  padding: 0.25rem 0;
  transition: color 160ms ease;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-deep);
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.top-nav a.is-active {
  color: var(--ink);
}

.top-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(13, 48, 66, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(13, 48, 66, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.theme-toggle-icon {
  font-size: 1rem;
  line-height: 1;
}

.top-nav a:hover,
.footer-links a:hover { color: var(--accent-deep); }

[data-theme="dark"] body {
  background:
    radial-gradient(circle at top right, rgba(77, 163, 255, 0.2), transparent 28rem),
    radial-gradient(circle at left top, rgba(169, 184, 255, 0.12), transparent 24rem),
    var(--bg);
}

[data-theme="dark"] .site-header {
  background: rgba(17, 17, 19, 0.92);
  border-bottom-color: rgba(42, 52, 64, 0.92);
}

[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .menu-toggle {
  background: rgba(18, 26, 36, 0.96);
  border-color: rgba(42, 52, 64, 0.92);
}

[data-theme="dark"] .hero-app-badge,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .gallery-card,
[data-theme="dark"] .journey-card,
[data-theme="dark"] .legal-card,
[data-theme="dark"] .store-button,
[data-theme="dark"] .phone-card {
  background: var(--surface-strong);
}

[data-theme="dark"] .mock-map,
[data-theme="dark"] .gallery-shot,
[data-theme="dark"] .video-placeholder {
  background: linear-gradient(135deg, rgba(18, 49, 74, 0.96), rgba(77, 163, 255, 0.9));
}

[data-theme="dark"] .mock-pill,
[data-theme="dark"] .mock-badge {
  background: rgba(77, 163, 255, 0.14);
  color: #d7e8ff;
}

[data-theme="dark"] .chat-bubble.light {
  background: rgba(239, 252, 255, 0.08);
}

[data-theme="dark"] .section-alt {
  background: rgba(18, 26, 36, 0.78);
}

[data-theme="dark"] .footer-links,
[data-theme="dark"] .footer-meta,
[data-theme="dark"] .logo-strip-inner {
  color: var(--muted);
}

[data-theme="dark"] .placeholder-icon {
  border-color: rgba(42, 52, 64, 0.92);
  color: var(--muted);
}

.hero { padding: 5.5rem 0 3rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.page-hero-grid {
  align-items: start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0 1rem;
}

.compact-actions {
  margin: 0;
}

.stack-grid {
  display: grid;
  gap: 1rem;
}

.stack-card {
  padding: 1.35rem;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stack-card strong {
  display: block;
  margin: 0.25rem 0 0.45rem;
  font-size: 1.18rem;
  line-height: 1.2;
}

.stack-card p {
  margin: 0;
  color: var(--muted);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 111, 135, 0.08);
  color: #0f6f87;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-parallax-layer {
  --parallax-y: 0px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 111, 135, 0.1);
  color: #0f6f87;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow.light {
  background: rgba(255, 255, 255, 0.14);
  color: #c4fbff;
}

[data-theme="dark"] .eyebrow,
[data-theme="dark"] .eyebrow.light {
  background: rgba(77, 163, 255, 0.14);
  color: #d7e8ff;
}

.hero h1,
.section-heading h2,
.cta-card h2,
.trust-grid h2,
.legal-content h1 {
  margin: 0.9rem 0;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  max-width: 10ch;
}

.hero-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  margin: 1rem 0 0.25rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(13, 48, 66, 0.08);
  box-shadow: var(--shadow);
}

.hero-app-icon {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  flex-shrink: 0;
  box-shadow: 0 20px 40px rgba(16, 34, 45, 0.18);
}

.placeholder-icon {
  display: grid;
  place-items: center;
  padding: 0.9rem;
  background:
    linear-gradient(145deg, rgba(0, 220, 232, 0.2), rgba(255, 152, 0, 0.2)),
    var(--surface-strong);
  border: 1px dashed rgba(13, 48, 66, 0.18);
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

[data-theme="dark"] .placeholder-mark {
  background: linear-gradient(145deg, #12314a, #4da3ff);
  color: #d7e8ff;
}

[data-theme="dark"] .hero-app-icon,
[data-theme="dark"] .hero-app-badge {
  border-color: rgba(42, 52, 64, 0.92);
}

.hero-app-label {
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f05d00;
}

[data-theme="dark"] .hero-app-label {
  color: #86c5ff;
}

.hero-app-name {
  display: block;
  max-width: 18ch;
  line-height: 1.2;
}

.hero-text,
.section-heading p,
.trust-grid p,
.hero-note { color: var(--muted); max-width: 60ch; }

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0 1rem;
}

.store-button {
  min-width: 196px;
  padding: 0.95rem 1.15rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  display: inline-flex;
  flex-direction: column;
  gap: 0.08rem;
  transition: transform 160ms ease, border-color 160ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  border-color: rgba(223, 126, 34, 0.35);
}

.store-button.is-disabled {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

.store-button.is-disabled:hover {
  transform: none;
  border-color: var(--line);
}

.store-button.primary {
  background: linear-gradient(135deg, #0f6f87, #00dce8);
  color: white;
}

[data-theme="dark"] .store-button.primary {
  background: linear-gradient(135deg, #12314a, #4da3ff);
}

.store-label { font-size: 0.78rem; opacity: 0.78; }

.hero-visual { position: relative; min-height: 520px; }

.phone-card {
  position: absolute;
  width: min(100%, 290px);
  background: var(--surface-strong);
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(16, 34, 45, 0.14);
  border: 1px solid rgba(16, 34, 45, 0.06);
  overflow: hidden;
}

.phone-card.tall { left: 0; top: 0; }
.phone-card.offset { right: 0; top: 5rem; }
.phone-status { height: 28px; background: linear-gradient(90deg, #0f6f87, #00dce8); }
.phone-content { padding: 1.2rem; }

[data-theme="dark"] .phone-status {
  background: linear-gradient(90deg, #12314a, #4da3ff);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}

.hero {
  position: relative;
}

.hero::before {
  width: 220px;
  height: 220px;
  right: 8%;
  top: 2rem;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.24), transparent 70%);
  animation: pulseGlow 7s ease-in-out infinite;
}

[data-theme="dark"] .hero::before {
  background: radial-gradient(circle, rgba(169, 184, 255, 0.18), transparent 70%);
}

.hero::after {
  width: 180px;
  height: 180px;
  left: 3%;
  bottom: 1rem;
  background: radial-gradient(circle, rgba(0, 220, 232, 0.24), transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite reverse;
}

[data-theme="dark"] .hero::after {
  background: radial-gradient(circle, rgba(77, 163, 255, 0.2), transparent 70%);
}

.mock-pill,
.mock-badge {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #fff0d8;
  color: #d65f00;
  font-size: 0.78rem;
  font-weight: 700;
}

.mock-map,
.gallery-shot,
.video-placeholder {
  border-radius: 22px;
  background: linear-gradient(135deg, #00dce8, #fff4a6);
}

.mock-map { height: 140px; margin: 1rem 0; }
.mock-list { display: grid; gap: 0.75rem; }

.mock-row,
.chart-bar,
.chart-bar.small {
  height: 14px;
  border-radius: 999px;
  background: rgba(16, 34, 45, 0.1);
}

.mock-row.short { width: 72%; }

.chat-bubble {
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  margin-top: 0.9rem;
  font-size: 0.94rem;
}

.chat-bubble.dark { background: #0f6f87; color: white; }
[data-theme="dark"] .chat-bubble.dark { background: #12314a; color: #d7e8ff; }
.chat-bubble.light { background: #effcff; }
.chart-bar { margin-top: 1rem; }
.chart-bar.small { width: 55%; margin-top: 0.65rem; }

.mock-map,
.gallery-shot,
.video-placeholder,
.cta-card,
.trust-card,
.feature-card,
.journey-card,
.gallery-card {
  position: relative;
  overflow: hidden;
}

.mock-map::after,
.gallery-shot::after,
.video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 30%,
    transparent 60%
  );
  transform: translateX(-120%);
  animation: shimmerSweep 6.5s ease-in-out infinite;
}

.logo-strip { padding: 1rem 0 0; }

.logo-strip-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  text-align: center;
  color: #3e5663;
  font-weight: 600;
}

.section { padding: 5rem 0; }
.section-alt { background: rgba(255, 255, 255, 0.62); }
.section-dark { background: linear-gradient(135deg, #0f6f87, #00b9d4); color: white; }
[data-theme="dark"] .section-dark {
  background: linear-gradient(135deg, #111113, #12314a);
  color: var(--ink);
}
.section-heading { margin-bottom: 2rem; }

.feature-grid,
.gallery-grid,
.journey-grid { display: grid; gap: 1rem; }

.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature-card,
.gallery-card,
.journey-card,
.trust-card,
.legal-card {
  padding: 1.35rem;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.gallery-shot { height: 280px; }
.gradient-one { background: linear-gradient(160deg, #0f6f87, #ffb100); }
.gradient-two { background: linear-gradient(160deg, #fff28d, #00c4d7); }
.gradient-three { background: linear-gradient(160deg, #00dce8, #f4feff); }
.video-card { background: linear-gradient(160deg, rgba(15, 111, 135, 0.08), rgba(255, 152, 0, 0.12)); }

[data-theme="dark"] .gradient-one { background: linear-gradient(160deg, #12314a, #4da3ff); }
[data-theme="dark"] .gradient-two { background: linear-gradient(160deg, #20284b, #12314a); }
[data-theme="dark"] .gradient-three { background: linear-gradient(160deg, #12314a, #d7e8ff); }
[data-theme="dark"] .video-card {
  background: linear-gradient(160deg, rgba(18, 49, 74, 0.34), rgba(169, 184, 255, 0.16));
}

.video-placeholder {
  height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}

.play-button {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  font-size: 1.55rem;
  cursor: pointer;
  background: #0f6f87;
  color: white;
  box-shadow: var(--shadow);
}

[data-theme="dark"] .play-button {
  background: #12314a;
  color: #d7e8ff;
}

.journey-card ol { margin: 1rem 0 0; padding-left: 1.2rem; }
.journey-card li + li { margin-top: 0.65rem; }

.check-list {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent-deep);
}

.compact-list {
  gap: 0.65rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.trust-cards { display: grid; gap: 1rem; }

.trust-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.cta-section { padding-top: 0; }

.cta-card {
  padding: 2rem;
  border-radius: 32px;
  background: linear-gradient(145deg, #00b9d4, #0f6f87);
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

[data-theme="dark"] .cta-card {
  background: linear-gradient(145deg, #111113, #12314a);
  color: var(--ink);
}

[data-theme="dark"] .stack-card {
  background: var(--surface-strong);
}

[data-theme="dark"] .status-chip {
  background: rgba(77, 163, 255, 0.14);
  color: #d7e8ff;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(16, 34, 45, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.5rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
}

.footer-meta { margin-top: 1.5rem; color: var(--muted); }

.legal-shell { min-height: 100vh; }
.legal-main { padding: 4rem 0; }
.legal-card { max-width: 860px; margin: 0 auto; }
.legal-content h2 { margin-top: 2rem; }
.legal-content p, .legal-content li { color: var(--muted); }

.js-reveal-ready .reveal-target {
  opacity: 0;
  transform: translate3d(0, calc(26px + var(--parallax-y, 0px)), 0);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js-reveal-ready .reveal-target.is-visible {
  opacity: 1;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.floating-card {
  animation: floatCard 6s ease-in-out infinite;
}

.delayed-float {
  animation-delay: 1.2s;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes shimmerSweep {
  0%,
  70%,
  100% {
    transform: translateX(-120%);
  }
  85% {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .js-reveal-ready .reveal-target,
  .js-reveal-ready .reveal-target.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .trust-grid,
  .footer-grid,
  .cta-card { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-visual { min-height: 640px; }
}

@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; }
  .top-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(13, 48, 66, 0.08);
    box-shadow: var(--shadow);
  }
  .top-nav.is-open {
    display: flex;
  }
  .top-nav a {
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    background: rgba(15, 111, 135, 0.04);
  }
  .top-nav a::after {
    display: none;
  }
  [data-theme="dark"] .top-nav {
    background: rgba(17, 17, 19, 0.98);
    border-color: rgba(42, 52, 64, 0.92);
  }
  [data-theme="dark"] .top-nav a {
    background: rgba(255, 255, 255, 0.04);
  }
  .hero { padding-top: 3.5rem; }
  .hero-grid,
  .journey-grid,
  .feature-grid,
  .gallery-grid,
  .logo-strip-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 760px; }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .store-button {
    flex: 1 1 100%;
  }
  .phone-card {
    position: relative;
    width: 100%;
    max-width: 100%;
  }
  .phone-card.offset,
  .phone-card.tall {
    left: auto;
    right: auto;
    top: auto;
    margin-top: 1rem;
  }
  .download-actions.compact { width: 100%; }
  .store-button { flex: 1 1 100%; }
  .hero-app-badge {
    width: 100%;
    align-items: flex-start;
  }
}
