/* =========================================================
   WebDev.ae — Design System
   ========================================================= */

:root {
  --bg: #06070c;
  --bg-alt: #0a0c14;
  --surface: #10131d;
  --surface-2: #151827;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f6f8;
  --text-muted: #9aa0b0;
  --text-faint: #6b7180;
  --accent: #6366f1;
  --accent-2: #22d3ee;
  --accent-soft: rgba(99, 102, 241, 0.12);
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 45%, #22d3ee 100%);
  --gradient-text: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 45%, #67e8f9 100%);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

section { position: relative; padding: 120px 0; }
@media (max-width: 768px) {
  section { padding: 80px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-2);
}

.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.3rem; }

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

.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(99, 102, 241, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(99, 102, 241, 0.75); }
.btn-secondary {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.3); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgba(6, 7, 12, 0.8);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; font-weight: 800;
  box-shadow: 0 6px 18px -6px rgba(99,102,241,0.8);
}
.logo span.dim { color: var(--text-muted); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--text-muted);
  position: relative; transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -20px;
  height: 2px; background: var(--gradient);
}
.has-dropdown { position: relative; }

/* Mega menu */
.mega-menu {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(620px, 90vw);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}
.has-dropdown:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.mega-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 16px 14px; border-radius: 12px; color: var(--text);
  transition: background 0.2s ease;
}
.mega-item:hover { background: rgba(255,255,255,0.05); }
.mega-item .icon-box { margin-bottom: 10px; width: 40px; height: 40px; }
.mega-item .icon-box svg { width: 19px; height: 19px; }
.mega-item-title { font-size: 0.92rem; font-weight: 600; }
.mega-item-desc { font-size: 0.8rem; color: var(--text-faint); font-weight: 400; line-height: 1.4; }

.mega-menu-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--border);
}
.mega-viewall { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.mega-viewall:hover { color: var(--text); }
.mega-viewall svg { width: 15px; height: 15px; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text); transition: all 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-primary { padding: 10px 16px; font-size: 0.85rem; }
}

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0;
  background: rgba(6,7,12,0.98);
  backdrop-filter: blur(10px);
  z-index: 99;
  padding: 32px 24px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-12px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a { padding: 16px 4px; font-size: 1.2rem; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 20px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding-top: calc(var(--nav-h) + 100px);
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(99,102,241,0.25), transparent 60%),
    radial-gradient(500px 400px at 85% 10%, rgba(34,211,238,0.18), transparent 60%),
    linear-gradient(var(--bg), var(--bg));
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 70%);
}
/* Floating 3D shapes */
.shape-field {
  position: absolute; inset: 0;
  perspective: 1200px;
  pointer-events: none;
  overflow: hidden;
}
.shape {
  position: absolute;
  transform-style: preserve-3d;
  border-radius: 22%;
  background: linear-gradient(135deg, rgba(99,102,241,0.35), rgba(34,211,238,0.12));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 60px -20px rgba(99,102,241,0.35);
  backdrop-filter: blur(2px);
  animation: float-3d 16s ease-in-out infinite;
}
.shape-1 { top: 12%; left: 8%; width: 90px; height: 90px; animation-duration: 18s; }
.shape-2 { top: 62%; left: 4%; width: 54px; height: 54px; border-radius: 50%; animation-duration: 14s; animation-delay: -3s; background: linear-gradient(135deg, rgba(34,211,238,0.35), rgba(139,92,246,0.1)); }
.shape-3 { top: 20%; left: 92%; width: 70px; height: 70px; border-radius: 50%; animation-duration: 20s; animation-delay: -7s; }
.shape-4 { top: 78%; left: 88%; width: 110px; height: 110px; animation-duration: 22s; animation-delay: -11s; background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(99,102,241,0.08)); }
.shape-5 { top: 45%; left: 50%; width: 40px; height: 40px; border-radius: 50%; animation-duration: 12s; animation-delay: -5s; opacity: 0.7; }
@media (max-width: 900px) { .shape-3, .shape-4 { display: none; } }

