/* =========================================================
   POWER OMNI — v3 Complete Stylesheet
   ========================================================= */

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;

  --purple: #7C3AED;
  --purple-light: #8B5CF6;
  --cyan: #06B6D4;
  --grad: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,58,237,.12) 0%, rgba(6,182,212,.08) 100%);

  /* ── Light ── */
  --bg:         #FAFBFF;
  --bg-card:    #FFFFFF;
  --bg-subtle:  #F1F3FE;
  --bg-raised:  rgba(124,58,237,.04);
  --text:       #0F1117;
  --muted:      #64748B;
  --border:     #E4E7F7;
  --border-acc: rgba(124,58,237,.25);
  --nav-bg:     rgba(250,251,255,.92);
  --shadow-sm:  0 1px 4px rgba(0,0,0,.06);
  --shadow:     0 4px 20px rgba(124,58,237,.10);
  --shadow-lg:  0 16px 48px rgba(124,58,237,.18);
  --shadow-xl:  0 24px 64px rgba(124,58,237,.22);
}

:root[data-theme='dark'] {
  --bg:         #080B18;
  --bg-card:    #0D1225;
  --bg-subtle:  #111828;
  --bg-raised:  rgba(124,58,237,.07);
  --text:       #EEF0F9;
  --muted:      #7E8DA8;
  --border:     rgba(124,58,237,.18);
  --border-acc: rgba(124,58,237,.38);
  --nav-bg:     rgba(8,11,24,.93);
  --shadow-sm:  0 1px 4px rgba(0,0,0,.4);
  --shadow:     0 4px 20px rgba(0,0,0,.35);
  --shadow-lg:  0 16px 48px rgba(124,58,237,.22);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.45);
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: clip;
  transition: background .22s ease, color .22s ease;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ─── Utilities ─────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-subtle); }
.text-center { text-align: center; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Scroll reveal ─────────────────────────────────────── */
.fade-up { transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1); }
body.reveal-ready .fade-up { opacity: 0; transform: translateY(28px); }
body.reveal-ready .fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
.delay-5 { transition-delay: .40s; }

/* ─── Theme icons ────────────────────────────────────────── */
:root[data-theme='dark']          .icon-moon { display: none; }
:root[data-theme='dark']          .icon-sun  { display: block; }
:root:not([data-theme='dark'])    .icon-moon { display: block; }
:root:not([data-theme='dark'])    .icon-sun  { display: none; }

/* ─── Keyframes ─────────────────────────────────────────── */
@keyframes float     { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes floatslow { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-10px) rotate(1deg)} }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
@keyframes spin      { to{transform:rotate(360deg)} }
@keyframes bounce    { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-8px)} }
@keyframes shimmer   { 0%{background-position:-400px 0} 100%{background-position:400px 0} }
@keyframes grad-move { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

/* ─────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 700; font-size: .925rem; letter-spacing: .01em;
  white-space: nowrap;
  transition: all .18s ease;
  cursor: pointer; border: none; outline: none;
}
.btn:focus-visible { outline: 3px solid rgba(124,58,237,.5); outline-offset: 3px; }
.btn svg { flex-shrink: 0; width: 17px; height: 17px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,.36);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,58,237,.5);
}

.btn-outline {
  border: 2px solid var(--purple);
  color: var(--purple);
  background: transparent;
}
.btn-outline:hover {
  background: var(--purple);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(124,58,237,.35);
}

.btn-ghost {
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--muted);
}
.btn-ghost:hover {
  border-color: var(--border-acc);
  color: var(--purple);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--purple);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}
.btn-white:hover {
  background: #f5f0ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}

.btn-glass {
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}
.btn-glass:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: .975rem; }
.btn-sm { padding: 9px 20px; font-size: .83rem; }

/* ─────────────────────────────────────────────────────────
   SECTION LABELS & HEADINGS
   ───────────────────────────────────────────────────────── */
.label-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .71rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 16px;
}
.label-tag::before {
  content: '';
  width: 22px; height: 2.5px;
  background: var(--grad);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.025em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.78;
  max-width: 560px;
}
.text-center .section-sub { margin: 0 auto; }

