/* ============================================
   Crewnly — Stripe-Style Premium Theme
   Light base, gradient mesh, glassmorphism
   Target: Corporate cleaning operators
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 100px; scroll-behavior: smooth; }

:root {
  /* Stripe-inspired palette */
  --primary:        #635bff;   /* Stripe purple */
  --primary-light:  #7a73ff;
  --primary-dark:   #5046e5;
  --primary-bg:     #f6f5ff;
  
  --accent:         #00d4ff;   /* Cyan accent */
  --accent-light:   #7eeaff;
  --accent-dark:    #00b8db;
  
  --success:        #00d924;   /* Stripe green */
  --success-light:  #d1fae5;
  
  /* Premium gradients */
  --gradient-primary: linear-gradient(135deg, #635bff 0%, #00d4ff 100%);
  --gradient-hero:    linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --gradient-mesh:    
    radial-gradient(at 40% 20%, hsla(264, 100%, 74%, 0.3) 0px, transparent 50%),
    radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 0.25) 0px, transparent 50%),
    radial-gradient(at 0% 50%, hsla(264, 100%, 74%, 0.2) 0px, transparent 50%),
    radial-gradient(at 80% 50%, hsla(340, 100%, 76%, 0.2) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsla(269, 100%, 77%, 0.2) 0px, transparent 50%),
    radial-gradient(at 80% 100%, hsla(189, 100%, 56%, 0.15) 0px, transparent 50%);
  --gradient-mesh-subtle:
    radial-gradient(at 30% 0%, hsla(264, 100%, 74%, 0.12) 0px, transparent 50%),
    radial-gradient(at 90% 20%, hsla(189, 100%, 56%, 0.1) 0px, transparent 50%),
    radial-gradient(at 60% 100%, hsla(340, 100%, 76%, 0.08) 0px, transparent 50%);
  --gradient-card:    linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
  --gradient-button:  linear-gradient(135deg, #635bff 0%, #7a73ff 100%);
  
  /* Text colors */
  --dark:           #0a2540;   /* Stripe dark blue */
  --text:           #425466;
  --text-muted:     #6b7c93;
  --text-light:     #8898aa;
  
  /* Backgrounds */
  --bg:             #ffffff;
  --bg-alt:         #f7f9fc;
  --bg-elevated:    #ffffff;
  --bg-mesh:        #fafbff;
  --border:         #e6ebf1;
  --border-light:   #f0f4f8;
  
  /* Glassmorphism */
  --glass-bg:       rgba(255, 255, 255, 0.7);
  --glass-bg-solid: rgba(255, 255, 255, 0.9);
  --glass-border:   rgba(255, 255, 255, 0.5);
  --glass-shadow:   0 8px 32px rgba(99, 91, 255, 0.1);
  
  /* Alpha/transparent variants */
  --primary-alpha:  rgba(99, 91, 255, 0.1);
  --accent-alpha:   rgba(0, 212, 255, 0.1);
  --success-bg:     rgba(0, 217, 36, 0.1);
  --accent-bg:      rgba(0, 212, 255, 0.05);
  
  /* Status */
  --green:          #00d924;
  --green-light:    #d1fae5;
  --amber:          #ffbb00;
  --red:            #ff4757;
  
  /* Premium shadows — softer, more layered */
  --shadow-xs:      0 1px 2px rgba(10, 37, 64, 0.02);
  --shadow-sm:      0 1px 3px rgba(10, 37, 64, 0.04), 0 1px 2px rgba(10, 37, 64, 0.06);
  --shadow:         0 4px 6px rgba(10, 37, 64, 0.04), 0 2px 4px rgba(10, 37, 64, 0.06);
  --shadow-md:      0 10px 15px rgba(10, 37, 64, 0.05), 0 4px 6px rgba(10, 37, 64, 0.05);
  --shadow-lg:      0 20px 25px rgba(10, 37, 64, 0.06), 0 10px 10px rgba(10, 37, 64, 0.04);
  --shadow-xl:      0 25px 50px rgba(10, 37, 64, 0.1);
  --shadow-glow:    0 0 40px rgba(99, 91, 255, 0.2);
  --shadow-card:    0 2px 4px rgba(10, 37, 64, 0.02), 0 8px 16px rgba(10, 37, 64, 0.04), 0 0 0 1px rgba(10, 37, 64, 0.02);
  --shadow-card-hover: 0 4px 8px rgba(10, 37, 64, 0.04), 0 16px 32px rgba(10, 37, 64, 0.08), 0 0 0 1px rgba(99, 91, 255, 0.1);
  
  /* Typography & Layout */
  --font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:      'SF Mono', 'Fira Code', monospace;
  --r:              12px;
  --r-lg:           16px;
  --r-xl:           24px;
  --r-2xl:          32px;
  --ease:           0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:       0.3s cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce:    0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --max-w:          1200px;
}

