:root {
  --bg: #070b08;
  --bg-soft: #0c120d;
  --surface: #10170f;
  --surface-2: #16201a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8f0e8;
  --muted: #a4b3a6;
  --green: #22c55e;
  --green-bright: #4ade80;
  --green-dim: rgba(34, 197, 94, 0.14);
  --radius: 16px;
  --max: 1140px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Noto Sans Ethiopic", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Amharic prefers the Ethiopic font first when lang=am */
html[lang="am"] body {
  font-family: "Noto Sans Ethiopic", "Inter", system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--green), #16a34a);
  color: #04130a;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  letter-spacing: 0.2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 8, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.4px; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  color: #04130a;
  border-radius: 10px;
  font-size: 20px;
}
.brand-name .dot { color: var(--green-bright); }

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--muted); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

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

.lang-toggle {
  background: var(--surface);
  color: var(--green-bright);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.lang-toggle:hover { background: var(--surface-2); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  border: 1px solid transparent;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary {
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  color: #04130a;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(34, 197, 94, 0.45); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface); border-color: rgba(255,255,255,0.18); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -40% -20% auto;
  height: 640px;
  background: radial-gradient(circle at 60% 40%, rgba(34,197,94,0.28), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-dim);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--green-bright);
  font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 22px;
}

h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.08; font-weight: 800; letter-spacing: -1.5px; }
h1 .accent {
  background: linear-gradient(120deg, var(--green-bright), #a7f3d0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead { color: var(--muted); font-size: 18px; max-width: 520px; margin: 20px 0 30px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 42px; margin-top: 46px; flex-wrap: wrap; }
.stat .stat-value { font-size: 30px; font-weight: 800; color: var(--green-bright); display: block; letter-spacing: -0.5px; }
.stat .stat-label { font-size: 13px; color: var(--muted); }

/* Hero visual */
.hero-visual { position: relative; }
.browser-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }
.browser-url {
  margin-left: 12px; font-size: 12px; color: var(--muted);
  background: var(--surface-2); padding: 3px 12px; border-radius: 6px;
}
.browser-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; }

.skeleton-line { height: 12px; border-radius: 6px; background: var(--surface-2); }
.skeleton-line.w80 { width: 80%; }
.skeleton-line.w70 { width: 70%; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w40 { width: 40%; }
.skeleton-block { height: 120px; border-radius: 10px; background: linear-gradient(135deg, var(--green-dim), var(--surface-2)); }
.skeleton-row { display: flex; gap: 14px; }
.skeleton-row .skeleton-line { flex: 1; }

.float-tag {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.tag-delivery { top: -18px; right: -10px; }
.tag-price { bottom: -18px; left: -10px; animation-delay: 2.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  color: var(--green-bright);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column; gap: 12px;
}
.card:hover { transform: translateY(-5px); border-color: rgba(34,197,94,0.4); box-shadow: 0 18px 44px rgba(0,0,0,0.4); }
.card-featured { background: linear-gradient(160deg, var(--green-dim), var(--surface)); border-color: rgba(34,197,94,0.4); }
.card-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  font-size: 26px; background: var(--surface-2); border-radius: 13px;
}
.card h3 { font-size: 19px; font-weight: 700; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.price-tag {
  color: var(--green-bright); font-weight: 700; font-size: 15px;
  background: var(--green-dim); padding: 7px 13px; border-radius: 8px; width: fit-content;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.feature-num { font-size: 14px; font-weight: 800; color: var(--green-bright); letter-spacing: 1px; margin-bottom: 12px; }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: 0.2s;
}
.contact-card:hover { border-color: rgba(34,197,94,0.4); transform: translateY(-3px); }
.contact-icon { width: 50px; height: 50px; display: grid; place-items: center; font-size: 24px; background: var(--surface-2); border-radius: 12px; }
.contact-card h4 { font-size: 16px; font-weight: 700; }
.contact-value { color: var(--green-bright); font-weight: 600; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
}
.form-note { font-size: 13px; color: var(--muted); text-align: center; }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 320px; font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.footer-col a { color: var(--muted); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--green-bright); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; font-size: 13px; color: var(--muted); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: flex; }
  .nav-actions .btn-sm { display: none; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .float-tag { position: static; margin-top: 14px; animation: none; }
  .hero-visual { display: flex; flex-direction: column; }
}
