/* V6 light — same structure as v5 constellation, daylight palette */

:root {
  --bg-deep: #f4f6fb;
  --bg-indigo: #ffffff;
  --bg-panel: #eef1f8;
  --surface: #ffffff;
  --text: #111827;
  --text-muted: #6b7280;
  --text-on-page: #1e293b;
  --text-on-page-muted: #64748b;
  --grad-a: #8b5cf6;
  --grad-b: #3b82f6;
  --grad-c: #22d3ee;
  --grad: linear-gradient(110deg, #8b5cf6 0%, #4f46e5 45%, #2563eb 100%);
  --font: "Outfit", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --content-max: 1080px;
  --content-shell: 1120px;
  --edge-min: 56px;
  --header-h: 4.25rem;
  --radius-xl: 1.75rem;
  --radius: 1rem;
  --shadow-card: 0 18px 48px rgba(15, 23, 42, 0.08);
  --focus: 0 0 0 3px rgba(139, 92, 246, 0.35);
  --line: #e5e7eb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-on-page);
  background: var(--bg-deep);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

a:hover {
  text-decoration: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.wrap {
  width: min(100% - 2rem, var(--content-max));
  margin-inline: auto;
}

/* —— Shell + edge rails (Canva road-network look) —— */

.page-shell {
  display: grid;
  grid-template-columns: 0 minmax(0, 1fr) 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 0%, #ebe4ff 0%, var(--bg-deep) 55%);
}

.edge-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  min-width: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 38%, #dceef2 0%, #e8f1f4 70%, #f0f5f7 100%);
}

.edge-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #f4f6fbcc, transparent 35%, transparent 65%, #f4f6fbcc);
}

.edge-rail canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.page-main {
  position: relative;
  min-width: 0;
  background: transparent;
}

/* Approaching Full HD: visible side rails */
@media (min-width: 1200px) and (max-width: 1919.98px) {
  .page-shell {
    grid-template-columns:
      clamp(var(--edge-min), 8vw, 140px)
      minmax(0, 1fr)
      clamp(var(--edge-min), 8vw, 140px);
  }
  .edge-rail {
    opacity: 1;
  }
}

/* Full HD+: rails grow as leftover space (Canva grid) */
@media (min-width: 1920px) {
  .page-shell {
    grid-template-columns:
      minmax(88px, 1fr)
      minmax(0, var(--content-shell))
      minmax(88px, 1fr);
  }
  .edge-rail {
    opacity: 1;
  }
}

/* —— Header —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, #ffffff 86%, transparent);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100% - 2rem, var(--content-max));
  margin-inline: auto;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-on-page-muted);
  font-weight: 500;
}

.nav-desktop {
  display: none;
  gap: 1.35rem;
  margin-left: auto;
  margin-right: 1rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-desktop a {
  color: var(--text-on-page-muted);
}

.nav-desktop a:hover {
  color: #4c1d95;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .header-actions {
    margin-left: 0;
  }
}

.lang-switch {
  position: relative;
}

.lang-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-on-page);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  min-width: 9rem;
  box-shadow: var(--shadow-card);
}

.lang-menu.open {
  display: block;
}

.lang-menu button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text-on-page);
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
  font: inherit;
  cursor: pointer;
}

.lang-menu button:hover,
.lang-menu button[aria-current="true"] {
  background: rgba(139, 92, 246, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

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

.btn-primary,
.btn-soft {
  background: #f5f3ff;
  color: #4c1d95;
  border: 1.5px solid rgba(109, 40, 217, 0.28);
  box-shadow: none;
}

.btn-primary:hover,
.btn-soft:hover {
  background: #ede9fe;
  border-color: #7c3aed;
  color: #3b0764;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(109, 40, 217, 0.14);
}

.btn-ghost {
  background: transparent;
  color: #4c1d95;
  border: 1.5px solid rgba(109, 40, 217, 0.35);
}

.btn-ghost:hover {
  border-color: #7c3aed;
  background: #f5f3ff;
}

.btn-wide {
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
}

.btn-cta-desktop {
  display: none;
}

@media (min-width: 900px) {
  .btn-cta-desktop {
    display: inline-flex;
  }
}

.btn-menu {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-menu span,
.btn-menu span::before,
.btn-menu span::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: #1e293b;
  border-radius: 2px;
  position: relative;
}

.btn-menu span::before,
.btn-menu span::after {
  content: "";
  position: absolute;
  left: 0;
}

.btn-menu span::before {
  top: -6px;
}

.btn-menu span::after {
  top: 6px;
}

@media (min-width: 900px) {
  .btn-menu {
    display: none;
  }
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: var(--text-on-page);
  font-weight: 500;
}

.lang-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lang-row button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-on-page);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.lang-row button[aria-current="true"] {
  background: #ede9fe;
}

/* —— Opening visual (50/50 intro + photo) —— */

.section-visual {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.visual-split {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
}

@media (min-width: 900px) {
  .visual-split {
    grid-template-columns: 1fr 1fr;
    min-height: min(72vh, 620px);
  }
}

.visual-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.75rem, 4vw, 3.25rem) clamp(1.35rem, 3.5vw, 3rem);
  background: linear-gradient(160deg, #f8f5ff 0%, #eef2ff 55%, #e8eefc 100%);
  color: var(--text-on-page);
}

.visual-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7c3aed;
}