@keyframes float-3d {
  0%   { transform: translate3d(0, 0, 0) rotate3d(1, 1, 0, 0deg); }
  25%  { transform: translate3d(14px, -22px, 40px) rotate3d(1, 1, 0, 90deg); }
  50%  { transform: translate3d(-10px, 18px, -20px) rotate3d(1, 0, 1, 180deg); }
  75%  { transform: translate3d(-18px, -14px, 30px) rotate3d(0, 1, 1, 270deg); }
  100% { transform: translate3d(0, 0, 0) rotate3d(1, 1, 0, 360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .shape { animation: none; }
}

.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 10px; margin-top: 44px; flex-wrap: wrap; }
.hero-tags span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-muted);
  border: 1px solid var(--border); padding: 7px 14px 7px 10px; border-radius: 100px;
  background: rgba(255,255,255,0.02);
}
.hero-tags svg { width: 15px; height: 15px; color: var(--accent-2); flex-shrink: 0; }

/* Hero visual composition: blob + layered device mockups + badge row */
.hero-visual { position: relative; }
.hero-blob {
  position: absolute;
  width: 120%;
  height: 120%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #6366f1, #8b5cf6 45%, #22d3ee);
  filter: blur(70px);
  opacity: 0.28;
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  animation: blob-morph 14s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes blob-morph {
  0%, 100% { border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%; transform: translate(-50%, -50%) rotate(0deg); }
  50%      { border-radius: 58% 42% 35% 65% / 55% 55% 45% 45%; transform: translate(-50%, -50%) rotate(12deg); }
}
@media (prefers-reduced-motion: reduce) { .hero-blob { animation: none; } }

.mockup-frame { position: relative; z-index: 1; margin-bottom: 90px; }

.mockup-phone {
  position: absolute;
  right: -22px;
  bottom: -64px;
  z-index: 2;
  width: 148px;
  padding: 14px 10px;
  background: var(--bg-alt);
  border: 4px solid var(--surface-2);
  border-radius: 32px;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(10deg) rotateX(-4deg) rotate(-2deg);
  transition: transform 0.4s ease;
  will-change: transform;
}
.mockup-phone-notch { width: 44px; height: 5px; background: rgba(255,255,255,0.15); border-radius: 4px; margin: 0 auto 14px; }
.mockup-phone-logo {
  width: 24px; height: 24px; border-radius: 7px; background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.68rem; font-weight: 800; margin-bottom: 12px;
}
.mockup-phone .mockup-line { height: 8px; margin-bottom: 8px; }
.mockup-phone .mockup-cta { height: 24px; width: 76px; margin-top: 8px; }
@media (max-width: 640px) { .mockup-phone { width: 110px; right: -10px; bottom: -46px; } }

.hero-badges-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; z-index: 1; }
.mini-badge {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 16px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.mini-badge:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.mini-badge .icon-box { margin-bottom: 0; width: 38px; height: 38px; }
.mini-badge .icon-box svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .hero-badges-row { grid-template-columns: 1fr; } }

/* Browser mockup */
.mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.4s ease;
  animation: mockup-idle 7s ease-in-out infinite;
}
@keyframes mockup-idle {
  0%, 100% { transform: perspective(1000px) rotateY(-6deg) rotateX(2deg) translateY(0); }
  50%      { transform: perspective(1000px) rotateY(-3deg) rotateX(4deg) translateY(-10px); }
}

/* Layered 3D depth inside the mockup — children pop forward on their own Z plane */
.mockup-body { transform-style: preserve-3d; }
.mockup-bar { transform: translateZ(4px); }
.mockup-line { transform: translateZ(10px); }
.mockup-blocks { transform-style: preserve-3d; }
.mockup-block { transform: translateZ(30px); transition: transform 0.4s ease; }
.mockup-cta { transform: translateZ(44px); }

/* Hero text column parallax */
.hero-grid > div:first-child { transition: transform 0.4s ease; will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .mockup { animation: none; }
}
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.mockup-bar span:nth-child(1) { background: #ef4444; }
.mockup-bar span:nth-child(2) { background: #f59e0b; }
.mockup-bar span:nth-child(3) { background: #22c55e; }
.mockup-url { margin-left: 10px; font-size: 0.75rem; color: var(--text-faint); background: var(--bg-alt); padding: 5px 12px; border-radius: 6px; flex: 1; }
.mockup-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.mockup-line { height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)); }
.mockup-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 6px; }
.mockup-block { height: 70px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); position: relative; overflow: hidden; }
.mockup-block::after { content: ""; position: absolute; inset: 0; background: var(--gradient); opacity: 0.15; }
.mockup-cta { height: 38px; width: 130px; border-radius: 100px; background: var(--gradient); margin-top: 8px; }

