/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #0D1B2A;
  --amber:   #F5A623;
  --white:   #FFFFFF;
  --muted:   #8B9DB0;
  --wa:      #25D366;
  --card-bg: #112236;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.amber { color: var(--amber); }

/* ═══════════════════════════════════════
   AX LOGO
═══════════════════════════════════════ */
.ax-nav-logo {
  position: fixed;
  top: 20px; left: 24px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13,27,42,0.7);
  backdrop-filter: blur(10px);
  padding: 8px 14px 8px 8px;
  border-radius: 12px;
  border: 1px solid rgba(245,166,35,0.15);
  transition: border-color 0.3s;
}
.ax-nav-logo:hover { border-color: rgba(245,166,35,0.4); }

.ax-logo {
  position: absolute;
  top: 24px; left: 28px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ax-logo-icon {
  background: var(--amber);
  color: var(--bg);
  font-weight: 900;
  font-size: 16px;
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.ax-logo-wordmark {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.ax-logo-footer {
  position: relative;
  top: auto; left: auto;
  justify-content: center;
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════
   SECTION 1: HERO
═══════════════════════════════════════ */
#hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-mosaic {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.mosaic-icon {
  position: absolute;
  border-radius: 16px;
  pointer-events: none;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
}

.hero-headline {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.wa-btn {
  display: inline-block;
  background: var(--wa);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 50px;
  box-shadow: 0 4px 32px rgba(37,211,102,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(37,211,102,0.5);
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  animation: bounce 1.8s ease-in-out infinite;
  opacity: 0.8;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

/* ═══════════════════════════════════════
   SECTION 2: SPHERE TOOLS
═══════════════════════════════════════ */
#sphere-section {
  position: relative;
  height: 600vh;
  background: var(--bg);
}

.sphere-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sphere-headline {
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  z-index: 10;
  text-align: center;
}

#sphere-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}
#sphere-canvas canvas {
  display: block;
}

#tool-panel {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  text-align: center;
  background: rgba(13,27,42,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 20px;
  padding: 20px 36px;
  min-width: 280px;
  transition: all 0.3s ease;
}

#tool-icon-display {
  width: 52px; height: 52px;
  margin-bottom: 8px;
  border-radius: 10px;
}
.tool-shortcode {
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--amber);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.tool-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.tool-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.dots-row {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--muted);
  transition: background 0.3s, transform 0.3s;
}
.dot.active {
  background: var(--amber);
  transform: scale(1.4);
}

/* ═══════════════════════════════════════
   SECTION 3: HOW IT WORKS
═══════════════════════════════════════ */
#how-it-works {
  background: var(--bg);
  padding: 100px 40px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 60px;
  color: var(--white);
}

.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 960px;
  margin: 0 auto 80px;
  flex-wrap: wrap;
  gap: 8px;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  padding: 32px 20px;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid rgba(245,166,35,0.12);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.step.visible { opacity: 1; transform: translateY(0); }
.step-icon { font-size: 2.8rem; margin-bottom: 14px; }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

.step-arrow {
  font-size: 2rem;
  color: var(--amber);
  padding: 40px 8px 0;
  align-self: flex-start;
}

/* WA→Sheet Demo */
.demo-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.demo-wa {
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  background: #111b21;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #2a3942;
}
.demo-wa-header {
  background: #202c33;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}
.demo-wa-avatar {
  background: var(--amber);
  color: var(--bg);
  font-weight: 900;
  font-size: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.demo-online { color: var(--wa); font-size: 0.75rem; margin-left: auto; }

.demo-wa-messages { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.demo-msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.4;
}
.demo-msg-out {
  background: #005c4b;
  align-self: flex-end;
  border-radius: 10px 10px 2px 10px;
}
.demo-msg-in {
  background: #202c33;
  align-self: flex-start;
  border-radius: 10px 10px 10px 2px;
}
.demo-msg-in small { color: var(--muted); font-size: 0.78rem; }

.demo-typing {
  padding: 8px 16px 14px;
  display: flex;
  gap: 4px;
  align-items: center;
}
.demo-typing span {
  width: 7px; height: 7px;
  background: var(--muted);
  border-radius: 50%;
  animation: typingPulse 1.2s ease-in-out infinite;
}
.demo-typing span:nth-child(2) { animation-delay: 0.2s; }
.demo-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingPulse {
  0%,100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.3); }
}

.demo-arrow-mid {
  font-size: 2.2rem;
  color: var(--amber);
  font-weight: 900;
}

.demo-sheet {
  flex: 1;
  min-width: 280px;
  background: #1a2733;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(245,166,35,0.15);
}
.demo-sheet-header {
  background: #1e7e34;
  color: #fff;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}
.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.demo-table th {
  background: rgba(245,166,35,0.1);
  padding: 8px 10px;
  text-align: left;
  color: var(--amber);
  font-weight: 700;
  font-size: 0.75rem;
  white-space: nowrap;
}
.demo-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  white-space: nowrap;
}
.demo-row-new {
  background: rgba(245,166,35,0.12);
  animation: rowGlow 2s ease-in-out infinite alternate;
}
@keyframes rowGlow {
  from { background: rgba(245,166,35,0.08); }
  to   { background: rgba(245,166,35,0.22); }
}

/* ═══════════════════════════════════════
   SECTION 3B: PAIN QUOTIENT
═══════════════════════════════════════ */
#pain-quiz {
  background: linear-gradient(135deg, #0a1118 0%, #0d1b2a 50%, #0a1118 100%);
  padding: 90px 40px;
  text-align: center;
  border-top: 1px solid rgba(245,166,35,0.12);
  border-bottom: 1px solid rgba(245,166,35,0.12);
  position: relative;
  overflow: hidden;
}
#pain-quiz::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.pain-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }

.pain-badge {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  color: var(--amber);
  font-weight: 700; font-size: 0.85rem;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 24px; letter-spacing: 0.06em;
  border: 1px solid rgba(245,166,35,0.3);
}
.pain-headline {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 900; line-height: 1.2;
  margin-bottom: 20px; color: var(--white);
}
.pain-sub {
  font-size: 1.05rem; color: var(--muted);
  line-height: 1.65; margin-bottom: 36px;
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.pain-cta {
  display: inline-block;
  background: var(--amber); color: var(--bg);
  font-weight: 800; font-size: 1.1rem;
  padding: 16px 40px; border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 28px rgba(245,166,35,0.35);
  margin-bottom: 16px;
}
.pain-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(245,166,35,0.5);
}
.pain-micro {
  font-size: 0.82rem; color: var(--muted);
  margin-top: 0;
}

/* ═══════════════════════════════════════
   SECTION 4: BYOD PROMISE
═══════════════════════════════════════ */
#byod {
  padding: 100px 40px;
  background: linear-gradient(135deg, #0a1520 0%, #0d1b2a 100%);
}
.byod-inner {
  max-width: 700px;
  margin: 0 auto;
  border-left: 4px solid var(--amber);
  padding-left: 40px;
}
.byod-badge {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  color: var(--amber);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.byod-inner h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 32px;
}
.byod-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.byod-list li {
  font-size: 1.05rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.dpdp-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════
   SECTION 5: PRICING
═══════════════════════════════════════ */
#pricing {
  padding: 100px 40px;
  background: var(--bg);
}
.pricing-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.pricing-card {
  flex: 1;
  min-width: 270px;
  max-width: 340px;
  background: var(--card-bg);
  border-radius: 24px;
  padding: 36px 28px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.card-early  { border: 2px solid var(--amber); }
.card-standard { border: 2px solid rgba(255,255,255,0.2); }
.card-byowaba  { border: 2px solid #d4a017; background: linear-gradient(135deg, #1a2333 0%, #12213a 100%); }

.card-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--amber);
  color: var(--bg);
  font-weight: 900;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.08em;
}
.badge-gold { background: #d4a017; color: #fff; }

.card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.card-price span { font-size: 1.1rem; font-weight: 400; color: var(--muted); }
.card-gst { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
.card-sub { font-size: 0.9rem; color: var(--amber); font-weight: 600; margin-bottom: 12px; }

.spots-counter {
  font-size: 0.88rem;
  color: var(--white);
  background: rgba(245,166,35,0.12);
  border-radius: 8px;
  padding: 6px 12px;
  margin-bottom: 20px;
  display: inline-block;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.card-features li {
  font-size: 0.92rem;
  color: var(--muted);
}

.card-cta {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 50px;
  transition: opacity 0.2s;
}
.card-cta:hover { opacity: 0.85; }
.cta-amber { background: var(--amber); color: var(--bg); }
.cta-white { background: rgba(255,255,255,0.1); color: var(--white); border: 2px solid rgba(255,255,255,0.2); }

.pricing-guarantee {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════
   SECTION 6: FOOTER CTA
═══════════════════════════════════════ */
#footer {
  background: #080f18;
  padding: 80px 40px;
  text-align: center;
  border-top: 1px solid rgba(245,166,35,0.1);
}
.footer-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.footer-sub {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 40px;
}
.wa-btn-large {
  font-size: 1.25rem;
  padding: 20px 48px;
  display: inline-block;
  margin-bottom: 36px;
}
.footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  color: var(--muted);
}
.footer-links a { color: var(--amber); font-weight: 600; }
.footer-legal {
  color: var(--muted);
  font-size: 0.82rem;
}

/* ═══════════════════════════════════════
   MOBILE
═══════════════════════════════════════ */
@media (max-width: 768px) {
  .steps-row { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
  .demo-animation { flex-direction: column; align-items: center; }
  .demo-arrow-mid { transform: rotate(90deg); }
  .pricing-row { flex-direction: column; align-items: center; }
  .pricing-card { max-width: 100%; width: 100%; }
  .byod-inner { padding-left: 24px; }
  .wa-btn-large { padding: 16px 24px; font-size: 1rem; width: 100%; text-align: center; }
}
