/* ── Animations ──────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.services-grid [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.services-grid [data-animate]:nth-child(3) { transition-delay: 0.16s; }
.services-grid [data-animate]:nth-child(4) { transition-delay: 0.24s; }
.services-grid [data-animate]:nth-child(5) { transition-delay: 0.32s; }
.services-grid [data-animate]:nth-child(6) { transition-delay: 0.4s; }

.steps [data-animate]:nth-child(2) { transition-delay: 0.12s; }
.steps [data-animate]:nth-child(3) { transition-delay: 0.24s; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(2, 53, 71, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}
.logo span { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.nav-links .btn-sm,
.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
  background: var(--white);
  color: var(--dark) !important;
}
.nav-links .btn-sm:hover,
.btn-sm:hover {
  background: var(--cream);
  color: var(--dark) !important;
  box-shadow: 0 4px 20px rgba(0, 128, 130, 0.3);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(0, 128, 130, 0);
}
.btn-lg:hover {
  background: #00a0a3;
  color: var(--white);
  box-shadow: 0 0 40px rgba(0, 128, 130, 0.4);
}

.btn-ghost {
  padding: 16px 32px;
  font-size: 16px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.btn-white {
  padding: 18px 48px;
  font-size: 16px;
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}
.btn-white:hover {
  background: var(--cream);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ── Section headers ─────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: var(--space-sm);
  padding: 6px 16px;
  background: rgba(0, 128, 130, 0.08);
  border: 1px solid rgba(0, 128, 130, 0.15);
  border-radius: 100px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 128, 130, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 128, 130, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0, 128, 130, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  padding: 8px 20px;
  border: 1px solid rgba(0, 128, 130, 0.3);
  border-radius: 100px;
  margin-bottom: var(--space-lg);
  background: rgba(0, 128, 130, 0.08);
  letter-spacing: 0.02em;
}

.hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.hero-stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.hero-stat-unit {
  font-size: 20px;
  font-weight: 600;
  color: var(--teal);
}

.hero-stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* ── Trust Bar ───────────────────────────────────────────── */
.trust-bar {
  background: var(--dark);
  padding: 0 0 80px;
  text-align: center;
}

.trust-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 20px;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-items span {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  transition: all 0.3s;
}

.trust-items span:hover {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 128, 130, 0.3);
  background: rgba(0, 128, 130, 0.06);
}

/* ── Services ─────────────────────────────────────────────── */
.services {
  background: var(--cream);
  padding: 100px 0;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), #00b4b8);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  border-color: rgba(0, 128, 130, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(2, 53, 71, 0.1);
}
.card:hover::before { opacity: 1; }

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 100px;
}
.card-badge.popular {
  background: rgba(0, 128, 130, 0.1);
  color: var(--teal);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 128, 130, 0.08);
  border-radius: 12px;
  color: var(--teal);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-features span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 10px;
  background: var(--cream);
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* ── Industries / Verticals ──────────────────────────────── */
.industries {
  background: var(--white);
  padding: 100px 0;
}

.verticals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.vertical {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vertical:hover {
  border-color: rgba(0, 128, 130, 0.2);
  box-shadow: 0 12px 40px rgba(2, 53, 71, 0.06);
}

.vertical-header {
  margin-bottom: 24px;
}

.vertical-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border-radius: 10px;
  color: var(--teal);
  margin-bottom: 16px;
}

.vertical-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.vertical-tag {
  font-size: 13px;
  color: var(--text-muted);
}

.vertical-agents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agent-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.2s;
}

.agent-pill:hover {
  border-color: rgba(0, 128, 130, 0.3);
  background: rgba(0, 128, 130, 0.04);
}

.agent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.agent-dot.green { background: #00c853; }
.agent-dot.blue { background: #448aff; }
.agent-dot.orange { background: #ff9100; }
.agent-dot.purple { background: #7c4dff; }
.agent-dot.teal { background: var(--teal); }
.agent-dot.pink { background: #ff4081; }

/* ── How It Works ─────────────────────────────────────────── */
.how-it-works {
  background: var(--white);
  padding: 100px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0;
}

.step {
  padding: 40px 32px;
  position: relative;
  text-align: center;
}

.step-line {
  display: none;
}

.step-marker {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal), #00b4b8);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 128, 130, 0.25);
}

.step h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 300px;
  margin: 0 auto;
}

/* ── CTA ──────────────────────────────────────────────────── */
.cta {
  background: var(--dark);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 128, 130, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta .container { position: relative; z-index: 1; }

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
  line-height: 1.15;
}

.cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 520px;
  margin: 0 auto var(--space-lg);
  line-height: 1.6;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer .logo { font-size: 18px; }

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255, 255, 255, 0.8); }

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 var(--space-md); }
  .nav-inner { padding: 16px var(--space-md); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 24px; }
}

@media (max-width: 768px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 120px 0 60px; }
  .hero-headline br { display: none; }
  .hero-sub br { display: none; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  .hero-stat-divider { width: 40px; height: 1px; }
  .services, .industries, .how-it-works { padding: 64px 0; }
  .verticals { grid-template-columns: 1fr; }
  .cta { padding: 80px 0; }
  .cta h2 br { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .trust-items { gap: 8px; }
  .footer-inner {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}
