/* ============================================
   Dinezzo 2.0 — Brand-aligned Design System
   Navy + Coral · Restaurant-first Tourism Tech
   ============================================ */

:root {
  /* Core brand */
  --navy-900:  #0f1626;   /* deepest */
  --navy-800:  #1a2238;   /* primary brand */
  --navy-700:  #232c47;
  --navy-600:  #2f3a5a;
  --navy-500:  #4a5573;
  --navy-400:  #6b7693;
  --navy-300:  #8e98b3;
  --navy-200:  #c2c8d8;
  --navy-100:  #e3e6ef;
  --navy-50:   #f3f4f8;

  --coral-50:  #fff1f2;
  --coral-100: #ffe1e4;
  --coral-200: #ffc7cd;
  --coral-300: #ff9fa9;
  --coral-400: #ff7480;
  --coral-500: #ff5e6c;   /* primary accent */
  --coral-600: #ef3344;   /* deep accent */
  --coral-700: #c81d2e;

  --cream:     #fbfaf7;   /* primary bg */
  --warm-white: #ffffff;
  --line:      rgba(26, 34, 56, 0.1);
  --line-soft: rgba(26, 34, 56, 0.06);
  --line-dark: rgba(255, 255, 255, 0.1);

  --grad-coral: linear-gradient(135deg, #ff5e6c 0%, #ff8a8a 100%);
  --grad-navy:  linear-gradient(135deg, #1a2238 0%, #0f1626 100%);
  --grad-text:  linear-gradient(135deg, #ff5e6c 0%, #ff3344 50%, #c81d2e 100%);

  --shadow-sm: 0 1px 2px rgba(15, 22, 38, 0.06);
  --shadow-md: 0 6px 24px -8px rgba(15, 22, 38, 0.12), 0 2px 6px rgba(15, 22, 38, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(15, 22, 38, 0.2), 0 12px 30px -10px rgba(15, 22, 38, 0.12);
  --shadow-xl: 0 50px 100px -30px rgba(15, 22, 38, 0.3), 0 20px 50px -20px rgba(15, 22, 38, 0.15);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy-900);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { padding: 0; margin: 0; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============================================
   Background
   ============================================ */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--cream); }
.bg-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.6;
}

/* ============================================
   Nav
   ============================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: rgba(251, 250, 247, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled {
  background: rgba(251, 250, 247, 0.9);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px; gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-img { width: 132px; height: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--navy-700);
  position: relative; transition: color .2s;
}
.nav-links a:hover { color: var(--coral-600); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.hamburger {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px;
  background: white; flex-direction: column; gap: 4px;
  align-items: center; justify-content: center;
}
.hamburger span { width: 18px; height: 2px; background: var(--navy-800); border-radius: 2px; }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 8px 24px 22px;
  border-top: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(16px);
}
.mobile-menu a { padding: 12px 4px; font-size: 16px; font-weight: 500; color: var(--navy-800); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.is-open { display: flex; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px;
  font-size: 14.5px; font-weight: 600;
  border-radius: 999px; white-space: nowrap;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
  letter-spacing: -0.005em;
}
.btn-lg { height: 52px; padding: 0 26px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--navy-800); color: white;
  box-shadow: 0 8px 20px -8px rgba(26, 34, 56, 0.5);
}
.btn-primary:hover { background: var(--navy-900); transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(26, 34, 56, 0.6); }
.btn-ghost { color: var(--navy-800); }
.btn-ghost:hover { background: rgba(26, 34, 56, 0.05); }
.btn-light {
  background: white; color: var(--navy-900);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.3);
}
.btn-light:hover { transform: translateY(-1px); }
.play-circle {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--coral-500); color: white;
  display: inline-grid; place-items: center;
}

/* ============================================
   HERO
   ============================================ */
.hero { padding: 64px 0 80px; position: relative; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  align-items: center;
  min-height: 580px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: white; border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--navy-700);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.01em;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral-500); box-shadow: 0 0 0 4px rgba(255, 94, 108, 0.18); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02; letter-spacing: -0.04em;
  margin: 22px 0 22px; font-weight: 800;
  color: var(--navy-900);
}
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.hero-sub {
  font-size: 18px; color: var(--navy-500);
  max-width: 540px; margin: 0 0 32px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 28px; margin: 40px 0 0;
  list-style: none; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-meta li {
  font-size: 14px; color: var(--navy-500);
}
.hero-meta strong {
  display: block; color: var(--navy-900); font-weight: 700;
  font-family: var(--font-display); font-size: 22px;
  letter-spacing: -0.02em;
}

/* Hero visual: orbit ecosystem */
.hero-visual {
  position: relative; height: 580px;
}
.hero-glow {
  position: absolute; inset: 12% 5% 0;
  background: radial-gradient(circle, rgba(255, 94, 108, 0.18), transparent 65%);
  border-radius: 50%;
  filter: blur(60px);
}
.orbit { position: absolute; inset: 0; }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.orbit-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.orbit-core {
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--grad-navy);
  display: grid; place-items: center;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(26, 34, 56, 0.4);
}
.orbit-core-ring {
  position: absolute; inset: -16px;
  border: 1px dashed rgba(255, 94, 108, 0.4);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.orbit-core-ring::before {
  content: ""; position: absolute; top: -3px; left: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral-500);
  transform: translateX(-50%);
}
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.orbit-core-inner {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: white; font-family: var(--font-display);
  font-weight: 700; font-size: 11px; letter-spacing: 0.12em;
}
.orbit-core-inner img { width: 36px; height: 36px; border-radius: 8px; background: white; padding: 4px; }

