/* ============================================================
   AUTAFY SHARED STYLES
   autafy.ca — AI Automation for Canadian Small Businesses
   ============================================================ */

/* 1. IMPORTS & FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* 2. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-500: #737373;
  --gray-700: #404040;
  --gray-900: #171717;
  --accent: #A2E6CF;
  --accent-dark: #0d9e7a;
  --accent-glow: rgba(162, 230, 207, 0.15);
  --accent-glow-strong: rgba(162, 230, 207, 0.25);

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Spacing (8px grid) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;
  --sp-20: 160px;
  --sp-24: 192px;

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

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.14);
  --shadow-accent: 0 8px 32px rgba(162, 230, 207, 0.20);

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --nav-height: 72px;

  /* Easing */
  --ease-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Transitions */
  --t-fast: 150ms var(--ease-smooth);
  --t-normal: 300ms var(--ease-smooth);
  --t-slow: 500ms var(--ease-expo);
  --t-slower: 700ms var(--ease-expo);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-900);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  font-weight: 600;
}

/* 4. TYPOGRAPHY SCALE
   ============================================================ */
.font-display { font-family: var(--font-display); }
.font-mono    { font-family: var(--font-mono); }

/* Display sizes */
.text-hero {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.text-display {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.text-subheading {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray-500);
}

.text-body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
}

.text-body {
  font-size: 1rem;
  line-height: 1.65;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.text-mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

/* Color utilities */
.text-muted   { color: var(--gray-500); }
.text-dark    { color: var(--gray-900); }
.text-white   { color: var(--white); }
.text-accent  { color: var(--accent-dark); }

/* Weight utilities */
.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* Alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* 5. LAYOUT & CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-4);
  padding-right: var(--sp-4);
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-4);
  padding-right: var(--sp-4);
}

/* Flexbox utilities */
.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1  { gap: var(--sp-1); }
.gap-2  { gap: var(--sp-2); }
.gap-3  { gap: var(--sp-3); }
.gap-4  { gap: var(--sp-4); }
.gap-6  { gap: var(--sp-6); }
.gap-8  { gap: var(--sp-8); }

/* Grid utilities */
.grid           { display: grid; }
.grid-2         { grid-template-columns: repeat(2, 1fr); }
.grid-3         { grid-template-columns: repeat(3, 1fr); }
.grid-4         { grid-template-columns: repeat(4, 1fr); }
.grid-auto-fit  { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Spacing */
.mt-auto { margin-top: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Section padding */
.section {
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-20);
}

.section-sm {
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-12);
}

.section-lg {
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-24);
}

/* Section header */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: var(--sp-2);
}

.section-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header {
  max-width: 640px;
  margin-bottom: var(--sp-8);
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.center .section-label {
  justify-content: center;
}

/* Dark section */
.section-dark {
  background-color: var(--black);
  color: var(--white);
}

.section-dark .text-muted {
  color: var(--gray-500);
}

/* Light gray section */
.section-gray {
  background-color: var(--gray-50);
}

/* 6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: all var(--t-normal);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  text-decoration: none;
}

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

/* Primary Button */
.btn-primary {
  background: var(--accent);
  color: var(--black);
  box-shadow: 0 2px 8px rgba(162, 230, 207, 0.3);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(13, 158, 122, 0.4);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(13, 158, 122, 0.3);
}

/* Secondary / Outline Button */
.btn-secondary {
  background: transparent;
  color: var(--gray-900);
  border: 1.5px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--gray-700);
  background: var(--gray-50);
  transform: translateY(-1px);
}

/* Ghost Button (for dark backgrounds) */
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Dark button */
.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--gray-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* Sizes */
.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

