/* Alam Al Fedah Mobile Phone & Computer Trading — concept by Beans Digital
   "Fedah" = silver in Arabic → light platinum/silver surfaces, ink navy text,
   cobalt-blue accent. Clean tech-retail look: rounded cards, soft shadows,
   pill badges, centered sections. Deliberately the opposite of a dark gym site. */

@view-transition { navigation: auto; }

:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --silver: linear-gradient(135deg, #e8ecf2 0%, #f8fafc 45%, #d9dfe8 100%);
  --ink: #101828;
  --muted: #5b6474;
  --line: #dde3ec;
  --accent: #1d4ed8;        /* cobalt */
  --accent-soft: #e4ecff;
  --accent-ink: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(16, 24, 40, .08);
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --pad: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- concept banner ---- */
.concept-banner {
  background: var(--ink);
  color: #e7ecf6;
  font-size: 13px;
  text-align: center;
  padding: 7px var(--pad);
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  view-transition-name: aaf-header;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 13px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  view-transition-name: aaf-logo;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #c3ccd9, #eef2f7 50%, #aab5c6);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 2px 6px rgba(16,24,40,.12);
}
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.15; }
.logo-text small { display: block; font-weight: 400; font-size: 10.5px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.main-nav a:hover { color: var(--ink); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.nav-cta {
  background: var(--accent);
  color: var(--accent-ink) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #1a44bd; text-decoration: none; }

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}

/* ---- hero ---- */
.hero {
  padding: clamp(60px, 10vw, 110px) var(--pad) clamp(50px, 8vw, 90px);
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(29, 78, 216, .09), transparent 65%),
    var(--bg);
  text-align: center;
}
.hero-inner { max-width: 820px; margin: 0 auto; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -.02em;
}
.silver-text {
  background: linear-gradient(100deg, #6b7686, #aab5c6 40%, #3c4657 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 32px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px rgba(29, 78, 216, .3); }
.btn-primary:hover { background: #1a44bd; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ---- trust chips row ---- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}
.chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.chip strong { color: var(--accent); }

/* ---- sections ---- */
.section { padding: clamp(52px, 8vw, 96px) var(--pad); }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  letter-spacing: -.01em;
  margin: 0 0 12px;
}
.section-sub { color: var(--muted); margin: 0; }

/* ---- service cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(16, 24, 40, .12); }
.card h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card .glyph {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card .glyph svg { width: 24px; height: 24px; }
.card .note { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent); }

/* ---- silver band (reviews) ---- */
.silver-band { background: var(--silver); border-block: 1px solid var(--line); }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}
blockquote.review {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  font-size: 15px;
}
blockquote.review footer { margin-top: 12px; color: var(--muted); font-size: 13px; }
.stars { color: #f59e0b; letter-spacing: 2px; }

/* ---- steps ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: step; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  background: linear-gradient(135deg, #8d99ac, #cdd5e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---- hours table ---- */
.hours-table { width: 100%; border-collapse: collapse; max-width: 520px; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.hours-table th { color: var(--muted); font-weight: 500; width: 45%; }
.hours-table td { font-weight: 600; }
.hours-note { color: var(--muted); font-size: 13.5px; margin-top: 12px; }

/* ---- contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  align-items: start;
}
.map-frame {
  width: 100%;
  height: 340px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow);
}
.contact-links { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.contact-links a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow);
}
.contact-links a:hover { border-color: var(--accent); text-decoration: none; }
.contact-links .tag {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 4px;
}

/* ---- CTA panel ---- */
.cta-panel {
  background: var(--ink);
  color: #eef2f8;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(40px, 7vw, 72px) var(--pad);
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
  background-image: radial-gradient(600px 300px at 50% 0%, rgba(29, 78, 216, .35), transparent 70%);
}
.cta-panel h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 0 0 12px; }
.cta-panel p { color: #aeb8c9; margin: 0 0 26px; }
.cta-wrap { padding: 0 var(--pad) clamp(52px, 8vw, 96px); }

/* ---- footer ---- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 44px var(--pad) 92px;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.site-footer h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  margin: 0 0 12px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.footer-legal {
  max-width: 1080px;
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

/* ---- WhatsApp float ---- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #06250f;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .25);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.05); text-decoration: none; }
.wa-float svg { width: 20px; height: 20px; flex: none; }

/* ---- reveal animations ---- */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
html.js .reveal.in { opacity: 1; transform: none; }

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

/* ---- mobile ---- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 18px var(--pad) 24px;
    gap: 16px;
    text-align: center;
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 16px; }
  .wa-float span.wa-label { display: none; }
  .wa-float { padding: 14px; }
}
html:not(.js) .nav-toggle { display: none; }
@media (max-width: 760px) {
  html:not(.js) .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    background: none;
    border: 0;
    padding: 0;
    gap: 14px;
  }
}