/* ─────────────────────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  transition: background .28s, box-shadow .28s;
}
#navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,.05);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 28px;
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo img { height: 60px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 7px 14px;
  border-radius: 100px;
  font-size: .875rem; font-weight: 500;
  color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-subtle); }
.nav-links a[aria-current="page"] { color: var(--purple); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all .15s;
}
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle:hover { color: var(--purple); border-color: var(--border-acc); }

#hamburger {
  display: none;
  width: 36px; height: 36px;
  border-radius: 10px;
  align-items: center; justify-content: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text);
}

#mobileNav {
  display: none;
  position: fixed;
  inset: 68px 0 auto;
  z-index: 899;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px 18px;
  flex-direction: column; gap: 2px;
}
#mobileNav.open { display: flex; }
#mobileNav a {
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 500; font-size: .935rem;
  color: var(--text);
  transition: background .14s;
}
#mobileNav a:hover { background: var(--bg-subtle); color: var(--purple); }
#mobileNav .btn { width: 100%; justify-content: center; margin-top: 6px; border-radius: 14px; }

/* ─────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 108px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Mesh gradient background */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(124,58,237,.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(6,182,212,.13) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 70% 80%, rgba(124,58,237,.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Grid overlay */
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124,58,237,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 100%);
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  max-width: 1160px; margin: 0 auto; padding: 0 28px;
}

/* Eyebrow badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-acc);
  background: rgba(124,58,237,.07);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: .73rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
  animation: pulse-dot 2.2s infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5.5vw, 3.9rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.78;
  max-width: 488px;
  margin-bottom: 36px;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats { display: flex; gap: 0; }
.hero-stat {
  padding: 0 28px 0 0;
  border-right: 1px solid var(--border);
  margin-right: 28px;
}
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.65rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-stat-lbl { font-size: .74rem; color: var(--muted); margin-top: 4px; }

.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-glow {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.3) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-visual img {
  position: relative; z-index: 1;
  max-width: 522px; height: auto;
  filter: drop-shadow(0 30px 60px rgba(124,58,237,.3));
  animation: float 6s ease-in-out infinite;
}

/* ─────────────────────────────────────────────────────────
   TRUST STRIP
   ───────────────────────────────────────────────────────── */
#trust {
  padding: 20px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-list {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 9px;
  font-size: .845rem; font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.trust-item svg { color: var(--purple); width: 17px; height: 17px; flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────
   CHALLENGES
   ───────────────────────────────────────────────────────── */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.challenge-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.challenge-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.challenge-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-acc); }
.challenge-card:hover::before { transform: scaleX(1); }
.challenge-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  background: var(--bg-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 18px;
}
.challenge-title { font-weight: 700; font-size: .97rem; margin-bottom: 10px; }
.challenge-text { font-size: .875rem; color: var(--muted); line-height: 1.7; }

/* ─────────────────────────────────────────────────────────
   FEATURES
   ───────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-acc); }

.feature-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(124,58,237,.28);
}
.feature-title { font-weight: 700; font-size: .97rem; margin-bottom: 10px; }
.feature-text { font-size: .875rem; color: var(--muted); line-height: 1.72; }

/* Feature highlight row */
.feature-highlight {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 52px; align-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-acc);
  border-radius: 28px;
  padding: 48px;
}
.feature-highlight h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem; font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}
.feature-highlight p {
  font-size: .94rem; color: var(--muted);
  line-height: 1.78; margin-bottom: 22px;
}
.fcheck-list {
  display: flex; flex-direction: column; gap: 11px;
}
.fcheck-list li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: .9rem; color: var(--muted); line-height: 1.5;
}
.fcheck-list li::before {
  content: '';
  width: 20px; height: 20px;
  border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat, var(--grad);
}
.fhl-img { display: flex; align-items: center; justify-content: center; }
.fhl-img img {
  max-width: 286px; width: 100%;
  filter: drop-shadow(0 24px 48px rgba(124,58,237,.32));
  animation: floatslow 7s ease-in-out infinite;
}

/* ─────────────────────────────────────────────────────────
   HOW IT WORKS
   ───────────────────────────────────────────────────────── */
.steps-wrap { margin-top: 56px; position: relative; }
.steps-line {
  position: absolute;
  top: 40px; left: calc(12.5% + 20px); right: calc(12.5% + 20px);
  height: 2px;
  background: var(--grad);
  opacity: .2;
}
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative; z-index: 1;
}
.step-card { text-align: center; padding: 16px 14px; }
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.45rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 24px rgba(124,58,237,.38);
}
.step-title { font-weight: 700; font-size: .97rem; margin-bottom: 9px; }
.step-text { font-size: .875rem; color: var(--muted); line-height: 1.7; }