/* Icon button */
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* Button group */
.btn-group {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* Magnetic wrapper (JS-enhanced) */
.magnetic-wrap {
  display: inline-block;
}

/* 7. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--t-slow), border-color var(--t-slow), backdrop-filter var(--t-slow);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  padding: 0 var(--sp-4);
  max-width: var(--container-wide);
  margin: 0 auto;
  gap: var(--sp-4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  justify-self: start;
}

.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--black);
  background: var(--gray-100);
}

.nav-links a.active {
  color: var(--black);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-2);
}

/* Mobile menu button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
  cursor: pointer;
  background: none;
  border: none;
  position: relative;
  z-index: 1100;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform var(--t-normal), opacity var(--t-fast), width var(--t-normal);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.nav-mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity var(--t-normal), visibility var(--t-normal), transform var(--t-normal);
}

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

.nav-mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gray-900);
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition: color var(--t-fast);
}

.nav-mobile-menu a:hover {
  color: var(--accent-dark);
}

.nav-mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile-menu a:nth-child(1) { transition-delay: 50ms; }
.nav-mobile-menu a:nth-child(2) { transition-delay: 100ms; }
.nav-mobile-menu a:nth-child(3) { transition-delay: 150ms; }
.nav-mobile-menu a:nth-child(4) { transition-delay: 200ms; }
.nav-mobile-menu a:nth-child(5) { transition-delay: 250ms; }

.nav-mobile-menu .mobile-cta {
  margin-top: var(--sp-3);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-normal) 300ms, transform var(--t-normal) 300ms;
}

.nav-mobile-menu.open .mobile-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Spacer below fixed nav */
.nav-spacer {
  height: var(--nav-height);
}

/* 8. FOOTER
   ============================================================ */
.footer {
  background-color: var(--black);
  color: var(--white);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--sp-6);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.footer-brand .footer-logo img {
  height: 32px;
  width: auto;
  filter: brightness(10);
}

.footer-brand .footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-500);
  font-size: 0.875rem;
  transition: all var(--t-fast);
  text-decoration: none;
}

.footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: var(--sp-3);
}

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

.footer-col ul li a {
  font-size: 0.9375rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
  font-size: 0.9375rem;
  color: var(--gray-500);
}

.footer-contact-item a {
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--t-fast);
}

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

.footer-newsletter-form {
  display: flex;
  gap: var(--sp-1);
  margin-top: var(--sp-3);
}

.footer-newsletter-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--t-fast);
}

.footer-newsletter-input::placeholder {
  color: var(--gray-500);
}

.footer-newsletter-input:focus {
  border-color: var(--accent);
}

.footer-newsletter-btn {
  padding: 12px 20px;
  background: var(--accent);
  color: var(--black);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--t-fast);
  white-space: nowrap;
}

.footer-newsletter-btn:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--t-fast);
}

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

.footer-pipeda {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--gray-500);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 4px 12px;
}

/* 9. CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  transition: transform var(--t-normal), box-shadow var(--t-normal), border-color var(--t-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}

.card-accent:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

.card-dark {
  background: var(--gray-900);
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.card-dark:hover {
  border-color: rgba(162, 230, 207, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: var(--sp-3);
  transition: transform var(--t-fast), background var(--t-fast);
}

.card:hover .card-icon {
  transform: scale(1.1);
  background: var(--accent-glow);
}

.card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--sp-1);
}

.card-desc {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Pricing card */
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--t-normal), box-shadow var(--t-normal), border-color var(--t-normal);
}

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

.pricing-card.featured {
  border-color: var(--accent);
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.pricing-card.featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(162, 230, 207, 0.25);
}

/* 10. BADGES & TAGS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge-accent {
  background: var(--accent-glow);
  color: var(--accent-dark);
  border: 1px solid rgba(162, 230, 207, 0.3);
}

.badge-dark {
  background: var(--gray-900);
  color: var(--white);
}

.badge-popular {
  background: var(--accent);
  color: var(--black);
  font-weight: 700;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--gray-100);
  color: var(--gray-700);
}

/* 11. FORM ELEMENTS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-input:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder {
  color: var(--gray-300);
}

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

/* 12. DIVIDERS & SEPARATORS
   ============================================================ */
