/* ============================================================
   Comanda — Site independente
   Estética: iOS / Liquid Glass, mobile-first, light+dark
   Zero dependência do sistema. Tokens próprios.
   ============================================================ */

:root {
  /* brand */
  --brand: #ff7a1a;
  --brand-2: #ff4d2e;
  --brand-grad: linear-gradient(120deg, #ff7a1a 0%, #ff4d2e 55%, #ff2d78 100%);
  --brand-soft: rgba(255, 122, 26, 0.12);

  /* light surfaces */
  --bg: #f5f5f7;
  --bg-2: #ececed;
  --ink: #0b0b0f;
  --ink-2: #3a3a40;
  --ink-3: #6e6e76;
  --line: rgba(11, 11, 15, 0.08);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 1px 1px rgba(11, 11, 15, .04), 0 8px 30px rgba(11, 11, 15, .06);
  --card: #ffffff;
  --ok: #22c55e;
  --warn: #f59e0b;
  --bad: #ef4444;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-pill: 999px;

  --maxw: 1180px;
  --gut: clamp(18px, 5vw, 56px);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .5s;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #07070b;
  --bg-2: #0e0e14;
  --ink: #f5f5f7;
  --ink-2: #c8c8cf;
  --ink-3: #8a8a93;
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 12px 40px rgba(0, 0, 0, .45);
  --card: rgba(255, 255, 255, 0.04);
  --brand-soft: rgba(255, 122, 26, 0.18);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "cv11", "ss01";
  letter-spacing: -0.01em;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

input {
  font: inherit;
}

ul {
  list-style: none;
}

::selection {
  background: var(--brand);
  color: #fff;
}

/* ---------- ambient mesh ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, var(--bg-2), transparent 60%),
    var(--bg);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  will-change: transform;
  animation: float 18s var(--ease) infinite alternate;
}

.blob-1 {
  width: 46vw;
  height: 46vw;
  left: -12vw;
  top: -8vw;
  background: radial-gradient(circle at 30% 30%, #ff7a1a, transparent 70%);
}

.blob-2 {
  width: 38vw;
  height: 38vw;
  right: -8vw;
  top: 8vw;
  background: radial-gradient(circle at 60% 40%, #ff2d78, transparent 70%);
  animation-delay: -6s;
  animation-duration: 22s;
}

.blob-3 {
  width: 42vw;
  height: 42vw;
  left: 22vw;
  top: 38vw;
  background: radial-gradient(circle at 50% 50%, #6d5cff, transparent 70%);
  opacity: .35;
  animation-delay: -10s;
  animation-duration: 26s;
}

[data-theme="dark"] .blob {
  opacity: .35;
}

.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .5;
  mix-blend-mode: overlay;
  pointer-events: none;
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(4vw, 6vh, 0) scale(1.12);
  }
}

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

  * {
    scroll-behavior: auto !important;
  }
}

/* ---------- glass ---------- */
.glass {
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.card {
  border-radius: var(--r-lg);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.3em;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .94rem;
  letter-spacing: -0.01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s, border-color .25s;
  white-space: nowrap;
  user-select: none;
}

.btn:active {
  transform: scale(.97);
}

.btn-lg {
  padding: 1.05em 1.7em;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 77, 46, .35), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255, 77, 46, .45), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.btn-glass {
  background: var(--glass-strong);
  color: var(--ink);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
}

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

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.btn-ghost {
  color: var(--ink-2);
  padding: .6em 1em;
}

.btn-ghost:hover {
  color: var(--brand);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px var(--gut);
  transition: padding .3s var(--ease);
}

.nav.scrolled {
  padding: 6px var(--gut);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px 9px 9px 18px;
  border-radius: var(--r-pill);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--brand-grad);
  color: #fff;
  border-radius: 9px;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(255, 77, 46, .35);
}

.brand-name {
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 6px;
}

.nav-links a {
  padding: .55em .9em;
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .2s, background .2s;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--brand-soft);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 12px;
}

