/* ============================================================
   SOCIALFAME.RO — DESIGNER SYSTEM v2
   Theme: Deep dark with warm emerald accent
   Signature: Luminous accent lines + directional wipe hovers
   Typography: Satoshi (display) + Inter (body)
   ============================================================ */

/* ─── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  /* Surfaces — rich, layered blacks (not flat) */
  --bg-base: #08090c;
  --bg-raised: #0e1014;
  --bg-elevated: #141619;
  --bg-surface: #1a1c21;
  --bg-surface-hover: #21242b;
  --bg-contrast: #f6f6f4;

  /* Accent — warm emerald (single accent, used sparingly) */
  --accent: #3ee8a5;
  --accent-dim: #2bb882;
  --accent-subtle: rgba(62, 232, 165, 0.08);
  --accent-border: rgba(62, 232, 165, 0.18);
  --accent-glow: 0 0 24px rgba(62, 232, 165, 0.15), 0 0 80px rgba(62, 232, 165, 0.06);

  /* Text */
  --text-primary: #edeef0;
  --text-secondary: rgba(237, 238, 240, 0.55);
  --text-muted: rgba(237, 238, 240, 0.30);
  --text-inverse: #08090c;

  /* Borders */
  --border-hairline: 1px solid rgba(255, 255, 255, 0.05);
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
  --border-medium: 1px solid rgba(255, 255, 255, 0.12);
  --border-accent: 1px solid var(--accent-border);

  /* Semantic */
  --color-success: #3ee8a5;
  --color-success-bg: rgba(62, 232, 165, 0.10);
  --color-warning: #f5a623;
  --color-warning-bg: rgba(245, 166, 35, 0.10);
  --color-error: #ef6461;
  --color-error-bg: rgba(239, 100, 97, 0.10);
  --color-info: #5fa8d3;
  --color-info-bg: rgba(95, 168, 211, 0.10);

  /* Fluid Type — 1.25 ratio, restrained */
  --step--2: clamp(0.64rem, 0.61rem + 0.15vw, 0.72rem);
  --step--1: clamp(0.80rem, 0.75rem + 0.24vw, 0.90rem);
  --step-0:  clamp(0.94rem, 0.88rem + 0.30vw, 1.06rem);
  --step-1:  clamp(1.13rem, 1.04rem + 0.43vw, 1.33rem);
  --step-2:  clamp(1.41rem, 1.27rem + 0.70vw, 1.77rem);
  --step-3:  clamp(1.73rem, 1.48rem + 1.24vw, 2.44rem);
  --step-4:  clamp(2.07rem, 1.73rem + 1.70vw, 3.05rem);
  --step-5:  clamp(2.49rem, 2.03rem + 2.31vw, 3.82rem);

  /* Spacing */
  --space-3xs: clamp(0.25rem, 0.23rem + 0.11vw, 0.31rem);
  --space-2xs: clamp(0.50rem, 0.46rem + 0.22vw, 0.63rem);
  --space-xs:  clamp(0.75rem, 0.68rem + 0.33vw, 0.94rem);
  --space-s:   clamp(1.00rem, 0.91rem + 0.43vw, 1.25rem);
  --space-m:   clamp(1.50rem, 1.37rem + 0.65vw, 1.88rem);
  --space-l:   clamp(2.00rem, 1.83rem + 0.87vw, 2.50rem);
  --space-xl:  clamp(3.00rem, 2.74rem + 1.30vw, 3.75rem);
  --space-2xl: clamp(4.00rem, 3.65rem + 1.74vw, 5.00rem);
  --space-3xl: clamp(6.00rem, 5.48rem + 2.61vw, 7.50rem);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radii — intentionally varied */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 100px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.6);
}


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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-primary);
  text-wrap: balance;
  letter-spacing: -0.03em;
}

p {
  color: var(--text-secondary);
  text-wrap: pretty;
  max-width: 62ch;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

::selection {
  background: rgba(62, 232, 165, 0.25);
  color: #fff;
}


/* ─── UTILITIES ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-m);
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.text-left { text-align: left; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.container-narrow { max-width: 800px !important; }

.section-title {
  font-family: 'Satoshi', sans-serif;
  letter-spacing: -0.04em;
}

.step-4-title {
  font-size: var(--step-4);
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: var(--step-0);
  max-width: 500px;
  margin: 0 auto var(--space-l);
}

.hero-cta-center {
  display: flex;
  justify-content: center;
  gap: var(--space-s);
}

/* Accent text — single color, not gradient */
.gradient-text {
  color: var(--accent);
}

.mt-4 { margin-top: var(--space-s); }
.mt-6 { margin-top: var(--space-m); }
.mt-8 { margin-top: var(--space-l); }
.mt-12 { margin-top: var(--space-xl); }

/* Dashboard Components */
.quick-actions {
  display: flex;
  gap: var(--space-s);
  margin-bottom: var(--space-l);
  flex-wrap: wrap;
}

.card-header {
  padding: var(--space-m) var(--space-m);
  border-bottom: var(--border-subtle);
}

.card-header h2 {
  font-size: var(--step-1);
  font-weight: 700;
}

.recent-orders-card {
  padding: 0;
  overflow: hidden;
}

.platform-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: var(--space-xs);
}

