/* ==========================================================================
   Lumzo.site — Premium Landing Page Styles
   Theme: Light Meets Innovation
   Pure CSS3 — no frameworks
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg: #F8FAFC;
  --bg-white: #FFFFFF;
  --primary: #FF6B6B;
  --secondary: #FFB84D;
  --accent: #4ECDC4;
  --highlight: #6C63FF;
  --text: #111827;
  --text-muted: #6B7280;
  --card: #FFFFFF;
  --border: rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 8px 30px rgba(17, 24, 39, 0.06);
  --shadow-lift: 0 20px 50px rgba(17, 24, 39, 0.1);
  --radius: 24px;
  --radius-sm: 14px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

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

ul,
ol {
  list-style: none;
}

button,
input {
  font: inherit;
}

.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;
}

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

.container.narrow {
  width: min(100% - 2.5rem, 720px);
}

/* --------------------------------------------------------------------------
   Ambient blobs (page-wide)
   -------------------------------------------------------------------------- */
.ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float-blob 18s ease-in-out infinite;
}

.blob-1 {
  width: 420px;
  height: 420px;
  background: var(--primary);
  top: -80px;
  left: -100px;
}

.blob-2 {
  width: 360px;
  height: 360px;
  background: var(--accent);
  top: 40%;
  right: -120px;
  animation-delay: -6s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  bottom: 10%;
  left: 20%;
  animation-delay: -12s;
  opacity: 0.25;
}

@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.gradient-text {
  background: linear-gradient(120deg, var(--primary), var(--secondary), var(--accent), var(--highlight));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease, color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff8e6b 40%, var(--secondary));
  color: #fff;
  box-shadow: 0 10px 28px rgba(255, 107, 107, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(255, 107, 107, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-soft);
}

.btn-nav {
  background: var(--text);
  color: #fff;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
}

.btn-nav:hover {
  background: #1f2937;
  box-shadow: var(--shadow-soft);
}

.btn-block {
  width: 100%;
}

/* Shine sweep on primary buttons */
.btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.45) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.btn-shine:hover::after {
  transform: translateX(120%);
}

/* --------------------------------------------------------------------------
   Navigation — sticky + blur
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 250, 252, 0.65);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header:hover,
.nav:focus-within {
  border-bottom-color: var(--border);
}

.nav {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--primary), var(--highlight));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a {
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 10px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  cursor: pointer;
  border-radius: 10px;
  padding: 10px;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem 8rem;
  overflow: hidden;
  z-index: 1;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(255, 107, 107, 0.18), transparent 50%),
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(108, 99, 255, 0.14), transparent 45%),
    radial-gradient(ellipse 60% 50% at 70% 80%, rgba(78, 205, 196, 0.16), transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 70%, rgba(255, 184, 77, 0.14), transparent 45%),
    linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  animation: mesh-breathe 12s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes mesh-breathe {
  from { filter: hue-rotate(0deg) saturate(1); }
  to { filter: hue-rotate(12deg) saturate(1.08); }
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: float-shape 14s ease-in-out infinite;
}

.shape-coral {
  width: 280px;
  height: 280px;
  background: var(--primary);
  top: 12%;
  left: 8%;
}

.shape-gold {
  width: 200px;
  height: 200px;
  background: var(--secondary);
  top: 55%;
  left: 15%;
  animation-delay: -4s;
}

.shape-teal {
  width: 240px;
  height: 240px;
  background: var(--accent);
  top: 20%;
  right: 10%;
  animation-delay: -7s;
}

.shape-indigo {
  width: 180px;
  height: 180px;
  background: var(--highlight);
  bottom: 25%;
  right: 18%;
  animation-delay: -2s;
}

@keyframes float-shape {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(24px, -30px); }
}

.orbit {
  position: absolute;
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: 50%;
  animation: spin-orbit 40s linear infinite;
}

.orbit-1 {
  width: 420px;
  height: 420px;
  top: 50%;
  left: 50%;
  margin: -210px 0 0 -210px;
}

.orbit-2 {
  width: 560px;
  height: 560px;
  top: 50%;
  left: 50%;
  margin: -280px 0 0 -280px;
  animation-direction: reverse;
  animation-duration: 55s;
  border-color: rgba(255, 107, 107, 0.12);
}

@keyframes spin-orbit {
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 740px;
  animation: fade-up 0.9s var(--ease) both;
}

.brand-mark {
  font-size: clamp(2.25rem, 7vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-bottom: 1.15rem;
  background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 35%, var(--accent) 70%, var(--highlight) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 10s ease infinite;
}

.hero-dash {
  font-weight: 600;
  opacity: 0.85;
}

.hero-sub {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Glass floating UI cards */
.hero-floaters {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 1rem 1.15rem;
  animation: float-card 7s ease-in-out infinite;
}

