:root {
  --blue: #8aa8ff;
  --gold: #f5b63a;
  --green: #37d39c;
  --gray-light: #030712;
  --gray-mid: #9ca9c7;
  --ink: #f2f5ff;
  --surface: #090f1f;
  --card: #111a2e;
  --border: rgba(148, 163, 184, 0.25);
  --glow: rgba(55, 211, 156, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(55, 211, 156, 0.1),
      transparent 55%
    ),
    linear-gradient(135deg, var(--gray-light), #05070f 55%, #090f1d);
  color: var(--ink);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(4, 7, 17, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.08);
  background-image: url("../assets/ethiopic_ai_logo.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--gray-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-weight: 600;
  background: linear-gradient(135deg, var(--green), var(--gold));
  color: #05070f;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(55, 211, 156, 0.35);
}

.nav-cta:hover {
  filter: brightness(1.05);
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  cursor: pointer;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 18px;
  font-family: "Ojuju", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(120deg, var(--gold), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--gray-mid);
  max-width: 32rem;
  margin-bottom: 24px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-mid);
  backdrop-filter: blur(6px);
}

.chip-strong {
  background: rgba(55, 211, 156, 0.1);
  color: var(--green);
  border-color: rgba(55, 211, 156, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-primary {
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(130deg, #3254ff, var(--green));
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(50, 84, 255, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--gray-mid);
}

.hero-demo {
  background: var(--card);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(55, 211, 156, 0.2);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--gray-mid);
}

.lang-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(138, 168, 255, 0.15);
  color: var(--ink);
  font-size: 0.75rem;
}

.bubble-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
}

.bubble-user {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.08);
}

.bubble-ai {
  background: rgba(55, 211, 156, 0.15);
  color: var(--ink);
}

.demo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  border-top: 1px dashed rgba(148, 163, 184, 0.25);
  padding-top: 10px;
}

.demo-cta {
  padding: 9px 16px;
  border-radius: 999px;
  border: none;
  font-size: 0.8rem;
  background: linear-gradient(120deg, var(--gold), var(--green));
  color: #05070f;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(245, 182, 58, 0.35);
}

.demo-hint {
  font-size: 0.75rem;
  color: var(--gray-mid);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 70px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-eyebrow {
  font-size: 0.85rem;
  color: var(--green);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title {
  font-size: 1.8rem;
  margin-top: 6px;
  margin-bottom: 8px;
  font-family: "Ojuju", system-ui, sans-serif;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--gray-mid);
  max-width: 32rem;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--card);
  padding: 20px 18px;
  border-radius: 20px;
  border: 1px solid rgba(122, 154, 255, 0.3);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.feature-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.feature-body {
  font-size: 0.9rem;
  color: var(--gray-mid);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.what-section {
  padding-top: 10px;
}

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

.what-card {
  background: var(--card);
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(138, 168, 255, 0.25);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.what-card p {
  margin: 0;
  color: var(--gray-mid);
}

.what-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.what-title {
  margin: 0;
  font-size: 1.2rem;
  font-family: "Ojuju", system-ui, sans-serif;
}

.what-list {
  margin: 0;
  padding-left: 18px;
  color: var(--gray-mid);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.what-list li {
  line-height: 1.4;
}

.what-highlight {
  border: 1px solid rgba(55, 211, 156, 0.5);
  background: linear-gradient(
      135deg,
      rgba(55, 211, 156, 0.1),
      rgba(138, 168, 255, 0.08)
    )
    var(--card);
}

.what-footnote {
  font-size: 0.85rem;
  color: var(--ink);
  opacity: 0.85;
}

.what-demo {
  margin-top: auto;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--gray-mid);
  font-size: 0.85rem;
  cursor: not-allowed;
}

.cta-band {
  max-width: 1100px;
  margin: 0 auto 70px;
  padding: 0 20px;
}

.cta-inner {
  border-radius: 24px;
  padding: 30px 26px;
  background: linear-gradient(
    130deg,
    rgba(122, 154, 255, 0.25),
    rgba(55, 211, 156, 0.25),
    rgba(245, 182, 58, 0.25)
  );
  color: white;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.cta-text-main {
  font-size: 1.5rem;
  margin-bottom: 4px;
  font-family: "Ojuju", system-ui, sans-serif;
}

.cta-text-sub {
  font-size: 0.9rem;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-light {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  background: white;
  color: #05070f;
  cursor: pointer;
}

.btn-outline-light {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-family: inherit;
  font-size: 0.9rem;
  background: transparent;
  color: white;
  cursor: pointer;
}

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 18px 20px 24px;
  font-size: 0.8rem;
  color: var(--gray-mid);
  background: #02040a;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .what-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .nav-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    flex-direction: column;
    background: rgba(9, 15, 29, 0.95);
    border-radius: 18px;
    padding: 10px 0;
    overflow: hidden;
    max-height: 320px;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .nav-links.collapsed {
    padding: 0;
    max-height: 0;
  }

  .nav-links a {
    padding: 8px 18px;
  }

  .nav-cta {
    width: 100%;
    order: 4;
  }

  .hero {
    padding-top: 30px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    align-items: flex-start;
  }
}
