/* ============================================================
   China UAV & Counter-Drone Supplier
   B2B Industrial Theme  |  Light, authoritative, responsive
   ============================================================ */

:root {
  --navy:      #0B2A4A;
  --navy-2:    #123A63;
  --steel:     #1C4E80;
  --accent:    #F5A623;
  --accent-2:  #FF7A1A;
  --bg:        #FFFFFF;
  --bg-alt:    #F4F7FA;
  --bg-dark:   #081F36;
  --text:      #16222E;
  --muted:     #5B6B7B;
  --border:    #E2E8F0;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 8px 28px rgba(11,42,74,.10);
  --shadow-sm: 0 2px 10px rgba(11,42,74,.06);
  --maxw:      1200px;
  --header-h:  72px;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", "Noto Naskh Arabic", "Cairo", Tahoma,
               system-ui, -apple-system, "PingFang SC",
               "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; color: var(--navy);
  font-weight: 800; letter-spacing: -.01em;
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: 2px solid transparent; transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #20140a; }
.btn-primary:hover { background: #ffb73d; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--navy); background: var(--bg-alt); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand .logo {
  font-size: 16px; font-weight: 900; letter-spacing: .01em; color: var(--navy);
}
.brand .tagline { font-size: 11px; color: var(--muted); letter-spacing: .04em; margin-top: 2px; }
.brand .tagline b { color: var(--steel); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 15px; font-weight: 600; color: var(--text); position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 14px; }

/* language switch */
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  border: 0; background: transparent; padding: 7px 14px; font-size: 13px; font-weight: 700;
  cursor: pointer; color: var(--muted); transition: all .15s ease;
}
.lang-switch button.active { background: var(--navy); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(28,78,128,.55), transparent 60%),
    linear-gradient(135deg, var(--bg-dark) 0%, var(--navy) 55%, var(--steel) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(900px 600px at 70% 20%, #000, transparent 75%);
}
.hero-inner { position: relative; padding: 96px 0 104px; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(30px, 5vw, 54px); line-height: 1.12; font-weight: 900;
  letter-spacing: -.02em; max-width: 880px;
}
.hero h1 .hl { color: var(--accent); }
.hero p.lead { font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.86); max-width: 640px; margin: 22px 0 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { margin-top: 42px; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-meta div { font-size: 14px; color: rgba(255,255,255,.8); }
.hero-meta b { display: block; font-size: 24px; color: #fff; font-weight: 800; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,.82); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.82); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb strong { color: #fff; }

/* ---------- Trust bar ---------- */
.trust { background: var(--navy); color: #fff; }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 24px; }
.trust .item { text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.trust .item:last-child { border-right: 0; }
.trust .num { font-size: 30px; font-weight: 900; color: var(--accent); }
.trust .lbl { font-size: 14px; color: rgba(255,255,255,.82); margin-top: 4px; }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: all .2s ease; box-shadow: var(--shadow-sm);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--steel); }
.cat-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--steel)); color: #fff; margin-bottom: 18px;
}
.cat-icon svg { width: 28px; height: 28px; }
.cat-card h3 { font-size: 20px; color: var(--navy); font-weight: 800; }
.cat-card .zh { font-size: 14px; color: var(--muted); margin-top: 2px; font-weight: 600; }
.cat-card p { color: var(--muted); margin: 12px 0 16px; font-size: 15px; min-height: 66px; }
.cat-card a.more { font-weight: 700; color: var(--steel); font-size: 14px; display: inline-flex; gap: 6px; }
.cat-card a.more:hover { color: var(--accent-2); }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: all .2s ease; box-shadow: var(--shadow-sm);
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prod-thumb {
  height: 188px; display: grid; place-items: center; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--steel));
}
.prod-thumb svg { width: 96px; height: 96px; opacity: .92; }
.prod-thumb .cat-tag {
  position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.35); backdrop-filter: blur(4px);
  color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.prod-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 18px; color: var(--navy); font-weight: 800; }
.prod-body .sku { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.prod-specs { margin: 14px 0 18px; display: grid; gap: 7px; }
.prod-specs li { font-size: 14px; color: var(--text); display: flex; gap: 8px; align-items: flex-start; }
.prod-specs li svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 3px; color: var(--accent); }
.prod-body .price { font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 8px; }
.prod-body .price b { color: var(--navy); }
.prod-actions { display: flex; gap: 10px; margin-top: 14px; }
.prod-actions .btn { padding: 10px 16px; font-size: 14px; flex: 1; justify-content: center; }

/* ---------- Advantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card { padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.adv-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-alt); color: var(--steel); display: grid; place-items: center; margin-bottom: 14px; }
.adv-card h3 { font-size: 17px; color: var(--navy); }
.adv-card p { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ---------- Regions ---------- */
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.region-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px;
  border-top: 4px solid var(--accent);
}
.region-card h3 { font-size: 21px; color: var(--navy); font-weight: 800; }
.region-card .zh { color: var(--muted); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.region-card p { color: var(--muted); font-size: 15px; }
.region-card ul { margin-top: 14px; display: grid; gap: 8px; }
.region-card li { font-size: 14px; color: var(--text); display: flex; gap: 8px; }
.region-card li::before { content: "▹"; color: var(--accent); font-weight: 700; }

/* ---------- RFQ ---------- */
.rfq { background: linear-gradient(135deg, var(--bg-dark), var(--navy)); color: #fff; }
.rfq .grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.rfq h2 { font-size: clamp(26px, 3vw, 36px); color: #fff; font-weight: 900; }
.rfq .lead { color: rgba(255,255,255,.82); margin: 14px 0 24px; }
.rfq .why { display: grid; gap: 14px; }
.rfq .why li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.9); }
.rfq .why .ic { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 8px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--accent); }