/* ─────────────────────────────────────────────────────────
   PRICING
   ───────────────────────────────────────────────────────── */
.pricing-layout {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 52px; align-items: start;
  margin-top: 56px;
}

.pricing-mascot {
  background: var(--grad-soft);
  border: 1px solid var(--border-acc);
  border-radius: 28px;
  padding: 40px 36px;
  display: flex; flex-direction: column;
  align-items: center; gap: 22px;
  text-align: center;
  position: sticky; top: 88px;
}
.pricing-mascot img {
  max-width: 180px; width: 100%;
  filter: drop-shadow(0 16px 36px rgba(124,58,237,.36));
  animation: floatslow 7s ease-in-out infinite;
}
.pricing-mascot-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(124,58,237,.1);
  border: 1px solid rgba(124,58,237,.22);
  color: var(--purple);
  border-radius: 100px;
  font-size: .71rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 14px;
  margin-bottom: 20px;
}
.pricing-mascot h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem; font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
}
.pricing-mascot p { font-size: .885rem; color: var(--muted); line-height: 1.72; }

.pricing-cards { display: flex; flex-direction: column; gap: 14px; }

.p-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 26px;
  display: flex; align-items: center; gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.p-card:hover { transform: translateX(5px); box-shadow: var(--shadow); border-color: var(--border-acc); }
.p-card.featured {
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(124,58,237,.38);
}
.p-card-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 15px;
  background: rgba(124,58,237,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem;
}
.p-card.featured .p-card-icon { background: rgba(255,255,255,.22); }
.p-card-body { flex: 1; }
.p-card-label {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 3px;
}
.p-card.featured .p-card-label { color: rgba(255,255,255,.7); }
.p-card-val {
  font-family: var(--font-heading);
  font-size: 1.55rem; font-weight: 800; line-height: 1;
}
.p-card-val sup { font-size: .78rem; font-weight: 700; vertical-align: super; }
.p-card-period { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.p-card.featured .p-card-period { color: rgba(255,255,255,.7); }
.p-card-desc { font-size: .83rem; color: var(--muted); margin-top: 6px; line-height: 1.58; }
.p-card.featured .p-card-desc { color: rgba(255,255,255,.78); }
.pricing-cta {
  margin-top: 22px;
  padding: 24px 28px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
}
.pricing-cta p { color: var(--muted); font-size: .87rem; margin-bottom: 16px; line-height: 1.6; }
.pricing-cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ─────────────────────────────────────────────────────────
   PARTNERSHIP
   ───────────────────────────────────────────────────────── */
.partnership-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  margin-top: 48px;
}
.partnership-benefits { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.benefit-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 15px 18px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color .18s;
}
.benefit-item:hover { border-color: var(--border-acc); }
.benefit-num {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--grad);
  color: #fff; font-size: .78rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.benefit-text { font-size: .875rem; color: var(--muted); line-height: 1.62; }
.benefit-text strong { color: var(--text); font-weight: 600; }
.ms-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 44px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.ms-card .icon { font-size: 3.2rem; margin-bottom: 16px; }
.ms-card h3 { font-weight: 800; font-size: 1.15rem; margin-bottom: 6px; }
.ms-card p { font-size: .875rem; color: var(--muted); margin-bottom: 18px; line-height: 1.65; }
.ms-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ms-tag {
  padding: 4px 14px;
  border-radius: 100px;
  font-size: .72rem; font-weight: 700;
  background: rgba(124,58,237,.09);
  color: var(--purple);
  border: 1px solid rgba(124,58,237,.2);
}

/* ─────────────────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────────────────── */
.faq-list {
  max-width: 740px; margin: 52px auto 0;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--border-acc); }
.faq-q {
  width: 100%;
  display: flex; align-items: center;
  justify-content: space-between; gap: 14px;
  padding: 19px 24px;
  font-weight: 600; font-size: .95rem;
  color: var(--text); text-align: left;
  background: none; border: none; cursor: pointer;
}
.faq-q:hover { color: var(--purple); }
.faq-chevron { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); transition: transform .26s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--purple); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 24px 20px; }
.faq-a-inner p { font-size: .9rem; color: var(--muted); line-height: 1.8; }

/* ─────────────────────────────────────────────────────────
   CTA BANNER
   ───────────────────────────────────────────────────────── */
