/* ============================================================
   NG Traders — styles
   Plain CSS, no framework. Mobile-first, responsive.
   ============================================================ */

:root {
  --navy: #0f2a43;
  --navy-800: #14375a;
  --steel: #5a7184;
  --accent: #f4791f;      /* hardware orange */
  --accent-dark: #d9660d;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --text: #1c2b3a;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 67, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 42, 67, 0.14);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0 0 .5rem;
}

.muted { color: var(--muted); }
.center { text-align: center; }
.hidden { position: absolute; left: -9999px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(244,121,31,.35); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-icon { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: .6rem; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 34px; height: 34px; }
.brand-name { font-weight: 800; color: var(--navy); font-size: 1.15rem; letter-spacing: -.01em; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a { color: var(--navy); font-weight: 500; }
.nav-menu a:hover { color: var(--accent-dark); text-decoration: none; }
.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: .5rem 1.1rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--navy-800); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(244,121,31,.12), transparent),
    linear-gradient(180deg, #f7fafc, #ffffff);
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
}
.hero-brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.1rem;
}
.hero-brand-logo {
  width: clamp(52px, 8vw, 72px);
  height: clamp(52px, 8vw, 72px);
  flex: none;
}
.hero-brand-name {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1;
}
.hero-copy .lead {
  font-size: 1.15rem;
  color: var(--steel);
  max-width: 46ch;
  margin: 1rem 0 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero-stats {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
}
.hero-stats strong { display: block; font-size: 1.4rem; color: var(--navy); }
.hero-stats span { font-size: .85rem; color: var(--muted); }

.hero-art {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow);
}
.hero-card { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-icon { width: 40px; height: 40px; color: var(--accent); margin: 0 auto .6rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.6rem; }
.section-sub { color: var(--steel); font-size: 1.05rem; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(244,121,31,.12);
  margin-bottom: 1rem;
}
.card-icon svg { width: 30px; height: 30px; color: var(--accent-dark); }
.card p { color: var(--steel); margin: 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 2.5rem;
  align-items: start;
}
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.feature-list li {
  padding-left: 1.8rem;
  position: relative;
  color: var(--steel);
}
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: .45em;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 3px;
  transform: rotate(45deg);
}
.feature-list strong { display: block; color: var(--navy); }
.about-panel {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
}
.about-panel h3 { color: #fff; }
.about-panel .brands-heading { margin-top: 1.6rem; }
.about-panel .muted { color: #b7c6d6; }
.chips { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .9rem;
}

/* ---------- Brochure ---------- */
.brochure {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2.5rem;
  align-items: center;
}
.hint { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.hint code { background: var(--bg-alt); padding: .1rem .4rem; border-radius: 5px; }
.brochure-art { display: grid; place-items: center; }
.pdf-mock {
  width: 200px; height: 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 1.4rem;
  position: relative;
  transform: rotate(-4deg);
}
.pdf-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-weight: 700; font-size: .8rem;
  padding: .25rem .8rem; border-radius: 999px;
}
.pdf-lines { display: grid; gap: .7rem; margin-top: 1rem; }
.pdf-lines span { height: 10px; background: var(--bg-alt); border-radius: 4px; }
.pdf-lines span:nth-child(2) { width: 80%; }
.pdf-lines span:nth-child(4) { width: 60%; }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin: 0;
  box-shadow: var(--shadow);
}
.quote blockquote { margin: 0 0 1rem; font-size: 1.05rem; color: var(--navy-800); }
.quote figcaption strong { display: block; color: var(--navy); }
.quote figcaption span { font-size: .85rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; gap: .1rem; }
.contact-label {
  text-transform: uppercase; font-size: .72rem; letter-spacing: .1em;
  color: var(--muted); font-weight: 700;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .9rem; }
.field input, .field textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244,121,31,.15);
}
.form-note { font-size: .8rem; color: var(--muted); margin: .8rem 0 0; }

.map-wrap {
  max-width: var(--max);
  margin: 3rem auto 0;
  padding: 0 20px;
}
.map-wrap iframe { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cdd9e5; padding: 3rem 0 2rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .muted { flex-basis: 100%; color: #93a6ba; margin: .3rem 0 0; }
.footer-nav { display: flex; gap: 1.4rem; }
.footer-nav a { color: #cdd9e5; font-weight: 500; }
.footer-nav a:hover { color: #fff; text-decoration: none; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; margin: .5rem 0 0; font-size: .88rem; color: #93a6ba; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .hero-inner, .about-grid, .brochure, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: .5rem 20px 1rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { border-bottom: 1px solid var(--border); }
  .nav-menu li:last-child { border-bottom: 0; padding-top: .6rem; }
  .nav-menu a { display: block; padding: .8rem 0; }
  .nav-cta { text-align: center; }

  .footer-inner { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 520px) {
  .hero-stats { flex-wrap: wrap; gap: 1.2rem; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
