:root {
  --bg: #06070d;
  --bg-2: #0a0c15;
  --bg-3: #10131f;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1ff;
  --muted: #98a2c2;
  --muted-2: #6d7796;
  --primary: #7c6bff;
  --primary-2: #4f8cff;
  --accent: #22d3ee;
  --green: #25d366;
  --grad: linear-gradient(120deg, #7c6bff 0%, #4f8cff 45%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, rgba(124, 107, 255, 0.18), rgba(34, 211, 238, 0.14));
  --shadow-sm: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 20px 60px rgba(124, 107, 255, 0.28);
  --radius: 20px;
  --radius-sm: 14px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", var(--font-body);
  --max: 1200px;
}

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

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: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.container {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
}

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

.section {
  position: relative;
  padding: 7rem 0;
}

/* ---------- Background effects ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 15% 0%, rgba(79, 140, 255, 0.14), transparent 60%),
    radial-gradient(50% 40% at 90% 10%, rgba(124, 107, 255, 0.16), transparent 60%),
    radial-gradient(60% 50% at 50% 100%, rgba(34, 211, 238, 0.08), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: float 18s ease-in-out infinite;
}
.orb-1 { width: 420px; height: 420px; background: rgba(124, 107, 255, 0.5); top: -120px; left: -80px; }
.orb-2 { width: 380px; height: 380px; background: rgba(34, 211, 238, 0.32); top: 20%; right: -120px; animation-delay: -6s; }
.orb-3 { width: 460px; height: 460px; background: rgba(79, 140, 255, 0.28); bottom: -160px; left: 35%; animation-delay: -12s; }

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

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn svg { transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  color: #fff;
  background: var(--grad);
  background-size: 200% 200%;
  box-shadow: 0 10px 30px rgba(124, 107, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 18px 42px rgba(124, 107, 255, 0.5);
}

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: var(--surface-2);
  border-color: rgba(124, 107, 255, 0.55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.btn-sm { padding: 0.62rem 1.15rem; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-xl { padding: 1.15rem 2.4rem; font-size: 1.08rem; letter-spacing: 0.04em; }

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 7, 13, 0.72);
  border-bottom-color: var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(124, 107, 255, 0.4);
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 1.02rem;
}

.nav-links { display: flex; gap: 1.9rem; }
.nav-links a {
  font-size: 0.94rem;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.8rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: 10.5rem; padding-bottom: 6rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 0.83rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  margin-bottom: 1.4rem;
}
.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2.2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.8rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  list-style: none;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
}
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-trust span { font-size: 0.82rem; color: var(--muted-2); }

.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

/* Hero visual mockups */
.hero-visual { position: relative; min-height: 420px; }

.mock { border-radius: 16px; overflow: hidden; }

.browser {
  position: relative;
  width: 100%;
  background: rgba(12, 14, 24, 0.85);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md), 0 0 60px rgba(124, 107, 255, 0.14);
  animation: floatSlow 7s ease-in-out infinite;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.mock-url {
  margin-left: 10px;
  flex: 1;
  font-size: 0.68rem;
  color: var(--muted-2);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  padding: 3px 10px;
}

.mock-screen { padding: 18px; }
.ms-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ms-logo { width: 30px; height: 9px; border-radius: 4px; background: var(--grad); }
.ms-links { display: flex; gap: 7px; }
.ms-links i { width: 22px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); }

.ms-hero { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.ms-line { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.16); }
.ms-line.w50 { width: 50%; }
.ms-line.w60 { width: 60%; }
.ms-line.w70 { width: 70%; }
.ms-line.w80 { width: 80%; }
.ms-line.w90 { width: 90%; }
.ms-cta { width: 90px; height: 24px; border-radius: 999px; background: var(--grad); margin-top: 8px; }

.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ms-cards span { height: 62px; border-radius: 10px; background: rgba(255, 255, 255, 0.055); border: 1px solid var(--border); }

.phone {
  position: absolute;
  right: -10px;
  bottom: -40px;
  width: 150px;
  background: rgba(12, 14, 24, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  padding: 8px;
  box-shadow: var(--shadow-md), 0 0 50px rgba(34, 211, 238, 0.16);
  animation: floatSlow 8s ease-in-out infinite reverse;
}
.phone .mock-screen { padding: 12px; }
.phone .ms-nav { margin-bottom: 14px; }
.phone .ms-hero { gap: 7px; }
.phone .ms-line { height: 7px; }
.phone .ms-cta { width: 70px; height: 20px; }
.ms-thumb { height: 90px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--border); }

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.95rem;
  border-radius: 14px;
  background: rgba(12, 14, 24, 0.82);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  animation: floatSlow 6.5s ease-in-out infinite;
}
.float-badge strong { display: block; font-size: 0.82rem; font-family: var(--font-head); }
.float-badge small { font-size: 0.68rem; color: var(--muted-2); }
.fb-icon {
  display: grid;
  place-items: center;
  min-width: 38px; height: 38px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-head);
}
.fb-1 { top: -18px; left: -26px; animation-delay: -2s; }
.fb-2 { bottom: 30px; left: -40px; animation-delay: -4s; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3.4rem; }
.section-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.section-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  margin-bottom: 1rem;
}
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Grids & cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card { padding: 2rem 1.75rem; transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 107, 255, 0.45);
  box-shadow: var(--shadow-glow);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 15px;
  margin-bottom: 1.3rem;
  color: var(--accent);
  background: var(--grad-soft);
  border: 1px solid var(--border);
}
.problem-card h3 { font-size: 1.22rem; margin-bottom: 0.6rem; }
.problem-card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Solution ---------- */
.solution-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.6rem;
  align-items: stretch;
}
.benefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  padding: 1.8rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
}
.benefits li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.96rem;
  font-weight: 500;
}
.check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 7px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 4px 14px rgba(124, 107, 255, 0.4);
}