.cta-band {
  background: var(--grad);
  background-size: 200% 200%;
  animation: grad-move 6s ease infinite;
  border-radius: 28px;
  padding: 72px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='56' height='56' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='56' height='56' fill='none' stroke='rgba(255,255,255,.06)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 56px;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 900;
  color: #fff; margin-bottom: 14px;
  letter-spacing: -.02em;
}
.cta-band p { font-size: 1.03rem; color: rgba(255,255,255,.82); max-width: 540px; margin: 0 auto 34px; line-height: 1.74; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-size: .78rem; color: rgba(255,255,255,.58); margin-top: 20px; }

/* ─────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────── */
#footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { width: auto; height: 80px; margin-bottom: 16px; }
.footer-brand p { font-size: .855rem; color: var(--muted); line-height: 1.72; max-width: 280px; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: all .16s;
}
.footer-social a:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.footer-col h4 { font-weight: 700; font-size: .85rem; margin-bottom: 16px; letter-spacing: .01em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .845rem; color: var(--muted); transition: color .14s; }
.footer-col ul a:hover { color: var(--purple); }
.footer-btm {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  font-size: .79rem; color: var(--muted);
}
.footer-btm a { color: var(--muted); transition: color .14s; }
.footer-btm a:hover { color: var(--purple); }

/* ─────────────────────────────────────────────────────────
   FLOATING BUTTONS
   ───────────────────────────────────────────────────────── */
#whatsappBtn {
  position: fixed; bottom: 98px; right: 22px; z-index: 800;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.42);
  transition: transform .2s, box-shadow .2s;
}
#whatsappBtn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.6); }
#whatsappBtn svg { width: 26px; height: 26px; }
.no-chat #whatsappBtn { bottom: 22px; }

#chatToggle {
  position: fixed; bottom: 22px; right: 22px; z-index: 800;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(124,58,237,.48);
  transition: transform .2s;
}
#chatToggle:hover { transform: scale(1.08); }
#chatToggle svg { width: 22px; height: 22px; }
.chat-toggle-icon-close { display: none; }
#chatToggle.active .chat-toggle-icon-open  { display: none; }
#chatToggle.active .chat-toggle-icon-close { display: block; }

/* ─────────────────────────────────────────────────────────
   CHATBOT WINDOW
   ───────────────────────────────────────────────────────── */
#chatWindow {
  position: fixed; bottom: 88px; right: 22px; z-index: 799;
  width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: scale(.9) translateY(16px);
  opacity: 0; pointer-events: none;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), opacity .2s ease;
}
#chatWindow.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
.chat-header {
  background: var(--grad);
  padding: 15px 18px;
  display: flex; align-items: center; gap: 11px;
  flex-shrink: 0;
}
.chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.chat-info { flex: 1; }
.chat-header-name { font-weight: 700; font-size: .9rem; color: #fff; }
.chat-header-status {
  font-size: .72rem; color: rgba(255,255,255,.75);
  display: flex; align-items: center; gap: 5px;
}
.chat-header-status::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: #4ade80;
  display: inline-block;
}
#chatClose { color: rgba(255,255,255,.75); padding: 2px; }
#chatClose:hover { color: #fff; }
#chatMessages {
  flex: 1; overflow-y: auto; padding: 14px;
  min-height: 240px; max-height: 320px;
  display: flex; flex-direction: column; gap: 10px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