.divider {
  height: 1px;
  background: var(--gray-200);
  border: none;
  margin: var(--sp-8) 0;
}

.divider-dark {
  background: rgba(255, 255, 255, 0.08);
}

/* 13. TRUST/STAT BAR
   ============================================================ */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-6);
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
}

.trust-item .trust-icon {
  font-size: 1.125rem;
}

/* 14. STEP INDICATOR
   ============================================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.step {
  display: flex;
  gap: var(--sp-4);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

/* Horizontal steps (3-up) */
.steps-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  position: relative;
}

.steps-horizontal::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200) 20%, var(--gray-200) 80%, transparent);
  z-index: 0;
}

.step-h {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-h .step-number {
  margin-bottom: var(--sp-3);
}

.step-h h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-h p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* 15. CHECK LIST
   ============================================================ */
.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 0.9375rem;
}

.check-item::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='8.5' stroke='%23A2E6CF'/%3E%3Cpath d='M5.5 9l2.5 2.5 5-5' stroke='%230d9e7a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 2px;
  flex-shrink: 0;
}

.check-item.dark::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='8.5' stroke='%23A2E6CF' fill='rgba(162,230,207,0.1)'/%3E%3Cpath d='M5.5 9l2.5 2.5 5-5' stroke='%23A2E6CF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* 16. FAQ ACCORDION
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--sp-4) var(--sp-5);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  transition: background var(--t-fast);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 400;
  transition: transform var(--t-normal), background var(--t-normal);
  line-height: 1;
}

.faq-item.open .faq-question-icon {
  transform: rotate(45deg);
  background: var(--accent-glow);
  color: var(--accent-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-normal);
}

.faq-answer-inner {
  padding: 0 var(--sp-5) var(--sp-4);
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

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

/* 17. ANIMATION KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

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

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(162, 230, 207, 0); }
  50%       { box-shadow: 0 0 0 8px rgba(162, 230, 207, 0.15); }
}

@keyframes meshPulse {
  0%   { opacity: 0.6; transform: scale(1) rotate(0deg); }
  33%  { opacity: 1;   transform: scale(1.05) rotate(1deg); }
  66%  { opacity: 0.8; transform: scale(0.98) rotate(-1deg); }
  100% { opacity: 0.6; transform: scale(1) rotate(0deg); }
}

@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0); }
  25%       { transform: translate(20px, -10px); }
  50%       { transform: translate(-10px, 20px); }
  75%       { transform: translate(10px, 10px); }
}

@keyframes typingPulse {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-4px); opacity: 1; }
}

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

@keyframes revealWidth {
  from { width: 0; }
  to   { width: 100%; }
}

/* 18. SCROLL REVEAL CLASSES
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slower) var(--ease-expo),
              transform var(--t-slower) var(--ease-expo);
  will-change: opacity, transform;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity var(--t-slower) var(--ease-expo),
              transform var(--t-slower) var(--ease-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity var(--t-slower) var(--ease-expo),
              transform var(--t-slower) var(--ease-expo);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity var(--t-slower) var(--ease-expo),
              transform var(--t-slower) var(--ease-expo);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1  { transition-delay: 0.05s; }
.delay-2  { transition-delay: 0.10s; }
.delay-3  { transition-delay: 0.15s; }
.delay-4  { transition-delay: 0.20s; }
.delay-5  { transition-delay: 0.25s; }
.delay-6  { transition-delay: 0.30s; }

/* 19. GRADIENT MESH HERO BACKGROUND
   ============================================================ */
.hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: meshFloat 12s ease-in-out infinite;
}

.mesh-blob-1 {
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(162, 230, 207, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation-duration: 14s;
}

.mesh-blob-2 {
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(162, 230, 207, 0.07) 0%, transparent 70%);
  bottom: 0;
  left: 10%;
  animation-duration: 18s;
  animation-delay: -5s;
}

