/* ==========================================================================
   NexTap — Premium Modern Landing Page Stylesheet
   Aesthetic: Minimal Frosted Glassmorphism, Off-White & Crisp Neutral Tones,
   Google Accent Details, Generous Whitespace, Physical Product Focus.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Neutral Color Palette */
  --bg-canvas: #fafbfc;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f4f6f8;
  --bg-section-alt: #f1f3f7;

  --text-main: #0f172a;       /* Slate 900 */
  --text-secondary: #475569;  /* Slate 600 */
  --text-muted: #64748b;      /* Slate 500 */
  --text-light: #94a3b8;      /* Slate 400 */

  /* Glassmorphism Tokens */
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-bg-hover: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-border-subtle: rgba(226, 232, 240, 0.65);
  --glass-blur: 16px;
  --glass-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.04), 0 2px 8px -2px rgba(15, 23, 42, 0.02);
  --glass-shadow-hover: 0 18px 40px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);

  /* Subtle Google Color Accents (Used Sparingly) */
  --google-blue: #4285F4;
  --google-red: #EA4335;
  --google-yellow: #FBBC05;
  --google-green: #34A853;

  /* Brand Primary Actions */
  --primary-brand: #0f172a;
  --primary-brand-hover: #1e293b;
  --primary-brand-text: #ffffff;

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout Spacing */
  --container-max: 1200px;
  --nav-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 180ms;
  --duration-normal: 260ms;
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Custom Sleek Scrollbar (Replaces thick default browser bars) */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
  border-radius: 9999px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.75);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-soft);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

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

/* --------------------------------------------------------------------------
   3. Ambient Decorative Glows (Very Soft, Non-Distracting)
   -------------------------------------------------------------------------- */
.ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}

.glow-blue {
  width: 500px;
  height: 500px;
  background: var(--google-blue);
  top: -120px;
  right: -80px;
}

.glow-red {
  width: 450px;
  height: 450px;
  background: var(--google-red);
  top: 40%;
  left: -150px;
  opacity: 0.07;
}

.glow-yellow {
  width: 400px;
  height: 400px;
  background: var(--google-yellow);
  bottom: 25%;
  right: 5%;
  opacity: 0.08;
}

.glow-green {
  width: 480px;
  height: 480px;
  background: var(--google-green);
  bottom: -150px;
  left: 20%;
  opacity: 0.09;
}

/* --------------------------------------------------------------------------
   4. Layout Containers & Grid System
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.text-center {
  text-align: center;
}

/* Eyebrow badge */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Section headline */
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

/* --------------------------------------------------------------------------
   5. Glassmorphism Card System
   -------------------------------------------------------------------------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: transform var(--duration-normal) var(--ease-soft),
              box-shadow var(--duration-normal) var(--ease-soft),
              border-color var(--duration-normal) var(--ease-soft);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(255, 255, 255, 0.98);
}

/* --------------------------------------------------------------------------
   6. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-soft);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-brand);
  color: var(--primary-brand-text);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.btn-primary:hover {
  background-color: var(--primary-brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  border: 1px solid rgba(203, 213, 225, 0.8);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: #94a3b8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* Pill Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.badge-pill.sm {
  padding: 4px 12px;
  font-size: 0.78rem;
}

.badge-dot-cluster {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.dot-blue { background-color: var(--google-blue); }
.dot-red { background-color: var(--google-red); }
.dot-yellow { background-color: var(--google-yellow); }
.dot-green { background-color: var(--google-green); }

/* --------------------------------------------------------------------------
   7. Header / Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(250, 251, 252, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  z-index: 100;
  transition: background-color var(--duration-normal) var(--ease-soft),
              border-color var(--duration-normal) var(--ease-soft),
              box-shadow var(--duration-normal) var(--ease-soft);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(203, 213, 225, 0.7);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Wordmark */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-name {
  color: var(--text-main);
}

/* Desktop Nav Links */
.desktop-nav {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.915rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 2px;
  position: relative;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link.active {
  color: var(--text-main);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--google-blue);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(241, 245, 249, 0.8);
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform var(--duration-fast), opacity var(--duration-fast);
}

