/* ─── DESIGN TOKENS ────────────────────────────────────────────── */
:root {
  /* Surface */
  --bg:          #060611;
  --bg-2:        #0a0a1a;
  --bg-card:     rgba(255,255,255,0.035);
  --bg-card-hi:  rgba(255,255,255,0.06);
  --line:        rgba(255,255,255,0.08);
  --line-hi:     rgba(255,255,255,0.14);

  /* AI brand */
  --ai-indigo:   #6366f1;
  --ai-violet:   #8b5cf6;
  --ai-cyan:     #22d3ee;
  --ai-sky:      #38bdf8;
  --ai-blue:     #3b82f6;

  /* WhatsApp (kept as channel accent) */
  --wa:          #25d366;
  --wa-dark:     #16a34a;

  /* Support accents */
  --rose:        #f43f5e;   /* storefront channel */
  --amber:       #f59e0b;   /* kitchen / warn */

  /* Shadows */
  --glow-ai:     0 0 40px rgba(139,92,246,0.28);
  --glow-cyan:   0 0 30px rgba(34,211,238,0.22);
  --glow-wa:     0 0 25px rgba(37,211,102,0.35);
}

/* ─── BASE ─────────────────────────────────────────────────────── */
[x-cloak] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: white;
  overflow-x: hidden;
  font-feature-settings: "ss01","cv11";
}

/* Subtle film grain over the whole page — pure CSS noise via svg data-uri */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ─── DOT GRID OVERLAY ─────────────────────────────────────────── */
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  pointer-events: none;
}

/* ─── MESH / BLOBS ─────────────────────────────────────────────── */
.blob { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; will-change: transform; }
.blob-1 { width:620px;height:620px;top:-220px;left:-200px;background:radial-gradient(circle,rgba(99,102,241,0.28),transparent 70%); animation: drift 22s ease-in-out infinite; }
.blob-2 { width:520px;height:520px;top:90px;right:-160px;background:radial-gradient(circle,rgba(34,211,238,0.22),transparent 70%); animation: drift 26s ease-in-out infinite reverse; }
.blob-3 { width:420px;height:420px;bottom:-80px;left:28%;background:radial-gradient(circle,rgba(139,92,246,0.22),transparent 70%); animation: drift 30s ease-in-out infinite; }
.blob-4 { width:620px;height:420px;bottom:-120px;right:-100px;background:radial-gradient(circle,rgba(56,189,248,0.18),transparent 70%); }
.blob-5 { width:520px;height:520px;top:50%;left:-160px;transform:translateY(-50%);background:radial-gradient(circle,rgba(99,102,241,0.22),transparent 70%); }
.blob-6 { width:700px;height:420px;top:50%;right:-220px;transform:translateY(-50%);background:radial-gradient(circle,rgba(139,92,246,0.2),transparent 70%); }
.blob-7 { width:640px;height:640px;top:50%;left:50%;transform:translate(-50%,-50%);background:radial-gradient(circle,rgba(34,211,238,0.15),transparent 60%); }

/* ─── HERO BG ──────────────────────────────────────────────────── */
.hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%,  rgba(99,102,241,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 85% 90%, rgba(34,211,238,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(139,92,246,0.10) 0%, transparent 60%),
    var(--bg);
}
/* Aurora ray — animated */
.hero-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(139,92,246,0.10) 50%, transparent 65%);
  mix-blend-mode: screen;
  animation: aurora 14s ease-in-out infinite alternate;
}

/* ─── TYPOGRAPHY ───────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 50%, #6366f1 100%);
  background-size: 220% 220%;
  animation: gradient-shift 8s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.eyebrow {
  display: inline-block;
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: transparent;
  background: linear-gradient(90deg, #22d3ee, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ─── BUTTONS ──────────────────────────────────────────────────── */