.form-card { background: #fff; border-radius: var(--radius); padding: 30px; color: var(--text); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--text); background: #fff; transition: border .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); }
.field textarea { resize: vertical; min-height: 92px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-ok { display: none; background: #ECF7EE; border: 1px solid #B7E2C0; color: #1E7A3C; padding: 14px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 600; }
.form-ok.show { display: block; }
.form-ok.err { background: #FDECEC; border-color: #F5B5B5; color: #B42318; }

/* compliance / export band */
.compliance { background: var(--bg-alt); }
.compliance-box {
  max-width: 880px; margin: 0 auto; text-align: center; background: #fff;
  border: 1px solid var(--border); border-left: 5px solid var(--accent);
  border-radius: var(--radius); padding: 44px 32px; box-shadow: var(--shadow-sm);
}
.compliance-box h2 { color: var(--navy); font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 10px 0 14px; }
.compliance-box p { color: var(--muted); font-size: 17px; }
.compliance-box p a { color: var(--steel); font-weight: 700; }
.compliance-box .btn { margin-top: 22px; }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--accent); color: #20140a; text-align: center; }
.cta-strip .container { padding: 54px 24px; }
.cta-strip h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; }
.cta-strip p { font-size: 17px; margin: 10px 0 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.78); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .logo { font-size: 17px; font-weight: 900; color: #fff; line-height: 1.15; }
.footer-brand p { margin-top: 12px; font-size: 14px; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; font-weight: 700; }
.footer-col a { display: block; font-size: 14px; padding: 5px 0; color: rgba(255,255,255,.72); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cat-grid, .prod-grid, .adv-grid, .region-grid { grid-template-columns: repeat(2, 1fr); }
  .trust .container { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .trust .item:nth-child(2) { border-right: 0; }
  .rfq .grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; padding: 18px 24px; gap: 16px; box-shadow: var(--shadow); border-bottom: 1px solid var(--border);
  }
  .section { padding: 60px 0; }
  .cat-grid, .prod-grid, .adv-grid, .region-grid, .form-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust .container { grid-template-columns: 1fr 1fr; }
}

/* ---------- RTL (Arabic) ---------- */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .brand { text-align: right; }
html[dir="rtl"] .compliance-box { border-left: 1px solid var(--border); border-right: 5px solid var(--accent); }
html[dir="rtl"] .prod-thumb .cat-tag { left: auto; right: 12px; }
html[dir="rtl"] .nav-links { flex-direction: row; }
html[dir="rtl"] .hero-meta, html[dir="rtl"] .prod-actions, html[dir="rtl"] .hero-cta,
html[dir="rtl"] .rfq .why li, html[dir="rtl"] .prod-specs li { text-align: right; }
html[dir="rtl"] .prod-specs li svg { margin-top: 4px; }
html[dir="rtl"] .section-head, html[dir="rtl"] .cta-strip, html[dir="rtl"] .compliance-box,
html[dir="rtl"] .trust .item { text-align: center; }
html[dir="rtl"] .lang-switch { direction: ltr; }

/* ---------- How to order (process) ---------- */
.proc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proc-step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; position: relative; box-shadow: var(--shadow-sm);
}
.proc-num {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--steel)); color: #fff;
  font-weight: 800; font-size: 16px; margin-bottom: 14px;
}
.proc-step h3 { font-size: 17px; color: var(--navy); }
.proc-step p { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm); padding: 18px 22px; box-shadow: var(--shadow-sm);
}
.faq-item h3 { font-size: 16px; color: var(--navy); }
.faq-item p { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* ---------- Product detail page ---------- */
.prod-hero { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.prod-hero-thumb {
  aspect-ratio: 1/1; border-radius: var(--radius); display: grid; place-items: center;
  color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--steel));
}
.prod-hero-thumb svg { width: 160px; height: 160px; }
.prod-hero h1 { font-size: clamp(24px, 3.6vw, 40px); font-weight: 900; line-height: 1.15; letter-spacing: -.01em; }
.prod-hero .sku-line { color: rgba(255,255,255,.72); font-weight: 600; font-size: 15px; margin: 8px 0 14px; letter-spacing: .04em; }
.price-big { font-size: 22px; font-weight: 800; color: var(--accent); margin: 6px 0 24px; }
.price-big b { color: var(--accent); }
.specs-big { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.specs-big li {
  font-size: 16px; display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.specs-big li svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; color: var(--accent); }

@media (max-width: 720px) {
  .proc-grid { grid-template-columns: 1fr; }
  .prod-hero { grid-template-columns: 1fr; gap: 24px; }
  .prod-hero-thumb { aspect-ratio: 16/10; }
}
