/* =========================================================
   BTM Shoppee — Modern site styles
   ========================================================= */
:root {
  --brand-900: #0a1f44;
  --brand-700: #11337a;
  --brand-500: #1e54c9;
  --brand-300: #5d8bff;
  --accent:    #ff7a18;
  --accent-2:  #ffb347;
  --bg:        #f6f8fc;
  --surface:   #ffffff;
  --ink:       #0c1730;
  --ink-2:     #3a4566;
  --muted:     #6b7691;
  --line:      #e5e9f2;
  --ok:        #1aa260;
  --shadow-sm: 0 2px 8px rgba(12, 23, 48, 0.06);
  --shadow-md: 0 10px 30px rgba(12, 23, 48, 0.10);
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --maxw:      1180px;
  --font:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a  { color: var(--brand-500); text-decoration: none; }
a:hover { color: var(--brand-700); }

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--brand-900);
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.brand-name { font-size: 1.1rem; }
.brand-name span { color: var(--accent); }

.nav-links {
  display: flex; gap: 6px; align-items: center;
}
.nav-links a {
  color: var(--ink-2);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
}
.nav-links a:hover { background: var(--bg); color: var(--brand-700); }
.nav-links a.active {
  color: var(--brand-700);
  background: #eaf0ff;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-700);
  color: #fff !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.cta:hover { background: var(--brand-900); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cta.accent { background: var(--accent); }
.cta.accent:hover { background: #e0660a; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(93,139,255,0.25), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(255,122,24,0.15), transparent 60%),
    linear-gradient(180deg, #0a1f44 0%, #11337a 100%);
  color: #fff;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0 96px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: #d6e1ff;
  font-size: 0.85rem;
  font-weight: 600;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent-2); box-shadow: 0 0 14px var(--accent-2); }

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  margin: 16px 0 16px;
  letter-spacing: -0.02em;
}
.hero h1 span { background: linear-gradient(90deg, #ffb347, #ff7a18); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede {
  color: #d4dcf2;
  font-size: 1.08rem;
  max-width: 56ch;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #e0660a; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.10); color: #fff; }

.hero-art {
  position: relative;
  min-height: 360px;
}
.glass {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}
.stat-card {
  position: absolute;
  color: #fff;
}
.stat-card .num {
  font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
}
.stat-card .lbl { color: #cfd8ee; font-size: 0.9rem; margin-top: 4px; }

.stat-1 { top: 10%;  left: 8%;  }
.stat-2 { top: 8%;   right: 6%; }
.stat-3 { bottom: 8%; left: 18%; }
.stat-4 { bottom: 14%; right: 12%; }

.hero-orb {
  position: absolute;
  inset: 12% 12% 12% 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), transparent 40%),
    conic-gradient(from 210deg, #5d8bff, #ffb347, #ff7a18, #5d8bff);
  filter: blur(8px) saturate(120%);
  opacity: 0.85;
  animation: spin 28s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 64px; }
  .hero-art { min-height: 280px; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-eyebrow {
  color: var(--brand-500); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.82rem;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
}
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Value cards ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d8def0; }
.icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #eaf0ff, #ffffff);
  color: var(--brand-700);
  font-size: 1.4rem;
  margin-bottom: 14px;
  border: 1px solid #dee5fb;
}
.card h3 { margin: 4px 0 8px; font-size: 1.1rem; }
.card p  { margin: 0; color: var(--ink-2); font-size: 0.97rem; }

/* ---------- Partners ---------- */
.partners {
  background:
    linear-gradient(180deg, #ffffff, #f1f5ff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partner-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .partner-row { grid-template-columns: repeat(2, 1fr); } }

.partner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-weight: 700; color: var(--brand-900);
  min-height: 92px;
  transition: transform .15s ease, box-shadow .2s ease;
}
.partner:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.partner .pmark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-300));
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.partner.apple .pmark { background: linear-gradient(135deg, #2b2b2b, #555); }
.partner.microsoft .pmark { background: linear-gradient(135deg, #00a4ef, #7fba00); }
.partner.xiaomi .pmark { background: linear-gradient(135deg, #ff6900, #ff9a3c); }
.partner.cisco .pmark { background: linear-gradient(135deg, #00599c, #1ba0e2); }

/* ---------- Products ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products-grid { grid-template-columns: 1fr; } }
.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-banner {
  height: 130px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fff;
  display: grid; place-items: center;
  font-size: 2rem;
}
.product:nth-child(2) .product-banner { background: linear-gradient(135deg, #ff7a18, #ffb347); }
.product:nth-child(3) .product-banner { background: linear-gradient(135deg, #1aa260, #4cd97b); }
.product:nth-child(4) .product-banner { background: linear-gradient(135deg, #6a5acd, #a085ff); }
.product:nth-child(5) .product-banner { background: linear-gradient(135deg, #00599c, #1ba0e2); }
.product-body { padding: 20px 22px 22px; }
.product h3 { margin: 0 0 6px; font-size: 1.1rem; }
.product p  { margin: 0; color: var(--ink-2); font-size: 0.96rem; }
.product ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-2); }
.product ul li { margin: 3px 0; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background:
    radial-gradient(800px 300px at 90% 0%, rgba(255,179,71,0.22), transparent 60%),
    linear-gradient(135deg, #0a1f44, #11337a);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 38px;
  display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 22px;
  box-shadow: var(--shadow-md);
}
.cta-strip h3 { margin: 0; font-size: 1.5rem; letter-spacing: -0.01em; }
.cta-strip p  { margin: 6px 0 0; color: #c9d2ec; }
@media (max-width: 760px) { .cta-strip { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.page-hero {
  background:
    radial-gradient(700px 280px at 90% 0%, rgba(93,139,255,0.30), transparent 60%),
    linear-gradient(180deg, #0a1f44, #11337a);
  color: #fff;
  padding: 80px 0 70px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 0 0 12px; letter-spacing: -0.02em; }
.page-hero p { color: #d4dcf2; margin: 0 auto; max-width: 60ch; }
.crumbs { color: #cfd8ee; font-size: 0.9rem; margin-bottom: 12px; }
.crumbs a { color: #ffd4a8; }

.prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.prose h2 { margin-top: 0; color: var(--brand-900); }
.prose h3 { color: var(--brand-700); margin: 28px 0 8px; }
.prose p  { color: var(--ink-2); }

.two-col {
  display: grid; grid-template-columns: 2fr 1fr; gap: 28px;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  height: fit-content;
}
.side-card h4 { margin: 0 0 8px; color: var(--brand-700); }
.side-card ul { margin: 0; padding-left: 18px; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
form.contact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
form.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { form.contact .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fbfcff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(30,84,201,0.15);
  background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-msg { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.form-msg.ok { display: block; background: #e9f7ef; color: #0f6c46; border: 1px solid #c9ecd7; }

.info-card {
  background: linear-gradient(135deg, #0a1f44, #11337a);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.info-card h3 { margin: 0 0 14px; }
.info-row {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px;
  align-items: start; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.10);
}
.info-row:first-of-type { border-top: 0; }
.info-row .ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.12); display: grid; place-items: center;
}
.info-row .k { color: #c9d2ec; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; }
.info-row .v { font-weight: 600; }
.info-row a { color: #ffd4a8; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  margin-top: 22px;
}
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer {
  background: #07182f;
  color: #c9d2ec;
  padding: 56px 0 28px;
  margin-top: 24px;
}
.footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 900px) { .footer .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .container { grid-template-columns: 1fr; } }
.footer h5 { color: #fff; margin: 0 0 12px; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
.footer a { color: #c9d2ec; }
.footer a:hover { color: #fff; }
.footer ul { padding: 0; margin: 0; list-style: none; }
.footer ul li { padding: 4px 0; }
.footer .brand { color: #fff; }
.footer .brand-name { color: #fff; }
.footer .legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 28px; padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 0.88rem; color: #97a3c2;
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.muted  { color: var(--muted); }
.spacer-sm { height: 12px; }
.spacer    { height: 24px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
