/* ============================================
   BUZOPS V2 — Figma-Matched Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700;800&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Teal palette */
  --teal: #008db9;
  --teal-alt: #018cb6;
  --teal-dark: #044d80;
  --teal-bright: #06b6d4;
  --teal-text: #1884ba;

  /* Orange palette */
  --orange: #ff7603;
  --orange-alt: #ff7a0e;
  --orange-hover: #e56a00;

  /* Dark palette */
  --dark: #0a0a0a;
  --dark-section: #2c2c2c;
  --dark-card: #1b1b1b;
  --dark-nav: #0f172a;

  /* Purple glow */
  --purple-glow: #8243ea;
  --purple-alt: #6831e1;

  /* Lights */
  --white: #ffffff;
  --off-white: #f7fcff;
  --light-blue-bg: #eafaff;
  --light-gray-bg: #f3f4f6;
  --near-white: #fbfbfb;

  /* Text */
  --text-primary: #0a0a0a;
  --text-secondary: #2e2e2e;
  --text-muted: #6b7280;
  --text-light: #576974;

  /* Utility */
  --success: #00911f;
  --error: #e54747;
  --border: #e5e7eb;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.1);
  --transition: 0.3s ease;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }

.container { max-width: var(--max-width); 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: 'Poppins', sans-serif; color: var(--text-primary); line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 6vw, 6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.75rem); }
p { margin-bottom: 1rem; }
.text-teal { color: var(--teal-text); }
.text-orange { color: var(--orange); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-light-weight { font-weight: 300; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
  text-decoration: none;
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-orange:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,118,3,0.35);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}
.btn-outline-dark:hover {
  background: var(--text-primary);
  color: var(--white);
}
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-sm { padding: 10px 24px; font-size: 0.9rem; }

/* --- Top Bar --- */
.top-bar {
  background: var(--teal-alt);
  color: var(--white);
  text-align: center;
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 400;
}
.top-bar a { color: var(--white); text-decoration: underline; }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--near-white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo img { height: 40px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--orange);
  position: relative;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.25s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links .btn::after { display: none; }

/* --- Mega Menu --- */
.nav-dropdown { position: relative; }
.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 780px;
  padding: 32px;
  z-index: 1001;
}
.nav-dropdown:hover .mega-menu { display: block; }
.mega-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: var(--white);
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mega-menu-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  transition: background var(--transition);
  text-decoration: none;
  color: var(--text-primary);
}
.mega-menu-item:hover { background: var(--light-gray-bg); color: var(--text-primary); }
.mega-menu-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--light-blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.mega-menu-text h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.mega-menu-text p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.4; }
.mega-menu-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 24px;
}
.mega-menu-footer a { font-size: 0.85rem; font-weight: 600; color: var(--teal); }
.mega-menu-footer a:hover { color: var(--orange); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); margin: 6px 0; transition: var(--transition); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .mega-menu { position: static; transform: none; width: 100%; box-shadow: none; margin-top: 8px; }
}