.glass-1 {
  top: 22%;
  left: 6%;
  width: 160px;
  animation-delay: 0s;
}

.glass-2 {
  top: 28%;
  right: 7%;
  width: 140px;
  animation-delay: -2.5s;
}

.glass-3 {
  bottom: 22%;
  left: 12%;
  width: 150px;
  animation-delay: -4s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.glass-bar {
  height: 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin-bottom: 0.65rem;
}

.glass-lines span {
  display: block;
  height: 6px;
  border-radius: 4px;
  background: rgba(17, 24, 39, 0.08);
  margin-bottom: 0.4rem;
}

.glass-lines span:nth-child(1) { width: 90%; }
.glass-lines span:nth-child(2) { width: 70%; }
.glass-lines span:nth-child(3) { width: 55%; }

.glass-dot-row {
  display: flex;
  gap: 4px;
  margin-bottom: 0.6rem;
}

.glass-dot-row i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}

.glass-dot-row i:nth-child(2) { background: var(--secondary); }
.glass-dot-row i:nth-child(3) { background: var(--primary); }

.glass-metric strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--accent), var(--highlight));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass-metric span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.glass-avatar-stack {
  display: flex;
  margin-bottom: 0.5rem;
}

.glass-avatar-stack span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.glass-avatar-stack span:first-child { margin-left: 0; }
.glass-avatar-stack span:nth-child(2) { background: linear-gradient(135deg, var(--accent), var(--highlight)); }
.glass-avatar-stack span:nth-child(3) { background: linear-gradient(135deg, var(--secondary), var(--primary)); }

.glass-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 4;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Sections shared
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0;
  background: var(--bg-white);
}

.fade-section {
  animation: fade-up 0.8s var(--ease) both;
  animation-timeline: view();
  animation-range: entry 5% cover 25%;
}

@supports not (animation-timeline: view()) {
  .fade-section {
    animation: none;
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services {
  background: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--highlight));
  background-size: 200% 100%;
  opacity: 0.85;
  transition: opacity 0.3s ease;
  animation: gradient-shift 6s linear infinite;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lift);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  color: var(--icon);
  background: color-mix(in srgb, var(--icon) 12%, white);
  animation: soft-pulse 3.5s ease-in-out infinite;
}

.service-card:nth-child(2) .service-icon { animation-delay: 0.4s; }
.service-card:nth-child(3) .service-icon { animation-delay: 0.8s; }
.service-card:nth-child(4) .service-icon { animation-delay: 1.2s; }
.service-card:nth-child(5) .service-icon { animation-delay: 0.6s; }
.service-card:nth-child(6) .service-icon { animation-delay: 1s; }

.service-icon svg {
  width: 24px;
  height: 24px;
}

@keyframes soft-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 color-mix(in srgb, var(--icon) 25%, transparent); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 10px transparent; }
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Why Choose
   -------------------------------------------------------------------------- */
.why {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 107, 107, 0.06), transparent 60%),
    var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-block {
  text-align: center;
  padding: 1.5rem 1rem;
  transition: transform 0.35s var(--ease);
}