.orbit-node {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
  min-width: 140px;
  z-index: 2;
}
.orbit-node .node-icon {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; margin: 0 auto 8px;
}
.icon-restaurant { background: var(--coral-50); color: var(--coral-600); }
.icon-guide { background: #fef6e7; color: #b87514; }
.icon-tourist { background: #e8eef9; color: var(--navy-700); }
.orbit-node .node-title { font-weight: 700; font-size: 14px; color: var(--navy-900); }
.orbit-node .node-sub { font-size: 11.5px; color: var(--navy-500); margin-top: 2px; }

.node-restaurant { top: 5%;  left: 18%; }
.node-guide      { top: 36%; right: 2%; }
.node-tourist    { bottom: 8%; left: 12%; }

.orbit-chip {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  box-shadow: var(--shadow-md);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.chip-num {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  color: var(--coral-600); line-height: 1;
}
.chip-lbl { font-size: 11px; color: var(--navy-500); margin-top: 2px; }
.chip-1 { top: 18%; right: 12%; animation-delay: -1.5s; }
.chip-2 { bottom: 24%; right: 30%; animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ============================================
   Sections — common
   ============================================ */
.section { padding: 100px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.kicker {
  display: inline-block; padding: 5px 14px;
  font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--coral-600);
  background: var(--coral-50);
  border-radius: 999px;
  margin-bottom: 18px;
  font-family: var(--font-sans);
}
.kicker-light { color: var(--coral-300); background: rgba(255, 94, 108, 0.15); }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.05; letter-spacing: -0.035em;
  margin: 0 0 18px; font-weight: 800;
  color: var(--navy-900);
}
.section-head h2 .grad,
h2 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic; font-family: var(--font-serif);
  font-weight: 600; letter-spacing: -0.025em;
}
.section-head p { font-size: 17px; color: var(--navy-500); margin: 0; line-height: 1.6; }

/* ============================================
   Problem
   ============================================ */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.prob-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.prob-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-coral);
  opacity: 0; transition: opacity .25s;
}
.prob-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--coral-200); }
.prob-card:hover::before { opacity: 1; }
.prob-num {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--coral-500); letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.prob-card h3 { font-family: var(--font-display); font-size: 20px; margin: 0 0 10px; letter-spacing: -0.015em; color: var(--navy-900); }
.prob-card p { color: var(--navy-500); font-size: 15px; margin: 0; line-height: 1.6; }
.prob-card em { color: var(--navy-700); font-style: italic; }

/* ============================================
   Ecosystem
   ============================================ */
.ecosystem { background: var(--cream); }
.eco-canvas {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 56px 56px;
  min-height: 620px;
}
.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

.eco-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; z-index: 3;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
  width: 220px;
}
.eco-center img { width: 48px; height: 48px; margin: 0 auto 8px; }
.eco-center-name { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.12em; color: var(--navy-900); }
.eco-center-sub { font-size: 12px; color: var(--navy-500); margin-top: 2px; }