/* --- Hero (Dark with glow effects) --- */
.hero {
  background: var(--dark);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(130,67,234,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(130,67,234,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 { color: var(--white); margin-bottom: 24px; font-weight: 600; }
.hero h1 .highlight { color: var(--orange); }
.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-image {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
/* Perspective grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(30deg);
  transform-origin: center top;
  opacity: 0.5;
}

/* --- Sections --- */
.section { padding: 100px 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark-alt { background: var(--dark-section); color: var(--white); }
.section-dark-alt h2, .section-dark-alt h3, .section-dark-alt h4 { color: var(--white); }
.section-light { background: var(--white); }
.section-light-blue { background: var(--light-blue-bg); }
.section-light-gray { background: var(--light-gray-bg); }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; margin-top: 16px; font-weight: 300; }
.section-header .section-label {
  display: inline-block;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.feature-card-dark {
  background: var(--dark-card);
  color: var(--white);
}
.feature-card-dark h3, .feature-card-dark h4 { color: var(--white); }
.feature-card-dark p { color: rgba(255,255,255,0.7); }
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--light-blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.feature-icon-dark { background: rgba(0,141,185,0.15); }
.feature-card h4 { margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* --- Growth Levers (large numbers) --- */
.lever-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.lever-item { position: relative; }
.lever-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
  opacity: 0.15;
  position: absolute;
  top: -20px;
  left: 0;
}
.lever-item:hover .lever-number { opacity: 1; transition: opacity 0.4s; }
.lever-content { position: relative; z-index: 1; padding-top: 40px; }
.lever-content h4 { color: var(--white); margin-bottom: 8px; }
.lever-content p { color: rgba(255,255,255,0.65); font-size: 0.95rem; margin: 0; }

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

/* --- Split Content --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-text h2 { margin-bottom: 20px; }
.split-text p { color: var(--text-muted); font-weight: 300; }
.split-text ul { list-style: none; margin: 20px 0; }
.split-text ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text-muted);
}
.split-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.split-image img { border-radius: var(--radius-lg); }

@media (max-width: 768px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
}

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform var(--transition);
}
.step-card:hover { transform: translateY(-4px); }
.step-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 16px;
}
.step-card h4 { margin-bottom: 10px; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

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

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border: 2px solid var(--orange);
  box-shadow: 0 8px 40px rgba(255,118,3,0.15);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.pricing-tier { font-size: 0.85rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.pricing-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.pricing-price { margin-bottom: 24px; }
.pricing-price .amount { font-size: 3rem; font-weight: 700; }
.pricing-price .period { color: var(--text-muted); font-size: 1rem; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  padding-left: 24px;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.pricing-card .btn { width: 100%; justify-content: center; }

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}
.testimonial-card:hover { transform: scale(1.05); }
.testimonial-quote { font-style: italic; margin-bottom: 20px; font-size: 1rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--light-blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--teal);
}
.testimonial-name { font-weight: 600; }
.testimonial-role { font-size: 0.85rem; color: var(--text-muted); }
.testimonial-result {
  display: inline-block;
  background: rgba(0,145,31,0.1);
  color: var(--success);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
}

/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  padding: 60px 0;
}
.stat-number { font-size: 2.8rem; font-weight: 700; color: var(--orange); display: block; }
.stat-label { font-size: 0.95rem; color: var(--text-muted); margin-top: 4px; }

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-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);
  font-size: 0.95rem;
}
.comparison-table thead th { background: var(--dark); color: var(--white); font-weight: 600; }
.comparison-table thead th:not(:first-child) { text-align: center; }
.comparison-table td:not(:first-child) { text-align: center; }
.comparison-table .check { color: var(--success); font-weight: 700; }
.comparison-table .cross { color: var(--error); }
.comparison-table .buzops-col { background: rgba(0,141,185,0.05); }

/* --- FAQ --- */
.faq-heading { font-family: 'Lexend', sans-serif; font-weight: 600; }
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-question {
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--orange); transition: transform var(--transition); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}
.faq-item.open .faq-answer { max-height: 500px; padding-top: 12px; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { opacity: 0.9; font-size: 1.1rem; font-weight: 300; max-width: 600px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Social Proof / Logo Bar --- */
.logo-bar {
  padding: 40px 0;
  overflow: hidden;
}
.logo-bar-inner {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0.5;
}
.logo-bar-inner img { height: 36px; filter: grayscale(100%); transition: filter var(--transition); }
.logo-bar-inner img:hover { filter: grayscale(0%); }

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

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

/* --- Page Hero (Interior) --- */
.page-hero {
  padding: 140px 0 60px;
  background: var(--dark);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(130,67,234,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { opacity: 0.85; font-size: 1.15rem; font-weight: 300; max-width: 650px; margin: 0 auto; }

/* --- Utility --- */
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

/* --- Credibility Section --- */
.credibility-section {
  background: var(--dark);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.credibility-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,141,185,0.08) 0%, transparent 70%);
}

/* --- Security Section --- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.security-card {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
}
.security-card h4 { color: var(--white); margin-bottom: 8px; font-size: 1rem; }
.security-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin: 0; }