.why-block:hover {
  transform: translateY(-6px);
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.15rem;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--bg-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  color: var(--primary);
}

.why-block:nth-child(2) .why-icon { color: var(--secondary); }
.why-block:nth-child(3) .why-icon { color: var(--accent); }
.why-block:nth-child(4) .why-icon { color: var(--highlight); }

.why-icon svg {
  width: 28px;
  height: 28px;
}

.why-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.why-block p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   Portfolio
   -------------------------------------------------------------------------- */
.portfolio {
  background: var(--bg-white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent 30%, rgba(17, 24, 39, 0.55) 100%);
  backdrop-filter: blur(0px);
  opacity: 0;
  transition: opacity 0.4s var(--ease), backdrop-filter 0.4s ease;
}

.project-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.35), rgba(108, 99, 255, 0.3));
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-overlay h3,
.project-overlay p {
  position: relative;
  color: #fff;
  transform: translateY(16px);
  transition: transform 0.45s var(--ease);
}

.project-overlay h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.project-overlay p {
  font-size: 0.85rem;
  opacity: 0.85;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-card:hover .project-overlay {
  opacity: 1;
  backdrop-filter: blur(2px);
}

.project-card:hover .project-overlay::before {
  opacity: 1;
}

.project-card:hover .project-overlay h3,
.project-card:hover .project-overlay p {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Process Timeline
   -------------------------------------------------------------------------- */
.process {
  background:
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(78, 205, 196, 0.08), transparent 55%),
    var(--bg);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
  padding-top: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: calc(1.5rem + 14px);
  left: 8%;
  right: 8%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--highlight), var(--primary));
  background-size: 200% 100%;
  animation: line-flow 4s linear infinite;
  opacity: 0.55;
}

@keyframes line-flow {
  to { background-position: 200% center; }
}

.timeline-step {
  text-align: center;
  position: relative;
  padding: 0 0.5rem;
}

.timeline-node {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--bg-white);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 6px rgba(255, 107, 107, 0.15), 0 0 20px rgba(255, 107, 107, 0.35);
  position: relative;
  z-index: 1;
  animation: node-glow 2.8s ease-in-out infinite;
}

.timeline-step:nth-child(2) .timeline-node {
  border-color: var(--secondary);
  box-shadow: 0 0 0 6px rgba(255, 184, 77, 0.15), 0 0 20px rgba(255, 184, 77, 0.35);
  animation-delay: 0.35s;
}

.timeline-step:nth-child(3) .timeline-node {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(78, 205, 196, 0.15), 0 0 20px rgba(78, 205, 196, 0.35);
  animation-delay: 0.7s;
}

.timeline-step:nth-child(4) .timeline-node {
  border-color: var(--highlight);
  box-shadow: 0 0 0 6px rgba(108, 99, 255, 0.15), 0 0 20px rgba(108, 99, 255, 0.35);
  animation-delay: 1.05s;
}

.timeline-step:nth-child(5) .timeline-node {
  border-color: var(--primary);
  animation-delay: 1.4s;
}

@keyframes node-glow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.timeline-step strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.timeline-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

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

/* --------------------------------------------------------------------------
   Statistics
   -------------------------------------------------------------------------- */
.stats {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.08), rgba(108, 99, 255, 0.08), rgba(78, 205, 196, 0.08));
  border-block: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(120deg, var(--primary), var(--highlight));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: counter-pulse 3s ease-in-out infinite;
}

.stat:nth-child(2) .stat-value {
  background: linear-gradient(120deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  animation-delay: 0.4s;
}

.stat:nth-child(3) .stat-value {
  background: linear-gradient(120deg, var(--accent), var(--highlight));
  -webkit-background-clip: text;
  background-clip: text;
  animation-delay: 0.8s;
}

.stat:nth-child(4) .stat-value {
  background: linear-gradient(120deg, var(--highlight), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  animation-delay: 1.2s;
}

@keyframes counter-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(1.03); }
}

