/* ============================================================
   LINKMESH - MODERN LIGHT SAAS LANDING
   Inspired by Gusto / Born05 / Change Digital
   ============================================================ */

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: #F8F9FB;
  color: #111827;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

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

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --radius: 0.625rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Backgrounds */
  --background: #F8F9FB;
  --foreground: #111827;

  /* Surfaces */
  --card: #FFFFFF;
  --card-foreground: #111827;
  --surface-alt: #F1F4F9;
  --surface-elevated: #FFFFFF;

  /* Primary - electric blue */
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-foreground: #FFFFFF;
  --primary-light: #DBEAFE;

  /* Accents */
  --accent-warm: #F97316;
  --accent-purple: #8B5CF6;
  --accent-emerald: #10B981;

  /* Muted */
  --muted: #F1F4F9;
  --muted-foreground: #6B7280;

  /* Borders */
  --border: #E5E7EB;
  --border-accent: #93C5FD;

  /* Destructive */
  --destructive: #EF4444;
  --destructive-foreground: #FAFAFA;

  /* Ring / focus */
  --ring: rgba(37, 99, 235, 0.35);

  /* Shadows - soft, Apple-style */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.10);
  --shadow-glow: 0 0 32px rgba(37, 99, 235, 0.12);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(248, 249, 251, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.97rem;
  font-weight: 700;
  color: var(--foreground);
}

.brand img {
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 0.375rem;
  background: var(--background);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

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

/* ---------- Hamburger ---------- */
.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  z-index: 60;
  transition: border-color 0.2s ease;
}

.hamburger:hover {
  border-color: var(--border-accent);
}

.hamburger-box {
  position: relative;
  width: 18px;
  height: 14px;
}

.hamburger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-line:nth-child(3) { top: 100%; transform: translateY(-100%); }

.hamburger.active .hamburger-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--background);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary);
}

/* No scroll when menu open */
body.no-scroll {
  overflow: hidden;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.28);
}

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

.btn-outline:hover {
  border-color: var(--border-accent);
  background: var(--primary-light);
  color: var(--primary);
}

