/* ============================================================
   BestSolution.no — Global Stylesheet
   Design system based on the approved landing page.
   ============================================================ */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #374151;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* VARIABLES */
:root {
  --purple: #6e3274;
  --purple-dark: #5a2860;
  --purple-light: #8b4f91;
  --teal: #00989e;
  --teal-dark: #007a7f;
  --teal-light: #00b3ba;
  --gold: #FFD700;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1140px;
  --section-padding: 100px 24px;
  --section-padding-mobile: 60px 16px;
  --gradient: linear-gradient(135deg, var(--purple) 0%, var(--teal) 100%);
  --gradient-reverse: linear-gradient(135deg, var(--teal) 0%, var(--purple) 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

/* CONTAINER */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-label-purple { background: rgba(110,50,116,0.08); color: var(--purple); }
.section-label-teal { background: rgba(0,152,158,0.08); color: var(--teal); }

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  font-family: var(--font-body);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  background: var(--teal);
  color: var(--white);
}
.btn-purple {
  background: var(--purple);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-purple:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline-white {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-purple {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-outline-purple:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-icon { font-size: 1.2em; }

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   SITE HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--purple);
}
.site-logo img {
  height: 36px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
  position: relative;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--purple);
}
.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--purple);
  border-radius: 1px;
}
.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.85rem !important;
  color: var(--white) !important;
}
.nav-cta:hover {
  color: var(--white) !important;
}
.lang-switch {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}
.lang-switch a {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: all 0.2s;
}
.lang-switch a:hover,
.lang-switch a.active {
  color: var(--purple);
  background: rgba(110,50,116,0.08);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 1.5rem;
  color: var(--gray-700);
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 24px;
  gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav a:hover { color: var(--purple); }
.mobile-nav .lang-switch {
  margin-top: 24px;
  margin-left: 0;
  gap: 8px;
}
.mobile-nav .lang-switch a {
  font-size: 0.9rem;
  padding: 12px 20px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
  padding: 80px 24px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-brand {
  font-family: var(--font-heading);
}
.footer-brand .site-logo {
  color: var(--white);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
  padding-top: 24px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--white); }
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.4);
}
.footer-social a:hover { color: var(--white); }

/* ============================================================
   PAGE HERO (smaller than landing hero)
   ============================================================ */
.page-hero {
  background: var(--gradient);
  padding: 140px 24px 80px;
  text-align: center;
}
.page-hero h1 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 16px;
}
.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  font-family: var(--font-body);
}

/* ============================================================
   LANDING HERO (full height)
   ============================================================ */
.hero {
  background: var(--gradient);
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 { color: var(--white); margin-bottom: 20px; font-weight: 800; letter-spacing: -0.5px; }
.hero-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: 12px;
  font-family: var(--font-body);
}
.hero-stars { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 32px; }
.hero-stars .stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.hero-stars .rating-text { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-small { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 4px; }

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.section { padding: var(--section-padding); }
.section-white { background: var(--white); }
.section-gray { background: var(--off-white); }
.section-gradient {
  background: var(--gradient);
  color: var(--white);
}
.section-gradient h2,
.section-gradient h3 { color: var(--white); }
.section-gradient p { color: rgba(255,255,255,0.85); }

.text-center { text-align: center; }

/* Cards */
.card-grid {
  display: grid;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1;
}
.card-icon-purple { background: var(--gradient); }
.card-icon-teal { background: var(--gradient-reverse); }

/* Team section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
.team-card {
  text-align: center;
  padding: 32px 20px;
}
.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 4px solid var(--gray-100);
}
.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.team-card .role {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.team-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Feature list */
.feature-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  font-size: 1.05rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}
.feature-list li:last-child { border-bottom: none; }
.feature-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  margin-top: 2px;
  line-height: 1;
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
}
.two-col-text h2 {
  margin-bottom: 16px;
}
.two-col-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
}
.two-col-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.two-col-image img {
  width: 100%;
  display: block;
}

/* Video wrapper */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  transition: opacity 0.3s;
}
.video-wrapper iframe.video-ended {
  opacity: 0;
  pointer-events: none;
}
.video-end-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(110,50,116,0.85), rgba(0,152,158,0.85));
}
.video-end-overlay .end-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: white;
}
.video-end-overlay .end-overlay-content span {
  font-size: 15px;
  font-weight: 600;
  opacity: 0.9;
}
.video-end-overlay:hover .end-overlay-content svg {
  transform: scale(1.1);
  transition: transform 0.2s;
}

/* Steps */
.step-card { text-align: center; }
.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
}

/* Testimonials */
.testimonial-card {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: left;
  border: 1px solid var(--gray-100);
}
.testimonial-quote {
  font-size: 2rem;
  color: var(--purple);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 12px;
}
.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.9rem;
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* Pricing */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 24px;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: left;
  border: 2px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--purple);
  box-shadow: 0 6px 30px rgba(110,50,116,0.15);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.pricing-card h3.teal { color: var(--teal); }
.pricing-card h3.purple { color: var(--purple); }
.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 8px 0 4px;
  line-height: 1.2;
}
.pricing-period { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 20px; }
.pricing-features { list-style: none; margin-bottom: 24px; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.pricing-features li::before {
  content: '\2713';
  flex-shrink: 0;
  width: 20px; min-width: 20px; height: 20px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--teal);
  font-weight: 700;
  line-height: 1;
}
.pricing-card.featured .pricing-features li::before {
  background: rgba(110,50,116,0.1);
  color: var(--purple);
}
.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-card .btn-outline {
  background: transparent;
  border: 2px solid var(--gray-300);
  color: var(--gray-600);
  box-shadow: none;
}
.pricing-card .btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(0,152,158,0.04);
  transform: translateY(-2px);
}
.pricing-features li.excluded {
  color: var(--gray-400);
  text-decoration: line-through;
  text-decoration-color: var(--gray-300);
}
.pricing-features li.excluded::before {
  content: '\2715';
  color: var(--gray-300);
  background: var(--gray-50);
}
.pricing-features li.limit {
  color: var(--gray-500);
}
.pricing-features li.limit::before {
  content: '\2022';
  color: var(--gray-400);
  font-size: 1rem;
}
.pricing-note { font-size: 0.85rem; color: var(--gray-400); max-width: 600px; margin: 0 auto; }