.stat-label {
  display: block;
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
  background: var(--bg-white);
}

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

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.testimonial-card:nth-child(1) { transform: rotate(-1.2deg); }
.testimonial-card:nth-child(2) { transform: rotate(0.8deg); }
.testimonial-card:nth-child(3) { transform: rotate(-0.6deg); }

.testimonial-card:hover {
  transform: rotate(2deg) translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.testimonial-card:nth-child(2):hover {
  transform: rotate(-2deg) translateY(-8px);
}

.stars {
  color: var(--secondary);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.testimonial-card > p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1.35rem;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a), color-mix(in srgb, var(--a) 40%, white));
  flex-shrink: 0;
}

.testimonial-card cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.testimonial-card cite strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.testimonial-card cite span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.pricing {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(255, 184, 77, 0.1), transparent 55%),
    var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  align-items: center;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.price-featured {
  transform: scale(1.05);
  z-index: 1;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--highlight)) border-box;
  box-shadow: var(--shadow-lift);
}

.price-featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--highlight));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.price span {
  font-size: 1.25rem;
  vertical-align: super;
  margin-right: 0.1rem;
}

.price-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.price-card ul {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.price-card li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 1.4rem;
  position: relative;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  background: var(--bg-white);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(255, 107, 107, 0.25);
  box-shadow: 0 12px 32px rgba(255, 107, 107, 0.08);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-top: -4px;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
  border-color: var(--primary);
}

.faq-item summary:hover {
  color: var(--primary);
}

.faq-item p {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  animation: fade-up 0.35s var(--ease) both;
}

/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */
.newsletter {
  background: var(--bg);
  padding-bottom: 6rem;
}

.newsletter-panel {
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(255, 184, 77, 0.1), rgba(78, 205, 196, 0.12), rgba(108, 99, 255, 0.1));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.newsletter-panel::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  top: -60px;
  right: -40px;
  animation: spin-orbit 30s linear infinite;
}

.newsletter-panel h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.newsletter-panel > p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 480px;
  margin-inline: auto;
}

.newsletter-form input {
  flex: 1 1 220px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.newsletter-form input:focus {
  border-color: rgba(255, 107, 107, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.12);
}

.newsletter-form input::placeholder {
  color: #9CA3AF;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col .logo {
  display: inline-block;
  margin-bottom: 0.85rem;
}

.footer-col > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a,
.footer-col span {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

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

.socials {
  display: flex;
  gap: 0.65rem;
}

.social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--s), color-mix(in srgb, var(--s) 50%, white));
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.social:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--s) 35%, transparent);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Responsive — tablet
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .services-grid,
  .portfolio-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-left: 1.5rem;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 13px;
    right: auto;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent), var(--highlight));
    background-size: 100% 200%;
    animation-name: line-flow-v;
  }

  @keyframes line-flow-v {
    to { background-position: center 200%; }
  }

  .timeline-step {
    text-align: left;
    padding-left: 2rem;
  }

  .timeline-node {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-featured {
    transform: none;
  }

  .price-featured:hover {
    transform: translateY(-6px);
  }

  .glass-1 { left: 2%; top: 18%; }
  .glass-2 { right: 2%; }
  .glass-3 { display: none; }
}

/* --------------------------------------------------------------------------
   Responsive — mobile
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
  .nav-burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s ease;
    margin-left: 0;
  }

  .nav-toggle:checked ~ .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .btn-nav {
    display: none;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
  }

  .hero {
    padding: 3rem 1.25rem 6rem;
    min-height: auto;
  }

  .hero-floaters {
    display: none;
  }

  .orbit {
    display: none;
  }

  .services-grid,
  .portfolio-grid,
  .testimonials-grid,
  .pricing-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card:nth-child(n) {
    transform: none;
  }

  .testimonial-card:hover {
    transform: rotate(1.5deg) translateY(-6px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