#chatQuickBtns { padding: 0 14px 10px; display: flex; flex-wrap: wrap; gap: 7px; }
.chat-quick-btn {
  padding: 6px 13px;
  border-radius: 100px;
  background: rgba(124,58,237,.08);
  border: 1px solid rgba(124,58,237,.2);
  color: var(--purple); font-size: .78rem; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.chat-quick-btn:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.chat-input-area {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  display: flex; gap: 8px; align-items: center;
}
#chatInput {
  flex: 1;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 14px;
  font-size: .865rem; color: var(--text);
  outline: none; transition: border-color .15s;
}
#chatInput:focus { border-color: var(--purple); }
#chatInput::placeholder { color: var(--muted); }
#chatSend {
  width: 36px; height: 36px;
  border-radius: 10px; background: var(--grad);
  color: #fff; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: opacity .15s;
}
#chatSend:hover { opacity: .85; }
.chat-msg { display: flex; gap: 7px; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-bubble {
  max-width: 82%; padding: 9px 14px;
  border-radius: 16px; font-size: .86rem; line-height: 1.58;
}
.chat-msg.bot .chat-bubble {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-msg.user .chat-bubble {
  background: var(--grad); color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 10px rgba(124,58,237,.3);
}
.chat-typing { display: flex; gap: 4px; align-items: center; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }

/* ─────────────────────────────────────────────────────────
   MOBILE APP BAR
   ───────────────────────────────────────────────────────── */
#mobileAppBar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 850;
  overflow: hidden;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid var(--border);
  padding: 8px 6px env(safe-area-inset-bottom, 8px);
  gap: 2px; justify-content: space-around; align-items: center;
}
.mab-btn {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  padding: 7px 10px;
  border-radius: 12px;
  font-size: .64rem; font-weight: 600;
  color: var(--muted);
  transition: all .14s;
  min-width: 54px; text-decoration: none;
  background: none; border: none; cursor: pointer;
}
.mab-btn svg { width: 20px; height: 20px; }
.mab-btn:hover, .mab-btn.active { color: var(--purple); background: rgba(124,58,237,.07); }
.mab-btn-primary {
  background: var(--grad) !important;
  color: #fff !important;
  border-radius: 14px;
  padding: 7px 14px;
  box-shadow: 0 3px 14px rgba(124,58,237,.4);
}

/* ─────────────────────────────────────────────────────────
   IFRAME PAGES
   ───────────────────────────────────────────────────────── */
.iframe-page { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.iframe-topbar {
  height: 56px; padding: 0 20px;
  flex-shrink: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  z-index: 10;
}
.iframe-topbar img { height: 30px; }
.iframe-topbar-actions { display: flex; align-items: center; gap: 10px; }
.iframe-main { flex: 1; position: relative; }
.iframe-main iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.iframe-loader {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--bg); gap: 14px;
  color: var(--muted); font-size: .88rem;
}
.iframe-spin {
  width: 42px; height: 42px;
  border: 3px solid var(--border);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}

/* ─────────────────────────────────────────────────────────
   CALCULATOR PAGE
   ───────────────────────────────────────────────────────── */
.page-hero-inner {
  padding: 136px 0 64px;
  position: relative; overflow: hidden;
}
.page-hero-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% -10%, rgba(124,58,237,.18) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; gap: 7px; align-items: center;
  font-size: .82rem; color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--purple); }
.breadcrumb .sep { opacity: .4; }

.calc-wrap { padding: 0 0 88px; }
.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  max-width: 660px; margin: 0 auto;
}
.calc-box h2 { font-family: var(--font-heading); font-size: 1.65rem; font-weight: 800; margin-bottom: 8px; }
.calc-lead { color: var(--muted); font-size: .9rem; margin-bottom: 28px; line-height: 1.7; }
.calc-form { display: flex; flex-direction: column; gap: 20px; }
.calc-field label {
  display: block; font-weight: 600; font-size: .88rem; margin-bottom: 8px;
}
.calc-field label span { font-weight: 400; color: var(--muted); font-size: .82rem; }
.calc-input, .calc-select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg-subtle);
  color: var(--text); font-family: inherit; font-size: .91rem;
  outline: none; transition: border-color .15s;
  appearance: none; -webkit-appearance: none;
}
.calc-input:focus, .calc-select:focus { border-color: var(--purple); }
.calc-result {
  display: none;
  margin-top: 24px;
  padding: 26px;
  background: var(--grad-soft);
  border: 1px solid var(--border-acc);
  border-radius: 16px;
}
.calc-result.show { display: block; }
.calc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.calc-row:last-of-type { border-bottom: none; }
.calc-row.total { font-weight: 700; font-size: 1rem; padding-top: 16px; margin-top: 4px; }
.calc-row .val { font-weight: 600; color: var(--purple); }
.calc-row.total .val {
  font-size: 1.2rem;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.calc-note { font-size: .78rem; color: var(--muted); margin-top: 16px; line-height: 1.65; }
.info-blocks { display: flex; flex-direction: column; gap: 22px; max-width: 820px; margin: 48px auto 0; }
.info-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 30px;
}
.info-block h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.info-block p, .info-block li { font-size: .875rem; color: var(--muted); line-height: 1.76; }
.info-block ul, .info-block ol { padding-left: 18px; margin-top: 10px; display: flex; flex-direction: column; gap: 6px; list-style: disc; }
.info-block ol { list-style: decimal; }

/* ─────────────────────────────────────────────────────────
   INSTALLATION PAGE
   ───────────────────────────────────────────────────────── */
