/* ===================================
   SEO Durban - Modern Minimalism Premium
   Design Tokens & Global Styles
   =================================== */

/* === CSS Custom Properties (Design Tokens) === */
:root {
  /* Colors - Primary */
  --primary-50: #E6F0FF;
  --primary-100: #CCE0FF;
  --primary-500: #0066FF;
  --primary-600: #0052CC;
  --primary-900: #003D99;

  /* Colors - Neutral */
  --neutral-50: #FAFAFA;
  --neutral-100: #F5F5F5;
  --neutral-200: #E5E5E5;
  --neutral-300: #D4D4D4;
  --neutral-500: #A3A3A3;
  --neutral-600: #6B7280;
  --neutral-700: #404040;
  --neutral-900: #171717;

  /* Colors - Semantic */
  --success-600: #059669;
  --warning-600: #D97706;
  --error-600: #DC2626;

  /* Colors - Background */
  --bg-page: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #EBEBEB;

  /* Typography */
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes */
  --fs-hero: 72px;
  --fs-title-xl: 56px;
  --fs-title-lg: 40px;
  --fs-title-md: 32px;
  --fs-body-lg: 20px;
  --fs-body: 16px;
  --fs-body-sm: 14px;
  --fs-caption: 12px;

  /* Font Weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Line Heights */
  --lh-tight: 1.1;
  --lh-snug: 1.2;
  --lh-normal: 1.3;
  --lh-relaxed: 1.5;
  --lh-loose: 1.6;

  /* Letter Spacing */
  --ls-tighter: -0.02em;
  --ls-tight: -0.01em;
  --ls-normal: 0;
  --ls-wide: 0.01em;

  /* Spacing (8pt grid) */
  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Box Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);

  /* Animation */
  --duration-fast: 200ms;
  --duration-base: 250ms;
  --duration-slow: 300ms;
  --easing-default: ease-out;
  --easing-smooth: ease-in-out;

  /* Container Max Widths */
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;
}

/* === Reset & Base Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--neutral-900);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes saasFadeUp {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes badgePop {
  0% { transform: translateX(-50%) scale(0.4); opacity: 0; }
  70% { transform: translateX(-50%) scale(1.15); opacity: 1; }
  100% { transform: translateX(-50%) scale(1); }
}

@keyframes fadeList {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

/* === Typography System === */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-semibold);
  line-height: var(--lh-normal);
  color: var(--neutral-900);
}

h1, h2 {
  line-height: 0.9em;
}

.text-hero {
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  line-height: 0.9em;
  letter-spacing: var(--ls-tighter);
}

.text-title-xl {
  font-size: var(--fs-title-xl);
  font-weight: var(--fw-bold);
  line-height: 0.9em;
  letter-spacing: var(--ls-tight);
}

.text-title-lg {
  font-size: var(--fs-title-lg);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-normal);
}

.text-title-md {
  font-size: var(--fs-title-md);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-normal);
}

.text-body-lg {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-loose);
}

.text-body {
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
}

.text-body-sm {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-relaxed);
}

.text-caption {
  font-size: var(--fs-caption);
  line-height: 1.4;
  letter-spacing: var(--ls-wide);
}

/* === Layout === */
.container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-wide {
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-24) 0;
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

/* === Navigation === */
/* fallback for browsers without backdrop-filter */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  background: rgba(255, 255, 255, 0.95);   /* less transparent */
  border-bottom: 1px solid var(--neutral-200);
  transition: box-shadow var(--duration-base) var(--easing-default);
}

/* modern browsers → frosted glass */
@supports (backdrop-filter: blur(20px)) {
  .navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
  }
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.navbar-logo {
  font-size: 24px;
  font-weight: var(--fw-bold);
  color: var(--neutral-900);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.navbar-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.navbar-logo span {
  color: var(--primary-500);
}

.navbar-nav {
  display: flex;
  gap: var(--space-8);
  list-style: none;
}

.navbar-nav a {
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--neutral-700);
  position: relative;
  padding: var(--space-2) 0;
  transition: color var(--duration-base) var(--easing-default);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--primary-500);
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-500);
  transition: width var(--duration-base) var(--easing-default);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