.platform-select-btn {
  padding: var(--space-s) !important;
}

.platform-select-btn .platform-icon {
  font-size: 1.5rem !important;
  margin-bottom: var(--space-3xs) !important;
}

.platform-select-btn .platform-name {
  font-size: var(--step--2);
}

.price-summary-card {
  margin-bottom: var(--space-m);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-row.total-row {
  padding-top: var(--space-xs);
  border-top: var(--border-subtle);
  margin-top: var(--space-3xs);
}

.price-label { color: var(--text-secondary); font-size: var(--step--1); }
.total-label { font-weight: 700; font-size: var(--step-0); }
.total-value { font-size: var(--step-2); font-weight: 800; }

.platform-section {
  margin-bottom: var(--space-2xl);
}

.platform-section-header {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-m);
}

.platform-accent {
  font-size: var(--step-2);
}


/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.6em 1.4em;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--step--1);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: none;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

/* Primary — solid accent with dark text */
.btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 2px 16px rgba(62, 232, 165, 0.20);
}

.btn-primary:hover {
  background: #4df1b4;
  transform: translateY(-2px);
  box-shadow: var(--accent-glow);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 8px rgba(62, 232, 165, 0.15);
}

/* Secondary — outlined, ghost */
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: var(--border-medium);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* Outline — accent border */
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.btn-outline:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn-lg {
  font-size: var(--step-0);
  padding: 0.75em 2em;
}

.btn-sm {
  font-size: var(--step--2);
  padding: 0.45em 1.1em;
}

.btn-success {
  background: var(--color-success);
  color: var(--text-inverse);
}

/* Filter Pills — enhanced for admin dashboards */
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 0.75em 1.8em;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: var(--step--1);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: var(--border-subtle);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}

.filter-pill:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.filter-pill.active {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
  box-shadow: var(--accent-glow);
}

/* Form Controls — Oval & Spacious */
.form-group {
  margin-bottom: var(--space-m);
}

.form-label {
  display: block;
  font-size: var(--step--2);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2xs);
  margin-left: 0.8rem;
}

.form-input, .form-select {
  width: 100%;
  height: 3.2rem; /* Fixed height for perfect alignment */
  padding: 0 1.5rem;
  background: var(--bg-base);
  border: var(--border-hairline);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: var(--step--1);
  transition: all 0.3s var(--ease-out);
  display: flex;
  align-items: center;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-dim);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1rem;
  padding-right: 3rem;
  line-height: 3.2rem;
}


/* ─── HEADER ───────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-s) 0;
  transition: all 0.4s var(--ease-out);
}

.header.scrolled, 
body[class*="admin"] .header,
body[class*="dashboard"] .header {
  background: var(--bg-base);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: var(--space-xs) 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo — clean type lockup with accent dot */
.logo {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--step-1);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 2px;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-inverse);
  flex-shrink: 0;
}

.logo-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  margin-left: 1px;
  margin-bottom: 2px;
  vertical-align: baseline;
}

/* Navigation links — directional underline wipe on hover */
.nav-links {
  display: flex;
  gap: var(--space-2xs);
  align-items: center;
}

.nav-link {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4em 0.7em;
  border-radius: var(--radius-xs);
  transition: color 0.25s var(--ease-out);
  position: relative;
}

/* Signature: directional underline wipe */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.7em;
  right: 0.7em;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  transform: scaleX(1);
}


/* ─── MOBILE MENU ──────────────────────────────────────────── */
.mobile-menu-btn {
  display: none !important;
}

#mobile-menu {
  display: none;
}

#mobile-menu.open {
  display: flex !important;
}


/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

/* Single ambient glow — subtle, not distracting */
.hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(62, 232, 165, 0.06) 0%, transparent 65%);
  filter: blur(80px);
  z-index: 0;
  animation: ambientDrift 12s ease-in-out infinite alternate;
}

