/* =========================================================
   Ambix POS Landing Page — Saffron Constellation Rise
   ========================================================= */

:root {
  --canvas:           #0c0a08;
  --surface:          #1a1408;
  --surface-elevated: #252018;
  --saffron:          #e09418;
  --saffron-glow:     rgba(224, 148, 24, 0.12);
  --saffron-border:   rgba(224, 148, 24, 0.12);
  --saffron-shadow:   rgba(224, 148, 24, 0.08);
  --text-primary:     #f5f0e8;
  --text-secondary:   #7a7060;
  --text-muted:       #4a4438;

  --font:             -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --max-w:            1320px;
  --section-pad:      clamp(4rem, 3rem + 5vw, 10rem);
  --radius:           8px;
  --radius-sm:        4px;

  --duration-fast:    150ms;
  --duration-normal:  300ms;
  --ease-out:         cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font);
  background: var(--canvas);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.hidden { display: none !important; }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 16px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

/* ── Nav ───────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 10, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224, 148, 24, 0.06);
  transition: background var(--duration-normal) var(--ease-out);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.logo-img-sm {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.logo-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-primary);
}

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

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-primary);
}

.nav-cta {
  padding: 8px 20px;
  background: var(--saffron);
  color: var(--canvas) !important;
  font-weight: 700;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  transition: box-shadow var(--duration-fast);
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(224, 148, 24, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero — The Split ──────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-tagline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  pointer-events: none;
}

.hero-tagline .btn-saffron {
  pointer-events: auto;
}

.hero-label {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.hero h1 {
  font-size: clamp(2rem, 1.2rem + 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-primary);
  text-shadow: 0 2px 30px rgba(0,0,0,0.9);
}

/* ── Split Layout ──────────────────────────────────────── */
.hero-split {
  display: flex;
  flex: 1;
  min-height: 100vh;
  padding-top: 64px;
}

.split-chaos,
.split-ambix {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* LEFT: Chaos */
.split-chaos {
  background: #0a0908;
}

.chaos-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.02) 2px,
    rgba(255,255,255,0.02) 4px
  );
  pointer-events: none;
}

.chaos-elements {
  position: relative;
  width: 280px;
  height: 360px;
}

.chaos-item {
  position: absolute;
  font-size: 12px;
}

.chaos-note {
  top: 10%;
  left: 5%;
  background: #2a2518;
  padding: 14px 16px;
  border-radius: 4px;
  border-left: 3px solid #5a4520;
  color: #8a7a60;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: rotate(-2deg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.chaos-scrawl {
  font-style: italic;
  opacity: 0.6;
  font-size: 11px;
}

.chaos-error {
  top: 45%;
  left: 15%;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #f87171;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: error-pulse 2s ease-in-out infinite;
}

.error-dot {
  width: 8px;
  height: 8px;
  background: #f87171;
  border-radius: 50%;
  animation: blink 1s ease-in-out infinite;
}