.nav-burger span {
  width: 22px;
  height: 2.4px;
  background: var(--ink);
  border-radius: 2px;
  transition: .3s var(--ease);
}

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

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

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

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  max-width: var(--maxw);
  margin: 10px auto 0;
  padding: 12px;
  border-radius: var(--r-lg);
}

.nav-mobile a {
  padding: .8em 1em;
  border-radius: var(--r-md);
  font-weight: 600;
  color: var(--ink-2);
}

.nav-mobile a:hover {
  background: var(--brand-soft);
  color: var(--ink);
}

.nav-mobile .mobile-cta {
  margin-top: 6px;
}

/* ---------- typography helpers ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--brand);
  margin-bottom: 14px;
}

.spark {
  filter: drop-shadow(0 0 8px rgba(255, 122, 26, .5));
}

.grad {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sec-title {
  font-size: clamp(1.7rem, 4.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.sec-lead {
  margin: 16px auto 0;
  max-width: 620px;
  color: var(--ink-3);
  font-size: clamp(1rem, 2.4vw, 1.12rem);
}

.sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- layout ---------- */
main>section {
  padding: clamp(56px, 9vw, 110px) var(--gut);
  position: relative;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

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

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: clamp(30px, 6vw, 60px);
  padding-bottom: clamp(40px, 7vw, 90px);
}

.hero-title {
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 14px 0 18px;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.22rem);
  color: var(--ink-2);
  max-width: 540px;
}

.hero-sub strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .5em 1em;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-2);
}

