/* ============================================================
   Weblift AI — Design System
   Premium dark SaaS aesthetic for Mexican small business
   ============================================================ */

/* ── Custom Properties ───────────────────────────────────── */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg:        #06060f;
  --bg-1:      #0a0a18;
  --bg-2:      #0d0d20;
  --violet:    #8b5cf6;
  --violet-2:  #a78bfa;
  --violet-3:  rgba(139, 92, 246, 0.10);
  --cyan:      #22d3ee;
  --grad:      linear-gradient(135deg, #8b5cf6, #22d3ee);
  --text:      #f1f0ff;
  --muted:     rgba(241, 240, 255, 0.62);
  --muted-2:   rgba(241, 240, 255, 0.38);
  --border:    rgba(139, 92, 246, 0.18);
  --border-2:  rgba(139, 92, 246, 0.35);
  --r:         18px;
  --r-sm:      12px;
  --shadow:    0 24px 64px rgba(0, 0, 0, 0.50);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.legal-page {
  min-height: 100vh;
  padding: 48px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  background: radial-gradient(circle at top, rgba(139, 92, 246, .18), transparent 34%), var(--bg);
}

.legal-back {
  width: min(860px, 100%);
  color: var(--violet-2);
  font-weight: 700;
}

.legal-card {
  width: min(860px, 100%);
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin-bottom: 16px;
}

.legal-card h2 {
  font-size: 1.1rem;
  margin: 28px 0 8px;
}

.legal-card a {
  color: var(--violet-2);
  font-weight: 700;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.25rem; }

p { color: var(--muted); }

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

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

/* ── Cursor Glow ─────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* ── Scroll Progress ─────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--grad);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── Site Shell ──────────────────────────────────────────── */
.site-shell {
  position: relative;
  z-index: 2;
  animation: pageIn 0.7s ease both;
}

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

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Topbar ──────────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.topbar.is-scrolled {
  background: rgba(6, 6, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  padding: 12px 0;
}

.topbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-by {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}


.topnav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.topnav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 16px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}

.topnav a:hover {
  color: var(--text);
  background: var(--violet-3);
}

.topbar-cta {
  margin-left: 8px;
  flex-shrink: 0;
}

/* Menu Toggle (mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Buttons ─────────────────────────────────────────────── */
.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--violet);
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.35);
}

.button-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.55);
  background: var(--violet-2);
}

.button-primary:hover::before { opacity: 1; }
.button-primary:active { transform: translateY(0); }

.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.button-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--violet-2);
  background: var(--violet-3);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.button-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  background: transparent;
  color: var(--muted);
  transition: color 0.2s;
}

.button-ghost:hover { color: var(--text); }

/* ── Eyebrow ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-2);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  animation: shimmer 2.5s linear infinite;
  background-size: 200% 100%;
}

/* ── Section Utilities ───────────────────────────────────── */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header p {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 1.05rem;
}

/* ── Reveal Animation ────────────────────────────────────── */
@keyframes revealUpAnim {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

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

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up[data-delay="1"] { transition-delay: 0.1s; }
.reveal-up[data-delay="2"] { transition-delay: 0.2s; }
.reveal-up[data-delay="3"] { transition-delay: 0.3s; }
.reveal-up[data-delay="4"] { transition-delay: 0.4s; }
.reveal-up[data-delay="5"] { transition-delay: 0.5s; }
.reveal-up[data-delay="6"] { transition-delay: 0.6s; }

/* Hero section: CSS animation (above fold, no JS needed) */
.hero .reveal-up {
  animation: revealUpAnim 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}
.hero .reveal-up[data-delay="1"] { animation-delay: 0.12s; }
.hero .reveal-up[data-delay="2"] { animation-delay: 0.24s; }
.hero .reveal-up[data-delay="3"] { animation-delay: 0.36s; }
.hero .reveal-up[data-delay="4"] { animation-delay: 0.50s; }
.hero .reveal-up[data-delay="5"] { animation-delay: 0.64s; }

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Animated grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  animation: gridPulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 0.9; }
}

/* Glow Orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.glow-a {
  width: 600px;
  height: 600px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 65%);
  animation: floatA 9s ease-in-out infinite;
}

.glow-b {
  width: 500px;
  height: 500px;
  bottom: -100px;
  left: -80px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18) 0%, transparent 65%);
  animation: floatB 11s ease-in-out infinite;
}

.glow-c {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  animation: floatA 14s ease-in-out infinite reverse;
}

@keyframes floatA {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.06); }
}

@keyframes floatB {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(20px) scale(0.94); }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid var(--border-2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--violet-2);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulseDot 2s ease-out infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Hero Grid Layout */
.hero-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 24px;
}