.mobile-toggle[aria-expanded="true"] .hamburger-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .hamburger-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile Dropdown Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  padding: 24px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.mobile-menu.open {
  display: block;
  animation: slideDown 220ms var(--ease-soft);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  display: block;
}

/* --------------------------------------------------------------------------
   8. Section 1: Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 100px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 56px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content .badge-pill {
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.2vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 20px;
}

.text-highlight {
  color: #0f172a;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Morphing Text Styles (Magic UI / 21st.dev style) */
.hero-target-phrase {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88em;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.morphing-text-container {
  display: inline-grid;
  place-items: start baseline;
  position: relative;
  vertical-align: baseline;
  filter: url(#threshold) blur(0.6px);
  -webkit-filter: url(#threshold) blur(0.6px);
  min-width: 250px;
}

.morph-text {
  grid-area: 1 / 1;
  display: inline-block;
  white-space: nowrap;
  font-weight: 700;
  color: var(--google-blue);
  text-align: left;
  user-select: none;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-subtext-quote {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tag-phrase {
  font-weight: 600;
  color: var(--text-main);
}

.subtext-divider {
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   Hero Visual: Realistic Stand Presentation & Glassmorphism Stage
   -------------------------------------------------------------------------- */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-product-stage {
  position: relative;
  width: 100%;
  max-width: 470px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Frosted glass backdrop plate */
.stage-glass-plate {
  position: absolute;
  inset: 12px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  z-index: 1;
}

/* Soft ambient circular depth ring */
.stage-ambient-ring {
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 133, 244, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

/* The actual physical stand display mount with levitation floating animation */
.product-stand-container {
  position: relative;
  z-index: 2;
  width: 78%;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1000px;
  animation: levitateStand 5.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
  will-change: transform;
}

@keyframes levitateStand {
  0% {
    transform: translateY(0px) rotate(0deg) rotateY(0deg);
  }
  50% {
    transform: translateY(-13px) rotate(0.4deg) rotateY(-0.8deg);
  }
  100% {
    transform: translateY(-16px) rotate(-0.3deg) rotateY(0.6deg);
  }
}

.product-stand-container:hover {
  animation-play-state: paused;
  transform: translateY(-18px) scale(1.02);
  transition: transform 0.4s var(--ease-soft);
}

.acrylic-display-mount {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: visible;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 16px 38px -6px rgba(15, 23, 42, 0.09), 0 2px 6px rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.95);
  transition: box-shadow var(--duration-normal) var(--ease-soft);
}

.product-image {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 4px);
  display: block;
  object-fit: cover;
  filter: contrast(1.02) saturate(1.02);
}

.acrylic-top-bevel {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.2) 100%);
  pointer-events: none;
  z-index: 3;
}

/* Realistic Ground Shadow that dynamically expands and softens as stand levitates */
.acrylic-shadow {
  position: absolute;
  bottom: -22px;
  left: 8%;
  width: 84%;
  height: 26px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.04) 50%, rgba(15, 23, 42, 0) 75%);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
  animation: shadowBreathe 5.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
  will-change: transform, opacity;
}

@keyframes shadowBreathe {
  0% {
    transform: scale(1);
    opacity: 0.85;
    filter: blur(8px);
  }
  100% {
    transform: scale(0.88);
    opacity: 0.45;
    filter: blur(14px);
  }
}

/* Real-product identifier badge */
.product-caption-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  animation: floatBadge 5.5s ease-in-out infinite alternate;
}

@keyframes floatBadge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-4px); }
}

.caption-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--google-blue);
}

/* Floating Glass Labels (Organic, multi-plane floating effect) */
.floating-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 24px -2px rgba(15, 23, 42, 0.07), 0 2px 6px rgba(15, 23, 42, 0.02);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  pointer-events: none;
  will-change: transform;
}

/* Specific harmonic floating curves for each label */
.chip-nfc {
  top: 14px;
  left: 6px;
  color: var(--google-blue);
  animation: floatNfc 4.8s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
}

@keyframes floatNfc {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) translateX(3px) rotate(-1.5deg);
  }
  100% {
    transform: translateY(-20px) translateX(-2px) rotate(1.2deg);
  }
}