.visual-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #0f172a;
  max-width: 18ch;
}

.visual-title em {
  font-style: italic;
  font-weight: 600;
}

.visual-lead {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.65;
  color: var(--text-on-page-muted);
}

.visual-cta-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1rem;
  width: 100%;
  margin-top: 0.75rem;
  color: #4c1d95;
}

.visual-cta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  line-height: 1.3;
}

.visual-cta-row > .visual-cta:first-child,
.visual-cta-row > .visual-cta:last-child {
  justify-self: center;
  text-align: center;
}

.visual-cta:hover,
.visual-cta-icon:hover {
  color: #6d28d9;
}

.visual-cta-icon {
  display: block;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  position: relative;
  flex-shrink: 0;
  color: inherit;
  justify-self: center;
}

.visual-cta-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}

.visual-media {
  margin: 0;
  min-height: 220px;
  background: #0b1026;
  overflow: hidden;
}

@media (min-width: 900px) {
  .visual-media {
    min-height: 100%;
  }
}

.visual-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* —— Hero (white card) —— */

.hero {
  padding: 1.5rem 0 2.5rem;
}

.hero-grid {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    grid-template-rows: auto auto;
    padding: 2.35rem 2.15rem 1.85rem;
    column-gap: 2.25rem;
    row-gap: 1.85rem;
  }

  .hero-main {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    min-height: 100%;
    height: 100%;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    height: auto;
  }

  .flow-strip {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .hero-tips-link {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .hero-cta {
    margin-top: 0;
    padding-top: 1.5rem;
  }
}

.hero-main {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  min-width: 0;
}

.hero-copy {
  min-width: 0;
}

.hero-product {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7c3aed;
  letter-spacing: 0.02em;
}

.hero-title {
  margin: 0 0 0.95rem;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.hero-lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.hero-cta .btn-ghost {
  color: #4c1d95;
  border-color: rgba(109, 40, 217, 0.35);
}

.hero-cta .btn-ghost:hover {
  background: #f5f3ff;
  border-color: #7c3aed;
}

.hero-visual {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(160deg, #0b1026, #1a1040 55%, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
  transform: rotate(1.2deg);
  animation: float-card 7s ease-in-out infinite;
}

@keyframes float-card {
  0%,
  100% {
    transform: rotate(1.2deg) translateY(0);
  }
  50% {
    transform: rotate(0.6deg) translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual {
    animation: none;
  }
}

.hero-visual-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  color: #cbd5e1;
  font-size: 0.72rem;
}

.hero-visual-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
}

.hero-visual-bar i:nth-child(1) {
  background: #ff5f57;
}
.hero-visual-bar i:nth-child(2) {
  background: #febc2e;
}
.hero-visual-bar i:nth-child(3) {
  background: #28c840;
}

.hero-visual-bar span {
  margin-left: 0.4rem;
}

.hero-slides {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 220px;
  background: #0a0f24;
}

.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.hero-slides img.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slides img {
    transition: none;
  }
}

.ui-mock {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 220px;
}

.ui-mock-map {
  min-height: 120px;
  background: radial-gradient(circle at 30% 40%, rgba(56, 189, 248, 0.15), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(168, 85, 247, 0.2), transparent 45%), #0a0f24;
}

.map-net {
  width: 100%;
  height: 130px;
  display: block;
}

.ui-mock-timeline {
  padding: 0.65rem 0.75rem 0.85rem;
  background: rgba(8, 10, 24, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gantt {
  display: grid;
  gap: 0.35rem;
}

.gantt-row {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  color: #94a3b8;
}

.gantt-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
}

.gantt-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #3b82f6);
}

.gantt-bar.alt {
  background: linear-gradient(90deg, #a78bfa, #6366f1);
}

.gantt-bar.warn {
  background: linear-gradient(90deg, #fb923c, #f97316);
}

.gantt-bar.pink {
  background: linear-gradient(90deg, #f472b6, #e879f9);
}

/* Flow strip inside white card */

.flow-strip {
  list-style: none;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid #eef2ff;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .flow-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.flow-strip li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.flow-strip strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: #0f172a;
}

.flow-strip p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-tips-link {
  margin: 0;
  padding-top: 0.35rem;
  text-align: center;
}

.hero-tips-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #4c1d95;
}

.hero-tips-link a:hover {
  color: #6d28d9;
}

.hero-tips-link .visual-cta-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.flow-icon {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  background: #f5f3ff;
  position: relative;
}

.flow-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1.15rem;
  height: 1.15rem;
  background: no-repeat center / contain;
}

.flow-icon--cal {
  background: linear-gradient(145deg, #ede9fe, #ddd6fe);
}
.flow-icon--cal::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%237c3aed' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
}

.flow-icon--map {
  background: linear-gradient(145deg, #e0f2fe, #cffafe);
}
.flow-icon--map::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230ea5e9' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 10-14 0c0 4.8 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.flow-icon--doc {
  background: linear-gradient(145deg, #dbeafe, #e0e7ff);
}
.flow-icon--doc::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232563eb' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h7l5 5v13a1 1 0 01-1 1H7a1 1 0 01-1-1V4a1 1 0 011-1z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E");
}

/* —— Tips (v4 behaviour, v5 constellation look) —— */

.section-tips {
  padding: 2.5rem 0 3rem;
}

.tip-frame {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
}

.tip-nav {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #1e293b;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.tip-nav:hover {
  border-color: #a78bfa;
  background: #f5f3ff;
  color: #5b21b6;
}

@media (min-width: 900px) {
  .tip-frame {
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
  }

  .tip-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.tip-viewport {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  touch-action: pan-y;
  cursor: grab;
  outline: none;
}

.tip-viewport:active {
  cursor: grabbing;
}

.tip-track {
  display: flex;
  flex-direction: row;
  will-change: transform;
  user-select: none;
}

.tip-slide {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--surface);
  color: var(--text);
  min-height: 280px;
  box-sizing: border-box;
}

@media (min-width: 820px) {
  .tip-slide {
    grid-template-columns: 1.05fr 1fr;
    min-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tip-track {
    transition: none;
  }
}

.tip-figure {
  margin: 0;
  background: linear-gradient(160deg, #0b1026, #1a1040 55%, #0f172a);
  min-height: 200px;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.tip-figure img {
  width: min(100%, 420px);
  height: auto;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(8, 4, 30, 0.45));
}

.tip-copy {
  padding: 1.35rem 1.4rem 1.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tip-topic {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c3aed;
}

.tip-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.tip-body {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

.tip-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.45rem;
}

.tip-see {
  min-height: 2.75rem;
}

.tip-index {
  font-size: 0.85rem;
  font-weight: 600;
  color: #9ca3af;
  font-variant-numeric: tabular-nums;
}

.tip-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.tip-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d1d5db;
  cursor: pointer;
  transition: width 0.15s ease, background 0.15s ease;
}

.tip-dots button[aria-current="true"] {
  background: #8b5cf6;
  width: 1.35rem;
}

.video-dialog {
  border: 0;
  padding: 0;
  max-width: min(960px, 94vw);
  width: 100%;
  background: #0a0618;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.video-dialog::backdrop {
  background: rgba(8, 4, 30, 0.78);
}

.video-dialog-bar {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 0.65rem;
  background: #15102e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-close {
  border: 0;
  background: transparent;
  color: #e8e4f5;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  min-height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
}

.btn-close:hover {
  background: rgba(139, 92, 246, 0.25);
}

.video-dialog video {
  width: 100%;
  display: block;
  max-height: 80vh;
  background: #000;
}

/* —— Sections —— */

.section {
  padding: 3.25rem 0;
}

.section-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-lead {
  margin: 0 auto 2rem;
  max-width: 36rem;
  text-align: center;
  color: var(--text-on-page-muted);
  font-size: 1rem;
}

.section-features {
  background: linear-gradient(180deg, transparent, #eef0f8 25%, #e9ecf6 100%);
}

.feature-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .feature-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
  }
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.feature-grid h3 {
  margin: 0.55rem 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.feature-grid p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.feat-ico {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: #ede9fe;
  position: relative;
}

.feat-ico::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1.2rem;
  height: 1.2rem;
  background: no-repeat center / contain;
}

.feat-ico--cal::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%237c3aed' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
}
.feat-ico--map::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230ea5e9' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 10-14 0c0 4.8 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}
.feat-ico--doc::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232563eb' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h7l5 5v13a1 1 0 01-1 1H7a1 1 0 01-1-1V4a1 1 0 011-1z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E");
}
.feat-ico--phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23db2777' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
}
.feat-ico--cam::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230d9488' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M4 8h3l2-2h6l2 2h3v11H4V8z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E");
}
.feat-ico--fleet::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23ea580c' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='3' y='6' width='18' height='4' rx='1'/%3E%3Crect x='3' y='12' width='11' height='4' rx='1'/%3E%3Crect x='3' y='18' width='15' height='3' rx='1'/%3E%3C/svg%3E");
}

.phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.phone-caption {
  margin: 0;
  text-align: center;
  max-width: 15rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-on-page-muted);
}

.phone-caption strong {
  display: block;
  color: #0f172a;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.phone-caption--lead::before {
  content: "";
  display: block;
  width: 48px;
  height: 28px;
  margin: 0 auto 0.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23a78bfa' stroke-width='2' viewBox='0 0 48 28'%3E%3Cpath d='M2 20 C18 4, 30 4, 46 18'/%3E%3Cpath d='M38 10l8 8-10 2'/%3E%3C/svg%3E")
    no-repeat center / contain;
}

.phone-caption--foot {
  max-width: 16rem;
}

.phone {
  width: 168px;
  height: 320px;
  border-radius: 1.6rem;
  background: linear-gradient(160deg, #1e1b4b, #0f172a);
  border: 3px solid #334155;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  padding: 0.55rem;
  position: relative;
  animation: float-phone 6s ease-in-out infinite;
}

@keyframes float-phone {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone {
    animation: none;
  }
}

.phone-notch {
  width: 42%;
  height: 10px;
  margin: 0.15rem auto 0.55rem;
  border-radius: 999px;
  background: #0b1220;
}

.phone-screen {
  background: linear-gradient(180deg, #312e81, #1e1b4b 40%, #0f172a);
  border-radius: 1.1rem;
  height: calc(100% - 1.2rem);
  padding: 1rem 0.75rem;
}

.phone-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f472b6, #8b5cf6);
  margin-bottom: 0.65rem;
}

.phone-line {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.4rem;
  width: 70%;
}

.phone-line.short {
  width: 45%;
  margin-bottom: 0.9rem;
  opacity: 0.55;
}

.phone-card {
  height: 42px;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-card.dim {
  opacity: 0.55;
}

/* —— Economy (white card) —— */

.section-economy {
  padding-top: 1rem;
}

.section-economy .wrap {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 2.5rem 1.5rem 2.75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

@media (min-width: 720px) {
  .section-economy .wrap {
    padding: 2.75rem 2.25rem 3rem;
    border-radius: var(--radius-xl);
  }
}

.section-economy .section-title {
  color: #0f172a;
}

.section-economy .section-lead {
  color: var(--text-muted);
}

.economy-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .economy-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.economy-grid li {
  text-align: center;
  padding: 0.5rem 0.75rem;
}

.economy-grid h3 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.05rem;
  color: #0f172a;
}

.economy-grid p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.economy-cta {
  margin: 2rem 0 0;
  text-align: center;
}

.economy-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  max-width: 36rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: #4c1d95;
}

.economy-cta a:hover {
  color: #6d28d9;
}

.eco-ico {
  display: inline-block;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1rem;
  background: #eff6ff;
  position: relative;
}

.eco-ico::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1.55rem;
  height: 1.55rem;
  background: no-repeat center / contain;
}