.hero-copy > p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 520px;
}

/* Hero Chips */
.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.hero-chip {
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}

.hero-chip:hover {
  border-color: var(--violet-2);
  color: var(--violet-2);
}

/* Hero Actions */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--muted-2);
  margin-top: 4px;
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

/* Device Mockup */
.device-mockup {
  width: 340px;
  background: rgba(13, 13, 32, 0.85);
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 40px rgba(139, 92, 246, 0.12);
  backdrop-filter: blur(12px);
  animation: floatA 7s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}

.dot-red   { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.dot-yellow{ width: 10px; height: 10px; border-radius: 50%; background: #febc2e; }
.dot-green { width: 10px; height: 10px; border-radius: 50%; background: #28c840; }

.device-url-bar {
  flex: 1;
  margin-left: 10px;
  height: 20px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.device-url-bar span {
  font-size: 0.65rem;
  color: var(--muted-2);
}

.device-hero-img {
  height: 110px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.6) 0%, rgba(34, 211, 238, 0.4) 100%);
  position: relative;
  overflow: hidden;
}

.device-hero-img::after {
  content: 'RESTAURANTE\AEL RINCÓN';
  white-space: pre;
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  color: #fff;
  line-height: 1.3;
}

.device-content {
  padding: 16px;
}

.device-title {
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  margin-bottom: 8px;
  width: 60%;
}

.device-text-line {
  height: 7px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 6px;
}

.device-text-line:nth-child(3) { width: 85%; }
.device-text-line:nth-child(4) { width: 70%; }
.device-text-line:nth-child(5) { width: 55%; }

.device-cta-btn {
  display: block;
  width: 80px;
  height: 24px;
  background: var(--violet);
  border-radius: 100px;
  margin-top: 14px;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background: rgba(13, 13, 32, 0.92);
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  z-index: 3;
}

.fc-reviews {
  top: 20px;
  right: -20px;
  animation: floatB 5s ease-in-out infinite;
}

.fc-speed {
  bottom: 40px;
  left: -24px;
  animation: floatA 6s ease-in-out infinite 1s;
  color: var(--cyan);
}

.fc-visits {
  bottom: 100px;
  right: -30px;
  animation: floatB 7s ease-in-out infinite 0.5s;
  color: var(--violet-2);
}

/* ================================================================
   LOGOS STRIP
   ================================================================ */
.logos-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
}

.logos-strip .section-header {
  margin-bottom: 32px;
}

.logos-strip .section-header p {
  font-size: 0.85rem;
  color: var(--muted-2);
  margin: 0;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.logo-pill {
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.logo-pill:hover {
  border-color: var(--violet-2);
  color: var(--text);
  transform: translateY(-2px);
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.steps-section {
  background: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 54px;
  left: calc(16.6% + 16px);
  right: calc(16.6% + 16px);
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--violet) 0,
    var(--violet) 8px,
    transparent 8px,
    transparent 18px
  );
  opacity: 0.4;
  pointer-events: none;
}

.step-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
  text-align: center;
  position: relative;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), 0 0 24px rgba(139, 92, 246, 0.1);
}

.step-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.step-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 14px;
  background: var(--violet-3);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.step-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--muted-2);
}

/* ================================================================
   FEATURES
   ================================================================ */
.features-section {
  background: var(--bg-1);
}

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

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 40px;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.15),
    transparent
  );
  transform: skewX(-20deg) translateX(-100px);
  transition: transform 0s;
}

.feature-card:hover::after {
  animation: scanLine 0.5s ease forwards;
}

@keyframes scanLine {
  to { transform: skewX(-20deg) translateX(600px); }
}

.feature-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3), 0 0 20px rgba(139, 92, 246, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--violet-3);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--muted-2);
  line-height: 1.6;
}

/* ================================================================
   SHOWCASE
   ================================================================ */
.showcase-section {
  background: var(--bg);
}

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

.showcase-card {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-1);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.showcase-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), 0 0 32px rgba(139, 92, 246, 0.12);
  border-color: var(--border-2);
}

.showcase-device {
  position: relative;
}

.showcase-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}