.chip-qr {
  top: 22px;
  right: 8px;
  color: var(--text-main);
  animation: floatQr 5.4s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
  animation-delay: 0.4s;
}

@keyframes floatQr {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) translateX(-4px) rotate(1.8deg);
  }
  100% {
    transform: translateY(-22px) translateX(2px) rotate(-1deg);
  }
}

.chip-stars {
  bottom: 24px;
  left: 10px;
  animation: floatStars 4.4s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
  animation-delay: 0.8s;
}

@keyframes floatStars {
  0% {
    transform: translateY(0px) translateX(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) translateX(4px) scale(1.02);
  }
  100% {
    transform: translateY(-18px) translateX(1px) scale(1.01);
  }
}

.chip-stars-gold {
  color: #FBBC05;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.chip-review {
  bottom: 18px;
  right: 6px;
  animation: floatReview 5.8s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
  animation-delay: 1.2s;
}

@keyframes floatReview {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) translateX(-3px) rotate(1.5deg);
  }
  100% {
    transform: translateY(-24px) translateX(3px) rotate(-1.8deg);
  }
}

.chip-google-g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--google-blue);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.7rem;
  border-radius: 50%;
}

.stage-interaction-hint {
  margin-top: 20px;
}

.demo-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(203, 213, 225, 0.7);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-soft);
}

.demo-trigger-btn:hover {
  color: var(--text-main);
  border-color: var(--google-blue);
  background: #ffffff;
  transform: translateY(-1px);
}

.hint-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--google-green);
  box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.4);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(52, 168, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0); }
}

/* --------------------------------------------------------------------------
   9. Section 2: The Problem
   -------------------------------------------------------------------------- */
.problem-section {
  background-color: var(--bg-surface-subtle);
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.problem-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, opacity 0.4s ease;
}

/* Hover float & glow effect */
.problem-grid:hover .problem-card:not(:hover) {
  opacity: 0.6;
  transform: scale(0.98);
}

.problem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.problem-card:hover .card-accent-bar {
  box-shadow: 0 0 15px var(--accent-color);
}

.card-numeral {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-accent-bar {
  width: 28px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
  margin-top: 24px;
  transition: box-shadow 0.3s ease;
}

/* --------------------------------------------------------------------------
   10. Section 3: The Solution
   -------------------------------------------------------------------------- */
.solution-section {
  background-color: var(--bg-canvas);
}

.solution-grid-wrapper {
  max-width: 1060px;
  margin: 0 auto;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 28px;
}

.solution-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solution-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.solution-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--google-blue);
  background: rgba(66, 133, 244, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

#solutionCardQr .solution-tag {
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.08);
}

.solution-badge-note {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.solution-card-headline {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.solution-card-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Solution Minimal Illustrations */
.solution-illustration {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  margin-bottom: 24px;
}

.ill-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

/* Sleek Minimal Smartphone */
.ill-phone {
  width: 80px;
  height: 130px;
  background: #0f172a;
  border-radius: 16px;
  padding: 5px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
}

.ill-phone-screen {
  flex: 1;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 6px;
  position: relative;
}

.ill-screen-notch {
  width: 22px;
  height: 4px;
  background: #0f172a;
  border-radius: 3px;
  margin-bottom: 12px;
}

.ill-mini-g {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--google-blue);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.ill-mini-line {
  width: 38px;
  height: 3px;
  background: #e2e8f0;
  border-radius: 2px;
  margin-bottom: 6px;
}

.ill-mini-stars {
  color: var(--google-yellow);
  font-size: 0.6rem;
  letter-spacing: 1px;
}

/* Tap Waves */
.tap-waves {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.wave {
  border-radius: 50%;
  border: 2px solid var(--google-blue);
  opacity: 0.7;
}

.wave-1 { width: 14px; height: 14px; }
.wave-2 { width: 22px; height: 22px; opacity: 0.45; }
.wave-3 { width: 30px; height: 30px; opacity: 0.25; }

.ill-nfc-tag {
  background: rgba(241, 245, 249, 0.9);
  border: 1px dashed #94a3b8;
  padding: 8px 12px;
  border-radius: 8px;
}

.tag-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* QR Camera Scanner Effect */
.ill-camera-viewfinder {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(66, 133, 244, 0.25);
  border-radius: 4px;
  margin-top: 10px;
}

.viewfinder-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--google-blue);
}

.viewfinder-corner.tl { top: -2px; left: -2px; border-top: 2px solid; border-left: 2px solid; }
.viewfinder-corner.tr { top: -2px; right: -2px; border-top: 2px solid; border-right: 2px solid; }
.viewfinder-corner.bl { bottom: -2px; left: -2px; border-bottom: 2px solid; border-left: 2px solid; }
.viewfinder-corner.br { bottom: -2px; right: -2px; border-bottom: 2px solid; border-right: 2px solid; }

.scan-laser-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--google-blue);
  animation: scanMove 2.2s ease-in-out infinite alternate;
}