.install-timeline { position: relative; margin-top: 56px; }
.install-timeline::before {
  content: '';
  position: absolute; left: 40px; top: 0; bottom: 0;
  width: 2px;
  background: var(--grad);
  opacity: .22;
}
.install-step {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 28px; align-items: flex-start;
  margin-bottom: 44px;
}
.install-step-num {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff; font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 22px rgba(124,58,237,.36);
}
.install-step-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px; padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.install-step-body h3 { font-weight: 700; font-size: 1.12rem; margin-bottom: 8px; }
.install-step-body p { font-size: .9rem; color: var(--muted); line-height: 1.72; }
.install-badge {
  display: inline-flex; align-items: center;
  background: rgba(124,58,237,.09);
  border: 1px solid rgba(124,58,237,.2);
  color: var(--purple); border-radius: 100px;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; padding: 3px 12px;
  text-transform: uppercase; margin-bottom: 10px;
}
.install-checklist { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.install-checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .875rem; color: var(--muted); line-height: 1.5;
}
.install-checklist li::before {
  content: ''; width: 18px; height: 18px;
  border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat, var(--grad);
}
.prereq-grid, .included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px; margin-top: 48px;
}
.prereq-card, .included-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px; padding: 26px;
  transition: transform .2s, box-shadow .2s;
}
.prereq-card:hover, .included-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prereq-card h3, .included-card h3 { font-weight: 700; font-size: .95rem; margin-bottom: 8px; margin-top: 14px; }
.prereq-card p, .included-card p { font-size: .855rem; color: var(--muted); line-height: 1.65; }
.tag-req {
  display: inline-block; margin-top: 12px; padding: 3px 12px;
  border-radius: 100px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  background: rgba(239,68,68,.09); color: #ef4444;
  border: 1px solid rgba(239,68,68,.2);
}
.tag-opt {
  display: inline-block; margin-top: 12px; padding: 3px 12px;
  border-radius: 100px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  background: rgba(16,185,129,.09); color: #10b981;
  border: 1px solid rgba(16,185,129,.2);
}
.install-cta-band {
  background: var(--grad-soft);
  border: 1px solid var(--border-acc);
  border-radius: 28px; padding: 60px 48px;
  text-align: center;
}
.install-cta-band h2 { font-family: var(--font-heading); font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; margin-bottom: 14px; }
.install-cta-band p { color: var(--muted); max-width: 500px; margin: 0 auto 30px; font-size: .97rem; line-height: 1.74; }
.install-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.install-faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin-left: auto; margin-right: auto; }
.install-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.install-faq-item summary {
  padding: 18px 24px; cursor: pointer;
  font-weight: 600; font-size: .93rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; list-style: none;
  transition: background .14s;
}
.install-faq-item summary::-webkit-details-marker { display: none; }
.install-faq-item summary:hover { background: rgba(124,58,237,.05); }
.install-faq-item summary::after {
  content: '+'; font-size: 1.3rem;
  color: var(--purple); flex-shrink: 0;
  transition: transform .2s;
}
.install-faq-item[open] summary::after { transform: rotate(45deg); }
.install-faq-body { padding: 0 24px 18px; font-size: .89rem; color: var(--muted); line-height: 1.78; }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pricing-mascot { position: static; }
}

@media (max-width: 900px) {
  .pricing-layout { grid-template-columns: 1fr; }
  .pricing-mascot { flex-direction: row; text-align: left; }
  .pricing-mascot img { max-width: 100px; }
  .partnership-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero-badge { margin-left: auto; margin-right: auto; width: fit-content; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 240px; }
  .hero-glow { width: 240px; height: 240px; }
  .challenges-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-highlight { grid-template-columns: 1fr; padding: 28px; }
  .fhl-img { order: -1; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 52px 28px; }
  .nav-links, .nav-actions .btn { display: none !important; }
  #hamburger { display: flex; }
  #mobileAppBar { display: flex; }
  #chatToggle { bottom: 78px; }
  #whatsappBtn { bottom: 138px; }
  #chatWindow { right: 8px; left: 8px; width: auto; bottom: 142px; }
  .calc-box { padding: 28px 20px; }
  .install-cta-band { padding: 40px 24px; }
  .install-step { grid-template-columns: 1fr; gap: 0; }
  .install-step-num { display: none; }
  .install-timeline::before { display: none; }
  .install-step-body { border-radius: 16px; padding: 22px 20px; }
  .page-hero-inner { padding: 120px 0 48px; }
}