.solution-visual {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
}
.sv-row { display: flex; align-items: center; gap: 0.9rem; }
.sv-avatar {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--grad);
  box-shadow: 0 8px 22px rgba(124, 107, 255, 0.4);
}
.sv-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.sv-lines i { height: 8px; border-radius: 5px; background: rgba(255, 255, 255, 0.14); display: block; }
.sv-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 130px;
}
.sv-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: var(--grad);
  opacity: 0.75;
  animation: grow 3.4s ease-in-out infinite;
  transform-origin: bottom;
}
.sv-bars span:nth-child(2) { animation-delay: -0.4s; }
.sv-bars span:nth-child(3) { animation-delay: -0.8s; }
.sv-bars span:nth-child(4) { animation-delay: -1.2s; }
.sv-bars span:nth-child(5) { animation-delay: -1.6s; }
.sv-bars span:nth-child(6) { animation-delay: -2s; }
@keyframes grow {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.14); }
}
.sv-foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--muted);
}
.sv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

/* ---------- Plans ---------- */
.plans { align-items: stretch; }
.plan {
  position: relative;
  padding: 2.2rem 1.9rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.plan:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 107, 255, 0.45);
  box-shadow: var(--shadow-glow);
}
.plan-featured {
  border-color: rgba(124, 107, 255, 0.55);
  background: linear-gradient(160deg, rgba(124, 107, 255, 0.16), rgba(34, 211, 238, 0.06));
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}
.plan-featured:hover { transform: scale(1.03) translateY(-8px); }
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(124, 107, 255, 0.5);
}
.plan-head { padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--border); }
.plan-head h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.plan-tagline { font-size: 0.88rem; color: var(--muted-2); min-height: 2.6em; }
.plan-price {
  margin-top: 1rem;
  font-family: var(--font-head);
  font-size: 2.9rem;
  font-weight: 700;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plan-price .currency { font-size: 1.2rem; margin-top: 0.55rem; }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.8rem; flex: 1; }
.plan-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-2px);
  border-radius: 1px;
}

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent), transparent);
  opacity: 0.6;
}
.timeline-item { position: relative; display: flex; gap: 1.6rem; align-items: flex-start; }
.tl-num {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 26px rgba(124, 107, 255, 0.4);
}
.tl-card { flex: 1; padding: 1.5rem 1.7rem; transition: transform 0.3s ease, border-color 0.3s ease; }
.tl-card:hover { transform: translateX(6px); border-color: rgba(124, 107, 255, 0.45); }
.tl-card h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.tl-card p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Audience ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.audience {
  padding: 1.4rem 1.2rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.94rem;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.audience:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.45);
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.1), rgba(255, 255, 255, 0.03));
}

/* ---------- Diferencial ---------- */
.differ-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.tags { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.tag {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.tag:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 107, 255, 0.6);
  box-shadow: 0 12px 30px rgba(124, 107, 255, 0.28);
}

/* ---------- Portfolio ---------- */
.demo-note {
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted-2);
  margin-top: -2rem;
  margin-bottom: 2.6rem;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.portfolio-item { display: flex; flex-direction: column; gap: 1rem; }
.device {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: rgba(10, 12, 20, 0.85);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.portfolio-item:hover .device {
  transform: translateY(-8px);
  border-color: rgba(124, 107, 255, 0.5);
  box-shadow: var(--shadow-glow);
}
.device-top {
  display: flex;
  gap: 5px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}
.device-top span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }

.site-preview { padding: 16px; display: flex; flex-direction: column; gap: 14px; min-height: 190px; }
.sp-nav { height: 10px; width: 40%; border-radius: 5px; background: rgba(255, 255, 255, 0.16); }
.sp-hero { display: flex; flex-direction: column; gap: 8px; }
.sp-line { height: 8px; border-radius: 5px; background: rgba(255, 255, 255, 0.18); }
.sp-line.w45 { width: 45%; }
.sp-line.w50 { width: 50%; }
.sp-line.w55 { width: 55%; }
.sp-line.w60 { width: 60%; }
.sp-line.w65 { width: 65%; }
.sp-line.w70 { width: 70%; }
.sp-line.w75 { width: 75%; }
.sp-line.w80 { width: 80%; }
.sp-line.w85 { width: 85%; }
.sp-btn { width: 74px; height: 20px; border-radius: 999px; background: var(--grad); margin-top: 6px; }
.sp-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.sp-row i { height: 42px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); }