.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.hero-trust {
  display: flex;
  gap: clamp(18px, 4vw, 42px);
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-trust div {
  display: flex;
  flex-direction: column;
}

.hero-trust strong {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-trust span {
  font-size: .82rem;
  color: var(--ink-3);
  margin-top: 2px;
}

/* phone mockup */
.hero-phone {
  justify-self: center;
  perspective: 1200px;
}

.phone {
  position: relative;
  width: min(330px, 86vw);
  aspect-ratio: 9/19.2;
  border-radius: 44px;
  padding: 7px;
  background: linear-gradient(160deg, #2a2a32, #0b0b0f);
  box-shadow: 0 40px 80px -20px rgba(11, 11, 15, .45), 0 8px 24px rgba(11, 11, 15, .2), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
  transform: rotate(-3deg) translateY(0);
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {

  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }

  50% {
    transform: rotate(-2deg) translateY(-10px);
  }
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #0b0b0f;
  border-radius: 14px;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff6ef 0%, #fff 30%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 44px 14px 16px;
}

.app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-title {
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: -0.02em;
}

.app-status {
  font-size: .68rem;
  font-weight: 700;
  color: var(--ok);
}

.app-tabs {
  display: flex;
  gap: 6px;
}

.app-tab {
  padding: .42em .8em;
  border-radius: var(--r-pill);
  font-size: .68rem;
  font-weight: 700;
  color: var(--ink-3);
  background: var(--bg-2);
}

.app-tab.active {
  background: var(--brand-grad);
  color: #fff;
}

.app-orders {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow: hidden;
}

.app-order {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 9px 11px;
  box-shadow: 0 2px 8px rgba(11, 11, 15, .04);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ao-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .74rem;
}

.ao-top b {
  font-weight: 800;
}

.badge {
  font-size: .58rem;
  font-weight: 800;
  padding: .3em .6em;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.badge.warm {
  background: rgba(245, 158, 11, .16);
  color: #b45309;
}

.badge.cool {
  background: rgba(13, 148, 136, .16);
  color: #0f766e;
}

.badge.ok {
  background: rgba(34, 197, 94, .16);
  color: #15803d;
}

.badge.alert {
  background: rgba(239, 68, 68, .14);
  color: #b91c1c;
}

.ao-items {
  font-size: .66rem;
  color: var(--ink-3);
}

.ao-bottom {
  display: flex;
  justify-content: space-between;
  font-size: .66rem;
  font-weight: 700;
  color: var(--ink);
}

.ao-bottom i {
  font-style: normal;
  color: var(--ink-3);
  font-weight: 600;
}

.app-fab {
  align-self: flex-end;
  margin-top: 4px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 300;
  box-shadow: 0 8px 20px rgba(255, 77, 46, .4);
}

/* ---------- garcom mockup additions ---------- */
.app-back {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  margin-right: 4px;
}

.app-chips {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 2px;
  margin-top: 2px;
  scrollbar-width: none;
}
.app-chips::-webkit-scrollbar {
  display: none;
}

.app-chip {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.6rem;
  font-weight: 700;
  background: rgba(11, 11, 15, 0.04);
  color: var(--ink-3);
  white-space: nowrap;
  border: 1px solid rgba(11, 11, 15, 0.02);
}

.app-chip.active {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: var(--brand);
}

.app-orders.garcom-mode {
  gap: 10px;
  margin-top: 4px;
}

.app-order-group {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 2px 8px rgba(11, 11, 15, 0.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aog-header {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 4px;
}

.app-order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aoi-name {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--ink-2);
}

.app-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  padding: 8px 4px 6px;
  margin-top: auto;
  margin-left: -14px;
  margin-right: -14px;
  margin-bottom: -16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.app-footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--ink-3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.app-footer-item.active {
  color: var(--brand);
}

.afi-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.afi-label {
  font-size: 0.52rem;
  font-weight: 700;
}


/* ---------- strip ---------- */
.strip {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
  padding: 10px var(--gut) 30px;
}

.strip-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.strip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.strip-row span {
  padding: .55em 1em;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ---------- problem ---------- */
.problem {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}

.problem .sec-title {
  text-align: center;
}

.problem .sec-lead {
  text-align: center;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.pain {
  padding: 26px 22px;
  text-align: left;
}

.pain-icon {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.pain h3 {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.pain p {
  font-size: .9rem;
  color: var(--ink-3);
  line-height: 1.5;
}

.pain p strong {
  color: var(--ink);
}

.problem-bridge {
  margin-top: clamp(48px, 7vw, 80px);
}

.problem-bridge h2 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ---------- features ---------- */
.features {
  max-width: var(--maxw);
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.feat {
  padding: 26px 24px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.feat:hover {
  transform: translateY(-4px);
}

.feat-ico {
  font-size: 1.9rem;
  margin-bottom: 14px;
}

.feat h3 {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.feat p {
  font-size: .9rem;
  color: var(--ink-3);
  line-height: 1.55;
}

.feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.feat-tags li {
  font-size: .72rem;
  font-weight: 700;
  padding: .35em .7em;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  color: var(--brand);
}

.feat.power {
  grid-column: span 1;
  position: relative;
}

.feat.power::after {
  content: "Popular";
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand);
  padding: .3em .7em;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
}

/* ---------- flow ---------- */
.flow {
  max-width: var(--maxw);
  margin: 0 auto;
}

.flow-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 44px;
  position: relative;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
}

.flow-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: var(--brand-grad);
  box-shadow: 0 8px 20px rgba(255, 77, 46, .35);
  font-size: 1rem;
  z-index: 2;
}

.flow-card {
  width: 100%;
  padding: 18px 16px;
  text-align: center;
  min-height: 130px;
  border-radius: var(--r-lg);
}

.flow-card h4 {
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.flow-card p {
  font-size: .82rem;
  color: var(--ink-3);
  line-height: 1.45;
}

.flow-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 60%;
  width: 84%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 12px);
  z-index: 1;
  opacity: .4;
}

/* ---------- delivery ---------- */
.delivery {
  max-width: var(--maxw);
  margin: 0 auto;
}

.delivery-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.delivery-list {
  margin: 26px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.delivery-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .98rem;
  color: var(--ink-2);
  font-weight: 500;
}

.tick {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  flex-shrink: 0;
}

.delivery-compare {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-card {
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
}

.compare-card.good {
  border: 1.5px solid var(--brand);
  box-shadow: 0 20px 50px rgba(255, 77, 46, .15);
}

.cc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.cc-logo {
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.cc-logo.brand {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: capitalize;
}

.cc-tag {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .3em .7em;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  color: var(--ink-3);
}

.compare-card.good .cc-tag {
  background: var(--brand-soft);
  color: var(--brand);
}

.cc-price {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.cc-price span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-3);
}

.cc-note {
  font-size: .84rem;
  color: var(--ink-3);
  margin: 8px 0 16px;
}

.compare-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compare-card ul li {
  font-size: .84rem;
  color: var(--ink-2);
  display: flex;
  gap: 8px;
  align-items: center;
}

.compare-card ul li::before {
  content: "•";
  color: var(--ink-3);
}

.compare-card.bad {
  opacity: .85;
}

.compare-card.bad ul li::before {
  color: var(--bad);
  content: "✕";
}

.compare-card.good ul li::before {
  color: var(--ok);
  content: "✓";
}

/* ---------- guard / antifraud ---------- */
.guard {
  max-width: var(--maxw);
  margin: 0 auto;
}

.guard-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.guard-panel {
  padding: 28px;
  border-radius: var(--r-lg);
}

.gp-head {
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-3);
  margin-bottom: 18px;
}

.gp-row {
  display: grid;
  grid-template-columns: auto 1fr 1.4fr auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: .84rem;
}

.gp-time {
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  font-weight: 700;
}

.gp-who {
  font-weight: 700;
  color: var(--ink);
}

.gp-act {
  color: var(--ink-2);
}

.gp-why {
  font-size: .76rem;
  color: var(--ink-3);
  font-style: italic;
}

.gp-foot {
  margin-top: 16px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand);
  text-align: center;
}

/* ---------- how ---------- */
.how {
  max-width: var(--maxw);
  margin: 0 auto;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.how-step {
  padding: 30px 26px;
  position: relative;
  transition: transform .4s var(--ease);
}

.how-step:hover {
  transform: translateY(-4px);
}

.how-step.active {
  border-color: var(--brand);
}

.how-num {
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--brand);
  margin-bottom: 14px;
}

.how-step h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.how-step p {
  font-size: .9rem;
  color: var(--ink-3);
  line-height: 1.55;
}

/* ---------- pricing ---------- */
.pricing {
  max-width: var(--maxw);
  margin: 0 auto;
}

.billing-toggle {
  display: flex;
  width: fit-content;
  gap: 4px;
  padding: 5px;
  margin: 32px auto 0;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.bt-btn {
  padding: .6em 1.3em;
  border-radius: var(--r-pill);
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink-3);
  transition: .3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bt-btn.active {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 77, 46, .3);
}

.bt-save {
  background: #22c55e;
  color: #fff;
  font-size: .62rem;
  font-weight: 900;
  padding: .15em .5em;
  border-radius: var(--r-pill);
}

.bt-btn:not(.active) .bt-save {
  background: rgba(34, 197, 94, .18);
  color: #15803d;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
  align-items: start;
}

.plan {
  padding: 30px 26px;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.plan:hover {
  transform: translateY(-4px);
}

.plan.popular {
  border: 1.5px solid var(--brand);
  margin-top: -10px;
  box-shadow: 0 24px 60px rgba(255, 77, 46, .18);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-grad);
  color: #fff;
  padding: .45em 1.1em;
  border-radius: var(--r-pill);
  font-size: .62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 6px 18px rgba(255, 77, 46, .4);
}

.plan-head h3 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: .86rem;
  color: var(--ink-3);
  min-height: 48px;
  line-height: 1.5;
}

.plan-price {
  margin: 22px 0 6px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-amount {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.plan-amount .cur {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink-3);
  vertical-align: super;
  margin-right: 2px;
}

.plan-cycle {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-3);
}

.plan-savings {
  font-size: .74rem;
  font-weight: 800;
  color: var(--ok);
  margin-bottom: 18px;
  display: none;
}

.plan-savings[data-show="annual"].show {
  display: block;
}

.plan-feats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 28px;
  flex-grow: 1;
}

.plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .86rem;
  color: var(--ink-2);
  line-height: 1.45;
}

.plan-feats li .tick {
  width: 20px;
  height: 20px;
  font-size: .68rem;
}

.plan-feats li .tick {
  background: var(--brand);
}

.plan-feats li:first-child {
  color: var(--ink);
  font-weight: 600;
}

/* ROI */
.roi {
  margin-top: 40px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--r-xl);
}

.roi-head {
  max-width: 560px;
}

.roi-head .kicker {
  margin-bottom: 10px;
}

.roi-head h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.roi-head p {
  font-size: .92rem;
  color: var(--ink-3);
  line-height: 1.55;
}

.roi-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 30px;
  align-items: center;
}

.roi-field {
  margin-bottom: 22px;
}

.roi-field:last-child {
  margin-bottom: 0;
}

.roi-field-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.roi-field-top label {
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink-2);
}

.roi-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-2);
  border-radius: var(--r-pill);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-grad);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 77, 46, .4);
  border: 3px solid #fff;
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff7a1a;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(255, 77, 46, .4);
}