@media (max-width: 540px) {
  .hero-title { font-size: 2.1rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .trust-list { gap: 18px; }
  .cta-band { padding: 40px 18px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat { border-right: none; padding-right: 0; margin-right: 0; }
}

/* ─────────────────────────────────────────────────────────
   COMPAT ALIASES (instalacao.html inline-style vars)
   ───────────────────────────────────────────────────────── */
:root {
  --text-muted:    var(--muted);
  --brand-purple:  var(--purple);
  --brand-cyan:    var(--cyan);
  --gradient-main: var(--grad);
  --shadow-card:   var(--shadow-sm);
  --shadow-hover:  var(--shadow-lg);
  --gradient-glow: radial-gradient(ellipse 60% 80% at 50% -10%, rgba(124,58,237,.18) 0%, transparent 65%);
}

.section-sm { padding: 64px 0; }

.prereq-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.included-card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

/* ═════════════════════════════════════════════════════════
   VISUAL EFFECTS — navbar, footer, cards, buttons, misc
   ═════════════════════════════════════════════════════════ */

/* ── Hero: second floating orb via ::after ───────────────── */
#hero::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.22), transparent 70%);
  filter: blur(56px);
  bottom: 12%; right: 8%;
  pointer-events: none;
  animation: floatslow 9s ease-in-out infinite;
  z-index: 0;
}

/* ── Hero: floating orb divs ─────────────────────────────── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(52px);
  z-index: 0;
  opacity: .55;
}
.hero-orb-1 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(124,58,237,.42), transparent 70%);
  top: 10%; left: 2%;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(6,182,212,.32), transparent 70%);
  top: 50%; right: 5%;
  animation: floatslow 11s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 190px; height: 190px;
  background: radial-gradient(circle, rgba(124,58,237,.25), transparent 70%);
  bottom: 8%; left: 42%;
  animation: float 13s ease-in-out infinite 3s;
}

/* ── Buttons: shimmer sweep on .btn-primary hover ─────────── */
.btn { position: relative; }
.btn-primary { overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-18deg);
  transition: left .52s ease;
}
.btn-primary:hover::after { left: 160%; }

/* ── Buttons: press micro-animation ─────────────────────── */
.btn:active { transform: scale(.96) !important; }

/* ── Nav links: active page dot indicator ───────────────── */
.nav-links a[aria-current="page"] { position: relative; }
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 6px var(--purple);
}

/* ── Nav link: glow background on hover ─────────────────── */
.nav-links a:hover {
  background: rgba(124,58,237,.09) !important;
}

/* ── Theme toggle: rotate + glow on hover ────────────────── */
.theme-toggle:hover {
  transform: rotate(22deg) scale(1.1) !important;
  box-shadow: 0 0 0 4px rgba(124,58,237,.13) !important;
}

/* ── Mobile nav: slide-down animation ───────────────────── */
@keyframes mobileNavIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
#mobileNav.open { animation: mobileNavIn .22s ease forwards; }

/* ── Feature / challenge cards: icon bounce on hover ─────── */
.feature-card:hover .feature-icon { animation: bounce .48s ease; }
.challenge-card:hover .challenge-icon { animation: bounce .48s ease; }

/* ── Prereq / included cards: border accent on hover ─────── */
.prereq-card, .included-card { border-color: var(--border); }
.prereq-card:hover { border-color: var(--border-acc); }
.included-card:hover { border-color: var(--border-acc); }

/* ── Featured pricing card: pulsing glow ────────────────── */
@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 8px 32px rgba(124,58,237,.38); }
  50%       { box-shadow: 0 14px 52px rgba(124,58,237,.65), 0 0 0 5px rgba(124,58,237,.14); }
}
.p-card.featured { animation: featuredGlow 3s ease-in-out infinite; }

/* ── FAQ: left purple accent bar when open ──────────────── */
.faq-list .faq-item {
  border-left: 3px solid transparent;
  transition: border-color .2s, border-left-color .2s;
}
.faq-list .faq-item.open { border-left-color: var(--purple); }

/* ── Step numbers (how it works): glow on hover ─────────── */
.step-num { transition: transform .24s, box-shadow .24s; }
.step-card:hover .step-num {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(124,58,237,.58), 0 0 0 6px rgba(124,58,237,.12);
}

/* ── Install step numbers: glow on hover ────────────────── */
.install-step-num { transition: transform .24s, box-shadow .24s; }
.install-step:hover .install-step-num {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(124,58,237,.62), 0 0 0 6px rgba(124,58,237,.14);
}