/* =========================================================
   Marquee strip
   ========================================================= */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; overflow: hidden; background: var(--bg-alt); }
.strip-track { display: flex; gap: 60px; white-space: nowrap; animation: marquee 28s linear infinite; width: max-content; }
.strip-track span { font-size: 0.95rem; font-weight: 600; color: var(--text-faint); letter-spacing: 0.03em; display: flex; align-items: center; gap: 10px; }
.strip-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   Cards / Services
   ========================================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 980px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.card.tilting, .plan.tilting, .why-item.tilting, .mockup.tilting { transition: transform 0.08s linear; }

.icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(99,102,241,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-2);
  margin-bottom: 22px;
}
.icon-box svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 18px; }
.card-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.card-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }
.card-list li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--accent-2); }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.92rem; color: var(--text); }
.card-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.card-link:hover svg { transform: translateX(4px); }

.badge-num {
  position: absolute; top: 28px; right: 30px;
  font-size: 2.2rem; font-weight: 800; color: rgba(255,255,255,0.06);
}

/* =========================================================
   Process timeline
   ========================================================= */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 15%, var(--border-strong) 85%, transparent);
}
@media (max-width: 980px) { .timeline { grid-template-columns: 1fr; } .timeline::before { display: none; } }
.timeline-step { position: relative; }
.timeline-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem;
  margin-bottom: 20px; position: relative; z-index: 1;
  background: var(--bg);
}
.timeline-step:hover .timeline-num { border-color: var(--accent); color: var(--accent-2); }
.timeline-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.timeline-step p { font-size: 0.88rem; color: var(--text-muted); }

/* =========================================================
   Why us
   ========================================================= */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why-item {
  display: flex; gap: 16px; padding: 20px;
  transform-style: preserve-3d; will-change: transform; transition: transform 0.3s ease;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--surface);
}
.why-item .icon-box { margin-bottom: 0; flex-shrink: 0; width: 44px; height: 44px; }
.why-item .icon-box svg { width: 20px; height: 20px; }
.why-item h4 { font-size: 1rem; margin-bottom: 4px; }
.why-item p { font-size: 0.86rem; color: var(--text-muted); }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* =========================================================
   Pricing / packages
   ========================================================= */
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 28px; display: flex; flex-direction: column; transform-style: preserve-3d; will-change: transform; transition: transform 0.3s ease; }
.plan.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(99,102,241,0.08), var(--surface) 40%); position: relative; }
.plan.featured::before { content: "Most Popular"; position: absolute; top: -13px; left: 28px; background: var(--gradient); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px 14px; border-radius: 100px; letter-spacing: 0.03em; }
.plan-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.plan-desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 24px; }
.plan-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.plan-list li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--text-muted); align-items: flex-start; }
.plan-list li svg { width: 16px; height: 16px; color: var(--accent-2); flex-shrink: 0; margin-top: 3px; }

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 70px 50px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 50% 0%, rgba(99,102,241,0.28), transparent 70%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { max-width: 520px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   Stats
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat-num { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero { position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + 80px); padding-bottom: 70px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-faint); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--text-muted); }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: flex-start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); margin-bottom: 16px; }
.contact-card .icon-box { margin-bottom: 0; flex-shrink: 0; }
.contact-card h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-card a, .contact-card p { color: var(--text-muted); font-size: 0.92rem; }
.contact-card a:hover { color: var(--accent-2); }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.field input, .field select, .field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(99,102,241,0.05);
}
.field textarea { resize: vertical; min-height: 130px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: 0.82rem; color: var(--text-faint); margin-top: 14px; text-align: center; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: 0.9rem; display: none; }
.form-status.success { display: block; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }
.form-status.error { display: block; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 60px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--text); }
.footer-about p { color: var(--text-muted); font-size: 0.9rem; margin: 16px 0 20px; max-width: 32ch; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 12px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent-2); flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-faint); flex-wrap: wrap; gap: 12px; }

.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; }

.whatsapp-float {
  position: fixed; left: 24px; bottom: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(37, 211, 102, 0.55), var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.7); }
.whatsapp-float svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.whatsapp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; opacity: 0.55;
  animation: whatsapp-pulse 2.2s ease-out infinite;
}
@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-float::before { animation: none; } }
@media (max-width: 640px) {
  .whatsapp-float { left: 16px; bottom: 16px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 25px; height: 25px; }
}

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* 404 */
.error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
.error-page .code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; }