.mesh-blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(13, 158, 122, 0.05) 0%, transparent 70%);
  top: 40%;
  left: 40%;
  animation-duration: 20s;
  animation-delay: -8s;
}

/* 20. CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--black);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 200ms var(--ease-expo),
              height 200ms var(--ease-expo),
              background 200ms var(--ease-expo),
              opacity 200ms;
  mix-blend-mode: multiply;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(10, 10, 10, 0.3);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 300ms var(--ease-expo),
              height 300ms var(--ease-expo),
              border-color 300ms var(--ease-expo),
              opacity 300ms;
}

.cursor-dot.hovering {
  width: 12px;
  height: 12px;
  background: var(--accent-dark);
}

.cursor-ring.hovering {
  width: 48px;
  height: 48px;
  border-color: var(--accent);
  opacity: 0.6;
}

/* Hide cursor on touch devices */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  * { cursor: auto !important; }
}

/* 21. PAGE LOAD ANIMATION
   ============================================================ */
.page-load {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 700ms var(--ease-expo) forwards;
}

.load-1 { animation-delay: 0ms; }
.load-2 { animation-delay: 80ms; }
.load-3 { animation-delay: 160ms; }
.load-4 { animation-delay: 240ms; }
.load-5 { animation-delay: 320ms; }
.load-6 { animation-delay: 400ms; }

/* 22. STATS COUNTER
   ============================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  background: var(--white);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
  transition: color var(--t-normal);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* 23. UTILITY CLASSES
   ============================================================ */
.hidden         { display: none !important; }
.invisible      { visibility: hidden; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.overflow-hidden { overflow: hidden; }
.relative        { position: relative; }
.z-0  { z-index: 0; }
.z-10 { z-index: 10; }

.w-full  { width: 100%; }
.h-full  { height: 100%; }
.max-w-sm  { max-width: 480px; }
.max-w-md  { max-width: 640px; }
.max-w-lg  { max-width: 800px; }

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Accent underline */
.underline-accent {
  position: relative;
  display: inline-block;
}

.underline-accent::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-expo);
}

.underline-accent.visible::after,
.reveal.visible .underline-accent::after {
  transform: scaleX(1);
}

/* Horizontal scroll on mobile */
.scroll-x-mobile {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.scroll-x-mobile::-webkit-scrollbar { display: none; }

/* Floating tag/notice */
.floating-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-4);
}

.floating-notice .notice-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-dark);
  animation: pulseGlow 2s ease-in-out infinite;
}

/* 24. MEDIA QUERIES
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .section    { padding-top: var(--sp-12); padding-bottom: var(--sp-12); }
  .section-lg { padding-top: var(--sp-16); padding-bottom: var(--sp-16); }

  /* Nav mobile */
  .nav-links  { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-actions { display: none; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps-horizontal { grid-template-columns: 1fr; }
  .steps-horizontal::before { display: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom-links { flex-wrap: wrap; }

  /* Stats */
  .stats-bar { grid-template-columns: repeat(2, 1fr); }

  /* Trust bar */
  .trust-bar { gap: var(--sp-3); }

  /* Cards */
  .pricing-card { padding: var(--sp-5); }

  /* Cursor disabled on touch */
  .cursor-dot, .cursor-ring { display: none; }
}

@media (max-width: 480px) {
  .container { padding-left: var(--sp-3); padding-right: var(--sp-3); }
  .section    { padding-top: var(--sp-10); padding-bottom: var(--sp-10); }
  .btn-group  { flex-direction: column; align-items: stretch; }
  .btn-group .btn { text-align: center; justify-content: center; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .footer-newsletter-form { flex-direction: column; }
  .footer-newsletter-input, .footer-newsletter-btn { width: 100%; }
}

/* Print */
@media print {
  .nav, .footer, .cursor-dot, .cursor-ring { display: none; }
  .nav-spacer { height: 0; }
  body { font-size: 12pt; }
}