/* ── Microsoft card: animated border + lift on hover ─────── */
.ms-card {
  transition: transform .22s, box-shadow .22s;
}
.ms-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 2px var(--purple), 0 16px 48px rgba(124,58,237,.25);
}

/* ── Footer: gradient top border line ───────────────────── */
#footer {
  border-top: none;
  position: relative;
}
#footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: .65;
}

/* ── Footer social: lift + glow on hover ────────────────── */
.footer-social a { transition: all .22s ease; }
.footer-social a:hover {
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 8px 22px rgba(124,58,237,.46);
}

/* ── Footer links: left arrow slide-in on hover ─────────── */
.footer-col ul a {
  position: relative;
  display: inline-block;
  transition: color .14s, padding-left .18s;
}
.footer-col ul a::before {
  content: '›';
  position: absolute;
  left: -12px;
  top: 50%; transform: translateX(-4px) translateY(-50%);
  opacity: 0;
  transition: opacity .18s, transform .18s;
  color: var(--purple);
  font-size: 1.1rem;
  line-height: 1;
}
.footer-col ul a:hover { padding-left: 14px; }
.footer-col ul a:hover::before {
  opacity: 1;
  transform: translateX(0) translateY(-50%);
}

/* ── WhatsApp button: pulse ring animation ───────────────── */
@keyframes waRing {
  0%   { box-shadow: 0 4px 20px rgba(37,211,102,.42), 0 0 0 0 rgba(37,211,102,.48); }
  70%  { box-shadow: 0 4px 20px rgba(37,211,102,.42), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,.42), 0 0 0 0 rgba(37,211,102,0); }
}
#whatsappBtn { animation: waRing 2.8s ease-in-out infinite; }

/* ── Chat toggle: ambient glow pulse when closed ─────────── */
@keyframes chatGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(124,58,237,.48); }
  50%       { box-shadow: 0 4px 28px rgba(124,58,237,.72), 0 0 0 5px rgba(124,58,237,.14); }
}
#chatToggle:not(.active) { animation: chatGlow 3s ease-in-out infinite; }

/* ── Trust strip: marquee on small screens ──────────────── */
@media (max-width: 600px) {
  #trust { overflow: hidden; }
  .trust-list {
    flex-wrap: nowrap;
    width: max-content;
    animation: marquee 20s linear infinite;
  }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Scroll reveal: staggered child delays ──────────────── */
.fade-up:nth-child(2) { transition-delay: .07s; }
.fade-up:nth-child(3) { transition-delay: .14s; }
.fade-up:nth-child(4) { transition-delay: .21s; }
.fade-up:nth-child(5) { transition-delay: .28s; }
.fade-up:nth-child(6) { transition-delay: .35s; }

/* ─────────────────────────────────────────────────────────
   LANGUAGE SWITCHER
   ───────────────────────────────────────────────────────── */
.lang-switcher { position: relative; }

.lang-switcher-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 11px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .8rem; font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.lang-switcher-btn svg { flex-shrink: 0; }
.lang-switcher-btn:hover,
.lang-switcher-btn.open { border-color: var(--border-acc); color: var(--purple); }
.lang-current { letter-spacing: .04em; }
.lang-current.fi { width: 20px; height: 15px; border-radius: 2px; flex-shrink: 0; }
.lang-btn .fi { width: 18px; height: 14px; border-radius: 2px; flex-shrink: 0; }
.lang-chevron { transition: transform .2s; }
.lang-switcher-btn.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute; top: calc(100% + 7px); right: 0;
  min-width: 148px;
  background: #fff;
  color: #1a202c;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s;
  z-index: 910;
}
:root[data-theme='dark'] .lang-dropdown {
  background: #1b212b;
  color: #e5e7eb;
}
.lang-dropdown.open { opacity: 1; pointer-events: auto; transform: translateY(0); }

.lang-btn,
a.lang-btn {
  display: flex; align-items: center; gap: 9px;
  width: 100%; padding: 8px 12px;
  border-radius: 9px;
  font-size: .835rem; font-weight: 500;
  color: inherit;
  background: none; border: none;
  cursor: pointer; text-align: left; text-decoration: none;
  transition: background .12s, color .12s;
}
.lang-btn:hover,
a.lang-btn:hover { background: rgba(124,58,237,.09); color: var(--purple); }
.lang-btn.active,
a.lang-btn.active { color: var(--purple); font-weight: 700; }

/* Lang flag emoji consistent sizing */
.lang-btn span:first-child { font-size: 1rem; }