/* Signature: luminous accent line at bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-border) 30%, var(--accent) 50%, var(--accent-border) 70%, transparent 100%);
  opacity: 0.5;
}

@keyframes ambientDrift {
  0% { opacity: 0.5; transform: translate(0, 0) scale(1); }
  100% { opacity: 0.8; transform: translate(-30px, 20px) scale(1.08); }
}

/* Floating badges */
.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: rgba(14, 16, 20, 0.85);
  border: var(--border-hairline);
  border-radius: var(--radius-full);
  font-size: var(--step--2);
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(12px);
  z-index: 1;
  opacity: 0;
  animation: floatIn 0.8s var(--ease-out) forwards;
  box-shadow: var(--shadow-md);
}

.hero-float:nth-child(1) { top: 18%; right: 8%; animation-delay: 0.9s; }
.hero-float:nth-child(2) { top: 38%; right: 3%; animation-delay: 1.2s; }
.hero-float:nth-child(3) { top: 55%; right: 11%; animation-delay: 1.5s; }
.hero-float:nth-child(4) { top: 72%; right: 5%; animation-delay: 1.8s; }

/* After float-in, add gentle bob */
.hero-float:nth-child(1) { animation: floatIn 0.8s var(--ease-out) forwards, floatBob 7s ease-in-out 1.7s infinite; }
.hero-float:nth-child(2) { animation: floatIn 0.8s var(--ease-out) forwards, floatBob 8s ease-in-out 2.0s infinite; }
.hero-float:nth-child(3) { animation: floatIn 0.8s var(--ease-out) forwards, floatBob 6s ease-in-out 2.3s infinite; }
.hero-float:nth-child(4) { animation: floatIn 0.8s var(--ease-out) forwards, floatBob 9s ease-in-out 2.6s infinite; }

@keyframes floatIn {
  from { opacity: 0; transform: translateX(30px) scale(0.92); }
  to { opacity: 0.75; transform: translateX(0) scale(1); }
}

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

/* Hero Influencers Images */
.hero-influencers-container {
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  z-index: 1;
}

.influencer-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
  transform: scale(0.9) translateY(40px) rotate(-5deg);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.influencer-img.active {
  opacity: 1;
  transform: scale(1) translateY(0) rotate(0deg);
  z-index: 2;
}

.influencer-img.exit {
  opacity: 0;
  transform: scale(1.05) translateY(-40px) rotate(5deg);
  z-index: 1;
}

@media (max-width: 1024px) {
  .hero-influencers-container {
    left: 50%;
    top: auto;
    bottom: 30px;
    transform: translateX(-50%);
    opacity: 1;
    pointer-events: none;
    width: 280px;
    height: 280px;
    z-index: 10;
  }
}

/* Hero content — left-aligned, not centered */
.hero-content {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

/* Section label — pill tag */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  font-size: var(--step--2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-m);
}

.hero h1 {
  font-size: var(--step-5);
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: var(--space-m);
  letter-spacing: -0.04em;
}

.hero .subtitle {
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-l);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: var(--space-s);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

/* Ticker row */
.hero-ticker-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-m);
  border-bottom: var(--border-hairline);
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hero-ticker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-m);
  animation: ticker-scroll 30s linear infinite;
}

.hero-ticker:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - (var(--space-m) / 2))); }
}

.hero-stat {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2xs);
}

.hero-stat .number {
  font-family: 'Satoshi', sans-serif;
  font-size: var(--step-1);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-stat .label {
  font-size: var(--step--1);
  color: var(--text-muted);
  font-weight: 500;
}

.hero-ticker-sep {
  color: var(--accent);
  opacity: 0.5;
  font-size: var(--step--1);
}

/* ─── SECTION HEADERS ──────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  font-size: var(--step-3);
  font-weight: 800;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.035em;
}

.section-header p {
  font-size: var(--step-0);
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: 520px;
}


/* ─── PLATFORM CARDS ───────────────────────────────────────── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-s);
}

.platform-card {
  background: var(--bg-elevated);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-l) var(--space-s);
  text-align: center;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Accent line at top on hover — signature element */
.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--platform-color, var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}

.platform-card:hover::before {
  transform: scaleX(1);
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.10);
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
}

.platform-icon {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
  transition: transform 0.3s var(--ease-spring);
  position: relative;
  z-index: 1;
}

.platform-card:hover .platform-icon {
  transform: scale(1.1);
}

.platform-name {
  font-weight: 700;
  font-size: var(--step--1);
  margin-bottom: var(--space-3xs);
  position: relative;
  z-index: 1;
}

.service-count {
  font-size: var(--step--2);
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}


