/* ============================================================
   NEC Community Manager — styles.css
   SFI Architecture v4.0 — Mobile-First
   Aesthetic: Digital Sophistication
   Fonts: Syne (display) + DM Sans (body)
   ============================================================ */

/* Google Fonts loaded via <link> in HTML — no @import here */

/* ─── FOUC Prevention ─── */
html { background-color: #1a0a2e; }
html[data-theme="light"] { background-color: #f5f0ff; }

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Dark theme (default) */
  --bg-primary: #1a0a2e;
  --bg-secondary: #2d1b54;
  --bg-card: #231240;
  --bg-card-hover: #2d1b54;
  --text-primary: #f0e6ff;
  --text-secondary: #a78bca;
  --text-muted: #7c6a9e;
  --accent: #7c3aed;
  --accent-hover: #9461fb;
  --accent-soft: rgba(124, 58, 237, 0.15);
  --accent-glow: rgba(124, 58, 237, 0.4);
  --border: rgba(124, 58, 237, 0.2);
  --border-strong: rgba(124, 58, 237, 0.5);
  --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #c084fc 100%);
  --gradient-mesh: radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.18) 0%, transparent 60%),
                   radial-gradient(ellipse at 80% 20%, rgba(192, 132, 252, 0.12) 0%, transparent 50%),
                   radial-gradient(ellipse at 50% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 8px 32px rgba(124, 58, 237, 0.35);
  --shadow-accent-lg: 0 0 60px rgba(124, 58, 237, 0.3);
  --nav-bg: rgba(26, 10, 46, 0.92);

  /* Spacing & Layout */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --section-pad: 64px;
}

[data-theme="light"] {
  --bg-primary: #f5f0ff;
  --bg-secondary: #e8e0f3;
  --bg-card: #ffffff;
  --bg-card-hover: #ede8f8;
  --text-primary: #1a0a2e;
  --text-secondary: #5b4a7a;
  --text-muted: #8b79a8;
  --accent: #7c3aed;
  --accent-hover: #5b21b6;
  --accent-soft: rgba(124, 58, 237, 0.08);
  --accent-glow: rgba(124, 58, 237, 0.25);
  --border: rgba(124, 58, 237, 0.15);
  --border-strong: rgba(124, 58, 237, 0.4);
  --gradient-mesh: radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 60%),
                   radial-gradient(ellipse at 80% 20%, rgba(192, 132, 252, 0.07) 0%, transparent 50%),
                   radial-gradient(ellipse at 50% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
  --shadow-sm: 0 2px 8px rgba(26, 10, 46, 0.06);
  --shadow-md: 0 4px 24px rgba(26, 10, 46, 0.1);
  --shadow-lg: 0 12px 48px rgba(26, 10, 46, 0.12);
  --shadow-accent: 0 8px 32px rgba(124, 58, 237, 0.18);
  --shadow-accent-lg: 0 0 60px rgba(124, 58, 237, 0.15);
  --nav-bg: rgba(245, 240, 255, 0.92);
}

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background-color var(--transition), color var(--transition);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* === CONTAINER === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* === SECTION SHARED === */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
  min-height: 44px;
}

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

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn svg {
  flex-shrink: 0;
}

/* === WHATSAPP ICON === */
.icon-whatsapp {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-strong);
}

.nav-logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.nav-logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-secondary);
  display: block;
  letter-spacing: 0.04em;
}

/* Mobile-first: nav-menu is hidden (mobile slide-in) by default */
.nav-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  display: flex;
}

.nav-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  width: 100%;
  transition: color var(--transition), background var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-primary);
  background: var(--accent-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Hide desktop CTA on mobile */
.nav-actions .btn {
  display: none;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.btn-icon:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-icon:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.lang-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
  min-height: 44px;
  min-width: 44px;
  letter-spacing: 0.04em;
}
.lang-btn.active {
  background: var(--accent);
  color: #fff;
}
.lang-btn:hover:not(.active) {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.lang-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--border);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

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

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 72px;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gradient-mesh);
}

/* Decorative blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}
.hero-blob-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: -150px;
  right: -80px;
}
.hero-blob-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #c084fc 0%, transparent 70%);
  bottom: -80px;
  left: -40px;
}
.hero-blob-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
  top: 30%;
  left: 40%;
  opacity: 0.2;
}

/* Geometric grid decoration */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 16px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  /* animation handled by hero animations block below */
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.4rem, 8vw, 5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  flex-direction: column;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.hero-ctas .btn {
  width: 100%;
  justify-content: center;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  background-color: var(--bg-primary);
}

/* Mobile-first: single column */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-6px);
  box-shadow: var(--shadow-accent);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.service-card--badged {
  padding-top: 42px;
  overflow: visible;
}

.service-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-hero);
  padding: 5px 14px;
  border-radius: 999px;
  width: fit-content;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-card-highlight {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  font-style: italic;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing {
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-primary);
  clip-path: ellipse(60% 100% at 50% 0%);
}

