/* ============================================================
   BlueXgo — Company Website Stylesheet
   Bicycle OEM / ODM / Trading
   ============================================================ */

:root {
  --navy: #0b1f3a;
  --navy-800: #12294a;
  --navy-700: #1a3560;
  --blue: #1e6fe0;
  --blue-light: #4a8fe8;
  --sky: #eaf2fd;
  --teal: #21c5a8;
  --ink: #16202e;
  --gray: #5b6b7f;
  --gray-light: #f4f6f9;
  --white: #ffffff;
  --border: #e3e9f2;
  --shadow-sm: 0 2px 10px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 8px 28px rgba(11, 31, 58, 0.10);
  --shadow-lg: 0 18px 48px rgba(11, 31, 58, 0.16);
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

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

section { padding: 88px 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.lead { font-size: 1.12rem; color: var(--gray); }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--gray); font-size: 1.06rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--sky);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.btn-outline { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #18a98e; color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, 0.9); }
.topbar a:hover { color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; }
.brand span em { font-style: normal; color: var(--blue); }
.brand .brand-dot { color: var(--teal); }

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.22s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

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

.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;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(30, 111, 224, 0.35), transparent 60%),
    radial-gradient(700px 420px at 0% 110%, rgba(33, 197, 168, 0.18), transparent 55%),
    linear-gradient(135deg, #0b1f3a 0%, #12294a 55%, #1a3560 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 80%);
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding-top: 96px;
  padding-bottom: 104px;
}

.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .hl { color: var(--teal); }
.hero .lead { color: rgba(255, 255, 255, 0.82); max-width: 540px; margin-bottom: 34px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-trust { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-trust .t-item { display: flex; flex-direction: column; }
.hero-trust .t-num { font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero-trust .t-label { font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35)); }

.hero-badge {
  position: absolute;
  left: -14px; bottom: 18px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 12px 18px;
  color: #fff;
  font-size: 0.88rem;
}
.hero-badge strong { display: block; font-size: 1rem; }
.hero-badge span { color: var(--teal); font-weight: 700; }

/* ---------- Marquee / logo strip ---------- */
.strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}
.strip .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.strip-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }
.strip-items { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.strip-items span { font-weight: 700; color: var(--navy-700); opacity: 0.75; font-size: 0.95rem; letter-spacing: 0.02em; }

/* ---------- Sections / cards ---------- */
.bg-light { background: var(--gray-light); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--sky);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 0.96rem; }
.card .card-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.92rem; }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Product category cards ---------- */
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card .cat-art { background: linear-gradient(160deg, var(--sky), #f8fbff); padding: 34px 24px 20px; }
.cat-card .cat-art svg { width: 100%; height: auto; }
.cat-card .cat-body { padding: 22px 24px 26px; }
.cat-card h3 { margin-bottom: 8px; }
.cat-card p { color: var(--gray); font-size: 0.94rem; margin-bottom: 12px; }

.tag {
  display: inline-block;
  background: var(--sky);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split .split-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy), var(--navy-700));
  padding: 40px;
}
.split .split-art svg { width: 100%; height: auto; }
.split ul { list-style: none; margin-top: 24px; }
.split li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.split li:last-child { border-bottom: 0; }
.split li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
.split li strong { color: var(--navy); }
.split li span { color: var(--gray); font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 2rem;
  font-weight: 800;
  color: var(--sky);
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 0.92rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 60%, var(--blue) 140%);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255, 255, 255, 0.78); max-width: 560px; margin: 0 auto 30px; }
.cta-banner::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(33, 197, 168, 0.18);
}

/* ---------- Stats band ---------- */
.stats-band { background: var(--navy); color: #fff; padding: 56px 0; }
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-num { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--teal); }
.stat-label { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; margin-top: 4px; }

/* ---------- About page ---------- */
.about-hero, .page-hero {
  background: linear-gradient(135deg, #0b1f3a, #1a3560);
  color: #fff;
  padding: 84px 0 72px;
}
.about-hero h1, .page-hero h1 { color: #fff; margin-bottom: 14px; }
.about-hero .lead, .page-hero .lead { color: rgba(255, 255, 255, 0.78); max-width: 640px; }
.breadcrumb { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }

.milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.milestone { border-left: 3px solid var(--blue); padding: 4px 0 4px 20px; }
.milestone .m-year { font-weight: 800; color: var(--navy); font-size: 1.15rem; }
.milestone p { color: var(--gray); font-size: 0.92rem; margin-top: 4px; }

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 36px; list-style: none; }
.check-grid li { display: flex; gap: 10px; align-items: flex-start; }
.check-grid li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Products page ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.spec-table th { background: var(--navy); color: #fff; font-weight: 600; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table tr:hover td { background: var(--gray-light); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.96rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 111, 224, 0.14);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.info-card { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 34px; }
.info-card h3 { color: #fff; margin-bottom: 18px; }
.info-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.info-item:last-child { border-bottom: 0; }
.info-item svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.info-item strong { display: block; font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 0.08em; }
.info-item a, .info-item p { color: #fff; font-size: 0.97rem; }

.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); font-weight: 400; transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--gray); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.72); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: rgba(255, 255, 255, 0.72); font-size: 0.94rem; }
.site-footer ul a:hover { color: #fff; }
.footer-about p { font-size: 0.94rem; margin: 14px 0 20px; max-width: 320px; }
.footer-about .brand { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: rgba(255, 255, 255, 0.72); }
.footer-contact a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; }
.footer-bottom a { color: rgba(255, 255, 255, 0.72); }

/* ---------- Misc ---------- */
.notice {
  background: var(--sky);
  border: 1px solid #cfe1f8;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--navy-700);
  margin-bottom: 26px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.notice svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .milestones { grid-template-columns: repeat(2, 1fr); }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  section { padding: 64px 0; }

  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 76px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    padding: 12px 24px 26px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }

  .hero .container { grid-template-columns: 1fr; gap: 44px; padding-top: 64px; padding-bottom: 72px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-art { max-width: 460px; margin: 0 auto; }

  .grid-2, .grid-3, .split, .contact-grid { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .cta-banner { padding: 48px 28px; }
}

@media (max-width: 560px) {
  .grid-4, .steps, .milestones, .stats-band .container, .check-grid, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-cta .btn { display: none; }
  .topbar .container { justify-content: center; }
  .hero-trust { gap: 24px; }
}