@keyframes scanMove {
  0% { top: 0; opacity: 0.3; }
  100% { top: calc(100% - 2px); opacity: 0.9; }
}

.text-link-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--google-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--duration-fast) var(--ease-soft);
}

.text-link-btn:hover {
  gap: 10px;
  color: #2563eb;
}

/* Divider "OR" */
.solution-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.divider-line {
  flex: 1;
  width: 1px;
  background: rgba(203, 213, 225, 0.7);
}

.or-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 16px 0;
}

/* --------------------------------------------------------------------------
   11. Section 4: How It Works (Timeline)
   -------------------------------------------------------------------------- */
.how-it-works-section {
  background-color: var(--bg-surface-subtle);
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.process-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.step-node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-main);
}

.step-card {
  padding: 30px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.step-action-tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--google-blue);
  margin-bottom: 8px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.step-meta {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding-top: 12px;
}

.timeline-connector {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #cbd5e1 0%, #94a3b8 50%, #cbd5e1 100%);
  position: relative;
  top: -8px;
}

/* --------------------------------------------------------------------------
   12. Section 5: Features (Why NexTap)
   -------------------------------------------------------------------------- */
.features-section {
  background-color: var(--bg-canvas);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.feature-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.58;
}

/* --------------------------------------------------------------------------
   13. Section 6: For Business
   -------------------------------------------------------------------------- */
.for-business-section {
  background-color: var(--bg-surface-subtle);
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.business-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.business-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.business-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.business-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   14. Section 7: Product Showcase
   -------------------------------------------------------------------------- */
.showcase-section {
  background-color: var(--bg-canvas);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  align-items: center;
  gap: 64px;
}

.showcase-glass-enclosure {
  position: relative;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.08);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-product-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.showcase-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
  display: block;
}

/* Mirror image for back face */
.showcase-img-mirror {
  transform: scaleX(-1);
}

/* ─── 3D Flip Card ─── */
.flip-card-scene {
  width: 100%;
  max-width: 420px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  animation: autoSpin 8s ease-in-out infinite;
  cursor: grab;
}

.flip-card-inner:active {
  cursor: grabbing;
}

.flip-card-face {
  width: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: rotateY(180deg);
}

@keyframes autoSpin {
  0%   { transform: rotateY(0deg); }
  40%  { transform: rotateY(0deg); }
  50%  { transform: rotateY(180deg); }
  90%  { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}

/* Pause on hover, allow user to interact */
.flip-card-scene:hover .flip-card-inner {
  animation-play-state: paused;
}

.showcase-badge-overlay {
  position: absolute;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(203, 213, 225, 0.8);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease;
}

/* Spinning rotation icon */
.badge-spin-icon {
  color: var(--google-blue);
  animation: badgeSpin 2s linear infinite;
  flex-shrink: 0;
}

@keyframes badgeSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Dynamic front/back label */
.badge-side-label {
  color: var(--google-blue);
  font-weight: 700;
  font-size: 0.75rem;
  transition: opacity 0.25s ease;
}

.badge-divider {
  color: #CBD5E1;
  font-size: 0.65rem;
}

.badge-hint-text {
  color: #94A3B8;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

/* Legacy dot (kept for compatibility) */
.badge-dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--google-blue);
}