.eco-card {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  width: 240px;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.eco-tier {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 3px 8px; border-radius: 4px;
  background: var(--coral-50); color: var(--coral-600);
  margin-bottom: 8px;
}
.eco-card h4 { font-family: var(--font-display); font-size: 20px; margin: 0 0 12px; color: var(--navy-900); letter-spacing: -0.015em; }
.eco-card ul { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.eco-card li { font-size: 13.5px; color: var(--navy-500); display: flex; align-items: center; gap: 8px; }
.eco-card li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--coral-500);
}
.eco-metric {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--coral-600); font-weight: 600;
  padding-top: 10px; border-top: 1px solid var(--line-soft);
}

.eco-restaurant { top: 56px;  left: 56px; z-index: 2; }
.eco-guide      { top: 56px;  right: 56px; z-index: 2; }
.eco-tourist    { bottom: 56px; left: 50%; transform: translateX(-50%); max-width: 280px; z-index: 2; }

/* ============================================
   For-sections (Restaurants, Guides, Tourists)
   ============================================ */
.for-section { padding: 100px 0; }
.for-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px;
  align-items: center;
}
.for-grid.reverse { grid-template-columns: 1.1fr 1fr; }
.for-grid.reverse .for-mock { order: -1; }
.for-copy h2 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 18px; color: var(--navy-900); }
.for-copy h2.light, .for-copy p.light, .for-copy .light { color: white; }
.for-copy p { font-size: 17px; color: var(--navy-500); line-height: 1.6; margin: 0 0 24px; }
.check-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--navy-700); }
.check-list-light li { color: rgba(255, 255, 255, 0.85); }
.check { width: 22px; height: 22px; border-radius: 50%; background: var(--grad-coral); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: white; flex-shrink: 0; }

.guides {
  background: var(--navy-900);
  color: white;
  border-radius: var(--radius-xl);
  margin: 40px 24px;
  padding: 100px 0;
}
.guides .for-copy p { color: rgba(255, 255, 255, 0.7); }
.guides h2 { color: white; }

/* ============================================
   Mock window (product mockups)
   ============================================ */
.for-mock { position: relative; }
.mock-window {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: transform .3s;
}
.mock-window:hover { transform: translateY(-4px); }
.mock-dark { background: var(--navy-800); border-color: var(--navy-700); color: white; }
.mock-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  background: var(--navy-50);
  border-bottom: 1px solid var(--line);
}
.mock-dark .mock-titlebar { background: var(--navy-900); border-bottom-color: var(--line-dark); }
.mock-titlebar span { width: 10px; height: 10px; border-radius: 50%; }
.mock-titlebar .dot-r { background: #ff5f57; }
.mock-titlebar .dot-y { background: #febc2e; }
.mock-titlebar .dot-g { background: #28c840; }
.mock-title { font-size: 12.5px; color: var(--navy-500); margin-left: 12px; font-weight: 500; }
.mock-dark .mock-title { color: var(--navy-300); }
.mock-body { display: flex; min-height: 460px; }
.mock-body-stack { flex-direction: column; }
.mock-dark .mock-body { background: var(--navy-800); }

.mock-sidebar {
  width: 180px; padding: 18px 12px;
  background: var(--navy-50);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.mock-menu-item {
  padding: 10px 12px; border-radius: 8px;
  font-size: 13px; color: var(--navy-500);
  display: flex; align-items: center; gap: 10px;
}
.mock-menu-item.active { background: white; color: var(--navy-900); font-weight: 600; box-shadow: var(--shadow-sm); }
.mock-menu-item.active .mi-dot { background: var(--coral-500); }
.mi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-300); }

.mock-main { flex: 1; padding: 24px; min-width: 0; }
.mock-page-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; gap: 12px; }
.mock-h { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--navy-900); }
.mock-sub { font-size: 12.5px; color: var(--navy-500); margin-top: 2px; }
.mock-pill { font-size: 11.5px; padding: 5px 10px; border-radius: 999px; background: var(--navy-50); color: var(--navy-500); font-weight: 500; border: 1px solid var(--line); }