.roi-out {
  background: var(--brand-grad);
  border-radius: var(--r-lg);
  padding: 30px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 50px rgba(255, 77, 46, .3);
  position: relative;
  overflow: hidden;
}

.roi-out::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .2), transparent 60%);
}

.roi-out-label {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .9;
}

.roi-out-amount {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 10px 0 6px;
}

.roi-out-note {
  font-size: .82rem;
  opacity: .92;
}

.roi-out-note strong {
  font-weight: 800;
}

.roi-out-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  justify-content: space-between;
  font-size: .76rem;
  opacity: .85;
}

/* ---------- faq ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: var(--r-md);
  overflow: hidden;
  transition: background .3s;
}

.faq-item[open] {
  background: var(--glass-strong);
}

.faq-item summary {
  padding: 20px 22px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--brand);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 22px 20px;
  color: var(--ink-3);
  font-size: .92rem;
  line-height: 1.55;
}

/* ---------- stats band ---------- */
.stats {
  padding: clamp(40px, 6vw, 70px) var(--gut);
}

.stats-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--brand-grad);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 36px);
  box-shadow: 0 30px 70px rgba(255, 77, 46, .25);
  position: relative;
  overflow: hidden;
}

.stats-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 80% 0%, rgba(255, 255, 255, .18), transparent 60%);
}