/* ─── SERVICE CARDS ────────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-m);
}

.service-card {
  background: var(--bg-elevated);
  border: var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-m);
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  transition: all 0.3s var(--ease-out);
  position: relative;
}

/* Accent line at left — signature */
.service-card::before {
  content: '';
  position: absolute;
  top: var(--space-m);
  bottom: var(--space-m);
  left: 0;
  width: 2px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

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

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.platform-badge {
  font-size: var(--step--2);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.badge {
  padding: 0.2em 0.6em;
  border-radius: var(--radius-full);
  font-size: var(--step--2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

.badge-success { background: var(--color-success-bg); color: var(--color-success); }
.badge-warning { background: var(--color-warning-bg); color: var(--color-warning); }
.badge-error { background: var(--color-error-bg); color: var(--color-error); }
.badge-info { background: var(--color-info-bg); color: var(--color-info); }
.badge-neutral { background: rgba(255,255,255,0.05); color: var(--text-secondary); }

.service-card h3 {
  font-size: var(--step-0);
  font-weight: 600;
  min-height: 2.3em;
  line-height: 1.3;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  font-size: var(--step--2);
  color: var(--text-muted);
  border-top: var(--border-hairline);
  padding-top: var(--space-xs);
}

.service-meta span {
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.service-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: var(--space-xs);
}

.service-price {
  font-family: 'Satoshi', sans-serif;
  font-size: var(--step-1);
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}

.service-price small {
  font-size: var(--step--2);
  color: var(--text-muted);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}


/* ─── STEPS / HOW IT WORKS ─────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-l);
  position: relative;
}

/* Connecting line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
  z-index: 0;
}

.step-card {
  background: var(--bg-elevated);
  border: var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-l);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s var(--ease-out);
}

.step-card:hover {
  border-color: rgba(255,255,255,0.08);
  background: var(--bg-surface);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Satoshi', sans-serif;
  font-size: var(--step-0);
  font-weight: 800;
  color: var(--text-inverse);
  margin: 0 auto var(--space-m);
  box-shadow: 0 0 20px rgba(62, 232, 165, 0.2);
}

.step-card h3 {
  font-size: var(--step-0);
  margin-bottom: var(--space-xs);
}

.step-card p {
  font-size: var(--step--1);
  color: var(--text-secondary);
  margin: 0 auto;
}


/* ─── FEATURES / WHY US ────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-m);
}

.feature-card {
  background: var(--bg-elevated);
  border: var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-l);
  transition: all 0.3s var(--ease-out);
}

.feature-card:hover {
  border-color: rgba(255,255,255,0.08);
  background: var(--bg-surface);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: var(--space-m);
  transition: all 0.3s var(--ease-out);
}

.feature-card:hover .feature-icon {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(62, 232, 165, 0.2);
}

.feature-card h3 {
  font-size: var(--step-0);
  margin-bottom: var(--space-xs);
}

.feature-card p {
  font-size: var(--step--1);
  color: var(--text-secondary);
}


/* ─── FAQ ──────────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.faq-item {
  background: var(--bg-elevated);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

.faq-item:hover {
  border-color: rgba(255,255,255,0.08);
}

.faq-item.active {
  border-color: var(--accent-border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-m);
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: var(--step-0);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  text-align: left;
  gap: var(--space-s);
  transition: color 0.25s var(--ease-out);
}

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

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  transition: all 0.3s var(--ease-out);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
  background: var(--accent-subtle);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-answer-inner {
  padding: 0 var(--space-m) var(--space-m);
  font-size: var(--step--1);
  color: var(--text-secondary);
  line-height: 1.75;
}


/* ─── SEO CONTENT ──────────────────────────────────────────── */
.seo-content {
  background: var(--bg-raised);
  border-top: var(--border-hairline);
}

.seo-content h2 {
  font-size: var(--step-2);
  margin-bottom: var(--space-m);
}

.seo-content h3 {
  font-size: var(--step-1);
  margin: var(--space-l) 0 var(--space-xs);
}

.seo-content p {
  font-size: var(--step--1);
  color: var(--text-secondary);
  margin-bottom: var(--space-s);
  max-width: 72ch;
}


/* ─── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-raised);
  border-top: var(--border-hairline);
  padding: var(--space-2xl) 0 var(--space-l);
}

/* Signature: accent line at top of footer */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border) 25%, var(--accent) 50%, var(--accent-border) 75%, transparent);
  opacity: 0.4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-s);
}

.footer-brand p {
  font-size: var(--step--1);
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.7;
}