.primary-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #22d3ee 100%);
  background-size: 220% 220%;
  color: white; font-weight: 700; font-size: 0.875rem;
  padding: 0.8rem 1.6rem; border-radius: 9999px; transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(99,102,241,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
  position: relative;
}
.primary-btn:hover {
  transform: translateY(-1px);
  background-position: 100% 50%;
  box-shadow: 0 12px 40px rgba(139,92,246,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* WhatsApp-specific CTA — still uses the green, because it opens WA */
.primary-btn.primary-btn-wa {
  background: linear-gradient(135deg, #25d366, #16a34a);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
.primary-btn.primary-btn-wa:hover {
  box-shadow: 0 12px 40px rgba(37,211,102,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}

.secondary-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.92); font-weight: 600; font-size: 0.875rem;
  padding: 0.8rem 1.6rem; border-radius: 9999px; transition: all 0.2s;
  backdrop-filter: blur(10px);
}
.secondary-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(139,92,246,0.4); transform: translateY(-1px); }

.ghost-btn {
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-weight: 600; font-size: 0.875rem;
  padding: 0.8rem 1.6rem; border-radius: 9999px; transition: all 0.2s;
}
.ghost-btn:hover { color: white; background: rgba(139,92,246,0.1); }

/* ─── NAV ──────────────────────────────────────────────────────── */
.nav-glass {
  background: rgba(6,6,17,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
}
.nav-link { font-size: 0.8125rem; font-weight: 500; color: rgba(255,255,255,0.6); padding: 0.45rem 0.9rem; border-radius: 9999px; transition: all 0.2s; }
.nav-link:hover { color: white; background: rgba(139,92,246,0.1); }
.cta-btn {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white; font-size: 0.8125rem; font-weight: 700;
  padding: 0.5rem 1.1rem; border-radius: 9999px; transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(99,102,241,0.35);
}
.cta-btn:hover { box-shadow: 0 6px 24px rgba(139,92,246,0.55); transform: translateY(-1px); }

/* ─── GLASS CARD (with gradient border on hover) ───────────────── */
.glass-card {
  position: relative;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px; backdrop-filter: blur(20px);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.glass-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(99,102,241,0.0), rgba(139,92,246,0.0), rgba(34,211,238,0.0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; transition: background 0.25s ease;
}
.glass-card:hover { background: rgba(255,255,255,0.055); border-color: transparent; }
.glass-card:hover::before {
  background: linear-gradient(135deg, rgba(99,102,241,0.55), rgba(139,92,246,0.35), rgba(34,211,238,0.55));
}

/* ─── PULSE DOT ─────────────────────────────────────────────────── */
.pulse-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #25d366; box-shadow: 0 0 0 0 rgba(37,211,102,0.45);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ─── PHONE COMPOSITION (hero) ──────────────────────────────────── */
.phone-composition {
  position: relative;
  width: 560px; height: 580px;
  display: flex; align-items: center; justify-content: center;
}
.orbit-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 460px; height: 460px;
  border: 1px solid rgba(139,92,246,0.18); border-radius: 50%;
  animation: spin 22s linear infinite;
}
.orbit-ring::before {
  content: ''; position: absolute; top: -5px; left: 50%;
  width: 10px; height: 10px; border-radius: 50%;
  background: #8b5cf6; transform: translateX(-50%);
  box-shadow: 0 0 18px rgba(139,92,246,0.9);
}
.orbit-ring-2 {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 540px; height: 540px;
  border: 1px solid rgba(34,211,238,0.12); border-radius: 50%;
  animation: spin 35s linear infinite reverse;
}
.orbit-ring-2::before {
  content: ''; position: absolute; bottom: -4px; left: 20%;
  width: 8px; height: 8px; border-radius: 50%;
  background: #22d3ee; box-shadow: 0 0 14px rgba(34,211,238,0.8);
}

/* ─── PHONE FRAME (hero mockup) ─────────────────────────────────── */
.phone-frame {
  position: relative; z-index: 10;
  width: 265px; height: 530px;
  background: #0d1418; border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
  box-shadow:
    0 50px 100px rgba(0,0,0,0.65),
    0 0 80px rgba(99,102,241,0.15),
    inset 0 1px 0 rgba(255,255,255,0.12);
  display: flex; flex-direction: column;
  animation: float1 6s ease-in-out infinite;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 24px; background: #0d1418;
  border-radius: 0 0 14px 14px; z-index: 20;
  border: 1px solid rgba(255,255,255,0.08); border-top: none;
}

/* ─── FLOAT CARDS ───────────────────────────────────────────────── */
.float-card {
  position: absolute;
  background: rgba(10,10,26,0.85); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 10px 13px; z-index: 20;
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 30px rgba(99,102,241,0.1);
  min-width: 130px;
}
.float-card-1 { top: 40px; right: 10px; animation: float2 4.5s ease-in-out infinite; }
.float-card-2 { bottom: 130px; right: 15px; animation: float1 5s ease-in-out infinite 0.7s; }
.float-card-3 { top: 160px; left: 10px; animation: float2 5.5s ease-in-out infinite 0.3s; }
.float-card-4 { bottom: 80px; left: 15px; animation: float1 4s ease-in-out infinite 1s; }

/* ─── AI FLOW ────────────────────────────────────────────────────── */
.flow-icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; margin: 0 auto;
  backdrop-filter: blur(8px);
}
.flow-icon-1 { background:rgba(34,211,238,0.12);  color:#22d3ee; border:1px solid rgba(34,211,238,0.3); }
.flow-icon-2 { background:rgba(37,211,102,0.16);  color:#25d366; border:1px solid rgba(37,211,102,0.35); box-shadow:0 0 30px rgba(37,211,102,0.18); }
.flow-icon-3 { background:rgba(139,92,246,0.16);  color:#a78bfa; border:1px solid rgba(139,92,246,0.35); box-shadow:0 0 30px rgba(139,92,246,0.18); }
.flow-icon-4 { background:rgba(99,102,241,0.14);  color:#818cf8; border:1px solid rgba(99,102,241,0.3); }
.flow-icon-5 { background:rgba(245,158,11,0.12);  color:#fbbf24; border:1px solid rgba(245,158,11,0.25); }
.flow-icon-6 { background:rgba(56,189,248,0.12);  color:#38bdf8; border:1px solid rgba(56,189,248,0.28); }
.flow-line { background:linear-gradient(90deg,#22d3ee,#25d366,#a78bfa,#818cf8,#fbbf24,#38bdf8); opacity:0.35; }

/* ─── DASHBOARD MOCKUP ──────────────────────────────────────────── */
.dashboard-mockup {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 0 60px rgba(99,102,241,0.08);
}
.dashboard-topbar {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 12px 16px;
}
.metric-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 12px;
}
.metric-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.35); margin-bottom: 4px; }
.metric-value { font-size: 1rem; font-weight: 900; color: white; }
.metric-change { font-size: 10px; color: #22d3ee; margin-top: 2px; font-weight: 600; }
.order-row {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 8px 12px;
}
.status-badge { font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 9999px; display: inline-block; margin-top: 2px; }
.status-active   { background:rgba(251,146,60,0.2); color:#fb923c; }
.status-ready    { background:rgba(37,211,102,0.2); color:#25d366; }
.status-delivery { background:rgba(56,189,248,0.22); color:#38bdf8; }
.status-done     { background:rgba(255,255,255,0.08); color:rgba(255,255,255,0.35); }
.kitchen-ticket { flex:1; border-radius:10px; padding:10px; }
.kitchen-ticket-hot  { background:rgba(251,146,60,0.12); border:1px solid rgba(251,146,60,0.25); }
.kitchen-ticket-warm { background:rgba(37,211,102,0.12); border:1px solid rgba(37,211,102,0.25); }
.kitchen-ticket-cold { background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); }

/* ─── WHATSAPP PHONE (preview section) ──────────────────────────── */
.wa-phone-frame {
  width: 320px; background: #111b21; border-radius: 40px;
  overflow: hidden; border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(37,211,102,0.1),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.wa-status-bar {
  background: #1f2c34; display: flex; align-items: center;
  justify-content: space-between; padding: 10px 20px 4px;
  font-size: 10px; color: rgba(255,255,255,0.8);
}
.wa-header {
  background: #1f2c34; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wa-online-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:#25d366; margin-right:4px; }
.wa-chat { background:#0d1418; padding:16px 12px; display:flex; flex-direction:column; gap:8px; }
.wa-msg { max-width: 86%; border-radius: 12px; padding: 8px 12px; }
.wa-msg-bot      { background:#1f2c34; border-radius:2px 12px 12px 12px; align-self:flex-start; }
.wa-msg-customer { background:#005c4b; border-radius:12px 2px 12px 12px; align-self:flex-end; }
.wa-time { font-size: 9px; color: rgba(174,186,193,0.7); margin-top: 4px; }
.wa-status-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: 9999px;
  align-self: center; width: fit-content; margin: 2px auto;
}
.wa-status-understood { background:rgba(139,92,246,0.15); color:#c4b5fd; border:1px solid rgba(139,92,246,0.28); }
.wa-status-payment    { background:rgba(56,189,248,0.15);  color:#7dd3fc; border:1px solid rgba(56,189,248,0.28); }
.wa-status-kitchen    { background:rgba(37,211,102,0.15);  color:#25d366; border:1px solid rgba(37,211,102,0.28); }

/* ─── FEATURE CARDS ─────────────────────────────────────────────── */
.feature-card {
  position: relative;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px; padding: 28px; transition: all 0.25s;
  overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at top right, rgba(139,92,246,0.0), transparent 60%);
  transition: background 0.25s ease;
}
.feature-card:hover {
  background: rgba(255,255,255,0.055); border-color: rgba(139,92,246,0.25);
  transform: translateY(-3px); box-shadow: 0 25px 70px rgba(0,0,0,0.35), 0 0 40px rgba(139,92,246,0.12);
}
.feature-card:hover::before {
  background: radial-gradient(circle at top right, rgba(139,92,246,0.08), transparent 60%);
}

/* ─── COMPARISON TABLE ──────────────────────────────────────────── */
.comparison-table {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; overflow: hidden;
  backdrop-filter: blur(20px);
}
.comparison-header {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  background: linear-gradient(90deg, rgba(99,102,241,0.06), rgba(139,92,246,0.06));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 20px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.5);
}
.comparison-row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.05);
  align-items: center; font-size: 13px; transition: background 0.15s;
}
.comparison-row:hover { background: rgba(139,92,246,0.04); }
.comparison-row:last-child { border-bottom: none; }
.comparison-feature-col { color: rgba(255,255,255,0.65); }
.comparison-botgastro-col { text-align: center; }
.comparison-platform-col { text-align: center; }
.check-good { color: #25d366; font-weight: 700; }
.check-bad { color: rgba(255,255,255,0.25); }

/* ─── DEMO CARDS ────────────────────────────────────────────────── */
.demo-card {
  position: relative;
  display: block; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px; padding: 28px; transition: all 0.25s; text-decoration: none;
  overflow: hidden;
}
.demo-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; transition: background 0.3s;
}
.demo-card:hover { transform: translateY(-4px); box-shadow: 0 30px 80px rgba(0,0,0,0.4); }
.demo-card:hover::before {
  background: linear-gradient(135deg, rgba(99,102,241,0.6), rgba(139,92,246,0.45), rgba(34,211,238,0.6));
}
.demo-card-icon { width:64px; height:64px; border-radius:18px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.demo-card-mini-preview { background:rgba(0,0,0,0.35); border:1px solid rgba(255,255,255,0.08); border-radius:12px; padding:12px; margin-bottom:20px; }
.demo-card-cta { display:inline-flex; align-items:center; padding:8px 18px; border-radius:9999px; font-size:13px; font-weight:700; transition:all 0.2s; }

/* ─── LAUNCH LINKS ──────────────────────────────────────────────── */
.launch-link {
  display: block; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 12px 16px; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.7); text-align: center; transition: all 0.2s;
}
.launch-link:hover { background: rgba(139,92,246,0.1); border-color: rgba(139,92,246,0.3); color: white; transform: translateY(-1px); }

/* ─── LAUNCH POINT CARDS ────────────────────────────────────────── */
.launch-point-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 14px 16px; transition: all 0.2s;
}
.launch-point-card:hover { border-color: rgba(139,92,246,0.28); background: rgba(139,92,246,0.05); }

/* ─── CTA BLOCK ─────────────────────────────────────────────────── */
.cta-block {
  position: relative;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px; padding: 64px 48px;
  overflow: hidden;
}
.cta-block::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at top left, rgba(99,102,241,0.18), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(34,211,238,0.14), transparent 55%);
}
.cta-block > * { position: relative; z-index: 1; }

/* ─── IFRAME PHONE WRAPPER (Live Demo — WhatsApp tab) ───────────── */
.live-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at top, rgba(99,102,241,0.12), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(34,211,238,0.1), transparent 60%),
    #0b0b18;
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 860px;
  overflow: hidden;
}
.live-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
}

/* phone shell that wraps iframe */
.iframe-phone {
  position: relative;
  width: 400px; height: 812px;                 /* iPhone 13/14 logical size */
  background: #0b0b12;
  border-radius: 52px;
  padding: 14px;
  box-shadow:
    0 60px 120px rgba(0,0,0,0.6),
    0 0 80px rgba(99,102,241,0.18),
    inset 0 0 0 1.5px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.15);
}
.iframe-phone::before {   /* outer metal bezel highlight */
  content: ""; position: absolute; inset: -2px; border-radius: 54px;
  background: linear-gradient(135deg, rgba(139,92,246,0.4), rgba(34,211,238,0.3), rgba(99,102,241,0.4));
  z-index: -1;
  filter: blur(10px); opacity: 0.5;
}
.iframe-phone-notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 30px; background: #000;
  border-radius: 18px; z-index: 5;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.iframe-phone-notch::after {
  content: ""; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2a2a3a, #050508 70%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}
.iframe-phone-speaker {
  position: absolute; top: 32px; left: calc(50% - 36px); transform: translateX(-50%);
  width: 46px; height: 5px; background: #0a0a14; border-radius: 3px;
  z-index: 6;
}
.iframe-phone-inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 38px; overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.5);
}
.iframe-phone-inner iframe {
  display: block; width: 100%; height: 100%; border: 0;
  background: #fff;
}
/* home indicator */
.iframe-phone-inner::after {
  content: ""; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 4px; border-radius: 2px; background: rgba(0,0,0,0.3);
  z-index: 10;
}
.iframe-phone-side-btn-left,
.iframe-phone-side-btn-right {
  position: absolute; background: #1a1a25;
  border-radius: 2px;
}
.iframe-phone-side-btn-left  { left: -3px; top: 110px;  width: 3px; height: 32px; }
.iframe-phone-side-btn-right { right: -3px; top: 140px; width: 3px; height: 56px; }

/* Browser-style wrapper for non-WhatsApp tabs */
.iframe-browser {
  width: 100%; max-width: 1100px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 60px rgba(99,102,241,0.1);
  background: #0b0b18;
}
.iframe-browser-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; background: #0f0f1c;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.iframe-browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.iframe-browser-dot.r { background: #ff5f57; }
.iframe-browser-dot.y { background: #febc2e; }
.iframe-browser-dot.g { background: #28c840; }
.iframe-browser-addr {
  flex: 1; margin-left: 14px; padding: 5px 12px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; font-size: 11px; color: rgba(255,255,255,0.55);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.iframe-browser iframe {
  display: block; width: 100%; height: 780px; border: 0; background: #fff;
}

/* ─── ANIMATIONS ────────────────────────────────────────────────── */
@keyframes float1 {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-14px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(-8px); }
  50%      { transform: translateY(6px); }
}
@keyframes spin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes drift {
  0%, 100% { transform: translate(0,0); }
  50%      { transform: translate(24px, -18px); }
}
@keyframes aurora {
  0%   { opacity: 0.4; transform: translateX(-6%); }
  100% { opacity: 0.85; transform: translateX(6%); }
}

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1279px) {
  .iframe-browser iframe { height: 680px; }
}
@media (max-width: 1023px) {
  .float-card-1, .float-card-2, .float-card-3, .float-card-4 { display: none; }
  .orbit-ring, .orbit-ring-2 { display: none; }
  .phone-composition { width: 265px; height: 530px; }
  .live-stage { padding: 20px; min-height: auto; }
}
@media (max-width: 767px) {
  .cta-block { padding: 40px 24px; }
  .comparison-header, .comparison-row { grid-template-columns: 1fr 90px 80px; padding: 10px 12px; font-size: 11px; }
  .wa-phone-frame { width: 100%; max-width: 320px; }
  .phone-composition { width: 265px; height: 530px; }
  .iframe-phone { width: 320px; height: 650px; border-radius: 44px; padding: 11px; }
  .iframe-phone-inner { border-radius: 32px; }
  .iframe-phone-notch { width: 100px; height: 26px; top: 18px; }
  .iframe-browser iframe { height: 540px; }
}
