/* ==========================================================================
   IMY WhatsApp Bulk Messenger — Futuristic SaaS Design System
   Theme: Cyber Obsidian • Luminous WhatsApp Emerald • Electric Cyan • Pro Gold
   ========================================================================== */

:root {
  --bg: #040811;
  --bg-elevated: #0a1120;
  --surface: rgba(15, 23, 42, 0.72);
  --surface-solid: #0f172a;
  --border: rgba(148, 163, 184, 0.14);
  --border-glow: rgba(16, 185, 129, 0.45);

  --text: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --emerald: #10b981;
  --emerald-bright: #34d399;
  --emerald-dark: #059669;
  --cyan: #06b6d4;
  --gold: #f59e0b;
  --gold-bright: #fbbf24;
  --danger: #ef4444;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --max-w: 1180px;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -25px) scale(1.08); }
}

@keyframes shimmerBeam {
  0% { transform: translateX(-140%) skewX(-22deg); }
  100% { transform: translateX(260%) skewX(-22deg); }
}

@keyframes pulseRadar {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes progressStripe {
  0% { background-position: 0 0; }
  100% { background-position: 36px 0; }
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Futuristic Animated Background Layers */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}

.cyber-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 20%, black 20%, transparent 78%);
}

.aurora-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.28;
  z-index: -1;
  pointer-events: none;
  animation: floatOrb 12s ease-in-out infinite;
}
.orb-1 { width: 480px; height: 480px; background: #10b981; top: -120px; left: -100px; }
.orb-2 { width: 420px; height: 420px; background: #06b6d4; top: 28%; right: -120px; animation-delay: -4s; }
.orb-3 { width: 380px; height: 380px; background: #f59e0b; bottom: -100px; left: 30%; opacity: 0.16; animation-delay: -8s; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 22px;
}

/* ==================== NAVIGATION ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(4, 8, 17, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.brand-logo .logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #10b981, #047857);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.45);
}
.brand-logo span em {
  font-style: normal;
  color: var(--emerald-bright);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.18s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--emerald-bright); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
  border-radius: 2px;
}

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

.mobile-toggle {
  display: none;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 0.86rem; border-radius: 10px; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; border-radius: 14px; }

.btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.35);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  animation: shimmerBeam 3.2s infinite ease-in-out;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(16, 185, 129, 0.5); }

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0b1120;
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.32);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(245, 158, 11, 0.48); }

.btn-glass {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(12px);
}
.btn-glass:hover { border-color: var(--emerald); color: var(--emerald-bright); transform: translateY(-2px); }

/* ==================== HERO SECTION ==================== */
.hero {
  padding: 76px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--emerald-bright);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.eyebrow .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-bright);
  animation: pulseRadar 2s infinite;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.55rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.text-gradient {
  background: linear-gradient(90deg, #34d399, #06b6d4, #fbbf24);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: "✓"; color: var(--emerald-bright); font-weight: 800; }

/* Interactive Futuristic Simulator Card */
.sim-window {
  background: rgba(10, 17, 32, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(16, 185, 129, 0.12);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.sim-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--border);
}
.sim-dots { display: flex; gap: 6px; }
.sim-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.sim-dots i:nth-child(1) { background: #ef4444; }
.sim-dots i:nth-child(2) { background: #f59e0b; }
.sim-dots i:nth-child(3) { background: #10b981; }
.sim-tag { font-size: 0.75rem; font-weight: 700; color: var(--emerald-bright); font-family: ui-monospace, monospace; }

.sim-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }

.sim-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.sim-kpi {
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}
.sim-kpi strong { display: block; font-size: 1.2rem; font-weight: 800; }
.sim-kpi span { font-size: 0.68rem; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.sim-kpi.k-sent strong { color: var(--emerald-bright); }
.sim-kpi.k-speed strong { color: var(--cyan); }
.sim-kpi.k-reload strong { color: var(--gold-bright); }

.sim-progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  overflow: hidden;
}
.sim-progress-fill {
  height: 100%;
  width: 20%;
  border-radius: 999px;
  background-color: #10b981;
  background-image: linear-gradient(
    -45deg,
    rgba(255,255,255,0.22) 25%, transparent 25%, transparent 50%,
    rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.22) 75%, transparent 75%, transparent
  );
  background-size: 36px 36px;
  animation: progressStripe 1s linear infinite;
  transition: width 0.45s ease;
}

.sim-rows { display: flex; flex-direction: column; gap: 8px; }
.sim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  transition: all 0.25s ease;
}
.sim-row.is-sending {
  border-color: var(--gold);
  background: rgba(245, 158, 11, 0.1);
  transform: translateX(4px);
}
.sim-row.is-sent {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
}
.sim-phone { font-family: ui-monospace, monospace; font-weight: 700; color: var(--text); }
.sim-msg { color: var(--text-muted); font-size: 0.76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.sim-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  color: #60a5fa;
  flex-shrink: 0;
}
.sim-row.is-sending .sim-badge { background: rgba(245, 158, 11, 0.2); color: var(--gold-bright); }
.sim-row.is-sent .sim-badge { background: rgba(16, 185, 129, 0.2); color: var(--emerald-bright); }

/* ==================== METRIC RIBBON ==================== */
.metrics-band {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 17, 32, 0.55);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}
.metric-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--emerald-bright);
}
.metric-item span { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

/* ==================== SECTIONS & BENTO GRID ==================== */
.section { padding: 78px 0; }
.section-alt { background: rgba(10, 17, 32, 0.5); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.section-head p { color: var(--text-secondary); font-size: 1.02rem; }

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

.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), 0 0 28px rgba(16, 185, 129, 0.12);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.glass-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.glass-card p { font-size: 0.92rem; color: var(--text-secondary); }

/* ==================== STEPS / INSTALL TIMELINE ==================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: #040811;
  font-weight: 900;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--text-secondary); }
.step-card code {
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald-bright);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: ui-monospace, monospace;
}

/* ==================== PRICING CARDS ==================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.pricing-card:hover { transform: translateY(-5px); }
.pricing-card.featured {
  border: 1.5px solid var(--emerald);
  background: linear-gradient(165deg, rgba(16, 185, 129, 0.14), rgba(10, 17, 32, 0.92) 48%);
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.18);
}
.pricing-card.vip {
  border: 1.5px solid var(--gold);
  background: linear-gradient(165deg, rgba(245, 158, 11, 0.14), rgba(10, 17, 32, 0.92) 48%);
}
.plan-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  color: var(--text-secondary);
}
.featured .plan-tag { background: rgba(16, 185, 129, 0.22); color: var(--emerald-bright); }
.vip .plan-tag { background: rgba(245, 158, 11, 0.22); color: var(--gold-bright); }

.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price strong { font-size: 2.8rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.plan-price span { color: var(--text-muted); font-size: 0.92rem; }

.plan-list { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-list li { font-size: 0.92rem; color: var(--text-secondary); padding-left: 22px; position: relative; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald-bright); font-weight: 900; }

/* ==================== FAQ ACCORDION ==================== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
  color: var(--text-secondary);
  font-size: 0.93rem;
  padding: 0 20px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 18px; }
.faq-item.open .faq-plus { transform: rotate(45deg); color: var(--emerald-bright); }
.faq-plus { font-size: 1.3rem; transition: transform 0.2s ease; flex-shrink: 0; }

/* ==================== DEVELOPER / FOOTER ==================== */
.dev-spotlight {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.12), rgba(10, 17, 32, 0.92));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}
.dev-avatar-lg {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #10b981, #06b6d4, #f59e0b);
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
}
.dev-avatar-lg img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid #040811;
}