.footer-column h4 {
  font-size: var(--step--2);
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: var(--space-m);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-column a {
  font-size: var(--step--1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s var(--ease-out);
}

.footer-column a:hover {
  color: var(--text-primary);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-l);
  border-top: var(--border-hairline);
}

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

.footer-social {
  display: flex;
  gap: var(--space-s);
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: var(--border-hairline);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all 0.3s var(--ease-out);
}

.footer-social a:hover {
  background: var(--accent-subtle);
  color: var(--accent);
  border-color: var(--accent-border);
  transform: translateY(-2px);
}


/* ─── ALERTS ───────────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-s) var(--space-m);
  border-radius: var(--radius-md);
  font-size: var(--step--1);
  font-weight: 500;
  margin-bottom: var(--space-m);
  border: 1px solid transparent;
  animation: alertSlideIn 0.4s var(--ease-out);
}

@keyframes alertSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.alert-success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border-color: rgba(62, 232, 165, 0.15);
}

.alert-error {
  background: var(--color-error-bg);
  color: var(--color-error);
  border-color: rgba(239, 100, 97, 0.15);
}

.alert-warning {
  background: var(--color-warning-bg);
  color: var(--color-warning);
  border-color: rgba(245, 166, 35, 0.15);
}


/* ─── AUTH PAGES ───────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-m);
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(62, 232, 165, 0.05) 0%, transparent 65%);
  filter: blur(60px);
  z-index: 0;
}

.auth-card {
  background: var(--bg-elevated);
  border: var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-xl);
}

.auth-card .logo {
  justify-content: center;
  margin-bottom: var(--space-l);
}

.auth-card h1 {
  text-align: center;
  font-size: var(--step-2);
  margin-bottom: var(--space-2xs);
}

.auth-subtitle {
  text-align: center;
  font-size: var(--step--1);
  color: var(--text-secondary) !important;
  margin-bottom: var(--space-l);
}

.auth-footer {
  text-align: center;
  margin-top: var(--space-l);
  padding-top: var(--space-m);
  border-top: var(--border-hairline);
}

.auth-footer a {
  color: var(--accent);
  font-weight: 600;
}

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

.auth-footer p {
  color: var(--text-muted);
  font-size: var(--step--1);
  margin: 0 auto;
}


/* ─── FORMS ────────────────────────────────────────────────── */
.form-group {
  margin-bottom: var(--space-m);
}

.form-label {
  display: block;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2xs);
}

.form-input,
.form-select {
  width: 100%;
  background: var(--bg-base);
  border: var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--step--1);
  font-family: 'Inter', sans-serif;
  transition: all 0.25s var(--ease-out);
  outline: none;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(62, 232, 165, 0.10);
  background: var(--bg-elevated);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-helper {
  font-size: var(--step--2);
  color: var(--text-muted);
  margin-top: var(--space-3xs);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(237,238,240,0.3)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
  cursor: pointer;
}

.form-select option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}


/* ─── DASHBOARD LAYOUT ─────────────────────────────────────── */
.dashboard-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  padding-top: 72px;
  background: var(--bg-base);
}

.dashboard-sidebar {
  background: var(--bg-raised);
  border-right: var(--border-hairline);
  padding: var(--space-l) var(--space-s);
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.sidebar-section-title {
  font-size: var(--step--2);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-xs) var(--space-xs) var(--space-2xs);
  margin-top: var(--space-s);
}

.sidebar-section-title:first-child {
  margin-top: 0;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6em 0.8em;
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s var(--ease-out);
}

.sidebar-nav a i {
  width: 18px;
  text-align: center;
  font-size: 0.85rem;
}

.sidebar-nav a:hover {
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
}

.sidebar-nav a.active {
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.dashboard-main {
  padding: var(--space-l) var(--space-xl);
  max-width: 1600px; /* Increased from 1060px to accommodate wide tables */
  width: 100%;
}

.dashboard-header {
  margin-bottom: var(--space-l);
}

.dashboard-header h1 {
  font-size: var(--step-3);
  font-weight: 800;
  margin-bottom: var(--space-3xs);
}

.dashboard-header p {
  font-size: var(--step--1);
  color: var(--text-secondary);
}


/* ─── ADMIN STATS ──────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-m);
  margin-bottom: var(--space-xl);
}

.stat-card {
  background: var(--bg-elevated);
  border: var(--border-hairline);
  padding: var(--space-l);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  transition: all 0.3s var(--ease-out);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-border);
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
}

.stat-label {
  font-size: var(--step--2);
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-value {
  font-family: 'Satoshi', sans-serif;
  font-size: var(--step-2);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.stat-value small {
  font-size: 0.6em;
  font-weight: 500;
  color: var(--text-muted);
}


/* ─── CARDS ────────────────────────────────────────────────── */
.card {
  background: var(--bg-elevated);
  border: var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-l);
}