@keyframes error-pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.chaos-receipt {
  top: 15%;
  right: 10%;
  background: #1e1a14;
  padding: 12px 14px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transform: rotate(3deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.receipt-line {
  width: 80px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
}

.receipt-line.short { width: 45px; }
.receipt-line.medium { width: 60px; }

.chaos-sticky {
  bottom: 20%;
  left: 10%;
  background: #3d3520;
  color: #c4a050;
  padding: 10px 14px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  transform: rotate(2deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.chaos-calc {
  bottom: 12%;
  right: 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #6a5a40;
  transform: rotate(-1deg);
}

.split-label-chaos,
.split-label-ambix {
  position: absolute;
  bottom: 32px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.4;
}

.split-label-chaos {
  color: #6a5a48;
}

.split-label-ambix {
  color: var(--saffron);
  opacity: 0.6;
}

/* RIGHT: Ambix */
.split-ambix {
  background: linear-gradient(170deg, #0e0c08 0%, #1a1408 50%, #201808 100%);
}

.ambix-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(224,148,24,0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Mac Mini Mockup ───────────────────────────────────── */
.mac-mini {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mac-screen {
  width: 280px;
  background: #111;
  border-radius: 10px;
  border: 2px solid #2a2418;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(224,148,24,0.1);
}

.mac-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #1a1408;
  border-bottom: 1px solid rgba(224,148,24,0.1);
}

.mac-logo {
  border-radius: 3px;
  width: 14px;
  height: 14px;
  object-fit: cover;
}

.mac-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.mac-status {
  font-size: 9px;
  color: #4ade80;
  letter-spacing: 0.5px;
}

.mac-feed {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-secondary);
  background: rgba(224,148,24,0.04);
  border: 1px solid transparent;
  transition: all 0.4s var(--ease-out);
}

.feed-item.active {
  background: rgba(224,148,24,0.08);
  border-color: rgba(224,148,24,0.15);
  color: var(--text-primary);
}

.feed-icon {
  font-size: 12px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.feed-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-time {
  font-size: 9px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.feed-sale .feed-icon { color: var(--saffron); }
.feed-age .feed-icon { color: #4ade80; }
.feed-sync .feed-icon { color: #38bdf8; }
.feed-stock .feed-icon { color: #c084fc; }

/* Mac Mini base */
.mac-base {
  width: 120px;
  height: 6px;
  background: linear-gradient(180deg, #2a2418, #1a1408);
  border-radius: 0 0 4px 4px;
  margin-top: -1px;
}

.mac-base-inner {
  width: 40px;
  height: 2px;
  background: rgba(224,148,24,0.2);
  border-radius: 2px;
  margin: 2px auto 0;
}

/* ── Dashboard Glow Card ───────────────────────────────── */
.dashboard-glow-card {
  position: absolute;
  z-index: 1;
  top: 72%;
  left: 50%;
  transform: translate(-50%, -10%) rotate(2deg);
  width: 360px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(224, 148, 24, 0.15),
    0 0 120px rgba(224, 148, 24, 0.08);
  border: 1px solid rgba(224, 148, 24, 0.15);
  opacity: 0.4;
  filter: blur(0.5px);
}

.dashboard-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.dashboard-glow-card-2 {
  top: 18%;
  transform: translate(-60%, -40%) rotate(-3deg);
  width: 200px;
  opacity: 0.3;
}

/* ── Feature Images ────────────────────────────────────── */
.feature-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--saffron-border);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(224, 148, 24, 0.06);
}

/* ── Floating Cards (on Ambix side) ────────────────────── */
.float-card {
  position: absolute;
  background: linear-gradient(145deg, var(--surface), var(--surface-elevated));
  border-radius: 10px;
  border: 1px solid var(--saffron-border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4),
              0 0 30px var(--saffron-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  z-index: 3;
}

.float-card-icon {
  color: var(--saffron);
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-card-label {
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--saffron);
  opacity: 0.7;
}

.float-card-1 {
  width: 70px; height: 60px;
  top: 22%; right: 8%;
  transform: rotate(-5deg);
  animation: float1 6s ease-in-out infinite;
}

.float-card-2 {
  width: 62px; height: 54px;
  top: 55%; left: 8%;
  transform: rotate(3deg);
  animation: float2 7s ease-in-out infinite;
  animation-delay: -1.5s;
}

.float-card-3 {
  width: 72px; height: 54px;
  bottom: 18%; right: 12%;
  transform: rotate(1deg);
  animation: float3 8s ease-in-out infinite;
  animation-delay: -3s;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce-hint 2s ease-in-out infinite;
}

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

/* ── CTA Button ────────────────────────────────────────── */
.btn-saffron {
  display: inline-block;
  padding: 13px 32px;
  background: var(--saffron);
  color: var(--canvas);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(224, 148, 24, 0.3);
  transition: box-shadow var(--duration-fast),
              transform var(--duration-fast);
}

.btn-saffron:hover {
  box-shadow: 0 6px 32px rgba(224, 148, 24, 0.4);
  transform: translateY(-1px);
}

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

/* ── Floating Cards ────────────────────────────────────── */
.hero-constellation {
  flex: 0 0 45%;
  position: relative;
  min-height: 400px;
}

.float-card {
  position: absolute;
  background: linear-gradient(145deg, var(--surface), var(--surface-elevated));
  border-radius: 10px;
  border: 1px solid var(--saffron-border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4),
              0 0 30px var(--saffron-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
}

.float-card-icon {
  color: var(--saffron);
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-card-dollar {
  font-size: 16px;
  font-weight: 600;
  color: var(--saffron);
  opacity: 0.7;
}

.float-card-label {
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--saffron);
  opacity: 0.7;
}

.float-card-1 {
  width: 76px; height: 66px;
  top: 10%; right: 10%;
  transform: rotate(-5deg);
  animation: float1 6s ease-in-out infinite;
}

.float-card-2 {
  width: 66px; height: 58px;
  top: 35%; right: 55%;
  transform: rotate(3deg);
  animation: float2 7s ease-in-out infinite;
  animation-delay: -1.2s;
}

.float-card-3 {
  width: 80px; height: 58px;
  top: 60%; right: 15%;
  transform: rotate(1deg);
  animation: float3 8s ease-in-out infinite;
  animation-delay: -2.5s;
}

.float-card-4 {
  width: 62px; height: 54px;
  top: 25%; right: 35%;
  transform: rotate(-3deg);
  animation: float4 6.5s ease-in-out infinite;
  animation-delay: -3.8s;
}

.float-card-5 {
  width: 70px; height: 56px;
  top: 55%; right: 50%;
  transform: rotate(4deg);
  animation: float5 7.5s ease-in-out infinite;
  animation-delay: -0.8s;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-12px) rotate(-5deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50%      { transform: translateY(-12px) rotate(3deg); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50%      { transform: translateY(-12px) rotate(1deg); }
}
@keyframes float4 {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-12px) rotate(-3deg); }
}
@keyframes float5 {
  0%, 100% { transform: translateY(0) rotate(4deg); }
  50%      { transform: translateY(-12px) rotate(4deg); }
}

/* ── Hardware Showcase ──────────────────────────────────── */
.hardware-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--canvas) 0%, #0e0b08 50%, var(--canvas) 100%);
  overflow: hidden;
}

.hardware-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hardware-visual {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 300px;
}

/* CSS Mac Mini */
.mini-device {
  position: relative;
  z-index: 2;
}

.mini-top {
  width: 200px;
  height: 200px;
  background: linear-gradient(145deg, #c0c0c0, #9a9a9a);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.2);
}

.mini-logo {
  font-size: 36px;
  color: rgba(60, 60, 60, 0.5);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.mini-body {
  width: 200px;
  height: 14px;
  background: linear-gradient(180deg, #888, #666);
  border-radius: 0 0 8px 8px;
  margin-top: -2px;
  position: relative;
}

.mini-front-edge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mini-port {
  width: 12px;
  height: 4px;
  background: #444;
  border-radius: 1px;
}

.mini-light {
  width: 6px;
  height: 6px;
  background: var(--saffron);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--saffron), 0 0 16px rgba(224,148,24,0.4);
  animation: mini-breathe 3s ease-in-out infinite;
}

@keyframes mini-breathe {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 8px var(--saffron), 0 0 16px rgba(224,148,24,0.3); }
  50% { opacity: 1; box-shadow: 0 0 12px var(--saffron), 0 0 24px rgba(224,148,24,0.5); }
}

.mini-shadow {
  width: 180px;
  height: 20px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.4) 0%, transparent 70%);
  margin: 4px auto 0;
  position: relative;
  z-index: 1;
}

.hardware-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(224,148,24,0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Hardware text */
.hardware-text {
  flex: 1;
}

.hardware-text h2 {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hardware-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hardware-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hw-stat {
  background: var(--surface);
  border: 1px solid var(--saffron-border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hw-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--saffron);
}

.hw-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ── Pain Points ───────────────────────────────────────── */
.pain-section {
  padding: var(--section-pad) 0;
}

.pain-section h2 {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 48px;
  max-width: 700px;
}

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

.pain-card {
  background: var(--surface);
  border-radius: var(--radius);
  border-left: 3px solid var(--saffron);
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.pain-problem {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.pain-answer {
  font-size: 14px;
  color: var(--saffron);
  line-height: 1.5;
}

/* ── Features ──────────────────────────────────────────── */
.features-section {
  padding: var(--section-pad) 0;
}

.features-section h2 {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 64px;
  max-width: 600px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 64px;
}

.feature-row-reverse {
  flex-direction: row-reverse;
}

.feature-screenshot {
  flex: 0 0 50%;
}

.screenshot-placeholder {
  aspect-ratio: 16 / 10;
  background: var(--surface);
  border: 2px dashed var(--saffron-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.placeholder-mark {
  font-size: 28px;
  font-weight: 800;
  color: var(--saffron);
  opacity: 0.3;
}

.placeholder-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Daisho Section ─────────────────────────────────────── */
.daisho-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--canvas) 0%, #0e0b08 50%, var(--canvas) 100%);
  overflow: hidden;
}

.daisho-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.daisho-text {
  flex: 1;
}

.daisho-text h2 {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.daisho-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.daisho-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.daisho-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.daisho-feat-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.daisho-feat strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.daisho-feat span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* iPhone Mockup */
.daisho-visual {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.iphone-frame {
  width: 220px;
  background: #1a1a1a;
  border-radius: 32px;
  border: 3px solid #333;
  padding: 12px;
  position: relative;
  z-index: 2;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(224,148,24,0.08);
}

.iphone-notch {
  width: 80px;
  height: 20px;
  background: #1a1a1a;
  border-radius: 0 0 14px 14px;
  margin: -12px auto 8px;
  position: relative;
  z-index: 3;
}

.iphone-screen {
  background: var(--canvas);
  border-radius: 20px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 360px;
}

.iphone-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 8px;
  border-bottom: 1px solid var(--saffron-border);
}

.iphone-card {
  background: var(--surface);
  border: 1px solid var(--saffron-border);
  border-radius: 10px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.iphone-card-sm {
  padding: 10px 12px;
}

.iphone-card-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.iphone-card-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--saffron);
}

.iphone-card-sub {
  font-size: 10px;
  color: #4ade80;
  font-weight: 600;
}

.iphone-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-secondary);
  padding: 6px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
}

.iphone-homebar {
  width: 60px;
  height: 4px;
  background: #444;
  border-radius: 4px;
  margin: 10px auto 0;
}

.daisho-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(224,148,24,0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ── Kanpai — Customer App ────────────────────────────── */
.kanpai-section {
  padding: var(--section-pad) 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(224, 148, 24, 0.05) 0%, transparent 55%),
    var(--canvas);
  overflow: hidden;
  border-top: 1px solid rgba(224, 148, 24, 0.06);
  border-bottom: 1px solid rgba(224, 148, 24, 0.06);
}

.kanpai-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.kanpai-text {
  flex: 1;
}

.kanpai-text h2 {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.kanpai-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.kanpai-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.kanpai-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.kanpai-feat-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.kanpai-feat strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.kanpai-feat span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.kanpai-pill {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--saffron-border);
  border-radius: 999px;
  padding: 8px 14px;
  margin: 4px 0 18px;
}

.kanpai-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--saffron);
  border-bottom: 1px solid rgba(224, 148, 24, 0.3);
  padding-bottom: 1px;
  transition: opacity var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.kanpai-link:hover,
.kanpai-link:focus {
  opacity: 0.85;
  border-bottom-color: var(--saffron);
}

.kanpai-visual {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Subtle differentiation from Daisho mockup — slightly cooler shadow + saffron-tinged frame */
.iphone-frame-kanpai {
  border-color: rgba(224, 148, 24, 0.18);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.55),
    0 0 60px rgba(224,148,24,0.12);
}

.iphone-card-coupon {
  background: linear-gradient(135deg, rgba(224, 148, 24, 0.12) 0%, var(--surface) 60%);
  border-color: rgba(224, 148, 24, 0.35);
}

.iphone-card-coupon .iphone-card-value {
  color: var(--saffron);
}

.kanpai-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(224,148,24,0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Reserved slots — visible but empty until assets land */
.kanpai-screenshot-slot {
  display: none;
  /* When ready: set display:block, drop in <img src="..." />, sized ~600×1200 */
}

.kanpai-store-slot {
  min-height: 0;
  margin: 4px 0 18px;
  /* When ready: set min-height:48px and drop in App Store badge anchor */
}

.kanpai-store-slot:not(:empty) {
  min-height: 48px;
}

.feature-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--saffron);
  transition: opacity var(--duration-fast);
}

.feature-link:hover {
  opacity: 0.8;
}

/* ── How It Works ──────────────────────────────────────── */
.how-section {
  padding: var(--section-pad) 0;
}

.how-section h2 {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 56px;
  max-width: 550px;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--saffron-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--saffron);
  color: var(--canvas);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.step-connector {
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  position: relative;
}

.step-connector::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--saffron-border);
}

.step-connector::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--saffron);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
}

/* ── Social Proof ──────────────────────────────────────── */
.proof-section {
  padding: var(--section-pad) 0;
  text-align: center;
}

.proof-inner {
  max-width: 600px;
}

.proof-section h2 {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.proof-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Final CTA ─────────────────────────────────────────── */
.cta-section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  text-align: center;
  max-width: 480px;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 1.2rem + 2.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.cta-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224, 148, 24, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Demo Form ─────────────────────────────────────────── */
.demo-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-form input[type="text"],
.demo-form input[type="email"],
.demo-form input[type="tel"] {
  width: 100%;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--saffron-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--duration-fast);
}

.demo-form input:focus {
  border-color: var(--saffron);
}

.demo-form input::placeholder {
  color: var(--text-muted);
}

.btn-submit {
  margin-top: 4px;
  width: 100%;
  padding: 15px;
  font-size: 14px;
}

.form-error {
  font-size: 13px;
  color: #f87171;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 32px 0;
}

.success-icon {
  width: 48px;
  height: 48px;
  background: var(--saffron);
  color: var(--canvas);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.form-success p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(224, 148, 24, 0.06);
  padding: 32px 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}


.logo-text-sm {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.footer-links {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-dot {
  opacity: 0.4;
}

.footer-legal {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ── Scroll Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(12, 10, 8, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--saffron-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--duration-normal) var(--ease-out),
                opacity var(--duration-normal) var(--ease-out);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-split {
    flex-direction: column;
  }

  .split-chaos,
  .split-ambix {
    min-height: 50vh;
  }

  .hero-tagline {
    top: 30%;
  }

  .hero-tagline h1 {
    font-size: 1.6rem;
  }

  .chaos-elements {
    width: 220px;
    height: 280px;
    transform: scale(0.85);
  }

  .mac-screen {
    width: 240px;
  }

  .dashboard-glow-card {
    width: 280px;
    transform: translate(-45%, -55%) rotate(-2deg);
    opacity: 0.3;
  }

  .float-card-2 {
    display: none;
  }

  .scroll-hint {
    display: none;
  }

  .daisho-inner {
    flex-direction: column;
    text-align: center;
  }

  .daisho-visual {
    flex: none;
  }

  .daisho-desc {
    max-width: none;
  }

  .daisho-feat {
    text-align: left;
  }

  .kanpai-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .kanpai-visual {
    flex: none;
  }

  .kanpai-desc {
    max-width: none;
  }

  .kanpai-feat {
    text-align: left;
  }

  .hardware-inner {
    flex-direction: column;
    text-align: center;
  }

  .hardware-visual {
    flex: none;
    min-height: 220px;
  }

  .mini-top {
    width: 160px;
    height: 160px;
    border-radius: 40px;
  }

  .mini-body {
    width: 160px;
  }

  .mini-logo {
    font-size: 28px;
  }

  .hardware-desc {
    max-width: none;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .feature-row-reverse {
    flex-direction: column;
  }

  .feature-screenshot {
    flex: none;
    width: 100%;
  }

  .steps-row {
    flex-direction: column;
    gap: 16px;
  }

  .step-connector {
    width: auto;
    height: 24px;
  }

  .step-connector::before {
    width: 2px;
    height: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 375px) {
  .hero-tagline h1 {
    font-size: 1.4rem;
  }

  .float-card-3 {
    display: none;
  }
}

/* ── Reduced Motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .float-card {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