/* Comparison table */
.comparison-table {
  max-width: 960px;
  margin: 48px auto 0;
  overflow-x: auto;
}
.comparison-table h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  text-align: center;
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
}
.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--gray-700);
}
.comparison-table thead th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-800);
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 14px;
}
.comparison-table thead th:nth-child(4) {
  color: var(--purple);
}
.comparison-table .check {
  color: var(--teal);
  font-weight: 700;
}
.comparison-table .cross {
  color: var(--gray-300);
}
.comparison-table .limit-text {
  color: var(--gray-500);
  font-size: 0.82rem;
}

/* Pricing toggle */
.pricing-tab {
  padding: 12px 24px;
  min-height: 44px;
  border: 2px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  color: var(--gray-500);
  transition: all 0.2s ease;
}
.pricing-tab:hover {
  border-color: var(--purple);
  color: var(--purple);
}
.pricing-tab.active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
.pricing-save {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 4px;
  font-weight: 700;
  vertical-align: middle;
}
.pricing-tab.active .pricing-save {
  background: rgba(255,255,255,0.25);
}
.price-amount {
  transition: all 0.3s ease;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-number.purple { color: var(--purple); }
.stat-number.teal { color: var(--teal); }
.stat-label { font-size: 0.9rem; color: var(--gray-500); }
.stat-source { text-align: center; font-size: 0.8rem; color: var(--gray-400); margin-top: 20px; }

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 600px;
  margin: 0 auto;
}
.proof-stat { text-align: center; }
.proof-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
}
.proof-stat-label { font-size: 0.85rem; color: var(--gray-500); margin-top: 4px; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; text-align: left; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  transition: color 0.2s;
  line-height: 1.4;
}
.faq-question:hover { color: var(--purple); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; min-width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray-500);
  transition: all 0.3s;
  margin-left: 16px;
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--purple);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  font-family: var(--font-body);
}

/* CTA Section */
.cta {
  background: var(--gradient);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -40%; left: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta h2 { color: var(--white); margin-bottom: 16px; font-weight: 800; }
.cta-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 36px;
  font-family: var(--font-body);
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Blog listing */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-100);
}
.blog-card-content {
  padding: 24px;
}
.blog-card-meta {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.blog-card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card-content h3 a { color: var(--gray-900); transition: color 0.2s; }
.blog-card-content h3 a:hover { color: var(--purple); }
.blog-card-content p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}
.blog-category-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.blog-category-filter button {
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 8px 20px;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
  color: var(--gray-600);
}
.blog-category-filter button:hover,
.blog-category-filter button.active {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

/* Blog post */
.blog-post-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px;
}
.blog-post-content h2 { margin: 40px 0 16px; }
.blog-post-content h3 { margin: 32px 0 12px; }
.blog-post-content p {
  margin-bottom: 16px;
  color: var(--gray-600);
  line-height: 1.8;
}
.blog-post-content img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}
.blog-post-content ul, .blog-post-content ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--gray-600);
}
.blog-post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Contact form */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--purple);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 12px;
  display: none;
}
.form-status.success { display: block; background: rgba(0,152,158,0.1); color: var(--teal-dark); }
.form-status.error { display: block; background: rgba(220,38,38,0.1); color: #dc2626; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; }
  .comparison-table { font-size: 0.82rem; }
  .comparison-table th, .comparison-table td { padding: 10px 8px; }
  .comparison-table td:first-child { min-width: 120px; position: sticky; left: 0; background: var(--white); z-index: 1; }
  .section-gray .comparison-table td:first-child { background: var(--gray-50); }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }

  .hero { min-height: 80vh; padding: 120px 20px 70px; }
  .page-hero { padding: 120px 20px 60px; }
  .section { padding: var(--section-padding-mobile); }

  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; }
  .proof-stats { grid-template-columns: 1fr; gap: 24px; }
  .stats-row { gap: 24px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .cta { padding: 70px 20px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn { padding: 14px 28px; font-size: 0.95rem; min-height: 48px; }

  .blog-grid { grid-template-columns: 1fr; }

  /* Pricing toggle: stack vertically on narrow screens */
  .pricing-toggle { flex-direction: column !important; align-items: center !important; gap: 8px !important; }
  .pricing-tab { width: 100%; max-width: 280px; text-align: center; }

  /* Comparison table: sticky first column + better mobile sizing */
  .comparison-table { margin-top: 32px; margin-left: -16px; margin-right: -16px; max-width: calc(100% + 32px); }
  .comparison-table table { font-size: 0.78rem; }
  .comparison-table th, .comparison-table td { padding: 10px 6px; white-space: nowrap; }
  .comparison-table td:first-child, .comparison-table th:first-child { white-space: normal; min-width: 100px; }

  /* AI chat: push up to avoid overlap with messenger CTA */
  #bs-ai-chat-btn { bottom: 80px !important; }
}

@media (max-width: 480px) {
  .hero { min-height: 75vh; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Ensure pricing period text wraps nicely */
  .pricing-period { font-size: 0.78rem; }
  .pricing-price { font-size: 1.8rem; }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .pricing-card, .faq-icon { transition: none !important; }
  .faq-answer { transition: none !important; }
}
