/* =========================================================
   Al Noor Al Jalil Technologies L.L.C
   Light theme · navy + teal brand
   Radius system: cards 16px · inputs 10px · buttons pill
   ========================================================= */

:root {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --ink: #17203c;
  --ink-soft: #4b5670;
  --navy: #2b2a5e;
  --teal: #14a3a0;
  --teal-deep: #0d807e;
  --sky: #56c1d6;
  --line: #e2e8ef;
  --tint: #eef7f7;
  --radius-card: 16px;
  --radius-input: 10px;
  --shadow-soft: 0 10px 30px rgba(43, 42, 94, 0.08);
  --shadow-lift: 0 16px 40px rgba(43, 42, 94, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 10px;
}

.eyebrow-light { color: var(--sky); }

.section-sub {
  color: var(--ink-soft);
  max-width: 56ch;
  margin-top: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(20, 163, 160, 0.35);
}
.btn-primary:hover { background: var(--teal-deep); box-shadow: 0 8px 22px rgba(20, 163, 160, 0.45); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: #c6cfdc;
}
.btn-ghost:hover { border-color: var(--navy); background: #ffffff; }

.btn-wide { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand-mark { width: 42px; height: 42px; flex: none; }

.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-size: 0.92rem; font-weight: 800; letter-spacing: 0.02em; }
.brand-name span:last-child { font-size: 0.62rem; letter-spacing: 0.28em; color: var(--ink-soft); font-weight: 500; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--teal-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}
.nav-mobile a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 10px 0;
}
.nav-mobile .btn { margin-top: 8px; }
.nav-mobile.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(86, 193, 214, 0.16), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(43, 42, 94, 0.08), transparent 60%),
    var(--bg);
  padding: 72px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800;
  color: var(--navy);
}

.hero-sub {
  margin-top: 18px;
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(150deg, #ffffff 0%, #eef6f8 55%, #e7f2f4 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  aspect-ratio: 5 / 4;
}

#netCanvas { width: 100%; height: 100%; }

.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(43, 42, 94, 0.1);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.hero-chip svg { color: var(--teal); flex: none; }
.hero-chip-1 { top: 9%; left: 6%; }
.hero-chip-2 { bottom: 9%; right: 6%; }

/* ---------- Facts strip ---------- */
.facts {
  background: var(--navy);
  color: #ffffff;
  padding: 44px 0;
}

.facts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.fact-value {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #7fd6d4;
}

.fact-label {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 24ch;
}

/* ---------- Services ---------- */
.services { padding: 96px 0; }

.svc-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.svc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.svc-featured { grid-column: span 2; }

.svc-tinted {
  background: linear-gradient(160deg, var(--navy) 0%, #232052 60%, #1e3a5f 100%);
  border-color: transparent;
  color: #ffffff;
}
.svc-tinted p, .svc-tinted .svc-points li { color: rgba(255, 255, 255, 0.82); }
.svc-tinted .svc-icon { background: rgba(255, 255, 255, 0.12); color: #7fd6d4; }

.svc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.svc-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; }
.svc-card p { color: var(--ink-soft); font-size: 0.95rem; }

.svc-points {
  margin-top: 16px;
  list-style: none;
  display: grid;
  gap: 8px;
}
.svc-points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.svc-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--teal), var(--sky));
}

/* ---------- Approach ---------- */
.approach {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 96px 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.approach-intro { position: sticky; top: 104px; }
.approach-intro p { margin-top: 14px; color: var(--ink-soft); max-width: 40ch; }

.approach-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 8px;
}

.approach-steps li {
  counter-increment: step;
  position: relative;
  padding: 24px 24px 24px 76px;
  border-radius: var(--radius-card);
  transition: background 0.2s ease;
}
.approach-steps li:hover { background: var(--tint); }

.approach-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px; top: 26px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal-deep);
  background: var(--tint);
  border-radius: 10px;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-steps h3 { font-size: 1.1rem; font-weight: 700; }
.approach-steps p { margin-top: 6px; color: var(--ink-soft); font-size: 0.95rem; max-width: 52ch; }

/* ---------- About ---------- */
.about { padding: 96px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.about-copy h2 { color: var(--navy); max-width: 18ch; }
.about-copy p { margin-top: 16px; color: var(--ink-soft); max-width: 56ch; }
.about-copy .btn { margin-top: 26px; }

.about-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.about-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.about-facts { display: grid; gap: 14px; }
.about-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: baseline; }
.about-facts dt { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal-deep); }
.about-facts dd { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { padding: 0 0 96px; }

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.contact-info {
  background: linear-gradient(160deg, var(--navy) 0%, #232052 55%, #16505c 130%);
  color: #ffffff;
  padding: 56px 48px;
}

.contact-info h2 { color: #ffffff; }
.contact-info > p { margin-top: 12px; color: rgba(255, 255, 255, 0.78); max-width: 34ch; }

.contact-list {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 16px;
}
.contact-list a, .contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}
.contact-list svg { color: #7fd6d4; flex: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.contact-form {
  background: var(--surface);
  padding: 56px 48px;
  display: grid;
  gap: 20px;
  align-content: start;
}

.form-field { display: grid; gap: 8px; }

.form-field label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid #c9d2de;
  border-radius: var(--radius-input);
  background: #fbfcfd;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 163, 160, 0.18);
}

.form-help { font-size: 0.82rem; color: var(--ink-soft); }

.form-note { font-size: 0.9rem; font-weight: 600; color: var(--teal-deep); min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer {
  background: #10162b;
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-name { color: #ffffff; font-weight: 700; letter-spacing: 0.03em; font-size: 0.95rem; }
.footer-ar { margin-top: 6px; font-size: 1rem; color: rgba(255, 255, 255, 0.6); }

.footer-links { display: grid; gap: 10px; justify-items: start; }
.footer-links a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: #7fd6d4; }

.footer-legal { font-size: 0.85rem; display: grid; gap: 6px; justify-items: start; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .svc-card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-featured { grid-column: span 2; }
  .facts-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { aspect-ratio: 4 / 3; }

  .approach-grid { grid-template-columns: 1fr; gap: 32px; }
  .approach-intro { position: static; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }

  .contact-panel { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding: 40px 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-featured { grid-column: span 1; }
  .facts-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-facts div { grid-template-columns: 1fr; gap: 2px; }
  .hero-chip { font-size: 0.78rem; padding: 8px 12px; }
}