.stat {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.stat-num {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: .82rem;
  font-weight: 600;
  opacity: .92;
  margin-top: 8px;
  line-height: 1.35;
}

/* ---------- testimonials ---------- */
.testi {
  max-width: var(--maxw);
  margin: 0 auto;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.testi-card {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .4s var(--ease);
}

.testi-card:hover {
  transform: translateY(-4px);
}

.testi-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.testi-card blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
  flex-grow: 1;
  letter-spacing: -0.01em;
}

.testi-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.testi-card figcaption div {
  display: flex;
  flex-direction: column;
}

.testi-card figcaption strong {
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.testi-card figcaption span {
  font-size: .78rem;
  color: var(--ink-3);
}

/* ---------- guarantee ---------- */
.guarantee {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.guarantee-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 44px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-xl);
  border: 1.5px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.guarantee-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 100% at 0% 50%, var(--brand-soft), transparent 60%);
  z-index: 0;
}

.guarantee-seal {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  animation: sealPulse 3s ease-in-out infinite;
}

@keyframes sealPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

.guarantee-copy {
  position: relative;
  z-index: 1;
}

.guarantee-copy h3 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.guarantee-copy p {
  font-size: .94rem;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 580px;
}

.guarantee-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
}

.guarantee-points span {
  font-size: .84rem;
  font-weight: 700;
  color: var(--ok);
}