.card-glass {
  background: rgba(14, 16, 20, 0.6);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-m);
  backdrop-filter: blur(16px);
}


/* ─── TABLES ───────────────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  scrollbar-width: thin;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
}

.data-table thead th {
  padding: var(--space-xs) var(--space-s);
  text-align: left;
  font-weight: 600;
  font-size: var(--step--2);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: var(--border-subtle);
  background: var(--bg-raised);
  white-space: nowrap;
}

.data-table tbody td {
  padding: var(--space-s) var(--space-s);
  border-bottom: var(--border-hairline);
  color: var(--text-secondary);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background 0.2s var(--ease-out);
}

.data-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}


/* ─── PAGINATION ───────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xs);
  padding: var(--space-m);
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 0.5em;
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  border: var(--border-hairline);
  transition: all 0.25s var(--ease-out);
}

.pagination a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
}

.pagination a.active {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: transparent;
  box-shadow: 0 0 12px rgba(62, 232, 165, 0.2);
}


/* ─── CTA SECTION ──────────────────────────────────────────── */
#cta-final {
  background: var(--bg-raised);
  position: relative;
  overflow: hidden;
}

#cta-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(62, 232, 165, 0.04) 0%, transparent 65%);
  filter: blur(60px);
}

/* Signature: luminous line at top */
#cta-final::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border) 30%, rgba(62, 232, 165, 0.3) 50%, var(--accent-border) 70%, transparent);
}


/* ─── SEARCH BAR ───────────────────────────────────────────── */
#search-bar {
  position: relative;
  margin-bottom: var(--space-l);
}

.search-input {
  width: 100%;
  padding: 0.8em 1.2em 0.8em 2.8em;
  background: var(--bg-elevated);
  border: var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--step-0);
  font-family: 'Inter', sans-serif;
  transition: all 0.25s var(--ease-out);
  outline: none;
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(62, 232, 165, 0.10);
}

.search-icon {
  position: absolute;
  left: 1em;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

#search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: var(--border-medium);
  border-radius: var(--radius-md);
  margin-top: var(--space-2xs);
  max-height: 380px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  box-shadow: var(--shadow-xl);
}

#search-results-dropdown.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  padding: var(--space-s) var(--space-m);
  transition: background 0.2s var(--ease-out);
  cursor: pointer;
  border-bottom: var(--border-hairline);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: rgba(255,255,255,0.03);
}

.search-result-item .result-info .name {
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--text-primary);
}

.search-result-item .result-info .category {
  font-size: var(--step--2);
  color: var(--text-muted);
}

.search-result-item .price {
  margin-left: auto;
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--accent);
  white-space: nowrap;
}


/* ─── ADMIN TABLES ─────────────────────────────────────────── */
/* ─── TOGGLE SWITCH (Slide Pill) ───────────────────────────── */
.toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.08);
  transition: .4s var(--ease-out);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-primary);
  transition: .4s var(--ease-out);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle input:checked + .toggle-slider {
  background-color: var(--accent);
  border-color: var(--accent);
}

.toggle input:focus + .toggle-slider {
  box-shadow: 0 0 1px var(--accent);
}

.toggle input:checked + .toggle-slider:before {
  transform: translateX(20px);
  background-color: var(--text-inverse);
}

.markup-input {
  width: 76px;
  padding: 0.35em 0.5em;
  background: var(--bg-base);
  border: var(--border-hairline);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-size: var(--step--1);
  text-align: center;
}


/* ─── STATIC PAGES ─────────────────────────────────────────── */
.static-page {
  padding-top: calc(72px + var(--space-xl));
  padding-bottom: var(--space-2xl);
}

.static-page h1 {
  font-size: var(--step-4);
  margin-bottom: var(--space-m);
}

.static-page h2 {
  font-size: var(--step-2);
  margin: var(--space-xl) 0 var(--space-s);
}

.static-page h3 {
  font-size: var(--step-1);
  margin: var(--space-l) 0 var(--space-xs);
}

.static-page p {
  margin-bottom: var(--space-s);
  line-height: 1.8;
  max-width: 72ch;
}

.static-page ul,
.static-page ol {
  margin: var(--space-s) 0 var(--space-s) var(--space-m);
}

.static-page li {
  margin-bottom: var(--space-2xs);
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  padding-left: var(--space-s);
}

.static-page li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}


