/* NILE TECH — landing page design system */

:root {
  --navy-950: #041328;
  --navy-900: #081b38;
  --navy-800: #0d264a;
  --navy-700: #143463;
  --paper: #f7f8fa;
  --paper-2: #eef1f5;
  --ink: #0d1b2f;
  --ink-2: #33435c;
  --muted: #56657c;
  --line: #dce2ea;
  --accent: #ff7a1a;
  --accent-dark: #e86400;
  --accent-soft: #fff0e4;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(9, 23, 45, .06), 0 4px 12px rgba(9, 23, 45, .05);
  --shadow-md: 0 18px 40px rgba(7, 20, 42, .12);
  --shadow-lg: 0 30px 70px rgba(7, 20, 42, .22);
  --max: 1180px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { text-wrap: balance; margin: 0; line-height: 1.1; letter-spacing: -.025em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.tnum { font-variant-numeric: tabular-nums; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 10px;
  font-size: 15px; font-weight: 650; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--accent); color: #1b0e02; box-shadow: 0 8px 24px rgba(255, 122, 26, .24); }
.btn-primary:hover { background: #ff913d; box-shadow: 0 12px 30px rgba(255, 122, 26, .34); }
.btn-outline { border-color: rgba(255, 255, 255, .28); color: var(--white); background: transparent; }
.btn-outline:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { background: var(--navy-800); }
.btn-light-outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-light-outline:hover { border-color: var(--ink-2); }
.btn svg { width: 17px; height: 17px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 20, 42, .92);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  border-radius: 0 0 18px 18px;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px;
  background: var(--navy-900); border-radius: 0 0 18px 18px; z-index: -1;
}
.header-inner { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); min-width: 0; }
.brand img { height: 30px; width: auto; max-width: 165px; object-fit: contain; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word strong { font-size: 17px; letter-spacing: .07em; font-weight: 800; }
.brand-word span { font-size: 9px; letter-spacing: .28em; color: #93a6c0; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14px; font-weight: 550; color: #c8d3e4; transition: color 150ms ease; }
.nav a:hover { color: var(--white); }
.header-cta { min-height: 42px; padding-inline: 17px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; color: white; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: auto -10% -55% 45%; height: 620px;
  background: radial-gradient(ellipse at center, rgba(255,122,26,.16), transparent 68%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: 52px 40px 40px;
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); border-radius: 24px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero .eyebrow { color: #ffb27a; }
.hero h1 { font-size: clamp(38px, 4.5vw, 60px); font-weight: 750; letter-spacing: -.04em; margin: 20px 0 22px; }
.hero h1 .accent { color: var(--accent); }
.hero-lead { font-size: 18px; line-height: 1.6; color: #bcc9db; max-width: 520px; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 0; }
.hero-note div { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #9fb0c8; }
.hero-note svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* Product window mockup */
.hero-visual { position: relative; min-width: 0; }
.window {
  background: var(--navy-800); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.window-bar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); }
.window-bar span { margin-left: 12px; font-size: 11px; color: #8fa2bd; letter-spacing: .04em; }
.window img { width: 100%; height: auto; display: block; }
.device-float {
  position: absolute; right: -22px; bottom: -58px; width: 158px;
  background: var(--navy-800); border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px; padding: 7px; box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
}
.device-float img { width: 100%; border-radius: 13px; }
.hero-visual-note { position: absolute; left: -8px; bottom: -62px; font-size: 12px; color: #8195b1; }

/* ---------- Logo strip ---------- */
.strip { background: var(--navy-900); color: #9fb0c8; padding: 34px 0 40px; }
.strip-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 0; }
.strip-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #6f819c; margin-right: 10px; }
.strip-items { display: flex; gap: 10px; flex-wrap: wrap; }
.strip-items span { font-size: 13px; font-weight: 600; color: #d5dfed; border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px; padding: 8px 14px; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 70px; }
#products, #edduuka-detail, #mis, #nilelink, #services, #agent, .cta { border-radius: 24px; overflow: hidden; }
.cta-inner { border-radius: 24px; }
.section { padding: 84px 0; }
.section-paper { background: var(--navy-900); }
.section-head { max-width: 680px; margin-bottom: 46px; }
.section-head .eyebrow { color: var(--accent-dark); }
.section-head h2 { font-size: clamp(30px, 3.4vw, 43px); font-weight: 720; margin: 16px 0 14px; }
.section-head p { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0; }

/* Product cards grid */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product-card {
  background: var(--navy-800); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(255,122,26,.65); }
.product-media { background: var(--navy-950); padding: 26px 26px 0; overflow: hidden; }
.product-media img { width: 100%; height: auto; border-radius: 12px 12px 0 0; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.product-media.phone { display: flex; justify-content: center; align-items: flex-end; min-height: 270px; }
.product-media.phone img { width: auto; max-height: 250px; border-radius: 16px 16px 0 0; }
.product-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.product-kicker { font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: var(--accent-dark); }
.product-body h3 { font-size: 24px; margin: 9px 0 10px; color: var(--white); }
.product-body p { color: #bcc9db; line-height: 1.6; font-size: 15px; margin: 0 0 20px; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: auto; }
.tags span { font-size: 12px; color: #dbe4f0; background: rgba(255,255,255,.08); border-radius: 6px; padding: 6px 9px; font-weight: 550; }
.product-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 650; color: var(--accent-dark); margin-top: 20px; }
.product-link svg { width: 15px; height: 15px; transition: transform 160ms ease; }
.product-link:hover svg { transform: translateX(3px); }

/* Spotlight */
.spotlight { background: var(--navy-900); color: var(--white); }
.spotlight-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.spotlight .eyebrow { color: #ffb27a; }
.spotlight h2 { font-size: clamp(30px, 3.4vw, 43px); margin: 16px 0 16px; }
.spotlight p.lead { font-size: 17px; line-height: 1.65; color: #bcc9db; margin: 0 0 28px; }
.feature-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #dbe4f0; line-height: 1.45; }
.feature-list svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 1px; }
.spotlight-media { background: var(--navy-800); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
  padding: 14px; box-shadow: var(--shadow-lg); }
.spotlight-media img { width: 100%; border-radius: 10px; }
.spotlight-media.phone { display: flex; justify-content: center; padding: 30px 14px; }
.spotlight-media.phone img { max-height: 520px; width: auto; border-radius: 14px; }
.spotlight.reverse .spotlight-media { order: -1; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service {
  position: relative; overflow: hidden; padding: 30px;
  display: flex; flex-direction: column;
  background: var(--navy-800); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.service:hover { transform: translateY(-3px); border-color: rgba(255,122,26,.55); box-shadow: var(--shadow-md); }
.service-feature {
  padding: 30px;
  background: linear-gradient(145deg, #0d264a 0%, #143463 100%);
  border-color: rgba(255,122,26,.34);
}
.service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.service-num { font-size: 13px; font-weight: 750; letter-spacing: .12em; color: var(--accent); }
.service-icon { width: 50px; height: 50px; border-radius: 14px; background: rgba(255,122,26,.16); color: #ff9a4d;
  display: grid; place-items: center; }
.service-feature .service-icon { width: 54px; height: 54px; border-radius: 15px; }
.service-icon svg { width: 23px; height: 23px; }
.service-feature .service-icon svg { width: 25px; height: 25px; }
.service h3 { font-size: 21px; margin-bottom: 10px; color: var(--white); }
.service-feature h3 { font-size: 22px; margin-bottom: 10px; }
.service p { font-size: 15px; color: #bcc9db; line-height: 1.6; margin: 0 0 20px; }
.service-feature p { font-size: 15px; max-width: none; }
.service-link { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; color: var(--accent); font-size: 14px; font-weight: 700; margin-top: auto; }
.service-link svg { width: 16px; height: 16px; transition: transform 160ms ease; }
.service-link:hover svg { transform: translateX(3px); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step {
  padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg);
  background: var(--navy-900);
}
.step-num { font-size: 13px; font-weight: 750; color: var(--accent-dark); letter-spacing: .12em; }
.step h3 { font-size: 20px; margin: 12px 0 8px; color: var(--white); }
.step p { color: var(--muted); line-height: 1.6; font-size: 15px; margin: 0; }
.build-links { margin: 28px 0 0; font-size: 15px; line-height: 1.7; color: #bcc9db; }
.build-links a { color: var(--accent); font-weight: 650; }
.services-cta { margin-top: 26px; }

/* Field scenario callout */
.scenario {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 18px 20px; margin: 0 0 30px;
}
.scenario-label { display: block; font-size: 11px; font-weight: 750; letter-spacing: .13em;
  text-transform: uppercase; color: #ff9a4d; margin-bottom: 8px; }
.scenario p { margin: 0; font-size: 14px; line-height: 1.6; color: #dbe6f4; }

/* Booking */
.booking { background: var(--navy-900); }
.booking-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.booking-card {
  display: flex; flex-direction: column; gap: 8px; min-height: 188px;
  padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  color: var(--white); background: var(--navy-900); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.booking-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.booking-card-kicker { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffb27a; }
.booking-card strong { font-size: 18px; letter-spacing: -.02em; color: var(--white); }
.booking-card-desc { font-size: 14px; line-height: 1.5; color: #bcc9db; }
.booking-card-action { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--accent); font-size: 14px; font-weight: 650; }
.booking-card-action svg { width: 15px; height: 15px; }
.booking-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.booking-note a { color: var(--accent-dark); font-weight: 650; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 20px 0 16px; border-radius: 100px;
  background: #ff7a1a; color: #2a1200; font-size: 15px; font-weight: 750;
  box-shadow: 0 12px 30px rgba(7, 20, 42, .28);
  transition: transform 160ms ease, background-color 160ms ease;
}
.wa-float:hover { background: #ff8f3d; transform: translateY(-2px); }
.wa-float:active { transform: scale(.98); }
.wa-float svg { width: 26px; height: 26px; }

/* CTA + footer */
.cta { background: var(--navy-900); color: var(--white); }
.cta-inner { padding: 56px 40px; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.cta h2 { font-size: clamp(30px, 3.6vw, 44px); max-width: 640px; }
.cta p { color: #bcc9db; font-size: 17px; line-height: 1.6; margin: 16px 0 0; max-width: 580px; }
.footer { background: var(--navy-950); color: #93a6c0; padding: 44px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer .brand-word strong { color: var(--white); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; }
.footer-links a:hover { color: var(--white); }
.footer small { font-size: 13px; }


/* 24/7 WhatsApp agent */
.agent .eyebrow { color: #ffb27a; }
.agent h2 { color: var(--white); font-size: clamp(30px, 3.4vw, 43px); margin: 16px 0 16px; }
.agent p.lead { color: #dbe6f4; font-size: 17px; line-height: 1.65; margin: 0 0 28px; }
.agent .feature-list li { color: #e3ebf6; }
.agent { background: var(--navy-950); }
.agent-panel { background: var(--navy-800); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-lg); }
.agent-panel-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.agent-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #1b0e02;
  display: grid; place-items: center; font-weight: 800; font-size: 16px; flex: none; }
.agent-panel-head strong { display: block; font-size: 15px; color: var(--white); }
.agent-panel-head span { display: block; font-size: 12px; color: #ffb27a; margin-top: 3px; }
.agent-thread { display: grid; gap: 12px; padding: 20px 0; }
.chat-bubble { border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.5; max-width: 86%; }
.chat-bubble.user { background: var(--accent); color: #1b0e02; margin-left: auto; font-weight: 600; }
.chat-bubble.bot { background: rgba(255,255,255,.08); color: #e6edf7; }
.agent-typing { font-size: 12px; color: #9fb0c8; }

/* One flat brand blue across the whole page */
body, .site-header, .hero, .strip, #products, .spotlight, #services, #agent, #book,
.section-paper, .booking, .cta, .footer {
  background: var(--navy-900);
}
.site-header { backdrop-filter: none; }
.product-card, .product-media, .spotlight-media, .device-float, .window,
.service, .booking-card, .agent-panel, .chat-bubble.bot, .step { background: var(--navy-900); }
.tags span { background: transparent; border: 1px solid rgba(255,255,255,.18); }
.service-icon { background: transparent; }
.hero::after { display: none; }
.hero-inner, .cta-inner { background: transparent; border: 0; }

/* Maximum text contrast on blue */
.strip, .strip-label, .hero-visual-note, .window-bar span,
.section-head p, .product-body p, .spotlight p.lead, .service p,
.step p, .cta p, .booking-note, .agent-typing, .footer,
.footer-links a, .footer small { color: #dbe6f4; }
.hero-note div { color: #d3dfef; }
.section-head .eyebrow, .product-kicker, .product-link, .step-num { color: #ff9a4d; }
.section-head h2 { color: var(--white); }
.booking-note a { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { padding-top: 64px; }
  .hero-grid, .spotlight-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 720px; }
  .spotlight.reverse .spotlight-media { order: 0; }
  .device-float { right: 10px; bottom: -44px; }
  .service-grid, .booking-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 14px 20px 22px; flex-direction: column; align-items: stretch; gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 16px; }
  .menu-btn { display: flex; }
  .header-cta { display: none; }
  .section { padding: 68px 0; }
  .hero-inner { padding: 30px 20px; }
  .cta-inner { padding: 36px 22px; }
  .product-grid { grid-template-columns: 1fr; }
  .service-grid, .booking-grid, .steps { grid-template-columns: 1fr; }
  .service-feature { grid-row: auto; padding: 30px; }
  .hero h1 { font-size: clamp(36px, 9vw, 48px); }
  .hero-lead { font-size: 16px; }
  .device-float { width: 118px; right: 4px; bottom: -34px; }
  .hero-visual-note { display: none; }
  .cta-inner { padding: 60px 0; }
}
@media (max-width: 420px) {
  .wrap { width: min(100% - 32px, var(--max)); }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
