:root {
  --color-bg: #050a08;
  --color-bg-alt: #08110d;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-border: rgba(255, 255, 255, 0.09);
  --color-text: #f4faf7;
  --color-text-muted: #92a39b;
  --color-primary: #10b981;
  --color-secondary: #6ee7b7;
  --color-pink: #e6fff5;
  --gradient-brand: linear-gradient(120deg, #059669 0%, #34d399 100%);
  --gradient-brand-alt: linear-gradient(120deg, #f4faf7 0%, #d1fae5 100%);
  --radius: 16px;
  --max-width: 1120px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-align: center;
  margin: 0 auto 48px;
  max-width: 640px;
}

p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
}

a {
  color: var(--color-secondary);
  text-decoration: none;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Background decor */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: float 18s ease-in-out infinite;
}

.blob-1 {
  width: 480px;
  height: 480px;
  top: -120px;
  left: -100px;
  background: var(--color-primary);
}

.blob-2 {
  width: 420px;
  height: 420px;
  top: 30%;
  right: -140px;
  background: var(--color-secondary);
  animation-delay: -6s;
}

.blob-3 {
  width: 380px;
  height: 380px;
  bottom: -160px;
  left: 20%;
  background: var(--color-pink);
  animation-delay: -12s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 10, 8, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-surface-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text);
}

.logo span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nav a:not(.nav-cta):hover {
  color: var(--color-secondary);
}

.nav-cta {
  background: var(--gradient-brand);
  color: #0a0a12 !important;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.eyebrow.center {
  display: flex;
  justify-content: center;
  margin: 0 auto 16px;
  width: fit-content;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Hero */
.hero {
  padding: 120px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  max-width: 880px;
  margin: 0 auto 20px;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--gradient-brand);
  color: #0a0a12;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-surface-border);
}

.btn-secondary:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  transform: translateY(-2px);
}

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--color-surface-border);
  max-width: 720px;
  margin: 0 auto;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-number,
.stat-suffix {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 6px;
  text-align: center;
}

/* Trust strip */
.trust-strip {
  padding: 32px 0 0;
  position: relative;
  z-index: 1;
}

.trust-strip-inner {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  padding: 10px 18px;
  border-radius: 999px;
}

.trust-icon {
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 96px 0;
}

.why-section {
  background: linear-gradient(180deg, transparent 0%, rgba(16, 185, 129, 0.05) 50%, transparent 100%);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.icon-blue { background: rgba(16, 185, 129, 0.16); }
.icon-purple { background: rgba(52, 211, 153, 0.16); }
.icon-pink { background: rgba(255, 255, 255, 0.08); }
.icon-cyan { background: rgba(110, 231, 183, 0.16); }

.card h3 {
  font-size: 1.1rem;
}

.card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.industry-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
}

.industry-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.3rem;
  margin-bottom: 18px;
  background: rgba(16, 185, 129, 0.14);
}

.industry-card h3 {
  font-size: 1.1rem;
}

.industry-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.why-item {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.why-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.why-item h3 {
  font-size: 1.1rem;
}

/* Timeline */
.timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
  opacity: 0.4;
}

.timeline-step {
  position: relative;
  padding-bottom: 40px;
  padding-left: 24px;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #0a0a12;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-content p {
  margin-bottom: 0;
}

/* CTA banner */
.cta-banner {
  padding: 0;
}

.cta-banner-inner {
  background: var(--gradient-brand-alt);
  border-radius: 28px;
  padding: 64px 32px;
  text-align: center;
  max-width: calc(var(--max-width) - 48px);
}

.cta-banner-inner h2 {
  color: #0a0a12;
  margin-bottom: 12px;
}

.cta-banner-inner p {
  color: rgba(10, 10, 18, 0.75);
  max-width: 480px;
  margin: 0 auto 28px;
}

.cta-banner-inner .btn-primary {
  background: #0a0a12;
  color: #fff;
}

.cta-banner-inner .btn-primary:hover {
  box-shadow: 0 12px 32px rgba(10, 10, 18, 0.35);
}

/* Contact */
.contact-inner {
  max-width: 640px;
  text-align: center;
}

.contact-sub {
  margin-bottom: 40px;
}

.contact-form {
  text-align: left;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-surface-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--color-text);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.contact-form .btn {
  align-self: flex-start;
}

.hidden-field {
  display: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-surface-border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.footer-inner p {
  margin: 0;
}

.footer-contact-link {
  color: var(--color-secondary);
  font-weight: 600;
  transition: color 0.2s ease;
}

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

@media (max-width: 640px) {
  .nav {
    gap: 14px;
  }
  .nav a {
    font-size: 0.82rem;
  }
  .stats {
    gap: 32px;
  }
  .cta-banner-inner {
    border-radius: 20px;
    padding: 48px 24px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
