:root {
  --bg: #05080f;
  --bg-accent: radial-gradient(circle at 20% 20%, rgba(239, 68, 68, 0.25), transparent 55%),
    radial-gradient(circle at 80% 15%, rgba(79, 70, 229, 0.18), transparent 50%),
    #05080f;
  --surface: rgba(16, 21, 28, 0.78);
  --surface-solid: #10151c;
  --surface-alt: rgba(15, 20, 27, 0.82);
  --muted: #9fb0c1;
  --muted-strong: #d0d8e2;
  --brand: #ef4444;
  --brand-soft: #7f1d1d;
  --brand-secondary: #22d3ee;
  --outline: rgba(148, 163, 184, 0.16);
  --shadow-xl: 0 24px 80px rgba(0, 0, 0, 0.55);
  --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Helvetica, Arial, sans-serif;
  color: #e8edf4;
  background: var(--bg-accent);
  overflow-x: hidden;
}

a {
  color: #fde68a;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #fff;
}

#root {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.background-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.background-glow .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
}

.background-glow .g1 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.45), transparent 70%);
  top: -10vw;
  left: -15vw;
  animation: float-a 28s ease-in-out infinite;
}

.background-glow .g2 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4), transparent 65%);
  top: 20vh;
  right: -20vw;
  animation: float-b 32s ease-in-out infinite;
}

.background-glow .g3 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.32), transparent 75%);
  bottom: -25vw;
  left: 20vw;
  animation: float-c 36s ease-in-out infinite;
}

@keyframes float-a {
  50% {
    transform: translate(4vw, -2vh);
  }
}

@keyframes float-b {
  50% {
    transform: translate(-3vw, 3vh);
  }
}

@keyframes float-c {
  50% {
    transform: translate(-3vw, -3vh);
  }
}

.shell {
  position: relative;
  padding: 40px 7vw 80px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(5, 8, 15, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-md);
}

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

.nav-brand img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.45));
}

.nav-brand span {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  background: rgba(239, 68, 68, 0.18);
  color: #fff;
}

.nav-links a.active {
  background: rgba(239, 68, 68, 0.22);
  color: #fff;
}

.nav-contact {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, var(--brand), var(--brand-soft));
  border-radius: 12px;
  padding: 10px 16px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.35);
}

.nav-toggle {
  display: none;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  color: #e2e8f0;
  font-weight: 600;
  padding: 8px 12px;
}

.hero {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(239, 68, 68, 0.18), transparent 55%),
    radial-gradient(circle at 80% 40%, rgba(56, 189, 248, 0.22), transparent 60%);
  opacity: 0.9;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.8), rgba(56, 189, 248, 0.8));
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  margin: 0 0 18px;
  line-height: 1.1;
  color: #f8fafc;
}

.hero p {
  margin: 0;
  color: #dce5f2;
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-buttons {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn.primary {
  background: linear-gradient(180deg, var(--brand), var(--brand-soft));
  color: #fff;
  box-shadow: 0 16px 40px rgba(239, 68, 68, 0.35);
}

.btn.secondary {
  background: rgba(148, 163, 184, 0.14);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.btn.linkish {
  background: transparent;
  color: var(--muted-strong);
  padding-inline: 4px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.4);
}

.hero-badges {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}

.badge strong {
  color: #fff;
}

.hero-showcase {
  position: relative;
  background: var(--surface-alt);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  padding: 34px 32px;
  box-shadow: var(--shadow-md);
}

.hero-showcase h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
}

.hero-showcase pre {
  background: rgba(10, 13, 20, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  padding: 18px;
  margin: 0;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  color: #bfdbfe;
  overflow-x: auto;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.35);
}

.section {
  margin-top: 80px;
}

.section-header {
  margin-bottom: 32px;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-eyebrow::before {
  content: '';
  width: 16px;
  height: 2px;
  background: rgba(239, 68, 68, 0.6);
}

.section-title {
  margin: 12px 0 10px;
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  color: #f8fafc;
}

.section-subtitle {
  margin: 0;
  color: #cbd5f5;
  max-width: 560px;
  line-height: 1.6;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.metric {
  background: rgba(15, 20, 27, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.metric strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #fdf2f8;
}

.metric span {
  font-size: 0.9rem;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: rgba(13, 16, 24, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(239, 68, 68, 0.08), rgba(56, 189, 248, 0.08));
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: #fff;
}

.card p {
  margin: 0;
  color: #cbd5f5;
  line-height: 1.6;
}

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.45), rgba(56, 189, 248, 0.35));
}

.timeline-step {
  position: relative;
  padding-left: 54px;
}

.timeline-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-weight: 600;
}

.integration-grid,
.security-grid,
.workflow-grid,
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.workflow-card {
  background: rgba(15, 20, 27, 0.78);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 22px;
}

.workflow-card h4 {
  margin: 0 0 8px;
  color: #f8fafc;
}

.workflow-card span {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(94, 234, 212, 0.85);
}

.testimonial-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial {
  background: rgba(15, 20, 27, 0.82);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.testimonial p {
  font-style: italic;
  color: #e2e8f0;
  line-height: 1.6;
}

.testimonial footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.faq-item {
  background: rgba(13, 16, 24, 0.78);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 22px;
}

.faq-item h4 {
  margin: 0 0 10px;
  color: #f8fafc;
}

.faq-item p {
  margin: 0;
  color: #cbd5f5;
  line-height: 1.6;
}

.cta-footer {
  margin-top: 80px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.24), rgba(56, 189, 248, 0.24));
  border-radius: 28px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 36px 40px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.cta-footer h2 {
  margin: 0;
  font-size: 2rem;
  color: #fff7ed;
}

.cta-footer p {
  margin: 0;
  color: #fde7f3;
}

.footer {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
  color: #cbd5f5;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted-strong);
}

.footer-links a:hover,
.footer-links a:focus {
  color: #fff;
}

.footer .ethio {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  color: #0f172a;
}

.footer .ethio::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #239e46 0 33%, #f7df00 33% 66%, #e31e24 66% 100%);
  opacity: 0.9;
}

.footer .ethio span {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.footer .powered {
  margin-left: auto;
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 960px) {
  .shell {
    padding: 28px 24px 60px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
  }

  .nav-contact {
    width: 100%;
    text-align: center;
  }

  .hero {
    margin-top: 40px;
  }
}

@media (max-width: 720px) {
  .nav {
    position: relative;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 10px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .nav-contact {
    width: 100%;
  }

  .hero-panel,
  .hero-showcase,
  .cta-footer {
    padding: 26px;
  }

  .timeline::before {
    left: 12px;
  }

  .timeline-step {
    padding-left: 48px;
  }
}