.pricing::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-primary);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.pricing-inner {
  position: relative;
  z-index: 1;
}

/* Promo Banner */
.pricing-promo {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: var(--shadow-accent-lg);
  position: relative;
  overflow: hidden;
}

.pricing-promo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}

.pricing-promo-emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.pricing-promo-text {
  font-size: 0.975rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
}

/* Pricing Grid — mobile-first: 1 column, max-width for readability */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 420px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

/* Featured / Popular card */
.pricing-card--featured {
  background: linear-gradient(145deg, #2d1b54 0%, #3d2470 100%);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-accent-lg), inset 0 1px 0 rgba(255,255,255,0.07);
  padding-top: 42px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 24px;
}

[data-theme="light"] .pricing-card--featured {
  background: linear-gradient(145deg, #f0e8ff 0%, #e0d5f7 100%);
  box-shadow: var(--shadow-accent-lg), inset 0 1px 0 rgba(255,255,255,0.5);
}

.pricing-card--featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 80px rgba(124, 58, 237, 0.45), var(--shadow-lg);
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-hero);
  padding: 5px 14px;
  border-radius: 999px;
  width: fit-content;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pricing-price-wrap {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-custom-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.pricing-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-style: italic;
}

.pricing-features {
  flex: 1;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  min-width: 16px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M6 10.586L3.707 8.293a1 1 0 00-1.414 1.414l3 3a1 1 0 001.414 0l6-6a1 1 0 00-1.414-1.414L6 10.586z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-card--featured .pricing-features li::before {
  background-color: var(--accent-hover);
}

/* Plan Integral description & addons */
.pricing-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.65;
}

.pricing-addons-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-addons {
  margin-bottom: 28px;
}

.pricing-addons li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.pricing-addons li:last-child { border-bottom: none; }

.addon-dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 6px;
}

.pricing-card > .btn {
  margin-top: auto;
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.how-it-works {
  background-color: var(--bg-primary);
  position: relative;
}

/* Mobile-first: single column steps */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px 40px;
  position: relative;
  z-index: 1;
}

.step-number-wrap {
  position: relative;
  margin-bottom: 24px;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}

.step-item.visible .step-number {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.how-cta {
  text-align: center;
  margin-top: 56px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.about-bg-accent {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  top: -80px;
  right: -80px;
  border-radius: 50%;
  pointer-events: none;
}

/* Mobile-first: single column */
.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-img-wrap {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 340px;
  margin: 0 auto;
  box-shadow: var(--shadow-accent);
}

.about-img-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.about-img-decoration {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--gradient-hero);
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(30px);
  pointer-events: none;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
}

.about-bio {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 12px 24px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  width: fit-content;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  text-decoration: none;
}

.about-social:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(124, 58, 237, 0.55);
  filter: brightness(1.08);
}

.about-social:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq {
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.faq::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-primary);
  clip-path: ellipse(60% 100% at 50% 0%);
}

.faq::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-primary);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.faq-inner {
  position: relative;
  z-index: 1;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.open {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-body);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition);
  min-height: 44px;
}

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

.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all var(--transition);
}

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

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

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 20px 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-hero);
  opacity: 0.5;
}

/* Mobile-first: single column */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-strong);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.footer-logo-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  display: block;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 300px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  transition: color var(--transition);
}

.footer-contact-item:hover {
  color: var(--accent);
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

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

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

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

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade {
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-fade.visible {
  opacity: 1;
}

/* Staggered reveals */
.stagger > .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.stagger > .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stagger > .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.stagger > .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.stagger > .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.stagger > .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-eyebrow-dot { animation: none; }
  .hero-scroll-hint { animation: none; }
  html { scroll-behavior: auto; }
}

/* ─── Hero Animations ─── */

/* --- Word-by-Word Reveal --- */
@media (prefers-reduced-motion: no-preference) {
  .hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: wordReveal 0.6s ease forwards;
    animation-delay: calc(var(--word-index) * 0.12s);
  }
}