.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.18s ease;
}
.social-pill:hover { border-color: var(--emerald); color: var(--emerald-bright); transform: translateY(-2px); }

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(4, 8, 17, 0.95);
  padding: 46px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 30px;
}
.footer-col h4 { font-size: 0.92rem; font-weight: 800; margin-bottom: 12px; color: var(--text); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.15s; }
.footer-col a:hover { color: var(--emerald-bright); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Comparison Table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.compare-table th { background: rgba(15, 23, 42, 0.92); font-weight: 800; }
.compare-table td.yes { color: var(--emerald-bright); font-weight: 700; }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Page Hero (Subpages) */
.page-hero { padding: 64px 0 38px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 12px; }
.page-hero p { color: var(--text-secondary); max-width: 680px; margin: 0 auto; font-size: 1.04rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .bento-grid, .steps-grid, .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .dev-spotlight { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .social-row { justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(4, 8, 17, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: inline-flex; }
}

/* ==================== PAYMENT CHECKOUT TABS & FORM ==================== */
.checkout-card {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(10, 17, 32, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.pay-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.pay-tab-btn {
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pay-tab-btn span.sub { font-size: 0.74rem; font-weight: 500; color: var(--text-muted); }
.pay-tab-btn:hover { border-color: var(--emerald); color: var(--text); }
.pay-tab-btn.active {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.2), rgba(15, 23, 42, 0.95));
  border-color: var(--emerald);
  color: var(--emerald-bright);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.2);
}

.pay-panel { display: none; animation: fadeInPanel 0.25s ease; }
.pay-panel.active { display: block; }

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.account-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.account-row:last-child { padding-bottom: 0; border-bottom: none; }

.account-meta span {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 700;
}
.account-meta strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
  margin-top: 2px;
}

.btn-copy {
  padding: 7px 14px;
  border-radius: 9px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald-bright);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.16s ease;
}
.btn-copy:hover { background: var(--emerald); color: #040811; }
.btn-copy.copied { background: var(--emerald); color: #040811; border-color: var(--emerald); }

.verify-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 20px;
  color: var(--emerald-bright);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.verify-divider::before, .verify-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.verify-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.verify-form .full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.82rem; font-weight: 700; color: var(--text-secondary); }
.form-field input, .form-field select {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
}
.form-field input:focus, .form-field select:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}
.form-error { color: #f87171; font-size: 0.84rem; font-weight: 600; display: none; }
.form-error.show { display: block; }

@media (max-width: 720px) {
  .pay-tabs, .verify-form { grid-template-columns: 1fr; }
  .checkout-card { padding: 20px; }
}

/* ==================== CUSTOM MESSAGE BUILDER PAGE ==================== */
.notice-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(15, 23, 42, 0.88));
  border: 1px solid rgba(245, 158, 11, 0.42);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.notice-banner strong { display: block; color: var(--gold-bright); font-size: 0.96rem; margin-bottom: 4px; }
.notice-banner p { font-size: 0.88rem; color: var(--text-secondary); }
.notice-banner code { background: rgba(245, 158, 11, 0.16); color: var(--gold-bright); padding: 1px 6px; border-radius: 5px; font-family: ui-monospace, monospace; }

.builder-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: start;
}