.navbar-cta {
  display: inline-block;
  padding: 12px var(--space-6);
  background-color: var(--primary-500);
  color: white;
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold);
  transition: all var(--duration-fast) var(--easing-default);
}

.navbar-cta:hover {
  background-color: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-2);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--neutral-900);
  transition: all var(--duration-base) var(--easing-default);
}

/* === Hero Section === */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 850px;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  animation: fadeIn 0.8s ease-out;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg picture,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(37, 99, 235, 0.7),
    rgba(37, 99, 235, 0.7)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1100px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.hero-title {
  margin-bottom: var(--space-6);
  font-size: 3rem;
  color: white;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-4);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-description {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-8);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.8;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-6);
  background-color: var(--primary-50);
  color: var(--primary-600);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 16px var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  text-align: center;
  transition: all var(--duration-fast) var(--easing-default);
  cursor: pointer;
  min-height: 56px;
  line-height: 1.5;
}

.btn-primary {
  background-color: var(--primary-500);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  border: 2px solid var(--neutral-200);
  background: transparent;
  color: var(--neutral-700);
}

.btn-secondary:hover {
  background: var(--neutral-50);
  border-color: var(--neutral-300);
}

.hero .btn-secondary {
  background: white;
  color: var(--primary-500);
  border: 2px solid white;
  font-weight: 600;
}

.hero .btn-secondary:hover {
  background: var(--neutral-50);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-lg {
  padding: 18px var(--space-8);
  font-size: var(--fs-body-lg);
}

/* === Cards === */
.card {
  background: var(--bg-surface);
  border: 2px solid var(--neutral-300);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  animation: fadeInUp 0.6s ease-out backwards;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 102, 255, 0.15);
  border-color: var(--primary-500);
  border-width: 2px;
  padding: 29px;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-50);
  color: var(--primary-500);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.card-title {
  margin-bottom: var(--space-4);
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
}

.card-description {
  color: #555555;
  margin-bottom: var(--space-6);
  line-height: 1.6em;
  font-size: 15px;
}

.card-link {
  color: var(--primary-500);
  font-weight: var(--fw-medium);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.card-link:hover {
  text-decoration: underline;
}

/* === Grid Layouts === */
.grid {
  display: grid;
  gap: var(--space-8);
}

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

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

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

/* Stagger animation delays */
.grid .card:nth-child(1) { animation-delay: 0.1s; }
.grid .card:nth-child(2) { animation-delay: 0.2s; }
.grid .card:nth-child(3) { animation-delay: 0.3s; }
.grid .card:nth-child(4) { animation-delay: 0.4s; }
.grid .card:nth-child(5) { animation-delay: 0.5s; }
.grid .card:nth-child(6) { animation-delay: 0.6s; }

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

.form-label {
  display: block;
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  color: var(--neutral-700);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  font-size: var(--fs-body);
  font-family: var(--font-base);
  background-color: var(--bg-surface);
  color: var(--neutral-900);
  transition: all var(--duration-base) var(--easing-default);
  min-height: 56px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-500);
  border-color: var(--primary-500);
}

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

.form-error {
  color: var(--error-600);
  font-size: var(--fs-caption);
  margin-top: var(--space-2);
}

/* === Footer === */
.footer {
  background-color: var(--neutral-900);
  color: var(--neutral-200);
  padding: var(--space-24) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-section h3 {
  color: white;
  font-size: var(--fs-body-lg);
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--neutral-200);
  transition: color var(--duration-base) var(--easing-default);
}

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

.footer-bottom {
  border-top: 1px solid var(--neutral-700);
  padding-top: var(--space-8);
  text-align: center;
  color: var(--neutral-500);
  font-size: var(--fs-body-sm);
}

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

.footer-contact a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--neutral-200);
  transition: color var(--duration-base) var(--easing-default);
}

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