/* ─── BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb {
  font-size: var(--step--2);
  color: var(--text-muted);
  margin-bottom: var(--space-m);
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s var(--ease-out);
}

.breadcrumb a:hover {
  color: var(--text-primary);
}

.breadcrumb .sep {
  opacity: 0.3;
}


/* ─── CONTACT PAGE ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info-card {
  background: var(--bg-elevated);
  border: var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-l);
}

.contact-info-card h3 {
  margin-bottom: var(--space-m);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-s);
  margin-bottom: var(--space-m);
}

.contact-info-item i {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: var(--radius-sm);
  color: var(--accent);
  flex-shrink: 0;
}


/* ─── SCROLL ANIMATIONS ───────────────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease-out);
}

/* Keyframe for dynamically injected content (not caught by IntersectionObserver) */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Stagger children */
.stagger-children.visible > *:nth-child(1) { transition-delay: 50ms; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 100ms; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 150ms; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 200ms; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 250ms; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 300ms; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 350ms; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 400ms; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 450ms; }
.stagger-children.visible > *:nth-child(10) { transition-delay: 500ms; }

/* Legacy animation classes */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(16px);
}

.stagger.visible > * {
  animation: revealUp 0.5s var(--ease-out) forwards;
}

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

.stagger.visible > *:nth-child(1) { animation-delay: 80ms; }
.stagger.visible > *:nth-child(2) { animation-delay: 160ms; }
.stagger.visible > *:nth-child(3) { animation-delay: 240ms; }
.stagger.visible > *:nth-child(4) { animation-delay: 320ms; }
.stagger.visible > *:nth-child(5) { animation-delay: 400ms; }
.stagger.visible > *:nth-child(6) { animation-delay: 480ms; }

.word-reveal { overflow: hidden; display: block; }
.word-reveal span { display: inline-block; transform: translateY(110%); }
.word-reveal.visible span { animation: wordUp 0.7s var(--ease-out) forwards; }

@keyframes wordUp {
  to { transform: translateY(0); }
}


/* ─── SECTION RHYTHM — Alternate dark / contrasty sections ── */
/* Featured services and Why-Us get a slightly raised bg */
#featured-services,
#why-us {
  background: var(--bg-raised);
}

/* CTA section */
#cta-final {
  background: var(--bg-raised);
}

/* How it works — stays on base bg for contrast */
#how-it-works {
  background: var(--bg-base);
}


/* ─── RESPONSIVE ───────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex !important; }

  .hero { 
    text-align: center; 
    padding-top: 90px; 
    align-items: flex-start;
    padding-bottom: 350px; 
  }
  .hero-content { margin: 0 auto; }
  .hero .subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  
  .hero-float { 
    display: flex !important; 
    transform: scale(0.8); 
    padding: 0.4rem 0.6rem; 
    z-index: 5;
  }
  .hero-float:nth-child(1) { top: auto; bottom: 260px; left: 2%; right: auto; animation-delay: 0.9s; }
  .hero-float:nth-child(2) { top: auto; bottom: 180px; right: 2%; left: auto; animation-delay: 1.2s; }
  .hero-float:nth-child(3) { top: auto; bottom: 100px; left: 5%; right: auto; animation-delay: 1.5s; }
  .hero-float:nth-child(4) { top: auto; bottom: 40px; right: 5%; left: auto; animation-delay: 1.8s; }

  .steps-grid { grid-template-columns: 1fr; gap: var(--space-m); }
  .steps-grid::before { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-l); }
  .contact-grid { grid-template-columns: 1fr; }

  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar {
    position: fixed;
    left: -300px;
    top: 72px;
    width: 270px;
    height: calc(100vh - 72px);
    z-index: 500;
    transition: left 0.3s var(--ease-out);
  }
  .dashboard-sidebar.open { left: 0; box-shadow: var(--shadow-xl); }
  .dashboard-main { padding: var(--space-l) var(--space-m); }
}

/* Mobile */
@media (max-width: 768px) {

  .hero h1 { font-size: var(--step-4); }
  .section { padding: var(--space-2xl) 0; }

  .platform-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .service-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-l); }
  .footer-bottom { flex-direction: column; gap: var(--space-s); text-align: center; }

  .auth-card { padding: var(--space-l); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .btn-lg { font-size: var(--step--1); padding: 0.7em 1.6em; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 320px; }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero h1 { font-size: var(--step-3); }
  .hero-stat .number { font-size: var(--step-0); }
  .hero-ticker-wrap { margin-bottom: var(--space-s); }
  .platform-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-xs); }
  .container { padding: 0 var(--space-s); }
}