/* When reduced motion is requested: show words immediately */
@media (prefers-reduced-motion: reduce) {
  .hero-word {
    display: inline-block;
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Animated Gradient Shimmer on Title ---
   Applied to each .hero-word so the gradient clips correctly
   within each inline-block span. The shimmer moves across
   all words together via the same keyframe + timing. */
@media (prefers-reduced-motion: no-preference) {
  .hero-title-gradient .hero-word {
    background: linear-gradient(
      90deg,
      var(--accent),
      #a855f7,
      #c084fc,
      var(--accent)
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation:
      wordReveal 0.6s ease forwards,
      shimmer 6s ease-in-out infinite;
    animation-delay:
      calc(var(--word-index) * 0.12s),
      calc(var(--word-index) * 0.12s + 0.6s);
  }
}

/* Light theme: slightly adjusted gradient to maintain contrast */
[data-theme="light"] .hero-title-gradient .hero-word {
  background: linear-gradient(
    90deg,
    var(--accent),
    #7c3aed,
    #a855f7,
    var(--accent)
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* Remove the static gradient from the parent span — words handle it */
.hero-title-gradient {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

/* --- Pulsating Glow on Eyebrow Badge --- */
@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow-dot {
    animation: dotPulse 2s ease-in-out infinite;
  }

  .hero-eyebrow {
    animation: badgeGlow 3s ease-in-out infinite;
  }
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(124, 58, 237, 0.1); }
  50%       { box-shadow: 0 0 20px rgba(124, 58, 237, 0.25); }
}

/* Light theme: softer glow on the badge */
[data-theme="light"] .hero-eyebrow {
  animation: badgeGlowLight 3s ease-in-out infinite;
}

@keyframes badgeGlowLight {
  0%, 100% { box-shadow: 0 0 8px rgba(124, 58, 237, 0.08); }
  50%       { box-shadow: 0 0 16px rgba(124, 58, 237, 0.18); }
}

/* --- Floating Particles --- */
.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__particle {
    position: absolute;
    bottom: -10px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.5);
    animation: particleFloat var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
  }

  [data-theme="light"] .hero__particle {
    background: rgba(124, 58, 237, 0.3);
  }
}

/* Hidden when reduced motion is requested */
@media (prefers-reduced-motion: reduce) {
  .hero__particle {
    display: none;
  }
  .hero-eyebrow-dot { animation: none; }
  .hero-eyebrow     { animation: none; }
}

@keyframes particleFloat {
  0%   { transform: translateY(0) translateX(0);            opacity: 0; }
  10%  { opacity: var(--opacity); }
  90%  { opacity: var(--opacity); }
  100% { transform: translateY(-100vh) translateX(var(--drift)); opacity: 0; }
}

/* ─── End Hero Animations ─── */

/* ============================================================
   RESPONSIVE — min-width 480px (Mobile landscape)
   ============================================================ */
@media (min-width: 480px) {
  .container {
    padding: 0 24px;
  }

  .hero-ctas {
    flex-direction: row;
    width: auto;
    max-width: none;
    margin: 0 auto;
  }

  .hero-ctas .btn {
    width: auto;
    justify-content: initial;
  }

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

  .pricing-promo {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .pricing-promo-emoji {
    font-size: 2rem;
  }
}

/* ============================================================
   RESPONSIVE — min-width 768px (Tablet portrait)
   ============================================================ */
@media (min-width: 768px) {
  :root {
    --section-pad: 80px;
  }

  .section-header {
    margin-bottom: 64px;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  /* Services: 2 columns */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    padding: 32px;
  }

  /* Pricing: 2 columns, no artificial max-width */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }

  .pricing-card {
    padding: 32px;
  }

  .pricing-card--featured {
    padding-top: 46px;
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 32px;
  }

  .pricing-promo {
    padding: 20px 28px;
  }

  /* About: side by side */
  .about-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .about-img-frame {
    max-width: 380px;
  }

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

  .footer-bottom {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .faq-question {
    padding: 20px 24px;
  }

  .faq-answer-inner {
    padding: 0 24px 20px;
  }
}

/* ============================================================
   RESPONSIVE — min-width 900px (Nav breakpoint)
   ============================================================ */
@media (min-width: 900px) {
  /* Nav: switch from hamburger to horizontal */
  .nav-menu {
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    gap: 4px;
    border-bottom: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: none;
    flex: 1;
  }

  .nav-menu a {
    font-size: 0.9rem;
    width: auto;
    padding: 8px 12px;
  }

  .menu-toggle {
    display: none;
  }

  /* Show desktop CTA in nav */
  .nav-actions .btn {
    display: inline-flex;
  }
}

/* ============================================================
   RESPONSIVE — min-width 1024px (Tablet landscape)
   ============================================================ */
@media (min-width: 1024px) {
  :root {
    --section-pad: 96px;
  }

  .nav-inner {
    gap: 24px;
  }

  .nav-menu {
    gap: 4px;
  }

  .nav-menu a {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  /* Services: 4 columns */
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Pricing: 4 columns + featured card scale */
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pricing-card--featured {
    transform: scale(1.03);
    padding-top: 46px;
  }

  .pricing-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
  }

  /* Steps: 4 columns + connector line */
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), var(--accent), var(--border-strong), transparent);
    z-index: 0;
    display: block;
  }

  .about-inner {
    gap: 72px;
  }

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

  .footer-brand {
    flex-direction: column;
  }

  .footer-tagline {
    max-width: 300px;
    flex: none;
  }

  .hero-blob-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
  }

  .hero-blob-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -50px;
  }

  .hero-blob-3 {
    width: 300px;
    height: 300px;
  }

  .hero-content {
    padding: 80px 24px;
  }

  .about-bg-accent {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
  }
}

/* ============================================================
   RESPONSIVE — min-width 1280px (Desktop)
   ============================================================ */
@media (min-width: 1280px) {
  .footer-brand {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }

  .footer-tagline {
    max-width: none;
    flex: 1;
  }
}