/* === Pricing Table === */
.pricing-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  text-align: left;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-base) var(--easing-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: saasFadeUp 0.9s var(--easing-smooth) forwards;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.22s; }
.pricing-card:nth-child(3) { animation-delay: 0.34s; }

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-500);
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--primary-500);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.18);
  z-index: 2;
}

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

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-500);
  color: white;
  padding: 6px 14px;
  font-size: var(--fs-body-sm);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-weight: var(--fw-semibold);
}

.pricing-card.featured .pricing-badge {
  animation: badgePop 0.6s ease-out 0.4s backwards;
}

.pricing-name {
  font-size: 28px;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-4);
  color: var(--neutral-900);
}

.pricing-price {
  font-size: 52px;
  font-weight: var(--fw-bold);
  color: var(--primary-500);
  margin-bottom: var(--space-2);
  line-height: 1;
}

.pricing-period {
  color: var(--neutral-500);
  font-size: var(--fs-body);
  margin-bottom: var(--space-6);
}

.pricing-description {
  color: var(--neutral-700);
  font-size: var(--fs-body);
  margin-bottom: var(--space-8);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-8);
  padding-left: 0;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: 6px 0;
  font-size: var(--fs-body);
  color: var(--neutral-900);
  opacity: 0;
  animation: fadeList 0.5s ease-out forwards;
}

.pricing-features li:nth-child(1) { animation-delay: 0.15s; }
.pricing-features li:nth-child(2) { animation-delay: 0.25s; }
.pricing-features li:nth-child(3) { animation-delay: 0.35s; }
.pricing-features li:nth-child(4) { animation-delay: 0.45s; }
.pricing-features li:nth-child(5) { animation-delay: 0.55s; }
.pricing-features li:nth-child(6) { animation-delay: 0.65s; }
.pricing-features li:nth-child(7) { animation-delay: 0.75s; }

.pricing-features li::before {
  content: "✓";
  color: var(--success-600);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

.pricing-card .btn-primary {
  width: 100%;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  margin-top: auto;
}

.pricing-card .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* === Service Cards === */
.service-grid {
  max-width: 1200px;
  margin: 0 auto var(--space-12);
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-base) var(--easing-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-500);
}

.service-card.featured {
  border: 2px solid var(--primary-500);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.18);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-500);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: var(--space-4);
}

.service-title {
  text-align: center;
  margin-bottom: var(--space-6);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
  text-align: left;
}

.service-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.service-features li::before {
  content: "✓";
  color: var(--primary-500);
  font-weight: bold;
  flex-shrink: 0;
}

.service-meta {
  font-size: 0.875rem;
  color: var(--neutral-600);
  font-weight: 600;
  margin-top: auto;
  margin-bottom: var(--space-6);
}

.service-card .btn {
  width: 100%;
  display: block;
  text-align: center;
  margin-top: auto;
}

/* === SVG Icon Sprites === */
.icon {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}

/* === SEO Tip Card === */
.seo-tip-card {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: white;
  padding: var(--space-12) var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.seo-tip-card h3,
.seo-tip-card h4 {
  color: white;
  margin-bottom: var(--space-4);
  font-size: 1.5rem;
  font-weight: 700;
}

.seo-tip-card p {
  color: white;
  margin-bottom: var(--space-4);
}

.seo-tip-card p:last-child {
  margin-bottom: 0;
}

.seo-tip-card strong {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.seo-tip-card a {
  color: white;
  text-decoration: underline;
  font-weight: 600;
}

.seo-tip-card a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.comparison-table {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
  opacity: 0;
  animation: saasFadeUp 0.9s ease-out 0.6s forwards;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--neutral-200);
  font-size: var(--fs-body);
}

.comparison-table th {
  background: var(--neutral-100);
  font-weight: var(--fw-semibold);
}

/* === Breadcrumbs === */
.breadcrumbs {
  padding: var(--space-2) 0;
  background: var(--bg-surface-alt);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-body-sm);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: var(--space-2);
  color: var(--neutral-500);
  font-size: 18px;
}

.breadcrumbs a {
  color: var(--primary-500);
  transition: color var(--duration-fast);
}

.breadcrumbs a:hover {
  color: var(--primary-600);
  text-decoration: underline;
}

.breadcrumbs li:last-child {
  color: var(--neutral-700);
}