.showcase-content {
  display: flex;
  flex-direction: column;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.spec-card {
  padding: 20px;
}

.spec-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.spec-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.spec-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.spec-detail {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.showcase-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.showcase-action-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   15. Section 8: FAQ (Accordion)
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--bg-surface-subtle);
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) var(--ease-soft);
}

.faq-trigger {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: transparent;
  gap: 16px;
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
}

.faq-icon {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1;
  transition: transform var(--duration-fast) var(--ease-soft);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--google-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-soft),
              padding var(--duration-normal) var(--ease-soft);
  padding: 0 28px;
}

.faq-trigger[aria-expanded="true"] + .faq-answer {
  max-height: 250px;
  padding: 0 28px 24px 28px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-answer code {
  background: rgba(226, 232, 240, 0.7);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   16. Section 9: CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  padding-top: 60px;
  padding-bottom: 120px;
}

.frosted-glass-container {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px -16px rgba(15, 23, 42, 0.08);
  padding: 72px 48px;
  overflow: hidden;
}

.cta-ambient-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 133, 244, 0.12) 0%, rgba(52, 168, 83, 0.08) 50%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  filter: blur(60px);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.8);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.cta-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-action-group {
  margin-bottom: 22px;
}

.cta-supporting-text {
  font-size: 0.84rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  padding: 64px 0 40px 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 48px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  margin: 14px 0 6px 0;
}

.footer-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 16px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   18. Interactive Modals (Order & Simulation Preview)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-soft);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.96);
  padding: 34px 30px;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.16);
  position: relative;
  transform: translateY(12px) scale(0.98);
  transition: transform var(--duration-normal) var(--ease-soft);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Dedicated sleek rounded scrollbar for modal (replaces browser default) */
.modal-container::-webkit-scrollbar {
  width: 5px;
}

.modal-container::-webkit-scrollbar-track {
  background: transparent;
  margin: 14px 0;
}

.modal-container::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 9999px;
  transition: background 0.2s ease;
}

.modal-container::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.65);
}

.modal-overlay.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(241, 245, 249, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-muted);
  line-height: 1;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 8px;
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Form Elements */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: flex;
  gap: 14px;
}

.form-group.half {
  flex: 1;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input, .form-select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--google-blue);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}

.form-tip {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.modal-actions {
  margin-top: 10px;
}

/* Order Success State */
.order-success-state {
  text-align: center;
  padding: 24px 10px;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(52, 168, 83, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.order-success-state h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.order-success-state p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   Simulation Demo Modal Details (Optimized Proportions & Clean Scroll)
   -------------------------------------------------------------------------- */
.simulation-container {
  max-width: 420px;
  text-align: center;
  padding: 24px 22px 18px 22px;
  overflow: hidden;
}

@media (max-height: 640px) {
  .simulation-container {
    overflow-y: auto;
  }
}

.sim-header {
  margin-bottom: 4px;
}

.sim-toggle-wrapper {
  display: flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: var(--radius-full);
  margin: 10px auto 14px auto;
  max-width: 290px;
}

.sim-toggle-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
}

.sim-toggle-btn.active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.sim-phone-stage {
  margin: 0 auto 10px auto;
  display: flex;
  justify-content: center;
}

.sim-phone-device {
  width: 216px;
  height: 310px;
  background: #0f172a;
  border-radius: 26px;
  padding: 6px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
  position: relative;
}

.sim-notch {
  width: 64px;
  height: 10px;
  background: #0f172a;
  border-radius: 0 0 8px 8px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.sim-screen {
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.sim-standby-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 14px;
  text-align: center;
  gap: 12px;
}

.sim-instruction-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--google-blue);
}

.sim-instruction-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.sim-review-sheet {
  flex: 1;
  background: #ffffff;
  border-radius: 18px 18px 0 0;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  animation: slideSheetUp 320ms var(--ease-soft);
  margin-top: 18px;
  box-shadow: 0 -8px 20px rgba(0,0,0,0.06);
}

@keyframes slideSheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.review-sheet-handle {
  width: 32px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 2px;
  margin: 0 auto 12px auto;
}

.review-g-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.g-logo-letter {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--google-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.g-header-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
}

.review-biz-card {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  margin-bottom: 12px;
}

.biz-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.biz-details h5 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
}