.showcase-bar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.showcase-img {
  height: 160px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.showcase-img-overlay {
  position: absolute;
  inset: 0;
}

.showcase-img-text {
  position: relative;
  z-index: 1;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.showcase-content {
  padding: 16px;
}

.showcase-content .line {
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin-bottom: 7px;
}

.showcase-content .line:nth-child(2) { width: 75%; }
.showcase-content .line:nth-child(3) { width: 55%; }

.showcase-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.showcase-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--violet-2);
  background: var(--violet-3);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border-2);
}

/* ================================================================
   PRICING
   ================================================================ */
.pricing-section {
  background: var(--bg-1);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.plan-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.plan-card-featured {
  background: var(--bg-2);
  border-radius: var(--r);
  padding: 36px 32px;
  position: relative;
  transform: scale(1.04);
  /* Rotating border via @property */
  background-clip: padding-box;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--bg-2), var(--bg-2));
  background-origin: border-box;
}

.plan-card-featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--r) + 2px);
  background: conic-gradient(from var(--angle), var(--violet), var(--cyan), var(--violet));
  z-index: -1;
  animation: rotateBorder 4s linear infinite;
}

@keyframes rotateBorder {
  to { --angle: 360deg; }
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}

.plan-price {
  margin-bottom: 6px;
}

.plan-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.plan-currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  vertical-align: top;
  line-height: 1.8;
}

.plan-once {
  font-size: 0.75rem;
  color: var(--muted-2);
  font-weight: 600;
}

.plan-monthly {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 28px;
}

.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.plan-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: #22c55e;
  margin-top: 1px;
}

.plan-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-section {
  background: var(--bg);
}

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

.testimonial-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--violet-3);
  line-height: 1;
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.star {
  color: #fbbf24;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  display: block;
}

.author-biz {
  font-size: 0.78rem;
  color: var(--muted-2);
  display: block;
}

/* ================================================================
   FAQ
   ================================================================ */
.faq-section {
  background: var(--bg-1);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.is-open {
  border-color: var(--border-2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.2s;
  user-select: none;
}

.faq-question:hover { color: var(--violet-2); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--violet-3);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--violet-2);
  transition: transform 0.3s, background 0.3s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--violet);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ================================================================
   FINAL CTA
   ================================================================ */
.final-cta {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}

.final-cta-inner {
  position: relative;
  border: 1px solid var(--border-2);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
  background: var(--bg-1);
}

.final-cta-inner::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  background: conic-gradient(from var(--angle), var(--violet), var(--cyan), var(--violet), var(--cyan), var(--violet));
  z-index: -1;
  animation: rotateBorder 6s linear infinite;
  opacity: 0.5;
}

.final-cta-glow {
  position: absolute;
  width: 500px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta h2 {
  margin-bottom: 20px;
}

.final-cta > .container > .final-cta-inner > p {
  margin-bottom: 36px;
  font-size: 1.05rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.whatsapp-icon {
  font-size: 1rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 260px;
}

.footer-brand .brand-lockup {
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted-2);
  line-height: 1.6;
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--violet-2); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.footer-made {
  font-size: 0.8rem;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-made a {
  color: var(--violet-2);
  font-weight: 800;
}

/* ================================================================
   ANIMATIONS (remaining keyframes)
   ================================================================ */
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

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

/* ================================================================
   RESPONSIVE — 768px
   ================================================================ */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    order: 3;
  }

  .topnav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 6, 15, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
    backdrop-filter: blur(20px);
  }

  .topnav.is-open {
    display: flex;
  }

  .topnav a {
    font-size: 1.3rem;
    padding: 12px 24px;
  }

  .topbar-cta {
    display: none;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: unset;
  }

  .hero-grid-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
    padding: 20px;
  }

  .device-mockup {
    width: 280px;
  }

  .floating-card {
    display: none;
  }

  .hero-stats {
    gap: 20px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-grid::before {
    display: none;
  }

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

  .showcase-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .plan-card-featured {
    transform: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .final-cta-inner {
    padding: 40px 24px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

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

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

  .hero-chip-row {
    gap: 6px;
  }
}

/* ── Floating WA button (landing) ─────────────────────── */
.wa-float-landing {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 999;
  transition: transform .2s, box-shadow .2s;
}
.wa-float-landing:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
@media (max-width: 680px) {
  .wa-float-landing { bottom: 1.2rem; right: 1.2rem; width: 50px; height: 50px; }
}