/* === FAQ Section === */
.faq-section {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.faq-item {
  border-bottom: 1px solid var(--neutral-200);
  padding: var(--space-6) 0;
}

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

.faq-accordion .faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-semibold);
  color: var(--neutral-900);
  transition: color var(--duration-fast) var(--easing-default);
}

.faq-accordion .faq-question:hover {
  color: var(--primary-500);
}

.faq-accordion .faq-question span {
  flex: 1;
  padding-right: var(--space-4);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--easing-default);
  color: var(--primary-500);
}

.faq-accordion .faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-accordion .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--easing-smooth),
              padding var(--duration-slow) var(--easing-smooth);
  color: var(--neutral-700);
  line-height: var(--lh-loose);
}

.faq-accordion .faq-answer.active {
  max-height: 1000px;
  padding-top: var(--space-4);
}

.faq-accordion .faq-answer p {
  margin: 0;
}

.faq-question:not(button) {
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-semibold);
  color: var(--neutral-900);
  margin-bottom: var(--space-4);
}

.faq-answer:not(.active) {
  color: var(--neutral-700);
  line-height: var(--lh-loose);
}

/* === Audit Component Cards === */
.audit-component {
  background: var(--bg-surface);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
  transition: all var(--duration-base) var(--easing-default);
}

.audit-component:hover {
  border-color: var(--primary-500);
  box-shadow: var(--shadow-md);
}

.audit-component h3 {
  color: var(--primary-500);
  font-size: var(--fs-title-md);
  margin-bottom: var(--space-4);
}

.audit-component ul {
  list-style: none;
  padding-left: 0;
}

.audit-component li {
  position: relative;
  padding-left: 28px;
  margin-bottom: var(--space-4);
  line-height: var(--lh-loose);
  color: var(--neutral-700);
}

.audit-component li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-500);
  font-weight: var(--fw-bold);
  font-size: 18px;
}

/* === Benefits Grid === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin: var(--space-8) 0;
}

.benefit-item {
  display: flex;
  align-items: start;
  gap: var(--space-4);
}

.benefit-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--primary-50);
  color: var(--primary-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
}

.benefit-text {
  flex: 1;
}

.benefit-text h4 {
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2);
  color: var(--neutral-900);
}

.benefit-text p {
  color: var(--neutral-700);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
}

/* === WhatsApp Floating Button === */
#whatsapp-button {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 1000;
  background-color: #25d366;
  color: white;
  border-radius: var(--radius-full);
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  font-size: 28px;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0);
  transition: opacity var(--duration-base) var(--easing-default),
              transform var(--duration-base) var(--easing-default),
              visibility var(--duration-base);
}

#whatsapp-button span {
  display: none;
}

#whatsapp-button:hover {
  background-color: #1FAF59;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

#whatsapp-button.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* === Utility Classes === */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-500);
}

.text-secondary {
  color: var(--neutral-700);
}

.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.max-w-prose {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-card.featured {
    transform: scale(1);
  }

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

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

@media (max-width: 768px) {
  :root {
    --fs-hero: 40px;
    --fs-title-xl: 32px;
    --fs-title-lg: 28px;
    --fs-title-md: 24px;
    --fs-body-lg: 18px;
    --space-24: 64px;
    --space-16: 48px;
  }

  .navbar-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

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

  .btn {
    width: 100%;
    min-height: 56px;
  }

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

  .card {
    padding: 24px;
  }

  .card:hover {
    padding: 23px;
  }

  .pricing-grid {
    gap: var(--space-12);
  }
}

@media (min-width: 769px) {
  #whatsapp-button {
    width: auto;
    padding: 0 var(--space-4);
    border-radius: var(--radius-full);
    gap: var(--space-2);
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    line-height: initial;
    height: 48px;
  }

  #whatsapp-button i {
    font-size: 20px;
    line-height: 1;
  }

  #whatsapp-button span {
    display: block;
  }
}

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

  .parallax-bg,
  .parallax-shape {
    transform: none !important;
    position: static;
  }
}

*:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 4px;
}