/* ── Base ── */
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--dark);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }

/* ── Premium Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.938rem;
  border: none;
  cursor: pointer;
  transition: all var(--ease);
  text-decoration: none;
  font-family: var(--font);
  min-height: 48px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-button);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 91, 255, 0.45), var(--shadow-glow);
}

.btn-secondary {
  background: var(--bg);
  color: var(--dark);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 91, 255, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 12px 20px;
}

.btn-ghost:hover {
  color: var(--primary);
  background: var(--primary-bg);
}

.btn-white {
  background: #fff;
  color: var(--dark);
  box-shadow: var(--shadow);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
  border-radius: var(--r-lg);
  min-height: 56px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
  min-height: 40px;
}

.btn-block {
  width: 100%;
}

/* ── Premium Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: all var(--ease);
}

.navbar.scrolled {
  background: var(--glass-bg-solid);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform var(--ease);
}

.logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 2px 4px rgba(99, 91, 255, 0.2));
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: var(--r);
  transition: all var(--ease);
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-bg);
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.nav-cta-mobile {
  display: none;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r);
  transition: background var(--ease);
}

.mobile-toggle:hover {
  background: var(--primary-bg);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--ease);
}

/* Hide mobile nav by default (only shown via JS toggle on mobile) */
.nav-mobile {
  display: none;
}

/* ── Hero Section — Stripe Style ── */
.hero {
  padding: 160px 0 100px;
  background: var(--bg-mesh);
  background-image: var(--gradient-mesh);
  position: relative;
  overflow: hidden;
}

/* Animated gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 91, 255, 0.15) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  animation: float 25s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 30px) scale(1.02); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--primary);
  font-size: 0.813rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.hero-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-size: 0.75rem;
  color: #fff;
}

.badge-glass-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--primary);
  font-size: 0.813rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

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

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-note span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg {
  color: var(--success);
  width: 18px;
  height: 18px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}

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

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: var(--gradient-primary);
  border-radius: var(--r-2xl);
  opacity: 0.06;
  filter: blur(40px);
  z-index: 0;
}

.hero-mockup {
  width: 100%;
  max-width: 620px;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.03);
  position: relative;
  z-index: 1;
}

/* ── Logo Bar / Trust Strip ── */
.logo-bar {
  padding: 60px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}

.logo-bar-title {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.logo-bar-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  opacity: 0.6;
}

.logo-bar-logos span {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.02em;
}

/* ── Section Styling ── */
.section {
  padding: 100px 0;
}

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

.section-mesh {
  background: var(--bg-mesh);
  background-image: var(--gradient-mesh-subtle);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.section-header p {
  font-size: 1.188rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 0.813rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Feature Cards — Glassmorphism ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: all var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(99, 91, 255, 0.15);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: var(--r);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-icon-gradient {
  background: var(--gradient-primary);
  color: #fff;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  font-size: 0.938rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Wedge Feature Rows ── */
.wedge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
}

.wedge:nth-child(even) {
  direction: rtl;
}

.wedge:nth-child(even) > * {
  direction: ltr;
}

.wedge-content {
  max-width: 520px;
}

.wedge-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--r-lg);
  margin-bottom: 24px;
  font-size: 1.75rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 91, 255, 0.3);
}

.wedge h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.wedge p {
  font-size: 1.063rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.75;
}

.wedge-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.wedge-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.938rem;
  color: var(--text);
}

.wedge-list svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.wedge-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.wedge-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  max-width: 480px;
  width: 100%;
}

.wedge-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.wedge-card-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.wedge-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.wedge-stat {
  text-align: center;
  padding: 16px 12px;
  background: var(--bg-alt);
  border-radius: var(--r);
}

.wedge-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.wedge-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Steps / How It Works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(99, 91, 255, 0.3);
}

.step-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Step connector line */
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 64px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: var(--border);
}

/* ── Pricing Section ── */
.pricing-section {
  padding: 100px 0;
  background: var(--bg-mesh);
  background-image: var(--gradient-mesh-subtle);
}

.pricing-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.pricing-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.pricing-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.pricing-toggle-inner {
  display: flex;
  background: var(--bg);
  border-radius: 100px;
  padding: 4px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.pricing-toggle button {
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--ease);
}

.pricing-toggle button.active {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(99, 91, 255, 0.3);
}

