/* ============================================
   HelloWorlds — Design System v6
   Green · Tech African
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #12100E;
  --bg-alt: #161412;
  --bg-card: #1A1815;
  --bg-card-hover: #201E1A;
  --border: rgba(255,255,255,.05);
  --border-hover: rgba(61,122,68,.2);

  --brand-50: #EFF6F0;
  --brand-100: #D9E8DC;
  --brand-200: #B3D1B9;
  --brand-300: #8DBA96;
  --brand-400: #5D9E64;
  --brand-500: #3D7A44;
  --brand-600: #2D5D33;
  --brand-700: #1D4222;

  --green: #3D7A44;
  --green-light: #5D9E64;
  --green-dark: #1D4222;

  --text: #E6E2DB;
  --text-secondary: #C2BDB6;
  --text-muted: #968F87;
  --text-dim: #625C55;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --radius-card: 14px;
  --radius-xl: 22px;

  --shadow-card: 0 2px 16px rgba(0,0,0,.3);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,.45);
  --shadow-btn: 0 4px 14px rgba(61,122,68,.15);
  --shadow-btn-hover: 0 6px 20px rgba(61,122,68,.25);

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: .5s cubic-bezier(.4,0,.2,1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-secondary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

::selection { background: var(--brand-500); color: #fff; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ============================================
   Animations
   ============================================ */

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

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

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

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -15px); }
  66% { transform: translate(-15px, 20px); }
}

@keyframes pulseSlow {
  0%, 100% { opacity: .3; }
  50% { opacity: .6; }
}

.anim-fade-up { animation: fadeUp .7s ease-out forwards; }
.anim-fade-in { animation: fadeIn .5s ease-out forwards; }
.anim-scale-in { animation: scaleIn .5s ease-out forwards; }

.delay-1 { animation-delay: .1s; opacity: 0; }
.delay-2 { animation-delay: .2s; opacity: 0; }
.delay-3 { animation-delay: .3s; opacity: 0; }
.delay-4 { animation-delay: .4s; opacity: 0; }
.delay-5 { animation-delay: .5s; opacity: 0; }

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal][data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: .4s; }

/* ============================================
   Layout
   ============================================ */

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm { padding: 60px 0; }

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 40px 0; }
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-400);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 20px;
  width: 100%;
}

.section-divider::before,
.section-divider::after {
  content: '';
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background: var(--brand-500);
  opacity: .4;
}

.section-divider-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-500);
}

/* ============================================
   Cards
   ============================================ */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: var(--transition);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 32px;
  right: 32px;
  height: 2px;
  background: var(--brand-500);
  border-radius: 2px;
  opacity: 0;
  transition: var(--transition);
}

.card-hover:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  border: none;
  font-size: 15px;
  padding: 13px 26px;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: var(--shadow-btn);
}

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

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-outline:hover {
  border-color: var(--brand-400);
  background: rgba(61,122,68,.06);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 10px 18px;
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255,255,255,.04);
}

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius-card); }

/* ============================================
   Badges
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.badge-brand {
  background: rgba(61,122,68,.1);
  color: var(--brand-300);
  border: 1px solid rgba(61,122,68,.15);
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* ============================================
   Number Badge
   ============================================ */

.num-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(61,122,68,.15);
}

.num-badge-sm { width: 32px; height: 32px; font-size: 13px; }

.num-badge-light {
  background: linear-gradient(135deg, var(--brand-400), var(--brand-500));
  box-shadow: 0 0 20px rgba(61,122,68,.2);
}

.num-badge-dark {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  box-shadow: 0 0 20px rgba(61,122,68,.1);
}

/* ============================================
   Forms
   ============================================ */

.input, .textarea, .select {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: 12px 16px;
  width: 100%;
  font-size: 14px;
  font-family: var(--font);
  transition: var(--transition);
  outline: none;
}

.input:focus, .textarea:focus, .select:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(61,122,68,.1);
  background: rgba(255,255,255,.05);
}

.input::placeholder, .textarea::placeholder { color: var(--text-dim); }

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

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23625C55' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.input-error {
  border-color: #8B3A3A !important;
  box-shadow: 0 0 0 3px rgba(139,58,58,.1) !important;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
}

.check-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  user-select: none;
}

.check-pill:hover {
  border-color: rgba(61,122,68,.25);
  background: rgba(61,122,68,.04);
}

.check-pill:has(input:checked) {
  border-color: var(--brand-500);
  background: rgba(61,122,68,.08);
}

.check-pill input[type="checkbox"], .check-pill input[type="radio"] {
  accent-color: var(--brand-500);
  width: 16px; height: 16px;
}

.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn .4s ease-out; }

.form-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.form-progress-step {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.04);
  transition: var(--transition);
}

.form-progress-step.active { background: var(--brand-500); }
.form-progress-step.done { background: var(--green-light); }

/* ============================================
   FAQ Accordion
   ============================================ */

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover { color: var(--brand-300); }

.faq-question svg {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-dim);
  width: 18px;
  height: 18px;
}

.faq-item.open .faq-question svg { transform: rotate(45deg); }

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

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

.faq-answer p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   Testimonials
   ============================================ */

