/* ─── SEO Gurus — Premium Agency Website ───
   Design: 2026, light theme, Search Gurus brand
   Font: Inter (Google Fonts)
   Mobile-first responsive
   ─────────────────────────────────────────────── */

/* ─── Custom Properties ─── */
:root {
  /* Brand */
  --navy-900: #0a1628;
  --navy-800: #0f1f3a;
  --navy-700: #002951;
  --navy-600: #1a3d6e;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --cta-red: #ee3437;
  --cta-red-hover: #d62d2f;
  --emerald-500: #10b981;
  --emerald-600: #059669;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --body-bg: #f1f5f9;
  --surface: var(--white);
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-400);
  --border: var(--gray-200);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.05);
  --shadow-md: 0 4px 6px rgba(10, 22, 40, 0.07);
  --shadow-lg: 0 10px 25px rgba(10, 22, 40, 0.1);
  --shadow-xl: 0 20px 40px rgba(10, 22, 40, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--body-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}
@media (max-width: 767px) {
  body { padding-bottom: 48px; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
@media (min-width: 768px) {
  .container { padding: 0 var(--space-xl); }
}

.container-narrow {
  max-width: 800px;
}

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

h1 { font-size: clamp(2rem, 5vw, var(--text-6xl)); }
h2 { font-size: clamp(1.5rem, 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(1.25rem, 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-lg); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-500);
  margin-bottom: var(--space-sm);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  font-size: var(--text-lg);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-align: center;
}

.btn-lg { padding: 0.9rem 2rem; font-size: var(--text-base); }
.btn-sm { padding: 0.5rem 1rem; font-size: var(--text-xs); }

.btn-primary {
  background: var(--cta-red);
  color: var(--white);
  border-color: var(--cta-red);
}
.btn-primary:hover {
  background: var(--cta-red-hover);
  border-color: var(--cta-red-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--navy-700);
}
.btn-secondary:hover {
  background: var(--navy-700);
  color: var(--white);
}

.btn-accent {
  background: var(--blue-500);
  color: var(--white);
  border-color: var(--blue-500);
}
.btn-accent:hover {
  background: var(--blue-400);
  border-color: var(--blue-400);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy-700);
}

.btn-disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ─── Section ─── */
.section {
  padding: var(--space-4xl) 0;
}
@media (max-width: 767px) {
  .section { padding: var(--space-2xl) 0; }
}

.section-alt {
  background: var(--white);
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), inset 0 -1px 0 rgba(0,0,0,0.02);
}

/* ─── Navigation ─── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: all var(--transition-base);
}

#navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--white);
  transition: color var(--transition-base);
}
#navbar.scrolled .nav-logo {
  color: var(--navy-900);
}
.nav-logo span {
  color: var(--cta-red);
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-links a:not(.btn) {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-links a:not(.btn):hover {
  color: var(--white);
}
#navbar.scrolled .nav-links a:not(.btn) {
  color: var(--text-secondary);
}
#navbar.scrolled .nav-links a:not(.btn):hover {
  color: var(--navy-700);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cta-red);
  transition: width var(--transition-base);
  border-radius: 1px;
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
  width: 100%;
}

.nav-links a:not(.btn).active {
  color: var(--white);
}
#navbar.scrolled .nav-links a:not(.btn).active {
  color: var(--navy-700);
}

.nav-cta {
  padding: 0.5rem 1.2rem;
  font-size: var(--text-xs);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}
@media (min-width: 768px) {
  .hamburger { display: none; }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
#navbar.scrolled .hamburger span {
  background: var(--navy-900);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
#navbar.scrolled .hamburger.active span,
.hamburger.active span {
  background: var(--navy-900);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  gap: var(--space-md);
  box-shadow: var(--shadow-xl);
  transition: right 0.3s ease;
}

.mobile-overlay.active {
  right: 0;
}

.mobile-overlay a:not(.btn) {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-primary);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, #001a3d 100%);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(238,52,55,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(16,185,129,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.03em;
}

.hero h1 {
  font-weight: 900;
  color: var(--white);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--cta-red), #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, var(--text-xl));
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
}
.hero-trust .stars { color: #fbbf24; letter-spacing: 2px; }

/* ─── Hero alternate (subpages) ─── */
.hero-sub {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  overflow: hidden;
}
.hero-sub h1 {
  color: var(--white);
  font-weight: 800;
}
.hero-sub p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-lg);
  max-width: 600px;
  margin-top: var(--space-md);
}