.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.mock-kpi { padding: 10px 12px; background: var(--navy-50); border-radius: 10px; border: 1px solid var(--line-soft); }
.mock-kpi-l { font-size: 11px; color: var(--navy-500); }
.mock-kpi-v { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--navy-900); margin: 2px 0; letter-spacing: -0.02em; }
.mock-kpi-d { font-size: 10.5px; font-weight: 600; }
.mock-kpi-d.up { color: #16a34a; }

.mock-table, .mock-tr {
  display: grid; grid-template-columns: 2fr 0.7fr 0.7fr 1fr 0.9fr;
  gap: 10px; align-items: center;
  font-size: 12.5px;
}
.mock-table { padding: 10px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.mock-th { font-size: 11px; color: var(--navy-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.mock-td { color: var(--navy-700); display: flex; align-items: center; gap: 8px; }
.mock-td.strong { font-weight: 700; color: var(--navy-900); font-family: var(--font-mono); }
.mock-td.soft { color: var(--navy-500); }
.ava { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: white; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.ava-1 { background: linear-gradient(135deg, #ff5e6c, #ff8a3d); }
.ava-2 { background: linear-gradient(135deg, #7b5cff, #c084fc); }
.ava-3 { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.ava-4 { background: linear-gradient(135deg, #10b981, #34d399); }
.ava-5 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.mock-tr { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.mock-tr:last-child { border-bottom: none; }
.status { font-size: 10.5px; padding: 3px 8px; border-radius: 999px; font-weight: 600; }
.status-top { background: var(--coral-50); color: var(--coral-700); }
.status-active { background: #dcfce7; color: #166534; }
.status-cold { background: #fef3c7; color: #92400e; }

/* Guide phone */
.guide-phone { flex: 1; padding: 20px; color: white; min-width: 0; }
.phone-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.phone-header .ava { width: 44px; height: 44px; font-size: 16px; }
.phone-name { font-weight: 700; font-size: 16px; }
.phone-role { font-size: 12px; color: rgba(255, 255, 255, 0.6); margin-top: 1px; }
.phone-rank {
  margin-left: auto; padding: 6px 12px; border-radius: 999px;
  background: var(--grad-coral); font-weight: 800; font-size: 14px;
  font-family: var(--font-display);
}
.phone-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 14px; background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px;
  margin-bottom: 14px;
}
.ps { text-align: center; }
.ps-n { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.ps-n.gold { color: #fbbf24; }
.ps-l { font-size: 11px; color: rgba(255, 255, 255, 0.5); margin-top: 2px; }

.phone-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}
.badge.gold { background: rgba(251, 191, 36, 0.15); color: #fbbf24; border-color: rgba(251, 191, 36, 0.3); }

.phone-section-title { font-size: 12px; color: rgba(255, 255, 255, 0.5); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.phone-leader { display: flex; flex-direction: column; gap: 6px; }
.pl-row {
  display: grid; grid-template-columns: 28px 30px 1fr auto; gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}
.pl-rank { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--navy-300); text-align: center; }
.pl-1 { background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent); border-color: rgba(255, 215, 0, 0.2); }
.pl-1 .pl-rank { color: #fbbf24; }
.pl-2 .pl-rank { color: #d1d5db; }
.pl-me { background: linear-gradient(90deg, rgba(255, 94, 108, 0.15), transparent); border-color: rgba(255, 94, 108, 0.3); }
.pl-me .pl-rank { color: var(--coral-400); }
.pl-name { font-weight: 500; }
.you { font-size: 10px; padding: 2px 6px; border-radius: 4px; background: var(--coral-500); color: white; margin-left: 6px; font-weight: 700; }
.pl-pts { font-family: var(--font-mono); font-size: 12px; color: var(--coral-300); font-weight: 600; }

/* Tourist mock */
.tour-place {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  margin-bottom: 16px;
}
.tour-place-img { width: 100%; height: 160px; overflow: hidden; }
.tour-place-body { padding: 16px; }
.tour-tags { display: flex; gap: 6px; margin-bottom: 8px; }
.tour-tags span {
  font-size: 11px; padding: 3px 8px; border-radius: 4px;
  background: var(--coral-50); color: var(--coral-600); font-weight: 600;
}
.tour-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--navy-900); margin-bottom: 6px; }
.tour-desc { font-size: 13.5px; color: var(--navy-500); line-height: 1.5; margin-bottom: 12px; }
.tour-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--navy-500); }
.tour-section-label { font-size: 12px; color: var(--navy-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin: 18px 0 10px; }
.tour-list { display: flex; flex-direction: column; gap: 8px; }
.tour-rest {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center;
  padding: 10px; border: 1px solid var(--line); border-radius: 12px;
  background: white;
}
.tr-img {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--coral-50);
  display: grid; place-items: center; font-size: 22px;
}
.tr-1 { background: linear-gradient(135deg, #ffe1c4, #ffd2a8); }
.tr-2 { background: linear-gradient(135deg, #ffc7cd, #ffe1e4); }
.tr-3 { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.tr-name { font-weight: 600; font-size: 14px; color: var(--navy-900); }
.tr-meta { font-size: 12px; color: var(--navy-500); }
.tr-cta { font-size: 12.5px; color: var(--coral-600); font-weight: 600; }

/* ============================================
   Flywheel
   ============================================ */
.flywheel { background: var(--cream); }
.wheel {
  position: relative; width: 100%; max-width: 600px;
  aspect-ratio: 1; margin: 0 auto 32px;
}
.wheel svg { position: absolute; inset: 0; }
.wheel-hub {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 110px; height: 110px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.wheel-hub div { font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: 0.1em; color: var(--navy-900); }
.wheel-step {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  min-width: 200px;
  box-shadow: var(--shadow-sm);
  z-index: 3;
}
.wheel-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--grad-coral); color: white;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
  flex-shrink: 0;
}
.wheel-label { font-size: 13px; font-weight: 600; color: var(--navy-800); }
.wheel-1 { top: 0%;    left: 50%; transform: translateX(-50%); }
.wheel-2 { top: 25%;   right: 0%; }
.wheel-3 { bottom: 25%; right: 0%; }
.wheel-4 { bottom: 0%; left: 50%; transform: translateX(-50%); }
.wheel-5 { bottom: 25%; left: 0%; }
.wheel-6 { top: 25%;   left: 0%; }
.wheel-foot { text-align: center; color: var(--navy-500); max-width: 600px; margin: 0 auto; font-size: 15px; }

/* ============================================
   Journey / Roadmap
   ============================================ */
.journey { background: var(--navy-50); }
.phases {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  position: relative;
}
.phase {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.phase:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.phase-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 16px;
}
.phase-now .phase-tag { background: #dcfce7; color: #166534; }
.phase:not(.phase-now):not(.phase-future) .phase-tag { background: var(--coral-50); color: var(--coral-700); }
.phase-future .phase-tag { background: var(--navy-100); color: var(--navy-600); }
.phase-num {
  font-family: var(--font-display); font-size: 32px; font-weight: 800;
  color: var(--navy-100); letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 8px;
}
.phase-now .phase-num { color: var(--coral-100); }
.phase-future .phase-num { color: var(--navy-200); }
.phase h4 { font-family: var(--font-display); font-size: 17px; margin: 0 0 8px; color: var(--navy-900); letter-spacing: -0.01em; }
.phase p { font-size: 13.5px; color: var(--navy-500); line-height: 1.55; margin: 0; }

/* ============================================
   CTA
   ============================================ */
.cta-section { padding: 60px 0 100px; }
.cta-card {
  background: var(--grad-navy);
  color: white;
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-card::before {
  content: ""; position: absolute; top: -50%; right: -20%;
  width: 80%; height: 200%;
  background: radial-gradient(circle, rgba(255, 94, 108, 0.2), transparent 60%);
  pointer-events: none;
}
.cta-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  position: relative; z-index: 1;
}
.cta-card h2 { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); margin: 0 0 14px; letter-spacing: -0.025em; color: white; }
.cta-card p { font-size: 17px; color: rgba(255, 255, 255, 0.75); margin: 0 0 28px; line-height: 1.6; }
.cta-card .kicker { background: rgba(255, 94, 108, 0.15); color: var(--coral-300); }
.cta-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 14px;
}
.cta-form input, .cta-form select {
  height: 50px; padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: white; font-family: inherit; font-size: 15px;
  outline: none; transition: border-color .2s, background .2s;
}
.cta-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.cta-form input:focus, .cta-form select:focus { border-color: var(--coral-400); background: rgba(255, 255, 255, 0.1); }
.cta-form select option { background: var(--navy-800); }
.cta-form button { grid-column: span 2; height: 50px; }
.cta-meta { font-size: 13px; color: rgba(255, 255, 255, 0.6); }

.cta-side { display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.cta-quote {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.cta-quote blockquote { margin: 0 0 12px; font-family: var(--font-serif); font-style: italic; font-size: 18px; line-height: 1.4; color: white; }
.quote-by { font-size: 13px; color: var(--coral-300); font-weight: 600; }
.cta-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cta-points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255, 255, 255, 0.85); }
.cta-points .check { background: var(--grad-coral); }

/* ============================================
   Footer
   ============================================ */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--line); background: var(--cream); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand .logo-img { width: 140px; }
.footer-blurb { color: var(--navy-500); font-size: 14px; margin: 0; max-width: 320px; line-height: 1.6; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-50); color: var(--navy-700);
  display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.socials a:hover { background: var(--navy-800); color: white; }
.footer h4 { font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy-500); margin: 6px 0 18px; }
.footer-grid > div > a { display: block; font-size: 14.5px; color: var(--navy-700); margin-bottom: 10px; transition: color .2s; }
.footer-grid > div > a:hover { color: var(--coral-600); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; color: var(--navy-500); flex-wrap: wrap; gap: 12px; }
.legal { display: flex; gap: 18px; }
.legal a:hover { color: var(--navy-900); }

/* ============================================
   Reveal
   The .reveal class hides content until it scrolls into view. We
   keep the hidden state on a CSS @supports check so that:
     - if JS never runs, content is still visible
     - if the IntersectionObserver hasn't fired yet, content is visible
   The .js-reveals class is added by main.js *only if* JS is running
   and the observer is ready. So on JS-disabled or slow-API loads,
   content is always visible.
   ============================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.js-reveals .reveal { opacity: 0; transform: translateY(20px); }
/* If the user prefers reduced motion OR the page is opened directly, show everything */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================
   Rotating words (hero "Connected to ___")
   Uses a clip-path wipe + fade for a premium feel
   that doesn't fight the parent gradient text effect.
   ============================================ */
.rotating-words {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  min-width: 12ch;        /* Reserve space for the longest word */
  text-align: left;
  white-space: nowrap;
  /* Make the container match its line height so absolute children sit on baseline */
  line-height: 1.05;
}
.rw-slot {
  display: inline-block;
  white-space: nowrap;
  /* Apply the same gradient text effect as the parent `.grad` span,
     otherwise the inherited `color: transparent` makes the word invisible. */
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  /* Crossfade + slight clip wipe */
  transition: opacity 0.45s ease, clip-path 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.45s ease;
  clip-path: inset(0 0 0 0);
  opacity: 1;
  will-change: opacity, clip-path, filter;
}
.rw-slot.rw-leave {
  opacity: 0;
  clip-path: inset(0 100% 0 0);  /* wipe out to the right */
  filter: blur(2px);
}
.rw-slot.rw-enter {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  filter: blur(0);
}
.rw-slot.rw-init {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  filter: blur(3px);
}
.rw-period { margin-left: 2px; }

/* Tiny "success" toast used by the partner form */
.cta-done {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 14.5px;
  color: #4ade80;
  margin-bottom: 14px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1100px) {
  .eco-card { width: 200px; }
  .eco-restaurant { left: 20px; }
  .eco-guide { right: 20px; }
  .phases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 480px; transform: scale(0.9); transform-origin: top center; }
  .for-grid, .for-grid.reverse { grid-template-columns: 1fr; gap: 40px; }
  .for-grid.reverse .for-mock { order: 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .eco-canvas { min-height: auto; padding: 32px 20px; }
  .eco-card { position: relative; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; transform: none; width: 100%; }
  .eco-center { position: relative; top: auto; left: auto; transform: none; margin: 16px auto; }
  .eco-lines { display: none; }
  .guides { margin: 40px 16px; padding: 64px 0; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-card { padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .wheel-step { min-width: 160px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .phases { grid-template-columns: 1fr; }
  .cta-form { grid-template-columns: 1fr; }
  .cta-form button { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .hero { padding: 40px 0 60px; }
  .hero-visual { height: 420px; transform: scale(0.78); }
  .orbit-node { padding: 10px 12px; min-width: 110px; }
  .orbit-core { width: 100px; height: 100px; }
  .mock-body { flex-direction: column; min-height: auto; }
  .mock-sidebar { width: 100%; flex-direction: row; overflow-x: auto; padding: 12px; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .wheel { transform: scale(0.7); transform-origin: center; }
}