.theme-restaurant .site-preview { background: linear-gradient(160deg, rgba(255, 138, 61, 0.16), rgba(255, 255, 255, 0.02)); }
.theme-restaurant .sp-btn { background: linear-gradient(120deg, #ff8a3d, #ff5c3d); }
.theme-barber .site-preview { background: linear-gradient(160deg, rgba(200, 200, 210, 0.16), rgba(30, 30, 40, 0.2)); }
.theme-barber .sp-btn { background: linear-gradient(120deg, #cfd3e0, #7c6bff); }
.theme-fashion .site-preview { background: linear-gradient(160deg, rgba(232, 121, 180, 0.16), rgba(255, 255, 255, 0.02)); }
.theme-fashion .sp-btn { background: linear-gradient(120deg, #e879b4, #ff9f7a); }
.theme-auto .site-preview { background: linear-gradient(160deg, rgba(255, 196, 61, 0.16), rgba(255, 255, 255, 0.02)); }
.theme-auto .sp-btn { background: linear-gradient(120deg, #ffc43d, #ff7a3d); }
.theme-clinic .site-preview { background: linear-gradient(160deg, rgba(69, 190, 255, 0.16), rgba(255, 255, 255, 0.02)); }
.theme-clinic .sp-btn { background: linear-gradient(120deg, #45beff, #22d3ee); }
.theme-realestate .site-preview { background: linear-gradient(160deg, rgba(37, 211, 102, 0.14), rgba(255, 255, 255, 0.02)); }
.theme-realestate .sp-btn { background: linear-gradient(120deg, #25d366, #22d3ee); }

.portfolio-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.portfolio-meta h3 { font-size: 1.05rem; }
.demo-tag {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  white-space: nowrap;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item { padding: 0 1.5rem; transition: border-color 0.3s ease; }
.faq-item[open] { border-color: rgba(124, 107, 255, 0.45); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.03rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: 0 0 auto; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }
.faq-item p { padding-bottom: 1.3rem; color: var(--muted); font-size: 0.95rem; max-width: 60ch; }

/* ---------- CTA final ---------- */
.cta-section { padding-bottom: 8rem; }
.cta-box {
  text-align: center;
  padding: 4.5rem 2rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(124, 107, 255, 0.18), rgba(34, 211, 238, 0.07));
  border-color: rgba(124, 107, 255, 0.35);
  box-shadow: var(--shadow-md), 0 0 80px rgba(124, 107, 255, 0.2);
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -50%; left: 50%;
  width: 600px; height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 107, 255, 0.3), transparent 65%);
  pointer-events: none;
}
.cta-box h2 { position: relative; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1.1rem; }
.cta-box p { position: relative; color: var(--muted); max-width: 40rem; margin: 0 auto 2.2rem; font-size: 1.05rem; }
.cta-wa { position: relative; }
.cta-mini { position: relative; margin-top: 1.4rem !important; font-size: 0.86rem !important; color: var(--muted-2) !important; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02));
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p { color: var(--muted); margin: 1.1rem 0 1.4rem; max-width: 22rem; font-size: 0.95rem; }
.socials { display: flex; gap: 0.7rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.socials a:hover { transform: translateY(-3px); color: var(--text); border-color: rgba(124, 107, 255, 0.5); }
.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-bottom: 1.1rem;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 0.65rem;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-col a:hover { color: var(--text); transform: translateX(3px); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #1ebe5b);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: waIn 0.6s ease both;
}
.wa-float:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 18px 40px rgba(37, 211, 102, 0.55); }
.wa-float-label { font-size: 0.88rem; font-weight: 600; }
@keyframes waIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }
.reveal[data-delay="6"] { transition-delay: 0.6s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 4rem; }
  .hero-visual { min-height: 360px; max-width: 560px; }
  .solution-wrap { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-8px); }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .differ-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 4.8rem 0; }
  .hero { padding-top: 8rem; }

  .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.2rem 1.6rem;
    background: rgba(6, 7, 13, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.95rem 0.2rem; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav-actions .btn { display: none; }
  .menu-toggle { display: flex; }

  .grid-3 { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; padding: 1.4rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 21px; }
  .timeline-item { gap: 1rem; }
  .tl-num { width: 44px; height: 44px; font-size: 0.9rem; border-radius: 14px; }
  .tl-card { padding: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .cta-box { padding: 3.2rem 1.4rem; }
  .btn-xl { width: 100%; padding: 1.05rem 1.4rem; font-size: 1rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-trust { gap: 1.4rem; }
  .hero-trust li { flex: 1 1 40%; }
  .fb-2 { left: auto; right: -8px; bottom: -30px; }
  .fb-1 { left: -8px; }
  .phone { width: 126px; right: 0; }
  .wa-float-label { display: none; }
  .wa-float { padding: 1rem; border-radius: 50%; }
  .section-head { margin-bottom: 2.6rem; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 400px) {
  .audience-grid { grid-template-columns: 1fr; }
  .float-badge { transform: scale(0.9); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