/* ─── Grids ─── */
.grid-2 {
  display: grid;
  gap: var(--space-xl);
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.grid-3 {
  display: grid;
  gap: var(--space-xl);
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-4 {
  display: grid;
  gap: var(--space-xl);
}
@media (min-width: 768px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Cards ─── */
.card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  background: rgba(37,99,235,0.1);
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: var(--text-xl);
}

.card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ─── Service Cards ─── */
.service-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue-500);
  transition: all var(--transition-base);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.service-card:nth-child(2) { border-top-color: var(--cta-red); }
.service-card:nth-child(3) { border-top-color: var(--emerald-500); }
.service-card:nth-child(4) { border-top-color: #f59e0b; }
.service-card:nth-child(5) { border-top-color: #8b5cf6; }

.service-card h3 {
  margin-bottom: var(--space-sm);
}
.service-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}
.service-card .service-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--blue-500);
  background: rgba(37,99,235,0.08);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

/* ─── Portfolio Card ─── */
.portfolio-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}
.portfolio-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.portfolio-card-body {
  padding: var(--space-xl);
}
.portfolio-card-body h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}
.portfolio-card-body p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}
.portfolio-card-body .portfolio-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--emerald-600);
  background: rgba(16,185,129,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-top: var(--space-sm);
}

/* ─── Stats ─── */
.stats-grid {
  display: grid;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-card {
  text-align: center;
  padding: var(--space-xl);
}

.stat-number {
  font-size: clamp(2rem, 4vw, var(--text-5xl));
  font-weight: 900;
  color: var(--navy-700);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

/* ─── Testimonials ─── */
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  font-weight: 900;
  color: var(--blue-500);
  opacity: 0.15;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  line-height: 1.7;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: var(--text-sm);
}

/* ─── Timeline (How It Works) ─── */
.timeline {
  position: relative;
  padding-left: var(--space-2xl);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-500), var(--cta-red));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-2xl);
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-item::before {
  content: attr(data-step);
  position: absolute;
  left: calc(-1 * var(--space-2xl) - 1px);
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--blue-500);
}
.timeline-item:nth-child(2)::before { border-color: var(--cta-red); color: var(--cta-red); }
.timeline-item:nth-child(3)::before { border-color: var(--emerald-500); color: var(--emerald-500); }

.timeline-item h3 {
  margin-bottom: var(--space-xs);
  font-size: var(--text-lg);
}
.timeline-item p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

/* ─── FAQ ─── */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}
.faq-question:hover {
  color: var(--blue-500);
}
.faq-question::after {
  content: '+';
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--text-muted);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}
.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: var(--space-lg);
}
.faq-answer p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
}

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

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-primary);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}
.form-control:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-control:focus:invalid {
  border-color: var(--cta-red);
  box-shadow: 0 0 0 3px rgba(238,52,55,0.12);
}

.was-validated .form-control:invalid {
  border-color: var(--cta-red);
  box-shadow: 0 0 0 3px rgba(238,52,55,0.12);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%2394a3b8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ─── Squeeze / CTA Section ─── */
.squeeze {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  text-align: center;
}

.squeeze h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.squeeze p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.squeeze-form {
  max-width: 500px;
  margin: 0 auto;
}

.squeeze-form .form-control {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}
.squeeze-form .form-control::placeholder {
  color: rgba(255,255,255,0.4);
}
.squeeze-form .form-control:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

.squeeze-guarantees {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}
.squeeze-guarantees span { display: flex; align-items: center; gap: 0.35rem; }

/* ─── Alert / Banner ─── */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-xl);
}