.btn-soft {
  background: var(--muted);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-soft:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-accent {
  background: var(--accent-emerald);
  color: #FFFFFF;
  border: 1px solid var(--accent-emerald);
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-accent:hover {
  background: #059669;
  border-color: #059669;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  background: var(--muted);
}

.btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 6rem;
  overflow: hidden;
  background: linear-gradient(180deg, #EEF2FF 0%, #F8F9FB 100%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent);
  background: var(--primary-light);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: transparent;
  background: linear-gradient(90deg, #2563EB, #8B5CF6, #F97316, #10B981, #EC4899);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p.lead {
  font-size: 1.125rem;
  color: #1F2937;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .hero-stats {
    flex-direction: row;
    gap: 3rem;
  }
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

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

/* ============================================================
   WORDPRESS PLUGIN BUTTON
   ============================================================ */
.wp-plugin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.625rem 1.25rem;
  color: var(--foreground);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  margin-top: 1rem;
}

.wp-plugin-btn:hover {
  background: var(--primary-light);
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.wp-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
}

.wp-plugin-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.wp-plugin-text span {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

.wp-plugin-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (max-width: 480px) {
  .wp-plugin-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* Override inline dark backgrounds from old theme */
section#features.section,
section#pricing.section {
  background: var(--surface-alt) !important;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent);
  background: var(--primary-light);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ============================================================
   WHY LINKMESH
   ============================================================ */
.why-section {
  background: linear-gradient(180deg, #F5F6FA 0%, #FFFFFF 100%);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover .why-icon {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
}

.why-card:nth-child(1) .why-icon { background: linear-gradient(135deg, #2563EB, #7C3AED); }
.why-card:nth-child(2) .why-icon { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.why-card:nth-child(3) .why-icon { background: linear-gradient(135deg, #F97316, #EF4444); }

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

.why-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.625rem;
  line-height: 1.35;
}

.why-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .why-card {
    padding: 1.5rem 1rem 1rem;
  }
}

/* ============================================================
   GRIDS
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid-3-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .grid-3-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   FEATURE CARD
   ============================================================ */
.feature-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
  box-shadow: 0 5px 14px rgba(0,0,0,0.13);
}

.feature-card:nth-child(1) .feature-icon { background: linear-gradient(135deg, #2563EB, #3B82F6); }
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, #10B981, #059669); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.feature-card:nth-child(4) .feature-icon { background: linear-gradient(135deg, #F97316, #EA580C); }
.feature-card:nth-child(5) .feature-icon { background: linear-gradient(135deg, #6366F1, #4F46E5); }
.feature-card:nth-child(6) .feature-icon { background: linear-gradient(135deg, #EC4899, #DB2777); }

.feature-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

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

/* ============================================================
   STEP CARD
   ============================================================ */
.step-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover .step-icon {
  transform: scale(1.08);
  box-shadow: 0 5px 14px rgba(0,0,0,0.15);
}

.step-card:nth-child(1) .step-icon { background: linear-gradient(135deg, #2563EB, #3B82F6); }
.step-card:nth-child(2) .step-icon { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.step-card:nth-child(3) .step-icon { background: linear-gradient(135deg, #10B981, #059669); }

.step-icon svg {
  display: block;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.625rem;
}

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

.step-lead {
  margin-bottom: 1rem;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.step-list li {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  padding: 0.4rem 0;
  padding-left: 1.125rem;
  position: relative;
}

.step-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
}

.step-list li strong {
  color: var(--foreground);
  font-weight: 600;
}

/* ============================================================
   HOW IT WORKS - INTRO + VIDEO
   ============================================================ */
.how-intro {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.how-intro p {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.how-intro p strong {
  color: var(--foreground);
}

.how-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 4rem;
  padding-bottom: 56.25%; /* 16:9 */
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
  .how-video-wrapper {
    border-radius: var(--radius);
    margin-bottom: 2.5rem;
  }
}

/* ============================================================
   PRICING CARD
   ============================================================ */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

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

.pricing-card.popular {
  background: var(--card);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow), var(--shadow-sm);
}

.popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.30);
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.pricing-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
}

.savings-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--primary-light);
}

.pricing-header .desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.price-row {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.price {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.price-period {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  padding-bottom: 0.25rem;
}

.price-meta {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.pricing-btn {
  width: 100%;
  margin-bottom: 1.5rem;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.25rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.pricing-features .check {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--accent-emerald);
}

/* ============================================================
   PRICING TOGGLE
   ============================================================ */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.35rem;
  margin-top: 1rem;
}

.pricing-toggle button {
  font-size: 1.225rem;
  font-weight: 600;
  color: var(--muted-foreground);
  padding: 0.7rem 1.75rem;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.pricing-toggle button.active {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* Mobile: shrink toggle to fit 3 buttons on one line */
@media (max-width: 500px) {
  .pricing-toggle {
    gap: 0.4rem;
    padding: 0.2rem;
  }

  .pricing-toggle button {
    font-size: 0.9375rem;
    padding: 0.55rem 1.1rem;
  }
}

/* ============================================================
   TRIAL BADGE
   ============================================================ */
.trial-badge {
  display: inline-block;
  background: var(--accent-emerald);
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.55rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.30);
  letter-spacing: 0.01em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  background: #FFFFFF;
  padding-top: 4rem;
  padding-bottom: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 240px;
  margin-top: 1rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom a {
  transition: color 0.2s ease;
}

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

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  padding-bottom: 0.5rem;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--foreground);
  font-weight: 500;
}

.breadcrumbs li:not(:last-child) {
  color: var(--muted-foreground);
  font-weight: 400;
}

.breadcrumbs li + li::before {
  content: '›';
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  font-weight: 400;
}

.breadcrumbs a {
  color: var(--muted-foreground);
  transition: color 0.2s ease;
  font-weight: 400;
}

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

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  padding-top: 8rem;
  padding-bottom: 3rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.page-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ============================================================
   CONTENT BLOCK (inner pages)
   ============================================================ */
.content-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.content-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.content-block h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.content-block p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-block ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-block ul li {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--foreground);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9CA3AF;
}

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

.form-group input:invalid:not(:placeholder-shown) {
  border-color: var(--destructive);
}

.form-group input:valid:not(:placeholder-shown) {
  border-color: var(--border-accent);
}

/* Form Messages */
.form-message {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.form-message.show {
  display: block;
}

.form-message.success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.form-message.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* ============================================================
   BLOG LIST
   ============================================================ */
.blog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .blog-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.blog-card .date {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.blog-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ============================================================
   PLACEHOLDER BOX
   ============================================================ */
.placeholder-box {
  background: var(--primary-light);
  border: 1px dashed var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
}

.placeholder-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.placeholder-box p {
  color: var(--muted-foreground);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ============================================================
   SEPARATOR
   ============================================================ */
.separator {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-accent), transparent);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section {
  padding: 6rem 0;
}

.faq-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.faq-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-heading h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.faq-heading p {
  color: var(--muted-foreground);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.faq-item:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--foreground);
  gap: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--muted-foreground);
  border-radius: 2px;
  transition: transform 0.3s ease, background 0.2s ease;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
  background: var(--primary);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.faq-cta {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-heading h2 {
    font-size: 1.75rem;
  }

  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }

  .faq-answer {
    padding: 0 1.25rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.25rem 1rem;
  }
}

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

  html {
    scroll-behavior: auto;
  }
}