@media (max-width: 880px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

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

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

  .guarantee-copy p {
    margin-inline: auto;
  }

  .guarantee-points {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- cta ---------- */
.cta {
  max-width: 880px;
  margin: 0 auto;
}

.cta-card {
  padding: clamp(32px, 5vw, 60px);
  border-radius: var(--r-xl);
  text-align: center;
  border: 1.5px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: radial-gradient(60% 80% at 50% 0%, var(--brand-soft), transparent 70%);
}

.cta-card h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.cta-card p {
  font-size: 1.05rem;
  color: var(--ink-3);
  margin-bottom: 28px;
}

.cta-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-form input {
  flex: 1 1 200px;
  padding: .95em 1.2em;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: 0;
}

.cta-form input::placeholder {
  color: var(--ink-3);
}

.cta-form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.cta-form .btn {
  flex: 0 0 auto;
}

.cta-trust {
  margin-top: 22px;
  display: flex;
  gap: clamp(14px, 3vw, 26px);
  justify-content: center;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--ink-3);
}

.cta-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- footer ---------- */
.foot {
  padding: 60px var(--gut) 30px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  margin-top: 60px;
}

.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: clamp(24px, 4vw, 60px);
}

.foot-brand .brand {
  margin-bottom: 14px;
}

.foot-brand p {
  font-size: .88rem;
  color: var(--ink-3);
  max-width: 320px;
  line-height: 1.5;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.foot-cols h5 {
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.foot-cols a {
  display: block;
  font-size: .88rem;
  color: var(--ink-2);
  padding: 4px 0;
  transition: color .2s;
}

.foot-cols a:hover {
  color: var(--brand);
}

.foot-bottom {
  max-width: var(--maxw);
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--ink-3);
  text-align: center;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-track {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }

  .flow-card {
    min-height: 110px;
    padding: 14px 10px;
  }
}

@media (max-width: 880px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
    margin-left: auto;
  }

  /* respeita o atributo [hidden] do JS: começa fechado, só abre ao tocar */
  .nav-mobile:not([hidden]) {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 10px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-phone {
    order: 1;
    margin-bottom: 10px;
  }

  .hero-sub {
    margin-inline: auto;
  }

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

  .pill {
    margin-inline: auto;
  }

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

  .delivery-inner,
  .guard-inner {
    grid-template-columns: 1fr;
  }

  .roi-body {
    grid-template-columns: 1fr;
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .plan.popular {
    margin-top: 0;
  }

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

  .foot-inner {
    grid-template-columns: 1fr;
  }

  .foot-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

  .flow-track {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .flow-step:not(:last-child)::before {
    display: none;
  }

  .flow-card {
    min-height: 100px;
  }

  .foot-cols {
    grid-template-columns: 1fr 1fr;
  }

  .cta-form input {
    flex: 1 1 100%;
  }

  .compare-card {
    padding: 22px 18px;
  }
}

/* dark mode adjustments for phone (keep light) */
[data-theme="dark"] .phone-screen {
  background: linear-gradient(180deg, #1a1a22 0%, #0e0e14 30%);
}

[data-theme="dark"] .app-order {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line);
}

[data-theme="dark"] .app-tab {
  background: rgba(255, 255, 255, .06);
  color: var(--ink-3);
}

[data-theme="dark"] .ao-items,
[data-theme="dark"] .ao-bottom i {
  color: var(--ink-3);
}

/* ---------- modal de autenticação integrada (iframe) ---------- */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 11, 15, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
}

.auth-modal-overlay:not([hidden]) {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.auth-modal-card {
  width: 100%;
  max-width: 480px;
  height: 90vh;
  max-height: 700px;
  background: rgba(252, 249, 248, 0.85);
  /* Fundo creme com glassmorphism */
  border: 1px solid rgba(161, 57, 36, 0.2);
  /* Borda terracota translúcida */
  box-shadow: 0 30px 60px rgba(161, 57, 36, 0.15);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.auth-modal-overlay:not([hidden]) .auth-modal-card {
  transform: scale(1);
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(161, 57, 36, 0.1);
  border: none;
  color: #a13924;
  font-size: 1.25rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}

.auth-modal-close:hover {
  background: rgba(161, 57, 36, 0.2);
  transform: scale(1.05);
}

.auth-iframe-wrapper {
  flex: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
}

#authIframe {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
}

/* ============================================================
   VISUAL MODULES TOUR STYLE
   ============================================================ */
.modules-tour {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) var(--gut);
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 12vw, 120px);
}

.tour-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

@media (min-width: 768px) {
  .tour-row {
    grid-template-columns: 1.05fr .95fr;
  }

  .tour-row.reverse {
    grid-template-columns: .95fr 1.05fr;
  }

  .tour-row.reverse .tour-media {
    order: -1;
  }
}

.tour-content {
  text-align: left;
}

.tour-content h3 {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.tour-content p {
  color: var(--ink-2);
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  margin-bottom: 24px;
  line-height: 1.6;
}

.tour-features {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

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

.tour-feat-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.tour-feat-text h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.tour-feat-text p {
  font-size: 0.88rem;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.45;
}

.tour-media {
  display: grid;
  place-items: center;
  position: relative;
}

/* UI Mockups */
.mockup-wrapper {
  width: 100%;
  max-width: 440px;
  position: relative;

  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Phone Mockup */
.tour-phone {
  width: 240px;
  aspect-ratio: 9/19;
  border-radius: 36px;
  background: #0b0b0f;
  padding: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.tour-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

/* Tablet / Screen Mockup */
.tour-screen {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 16/10;
  border-radius: 16px;
  background: #0b0b0f;
  padding: 6px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tour-screen-content {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

/* Common Mockup Parts */
.mock-title-bar {
  background: var(--card);
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--ink);
}

.mock-scrollable {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Specific Parts */
.mock-banner {
  background: var(--brand-grad);
  height: 46px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  gap: 6px;
}

.mock-horizontal-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.mock-small-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  font-size: 0.62rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
}

.mock-small-card img {
  border-radius: 6px;
  height: 38px;
  object-fit: cover;
  background: #eee;
}

.mock-add-btn {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.6rem;
}

.mock-floating-bar {
  background: var(--brand-grad);
  color: #fff;
  padding: 8px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 10px;
  margin-top: auto;
}

/* Waiter Mockup */
.mock-waiter-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px;
  border-bottom: 1px solid var(--line);
  font-size: 0.65rem;
}

.mock-badge-status {
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mock-badge-status.preparing {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.mock-badge-status.ready {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

/* KDS Mockup */
.mock-kds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
}

.mock-kds-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 6px;
  font-size: 0.58rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 80px;
}

.mock-kds-card.delayed {
  border-left: 3px solid var(--bad);
}

.mock-kds-card.ok {
  border-left: 3px solid var(--ok);
}

.mock-kds-btn {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  padding: 3px;
  border-radius: 4px;
  text-align: center;
  margin-top: auto;
}

/* POS Mockup */
.mock-pos-split {
  display: grid;
  grid-template-columns: 80px 1fr;
  flex: 1;
  overflow: hidden;
}

.mock-pos-menu {
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}

.mock-pos-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px;
  font-size: 0.52rem;
  text-align: center;
  font-weight: 700;
}

.mock-pos-main {
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-pos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.mock-pos-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px;
  text-align: center;
  font-size: 0.55rem;
}

.mock-pos-btn-pay {
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.6rem;
  padding: 6px;
  border-radius: 6px;
  text-align: center;
  margin-top: auto;
}

/* Finance Mockup */
.mock-finance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.mock-finance-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  font-size: 0.58rem;
}

.mock-finance-card .amount {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--ink);
  margin-top: 2px;
}

.mock-finance-card .amount.green {
  color: var(--ok);
}

.mock-chart {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  justify-content: space-around;
  height: 54px;
}

.mock-chart-bar {
  width: 12px;
  background: var(--brand-grad);
  border-radius: 3px 3px 0 0;
  animation: growBar 1.2s ease-out forwards;
}

@keyframes growBar {
  from {
    height: 0;
  }
}

/* QR Scanner Mockup */
.mock-qr-scanner {
  flex: 1;
  background: #111;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-qr-box {
  width: 90px;
  height: 90px;
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  position: relative;
}

.mock-qr-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ff2d78;
  animation: scanLine 2s linear infinite;
  box-shadow: 0 0 8px #ff2d78;
}

@keyframes scanLine {

  0%,
  100% {
    top: 0;
  }

  50% {
    top: 100%;
  }
}