.country-switcher {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.country-switcher select {
  padding: 10px 20px;
  font-size: 0.875rem;
  font-family: var(--font);
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  min-width: 180px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: 40px 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: all var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.pricing-card.featured {
  background: var(--dark);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(99, 91, 255, 0.15);
  transform: scale(1.02);
}

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

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(99, 91, 255, 0.4);
}

.pricing-tier {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card.featured .pricing-tier {
  color: #fff;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--dark);
}

.pricing-card.featured .pricing-price {
  color: #fff;
}

.pricing-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
}

.pricing-price .period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card.featured .pricing-price .period {
  color: rgba(255, 255, 255, 0.6);
}

.pricing-workers {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card.featured .pricing-workers {
  color: rgba(255, 255, 255, 0.7);
}

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

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.875rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}

.pricing-card.featured .pricing-features li {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}

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

.pricing-features svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card.featured .pricing-features svg {
  color: var(--accent);
}

.pricing-card .btn {
  width: 100%;
}

.pricing-card.featured .btn-primary {
  background: #fff;
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured .btn-primary:hover {
  background: var(--primary-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.pricing-note {
  text-align: center;
  font-size: 0.813rem;
  color: var(--text-light);
  margin-top: 32px;
}

/* Savings comparison */
.pricing-comparison {
  margin-top: 64px;
  padding: 40px;
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.pricing-comparison h4 {
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.comparison-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-bar {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  align-items: center;
  font-size: 0.875rem;
}

.comparison-label {
  font-weight: 600;
  color: var(--dark);
}

.comparison-visual {
  display: flex;
  gap: 8px;
  height: 32px;
}

.comparison-visual .competitor {
  background: var(--border);
  border-radius: var(--r);
}

.comparison-visual .crewnly {
  background: var(--gradient-primary);
  border-radius: var(--r);
}

.comparison-savings {
  font-weight: 700;
  color: var(--success);
  white-space: nowrap;
}

/* ── Testimonials ── */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: all var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: #ffc107;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 0.813rem;
  color: var(--text-muted);
}

/* ── Trust Badges ── */
.trust-section {
  padding: 60px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-badge {
  text-align: center;
  padding: 24px 16px;
}

.trust-badge-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 14px;
  font-size: 1.25rem;
}

.trust-badge h4 {
  font-size: 0.938rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.trust-badge p {
  font-size: 0.813rem;
  color: var(--text-muted);
}

/* ── FAQ ── */
.faq-section {
  padding: 100px 0;
  background: var(--bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
}

.faq-item:hover {
  border-color: rgba(99, 91, 255, 0.2);
  box-shadow: var(--shadow);
}

.faq-item summary {
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-light);
  transition: transform var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 16px;
  font-size: 0.938rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CTA Section ── */
.cta-section {
  padding: 100px 0;
  background: var(--dark);
  background-image: 
    radial-gradient(at 20% 0%, rgba(99, 91, 255, 0.3) 0px, transparent 50%),
    radial-gradient(at 80% 100%, rgba(0, 212, 255, 0.2) 0px, transparent 50%);
  position: relative;
  overflow: hidden;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.188rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-note {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-note span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.cta-note svg {
  color: var(--accent);
}

/* ── Footer ── */
.footer {
  background: var(--bg-alt);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.938rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 280px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text-muted);
  transition: all var(--ease);
}

.footer-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 8px 0;
  transition: color var(--ease);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
  font-size: 0.813rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color var(--ease);
}

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

.footer-legal {
  display: flex;
  gap: 24px;
}

/* ── Feature Page Hero ── */
.features-hero {
  padding: 160px 0 80px;
  background: var(--bg-mesh);
  background-image: var(--gradient-mesh);
  text-align: center;
}

.features-hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.features-hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ── Features Mini Grid ── */
.features-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-mini {
  background: var(--bg);
  border-radius: var(--r);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--ease);
}

.feature-mini:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(99, 91, 255, 0.15);
}

.feature-mini-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.feature-mini h4 {
  font-size: 0.938rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-mini p {
  font-size: 0.813rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Comparison Table ── */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--dark);
}

.comparison-table td {
  font-size: 0.875rem;
  color: var(--text);
}

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

.comparison-table .check {
  color: var(--success);
}

.comparison-table .cross {
  color: var(--red);
}

.comparison-table .highlight-col {
  background: var(--primary-bg);
}

.comparison-table th.highlight-col {
  background: var(--primary);
  color: #fff;
}

/* ── Resource Cards ── */
.resource-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: all var(--ease-out);
}

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

.resource-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--r);
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #fff;
}

.resource-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.resource-card p {
  font-size: 0.938rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 480px;
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.3s ease-out;
}

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

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.6;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
}

/* ── Mobile Responsive ── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero h1 {
    font-size: 2.75rem;
  }
  
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-note {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-mockup {
    max-width: 500px;
  }
  
  .wedge {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .wedge:nth-child(even) {
    direction: ltr;
  }
  
  .wedge-content {
    max-width: 100%;
    text-align: center;
  }
  
  .wedge-icon {
    margin-left: auto;
    margin-right: auto;
  }
  
  .wedge-list li {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .step-card:not(:last-child)::after {
    display: none;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .features-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 16px 0;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-ctas {
    display: none;
  }
  
  .nav-cta-mobile {
    display: flex;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  /* Mobile nav menu */
  .nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-mobile.open {
    display: block;
  }
  
  .nav-mobile a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
  }
  
  .nav-mobile a:last-child {
    border-bottom: none;
  }
  
  .hero {
    padding: 140px 0 80px;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero-sub {
    font-size: 1.063rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .features-hero h1 {
    font-size: 2.25rem;
  }
  
  .features-mini-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-table {
    font-size: 0.813rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 12px 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero h1 {
    font-size: 1.875rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-note {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-lg {
    padding: 16px 28px;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .wedge h3 {
    font-size: 1.5rem;
  }
  
  .wedge-stats {
    grid-template-columns: 1fr;
  }
  
  .pricing-card {
    padding: 32px 24px;
  }
  
  .pricing-price {
    font-size: 2.5rem;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .cta-actions .btn {
    width: 100%;
  }
  
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

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

@media (prefers-contrast: high) {
  :root {
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-bg-solid: #fff;
  }
  
  .feature-card,
  .pricing-card,
  .testimonial-card,
  .faq-item {
    border-width: 2px;
  }
}

/* ── Print ── */
@media print {
  .navbar,
  .cookie-banner,
  .cta-section,
  .footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    color: #000;
  }
  
  a {
    text-decoration: underline;
  }
}

/* ── Animations for JS ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Counter animation */
[data-count] {
  font-variant-numeric: tabular-nums;
}

/* ── Utility Classes ── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }

.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* ══════════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════════════════ */

.contact-section {
  padding: 80px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-card {
  padding: 40px;
  border-radius: var(--r-lg);
}

.contact-form-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.938rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  padding: 24px;
  border-radius: var(--r-lg);
  text-align: center;
}

.contact-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.contact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.813rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.contact-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.contact-link.highlight {
  color: var(--success);
}

/* ══════════════════════════════════════════════════════════════════════════
   COMPARE PAGE
   ══════════════════════════════════════════════════════════════════════════ */

.compare-section {
  padding: 0 0 80px;
}

.compare-table-wrapper {
  overflow-x: auto;
  border-radius: var(--r-lg);
  background: var(--bg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.compare-table th {
  background: var(--primary-bg);
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.compare-table th.highlight,
.compare-table td.highlight {
  background: var(--primary-alpha);
  color: var(--dark);
}

.compare-table tbody tr:hover {
  background: var(--primary-bg);
}

.compare-table td svg {
  vertical-align: middle;
}

.compare-note {
  text-align: center;
  font-size: 0.813rem;
  color: var(--text-light);
  margin-top: 20px;
}

/* Savings section */
.savings-section {
  padding: 80px 0;
  background: var(--primary-bg);
}

.savings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.savings-card {
  padding: 32px;
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.savings-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.savings-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.savings-compare {
  margin-bottom: 20px;
}

.savings-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-light);
}

.savings-row:last-child {
  border-bottom: none;
}

.savings-row.competitor {
  color: var(--text-light);
}

.savings-row.crewnly {
  color: var(--dark);
  font-weight: 600;
}

.savings-row .amount {
  font-weight: 700;
}

.savings-result {
  margin-top: 16px;
}

.savings-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--success-bg);
  color: var(--success);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 100px;
}

/* Why switch */
.why-switch-section {
  padding: 80px 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   LEGAL PAGES (Terms, Privacy)
   ══════════════════════════════════════════════════════════════════════════ */

.legal-section {
  padding: 120px 0 80px;
  min-height: 60vh;
}

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

.legal-section h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 0.938rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  font-size: 0.938rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════════════════
   404 ERROR PAGE
   ══════════════════════════════════════════════════════════════════════════ */

.error-section {
  padding: 180px 0 120px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--bg) 50%, var(--accent-bg) 100%);
}

.error-content {
  text-align: center;
  max-width: 500px;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.error-content p {
  font-size: 1.063rem;
  color: var(--text);
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.error-links {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.error-links p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.error-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  margin: 0 12px;
}

.error-links a:hover {
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — CONTACT, COMPARE, LEGAL, 404
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

  .compare-table {
    font-size: 0.75rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 24px;
  }

  .error-code {
    font-size: 5rem;
  }

  .error-content h1 {
    font-size: 1.5rem;
  }

  .error-actions {
    flex-direction: column;
  }

  .legal-section h1 {
    font-size: 1.75rem;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   COUNTRY SWITCHER
   ══════════════════════════════════════════════════════════════════════════ */

.country-switcher {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.country-switcher select {
  padding: 12px 20px;
  font-size: 0.938rem;
  font-family: inherit;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--dark);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23425466' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.country-switcher select:hover {
  border-color: var(--primary);
}

.country-switcher select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-alpha);
}


/* ══════════════════════════════════════════════════════════════════════════
   UTILITY CLASSES — Width percentages for comparison bars
   ══════════════════════════════════════════════════════════════════════════ */

.w-33 { width: 33%; }
.w-40 { width: 40%; }
.w-45 { width: 45%; }
.w-55 { width: 55%; }
.w-60 { width: 60%; }
.w-67 { width: 67%; }

/* Outline light button (for dark CTA backgrounds) */
.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Comparison note styling */
.comparison-note {
  font-size: 0.813rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}


/* ══════════════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════════════════════ */

.about-section {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
}

.about-content p {
  font-size: 1.063rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-card {
  padding: 24px;
  border-radius: var(--r-lg);
}

.value-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.value-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.6;
}

.company-section {
  padding: 80px 0;
  background: var(--primary-bg);
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  text-align: center;
  padding: 32px;
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-light);
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}

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

/* ══════════════════════════════════════════════════════════════════════════
   SECURITY PAGE
   ══════════════════════════════════════════════════════════════════════════ */

.security-section {
  padding: 0 0 80px;
}

.compliance-section {
  padding: 80px 0;
  background: var(--primary-bg);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.compliance-card {
  padding: 32px;
  border-radius: var(--r-lg);
  text-align: center;
}

.compliance-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.compliance-card p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.6;
}

.security-contact {
  padding: 80px 0;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — ABOUT & SECURITY
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

@media (max-width: 640px) {
  .company-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 24px 16px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

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


/* ══════════════════════════════════════════════════════════════════════════
   INTEGRATIONS PAGE
   ══════════════════════════════════════════════════════════════════════════ */

.integrations-section {
  padding: 0 0 80px;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.integration-card {
  padding: 32px;
  border-radius: var(--r-lg);
  text-align: center;
}

.integration-logo {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.integration-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.integration-card p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.integration-status {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
}

.integration-status.available {
  background: var(--success-bg);
  color: var(--success);
}

.integration-status.coming {
  background: var(--primary-alpha);
  color: var(--primary);
}

.api-section {
  padding: 80px 0;
  background: var(--primary-bg);
}

.api-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .integrations-grid,
  .api-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .integrations-grid,
  .api-features {
    grid-template-columns: 1fr;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   HERO SECTION (Country Landing Pages)
   ══════════════════════════════════════════════════════════════════════════ */

.hero-section {
  position: relative;
  padding: 160px 0 100px;
  background: var(--bg-mesh);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, var(--primary-alpha) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--accent-alpha) 0%, transparent 40%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-alpha);
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-section h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — HERO SECTION (Country Pages)
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .hero-section {
    padding: 140px 0 80px;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1.063rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 120px 0 60px;
  }

  .hero-section h1 {
    font-size: 1.75rem;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .features-hero h1 {
    font-size: 1.75rem;
  }

  .features-hero p {
    font-size: 1rem;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   ADDITIONAL MOBILE POLISH
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
  /* Single column for all 4-column grids */
  .features-mini-grid {
    grid-template-columns: 1fr;
  }

  /* Legal pages */
  .legal-section {
    padding: 100px 0 60px;
  }

  /* Compare table horizontal scroll */
  .compare-table-wrapper {
    margin: 0 -16px;
    padding: 0 16px;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   MISSING CLASSES (added after critic review)
   ══════════════════════════════════════════════════════════════════════════ */

/* Glass card — glassmorphism styling */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--glass-shadow);
}

/* Feature mini card — used in feature grids */
.feature-mini-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: all var(--ease);
}

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

.feature-mini-card .feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-mini-card h4 {
  font-size: 1.063rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-mini-card p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.6;
}

/* Features section — padding wrapper for feature pages */
.features-section {
  padding: 80px 0;
}

.features-section .section-header {
  margin-bottom: 48px;
}