.alert-error {
  background: rgba(238,52,55,0.08);
  color: var(--cta-red);
  border: 1px solid rgba(238,52,55,0.2);
}

.alert-success {
  background: rgba(16,185,129,0.08);
  color: var(--emerald-600);
  border: 1px solid rgba(16,185,129,0.2);
}

/* ─── Success Message ─── */
.success-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--body-bg);
  padding: var(--space-4xl) var(--space-lg);
}

.success-message {
  text-align: center;
  max-width: 520px;
}
.success-message .icon {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
}
.success-message h2 {
  margin-bottom: var(--space-md);
  color: var(--navy-700);
}
.success-message p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

/* ─── Footer ─── */
footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  gap: var(--space-2xl);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer-logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.footer-logo span { color: var(--cta-red); }

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  transition: all var(--transition-fast);
}
.footer-social a:hover {
  background: var(--cta-red);
  color: var(--white);
}

.footer-links h4 {
  color: var(--white);
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-links a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--white); }

.footer-contact h4 {
  color: var(--white);
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-contact p {
  font-size: var(--text-sm);
  margin-bottom: 0.25rem;
}
.footer-contact a { color: var(--blue-400); }
.footer-contact a:hover { color: var(--blue-300); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: var(--space-3xl);
  padding: var(--space-lg) 0;
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.footer-bottom a { color: var(--blue-400); }
.footer-bottom a:hover { color: var(--blue-300); }

/* ─── Mobile Sticky Bar ─── */
.sticky-mobile-bar {
  display: none;
}
@media (max-width: 767px) {
  .sticky-mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  }
  .sticky-mobile-bar a {
    flex: 1;
    text-align: center;
    padding: 0.9rem 0.5rem;
    font-size: var(--text-sm);
    font-weight: 600;
    transition: all var(--transition-fast);
  }
  .call-btn {
    background: var(--blue-500);
    color: var(--white);
  }
  .call-btn:hover { background: var(--blue-400); }
  .audit-btn {
    background: var(--cta-red);
    color: var(--white);
  }
  .audit-btn:hover { background: var(--cta-red-hover); }
}

/* ─── Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Admin Styles ─── */
.admin-body {
  background: #f8fafc;
  padding-bottom: 0;
}

.admin-nav {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-md) 0;
}

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

.admin-nav h2 {
  font-size: var(--text-lg);
  color: var(--white);
}

.admin-nav a {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
}
.admin-nav a:hover { color: var(--white); }

.admin-stats-grid {
  display: grid;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .admin-stats-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.admin-stat-card .stat-value {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--navy-700);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.admin-stat-card .stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.admin-table {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.admin-table th {
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--border);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-50); }

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-900);
  padding: var(--space-lg);
}

.admin-login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-xl);
}
.admin-login-card h1 {
  font-size: var(--text-2xl);
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--navy-700);
}

/* ─── Utility ─── */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(37,99,235,0.08);
  color: var(--blue-500);
}
.badge-red { background: rgba(238,52,55,0.08); color: var(--cta-red); }
.badge-green { background: rgba(16,185,129,0.08); color: var(--emerald-600); }
.badge-amber { background: rgba(245,158,11,0.08); color: #b45309; }

/* ─── Responsive ─── */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}

/* ─── Self-Hosted Logo Bar (Trust Bar) ─── */
.logo-bar {
  display: flex;
  gap: var(--space-3xl);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: var(--space-xl) 0;
}
.logo-bar-item {
  height: 60px;
  opacity: 0.5;
  filter: grayscale(1);
  transition: all var(--transition-base);
}
.logo-bar-item:hover {
  opacity: 1;
  filter: grayscale(0);
}
@media (min-width: 768px) {
  .logo-bar-item { height: 80px; }
}