.testimonial-card {
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(61,122,68,.15);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 80px;
  line-height: 1;
  color: var(--brand-500);
  opacity: .06;
  font-weight: 900;
  font-family: Georgia, serif;
}

/* ============================================
   Check list
   ============================================ */

.check-list { list-style: none; }

.check-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text-secondary);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-400);
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: rgba(18,16,14,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}

.nav-logo span { color: var(--brand-400); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(18,16,14,.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('https://images.pexels.com/photos/30688590/pexels-photo-30688590.jpeg?auto=compress&cs=tinysrgb&w=1920&q=80');
  background-size: cover;
  background-position: center 30%;
  filter: saturate(.7) brightness(.5);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,16,14,.7) 0%, rgba(18,16,14,.3) 50%, rgba(18,16,14,.85) 100%),
    radial-gradient(ellipse 600px 300px at 30% 50%, rgba(61,122,68,.08), transparent 60%);
  pointer-events: none;
}

.hero-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30vw;
  font-weight: 900;
  color: rgba(93,158,100,.02);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  letter-spacing: -.04em;
  font-family: Georgia, serif;
  font-style: italic;
}

.hero-corner {
  position: absolute;
  width: 50px;
  height: 50px;
  pointer-events: none;
  opacity: .15;
  z-index: 2;
}

.hero-corner-tl {
  top: 80px;
  left: 40px;
  border-top: 2px solid var(--brand-500);
  border-left: 2px solid var(--brand-500);
}

.hero-corner-br {
  bottom: 80px;
  right: 40px;
  border-bottom: 2px solid var(--brand-400);
  border-right: 2px solid var(--brand-400);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  position: relative;
  display: inline-block;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-500));
  border-radius: 2px;
  opacity: .35;
}

.hero p {
  font-size: clamp(15px, 1.1vw, 18px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 60px;
}

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

.hero-stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 3px;
}

/* ============================================
   Services
   ============================================ */

.service-card {
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: var(--brand-500);
  border-radius: 2px;
  opacity: 0;
  transition: var(--transition);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 100% 100%, rgba(61,122,68,.03), transparent 70%);
  pointer-events: none;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

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

.service-card:hover::after {
  opacity: .5;
}

.service-card-accent-light::before {
  background: var(--brand-400);
}

.service-card-accent-light::after {
  background: radial-gradient(circle at 100% 100%, rgba(93,158,100,.04), transparent 70%);
}

.service-card-accent-dark::before {
  background: var(--brand-600);
}

.service-card-accent-dark::after {
  background: radial-gradient(circle at 100% 100%, rgba(45,93,51,.05), transparent 70%);
}

/* ============================================
   Portfolio
   ============================================ */

.portfolio-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.portfolio-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-body { padding: 24px; }

.portfolio-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(61,122,68,.1);
  color: var(--brand-300);
  margin-bottom: 10px;
}

.portfolio-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--green-light);
  font-weight: 600;
}

/* ============================================
   Team
   ============================================ */

.team-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.team-avatar-sm { width: 38px; height: 38px; font-size: 14px; }

/* ============================================
   Process
   ============================================ */

.process-connector {
  position: absolute;
  top: 22px;
  left: calc(50% + 24px);
  width: calc(100% - 48px);
  height: 2px;
  background: linear-gradient(90deg, rgba(61,122,68,.25), rgba(45,93,51,.08));
  display: none;
}

@media (min-width: 768px) {
  .process-connector { display: block; }
}

/* ============================================
   Marquee / Trust
   ============================================ */

.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: .03em;
  text-transform: uppercase;
  position: relative;
}

.marquee-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-500);
  opacity: .25;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer p, .footer a {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

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

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
}

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

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   CTA Block
   ============================================ */

.cta-block {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 100%, rgba(61,122,68,.04), transparent);
  pointer-events: none;
}

.cta-block::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 80px;
  right: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-400), var(--brand-500), transparent);
  border-radius: 2px;
}

.cta-block h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
}

.cta-block p {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-block .btn {
  position: relative;
}

@media (max-width: 768px) {
  .cta-block { padding: 40px 24px; }
}

/* ============================================
   Back to top
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-500);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-btn);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: var(--transition);
  z-index: 50;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
}

/* ============================================
   Utilities
   ============================================ */

.text-center { text-align: center; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

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

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

.mx-auto { margin-inline: auto; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }

.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }

.w-full { width: 100%; }
.max-w-lg { max-width: 560px; }
.max-w-md { max-width: 480px; }
.max-w-sm { max-width: 400px; }

.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.italic { font-style: italic; }
.leading-relaxed { line-height: 1.7; }
.tracking-wider { letter-spacing: .05em; }
.uppercase { text-transform: uppercase; }

.text-white { color: var(--text); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-brand { color: var(--brand-400); }

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

.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-lg { border-radius: var(--radius-card); }
.rounded-md { border-radius: var(--radius); }

/* ============================================
   Insights / Blog Cards
   ============================================ */

.insight-card {
  transition: var(--transition);
}

.insight-card:hover {
  transform: translateY(-3px);
}

.insight-card .badge {
  transition: var(--transition);
}

.insight-card:hover .badge {
  background: rgba(61,122,68,.15);
}