/* ─── AI RECOMMENDATION SECTION ───────────────────────────── */
.ai-recom-section {
  background: var(--bg-raised);
  border-top: 1px solid rgba(62, 232, 165, 0.08);
  border-bottom: 1px solid rgba(62, 232, 165, 0.08);
  position: relative;
  overflow: hidden;
}

/* Subtle ambient glow behind the card */
.ai-recom-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(62, 232, 165, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ai-form-card {
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(62, 232, 165, 0.03);
}

/* Form Grid — 2×2 on desktop, 1 col on mobile */
.ai-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-m);
}

/* Individual field */
.ai-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.ai-field-label {
  font-size: var(--step--2);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-left: 2px;
}

.ai-field-label i {
  color: var(--accent);
  width: 1em;
  margin-right: 0.2em;
}

/* Shared input/select base */
.ai-field-input,
.ai-field-select {
  width: 100%;
  height: 3.2rem;
  padding: 0 1.2rem;
  background: var(--bg-base);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: var(--step-0);
  font-weight: 700;
  transition: all 0.3s var(--ease-out);
  outline: none;
}

.ai-field-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.ai-field-input:hover,
.ai-field-select:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-elevated);
}

.ai-field-input:focus,
.ai-field-select:focus {
  border-color: var(--accent-dim);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px var(--accent-subtle), 0 0 20px rgba(62, 232, 165, 0.06);
}

/* Custom Select UI */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 3.2rem;
  padding: 0 1.2rem;
  background: var(--bg-base);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: var(--step-0);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.custom-select-trigger:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-elevated);
}

.custom-select-trigger i.fa-chevron-down {
  color: var(--accent);
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

.custom-select.open .custom-select-trigger {
  border-color: var(--accent-dim);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px var(--accent-subtle), 0 0 20px rgba(62, 232, 165, 0.06);
}

.custom-select.open .custom-select-trigger i.fa-chevron-down {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(0,0,0,0.5);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s var(--ease-out);
  max-height: 250px;
  overflow-y: auto;
}

.custom-select.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: background 0.2s;
  display: flex;
  align-items: center;
}

.custom-option:hover {
  background: rgba(255, 255, 255, 0.05);
}

.custom-option.active {
  background: var(--accent-subtle);
  color: var(--accent);
}

.custom-option i {
  font-size: 1.1em;
}

/* Remove number input spinners */
.ai-field-input[type="number"]::-webkit-inner-spin-button,
.ai-field-input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.ai-field-input[type="number"] {
  -moz-appearance: textfield;
}

/* Submit area */
.ai-form-submit {
  margin-top: var(--space-l);
  text-align: center;
}

.ai-submit-btn {
  padding: 0.85em 2.5em;
  font-size: var(--step-0);
  min-width: 320px;
}

.ai-submit-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.ai-submit-hint {
  margin-top: var(--space-xs);
  font-size: var(--step--2);
  color: var(--text-muted);
  font-weight: 500;
}

.ai-submit-hint i {
  color: var(--accent);
  margin-right: 0.3em;
}

/* Results area */
.ai-results-area {
  margin-top: var(--space-l);
  padding-top: var(--space-l);
  border-top: var(--border-subtle);
}

/* Loading area */
.ai-loading-area {
  margin-top: var(--space-l);
  padding-top: var(--space-l);
  border-top: var(--border-subtle);
  flex-direction: column;
  align-items: center;
  gap: var(--space-s);
}

.ai-loading-area p {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--step--1);
}

/* Spinner ring */
.ai-loading-spinner {
  width: 48px;
  height: 48px;
  position: relative;
}

.ai-spinner-ring {
  width: 100%;
  height: 100%;
  border: 3px solid rgba(62, 232, 165, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: aiSpin 0.8s linear infinite;
}

@keyframes aiSpin {
  to { transform: rotate(360deg); }
}

/* Alert styles for results */
.ai-alert {
  padding: var(--space-s) var(--space-m);
  border-radius: var(--radius-md);
  font-size: var(--step--1);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.ai-alert-error {
  background: var(--color-warning-bg);
  color: var(--color-warning);
  border: 1px solid rgba(245, 166, 35, 0.25);
}

/* Mobile responsive */
@media (max-width: 640px) {
  .ai-form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-s);
  }
  
  .ai-form-card {
    padding: var(--space-m);
  }
  
  .ai-submit-btn {
    width: 100%;
    min-width: unset;
  }
}


/* ─── REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .animate-in, .reveal { opacity: 1; transform: none; }
  .hero-float { animation: none !important; opacity: 0.7; }
}