.builder-panel {
  background: rgba(10, 17, 32, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(18px);
}

.builder-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.builder-panel-head h2 { font-size: 1.15rem; font-weight: 800; }

.builder-config-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.var-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border);
}
.var-label { font-size: 0.76rem; font-weight: 700; color: var(--text-muted); margin-right: 4px; }
.var-chip {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-bright);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.var-chip:hover { background: var(--emerald); color: #040811; }
.var-custom { display: inline-flex; gap: 4px; align-items: center; }
.var-custom input {
  width: 78px;
  padding: 4px 7px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: rgba(4, 8, 17, 0.8);
  color: var(--text);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.builder-textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(4, 8, 17, 0.78);
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.55;
  font-family: inherit;
  resize: vertical;
  outline: none;
}
.builder-textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

.builder-actions { display: flex; gap: 10px; }

.builder-result-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(15, 23, 42, 0.95));
  border: 1.5px solid var(--emerald);
  border-radius: 14px;
  padding: 16px 18px;
  animation: fadeInPanel 0.25s ease;
}
.result-ready-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.result-title { display: block; color: var(--emerald-bright); font-size: 1rem; margin-bottom: 2px; }
.result-sub { font-size: 0.83rem; color: var(--text-secondary); }

.builder-side { display: flex; flex-direction: column; gap: 18px; }

.wa-preview-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: #0b141a;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}
.wa-preview-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #1f2c34;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.wa-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emerald-bright); animation: pulseRadar 2s infinite; }
.wa-preview-head strong { display: block; font-size: 0.9rem; color: #e9edef; }
.wa-preview-head span { display: block; font-size: 0.72rem; color: #8696a0; }

.wa-chat-bg {
  padding: 18px 16px;
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 60%), #0b141a;
}
.wa-bubble {
  background: #005c4b;
  color: #e9edef;
  padding: 12px 14px;
  border-radius: 12px 2px 12px 12px;
  font-size: 0.86rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.wa-bubble strong { font-weight: 800; color: #ffffff; }

.guide-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.guide-list li { font-size: 0.86rem; color: var(--text-secondary); padding-left: 16px; position: relative; }
.guide-list li::before { content: "•"; position: absolute; left: 0; color: var(--emerald-bright); font-weight: 900; }
.guide-list code { background: rgba(16, 185, 129, 0.14); color: var(--emerald-bright); padding: 1px 5px; border-radius: 5px; font-family: ui-monospace, monospace; font-size: 0.8rem; }

@media (max-width: 960px) {
  .builder-grid, .builder-config-row { grid-template-columns: 1fr; }
}

/* Uninstall Feedback Checkboxes */
.reason-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.78);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}
.reason-option:hover { border-color: var(--emerald); color: var(--text); }
.reason-option input { accent-color: var(--emerald); width: 16px; height: 16px; flex-shrink: 0; }