.eco-ico--server::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232563eb' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='6' rx='1.5'/%3E%3Crect x='3' y='11' width='18' height='6' rx='1.5'/%3E%3Cpath d='M7 6h.01M7 14h.01M11 6h6M11 14h6'/%3E%3C/svg%3E");
}
.eco-ico--cloud::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232563eb' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M7 18h10a4 4 0 000-8 5.5 5.5 0 00-10.4 1.5A3.5 3.5 0 007 18z'/%3E%3Cpath d='M12 11v6M9.5 13.5L12 11l2.5 2.5M9.5 15.5L12 18l2.5-2.5'/%3E%3C/svg%3E");
}
.eco-ico--support::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232563eb' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3Ccircle cx='15.5' cy='10' r='2.2'/%3E%3Cpath d='M13.8 10h3.4M15.5 8.3v3.4'/%3E%3C/svg%3E");
}

/* —— Demo —— */

.section-demo {
  background: linear-gradient(180deg, #f8f7fc, #eef1f8);
  padding-bottom: 3.5rem;
}

.section-demo .section-title {
  color: #0f172a;
}

.demo-form {
  max-width: 36rem;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.25rem 1.35rem;
  box-shadow: var(--shadow-card);
  box-sizing: border-box;
}

@media (min-width: 560px) {
  .demo-form {
    grid-template-columns: 1fr 1fr;
  }
}

.demo-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  min-width: 0;
}

.demo-form label.full,
.demo-form .btn-wide,
.demo-form .demo-soon {
  grid-column: 1 / -1;
}

.demo-form input[type="text"],
.demo-form input[type="email"],
.demo-form input[type="tel"] {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 0.75rem;
  padding: 0.7rem 0.85rem;
  color: #0f172a;
  font: inherit;
}

.demo-check {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.55rem !important;
  font-size: 0.82rem !important;
}

.demo-check input {
  margin-top: 0.2rem;
}

.demo-form .btn-wide:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.demo-soon {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: #7c3aed;
}

/* —— Footer —— */

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--text-on-page-muted);
  font-size: 0.88rem;
  background: #fff;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a:hover {
  color: #4c1d95;
}

.footer-meta {
  text-align: right;
}