.biz-details p {
  font-size: 0.66rem;
  color: var(--text-muted);
}

.review-stars-interactive {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: var(--google-yellow);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.review-box-dummy {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 12px;
}

.review-submit-dummy {
  background: var(--google-blue);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 8px;
  border-radius: 6px;
  text-align: center;
}

.sim-footer-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   19. Responsive Layouts & Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .problem-grid,
  .features-grid,
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .timeline-connector {
    display: none;
  }

  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
  }

  .step-indicator {
    flex-direction: column;
    padding-top: 8px;
  }

  .step-card {
    flex: 1;
    min-height: auto;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .solution-divider {
    flex-direction: row;
    padding: 10px 0;
  }

  .solution-divider .divider-line {
    width: auto;
    height: 1px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-legal-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }

  .site-header {
    height: var(--nav-height);
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-section {
    padding-top: calc(var(--nav-height) + 32px) !important;
    padding-bottom: 56px;
    min-height: auto;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  #nav-order-btn {
    display: none;
  }

  .problem-grid,
  .features-grid,
  .business-grid,
  .specs-grid {
    grid-template-columns: 1fr;
  }

  .hero-target-phrase {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    font-size: 0.84em;
    margin-top: 6px;
    width: 100%;
    text-align: center;
  }

  .morphing-text-container {
    filter: none !important;
    -webkit-filter: none !important;
    min-width: auto;
    display: inline-block;
    text-align: center;
  }

  .morph-text {
    position: static;
    display: inline;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    color: var(--google-blue);
    text-align: center;
  }

  #morphText2 {
    display: none !important;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-subtext-quote {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .subtext-divider {
    display: none;
  }

  .hero-product-stage {
    max-width: 330px;
    margin: 0 auto;
  }

  .floating-chip {
    padding: 5px 12px;
    font-size: 0.74rem;
  }

  .chip-nfc { top: 8px; left: 4px; }
  .chip-qr { top: 8px; right: 4px; }
  .chip-stars { bottom: 8px; left: 4px; }
  .chip-review { bottom: 8px; right: 4px; }

  .frosted-glass-container {
    padding: 48px 24px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-legal-col {
    grid-column: span 1;
  }

  .hidden-mobile {
    display: none;
  }
}

/* ==========================================================================
   Floating Action Buttons — Scroll Top & Language Toggle
   ========================================================================== */

#scrollTopBtn,
#langToggleBtn {
  position: fixed;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border-subtle);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.10);
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
  z-index: 900;
}

/* Scroll-to-top sits at bottom-right */
#scrollTopBtn {
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--text-main);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

#scrollTopBtn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  background: var(--glass-bg-hover);
  box-shadow: 0 8px 28px rgba(66, 133, 244, 0.18);
  transform: translateY(-2px);
}

/* Language toggle sits just above the scroll-top btn */
#langToggleBtn {
  bottom: 80px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
}

#langToggleBtn:hover {
  background: var(--glass-bg-hover);
  box-shadow: 0 8px 28px rgba(66, 133, 244, 0.18);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  #scrollTopBtn { right: 16px; bottom: 16px; width: 42px; height: 42px; }
  #langToggleBtn { right: 16px; bottom: 68px; width: 42px; height: 42px; }
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* Slide from left variant for showcase visual */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right variant for showcase content */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up variant for CTA card */
.reveal-scale {
  opacity: 0;
  transform: scale(0.96) translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1) translateY(0);
}


/* --- Form Submission Loading Spinner --- */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Timeline Animations --- */
.reveal-connector {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.reveal-connector.in-view {
  transform: scaleX(1);
}

@keyframes nodePulse {
  0% { box-shadow: 0 0 0 0 rgba(15, 23, 42, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(15, 23, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 23, 42, 0); }
}

.step-node {
  animation: nodePulse 2.5s infinite ease-out;
}
