/* VENTESY — B2B mobile phone battery supplier
   Shared stylesheet. No build step, no external dependencies. */

:root {
  --ink: #171c21;
  --ink-2: #2b333a;
  --muted: #5d6a73;
  --line: #e2e8ec;
  --line-soft: #eef2f4;
  --bg: #ffffff;
  --bg-soft: #f6f9fa;
  --bg-tint: #eef8fd;
  --blue: #21aee5;
  --blue-dark: #0d8fc6;
  --lime: #9ecb22;
  --lime-dark: #7fac12;
  --focus: #0d8fc6;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(23, 28, 33, .05), 0 6px 18px rgba(23, 28, 33, .05);
  --shadow-md: 0 10px 40px rgba(23, 28, 33, .10);
  --max: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.022em; margin: 0 0 .55em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.45rem); }
h3 { font-size: 1.16rem; letter-spacing: -.012em; }
h4 { font-size: 1rem; }
strong { font-weight: 700; color: var(--ink); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

.container { width: min(100% - 44px, var(--max)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }
.section--tight { padding: 46px 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-dark); margin-bottom: 14px;
}
.eyebrow--lime { color: var(--lime-dark); }
.lede { font-size: 1.13rem; color: var(--muted); max-width: 70ch; }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head p { color: var(--muted); font-size: 1.04rem; margin-bottom: 0; }
.center { text-align: center; }
.center .section-head { margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 26px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: auto; height: 48px; }
.nav-desktop { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-desktop a {
  color: var(--ink-2); font-size: .93rem; font-weight: 600;
  padding: 9px 12px; border-radius: 8px; white-space: nowrap;
}
.nav-desktop a:hover { background: var(--bg-soft); text-decoration: none; color: var(--ink); }
.nav-desktop a[aria-current="page"] { color: var(--blue-dark); background: var(--bg-tint); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.lang-tag {
  font-size: .74rem; font-weight: 800; letter-spacing: .08em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px;
}
.nav-mobile { display: none; }
.nav-mobile > summary { list-style: none; cursor: pointer; }
.nav-mobile > summary::-webkit-details-marker { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #000; color: #fff; box-shadow: var(--shadow-md); }
.btn--accent {
  background: linear-gradient(105deg, var(--blue) 0%, var(--blue-dark) 55%, var(--lime-dark) 145%);
  color: #fff;
}
.btn--accent:hover { color: #fff; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn--light { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 16px; font-size: .88rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 92px) 0 clamp(60px, 7vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(680px 400px at 8% -8%, rgba(33, 174, 229, .13), transparent 70%),
    radial-gradient(620px 380px at 92% 4%, rgba(158, 203, 34, .12), transparent 72%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { font-size: 1.14rem; max-width: 60ch; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 11px; }
.hero-points li { display: flex; gap: 11px; align-items: flex-start; margin: 0; font-weight: 600; font-size: .97rem; }
.tick {
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: rgba(158, 203, 34, .22); color: var(--lime-dark);
  display: grid; place-items: center; font-size: 12px; font-weight: 900;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: .85rem; color: var(--muted); }

/* ---------- Lead form ---------- */
.lead-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 30px 30px 26px; overflow: hidden;
}
.lead-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 48%, var(--lime) 48%, var(--lime) 100%);
}
.lead-card h2 { font-size: 1.42rem; margin-bottom: 4px; }
.lead-card .form-intro { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.field label .req { color: #c2410c; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .94rem; color: var(--ink);
  background: #fff; border: 1px solid #d5dee3; border-radius: 9px;
  padding: 11px 13px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #97a4ac; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33, 174, 229, .16);
}
.field--full { grid-column: 1 / -1; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .78rem; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.form-status {
  display: none; margin-top: 14px; padding: 12px 14px; border-radius: 9px;
  font-size: .88rem; line-height: 1.5;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #f0f9e8; border: 1px solid #cfe6a8; color: #3d5a05; }
.form-status--err { background: #fff4ef; border: 1px solid #f6cdb9; color: #8a3413; }
.form-status--info { background: var(--bg-tint); border: 1px solid #c9e7f5; color: #175b7c; }
.form-status .mini-actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Trust strip ---------- */
.trust-strip { border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-item { padding: 26px 18px; border-right: 1px solid var(--line-soft); }
.trust-item:last-child { border-right: 0; }
.trust-item .num { display: block; font-size: 1.32rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.trust-item .num em { font-style: normal; color: var(--blue-dark); }
.trust-item .cap { font-size: .82rem; color: var(--muted); line-height: 1.45; }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 9px; }
.card p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }
.card--soft { background: var(--bg-soft); box-shadow: none; }
.card .card-index {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px;
  border-radius: 9px; background: var(--bg-tint); color: var(--blue-dark); font-weight: 800; font-size: .9rem;
}
.icon-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700;
  background: var(--bg-tint); color: var(--blue-dark); border-radius: 999px; padding: 6px 12px; margin-bottom: 14px;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 11px; color: var(--ink-2); font-size: .96rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--lime-dark); font-weight: 900;
}

/* ---------- Brands ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand-card {
  display: flex; flex-direction: column; gap: 8px; min-height: 148px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; color: var(--ink); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.brand-card:hover { text-decoration: none; border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.brand-card .brand-name { font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.brand-card .brand-series { font-size: .85rem; color: var(--muted); line-height: 1.5; flex: 1; }
.brand-card .brand-link { font-size: .82rem; font-weight: 700; color: var(--blue-dark); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(33,174,229,.14), rgba(158,203,34,.16));
  color: var(--blue-dark); font-weight: 800; font-size: 1rem;
}

/* ---------- Tables / facts ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 620px; }
caption { text-align: left; padding: 16px 18px; font-weight: 700; color: var(--ink-2); border-bottom: 1px solid var(--line); }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th { background: var(--bg-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
td a { font-weight: 700; }

.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.fact { padding: 20px 22px; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); }
.fact:nth-child(2n) { border-right: 0; }
.fact:nth-last-child(-n+2) { border-bottom: 0; }
.fact-grid--single { grid-template-columns: 1fr; }
.fact-grid--single .fact { border-right: 0; border-bottom: 1px solid var(--line-soft); }
.fact-grid--single .fact:last-child { border-bottom: 0; }
.fact dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.fact dd { margin: 0; font-size: .97rem; color: var(--ink-2); }
.fact dd strong { color: var(--ink); }

.badge-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 0; }
.badge {
  font-size: .8rem; font-weight: 700; padding: 7px 13px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { position: relative; padding: 22px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: .78rem; font-weight: 800; color: var(--lime-dark); letter-spacing: .08em; margin-bottom: 10px;
}
.step h3 { font-size: 1rem; margin-bottom: 7px; }
.step p { font-size: .87rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 7px; background: var(--bg-soft);
  display: grid; place-items: center; font-size: 1.05rem; font-weight: 700; color: var(--blue-dark);
}
.faq-item[open] summary::after { content: "−"; background: var(--bg-tint); }
.faq-item .faq-a { padding: 0 20px 20px; color: var(--muted); font-size: .96rem; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }
.faq-item .faq-a ul { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(520px 320px at 88% 10%, rgba(33,174,229,.32), transparent 70%),
              radial-gradient(460px 300px at 8% 100%, rgba(158,203,34,.22), transparent 70%);
}
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.cta-band p { color: #c8d2d9; max-width: 62ch; }
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.cta-split .lead-card { background: #fff; color: var(--ink); }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(48px, 6vw, 76px) 0 clamp(36px, 5vw, 56px); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); max-width: 22ch; }
.page-hero .lede { margin-bottom: 0; }
.breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 8px; color: #aab5bc; }
.prose { max-width: 78ch; }
.prose h2 { margin-top: 1.7em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }
.callout {
  background: var(--bg-tint); border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0;
  padding: 18px 22px; margin: 26px 0; font-size: .96rem; color: var(--ink-2);
}
.callout p:last-child { margin-bottom: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.tag-list li { margin: 0; }
.tag-list a {
  display: inline-block; font-size: .84rem; font-weight: 600; padding: 8px 13px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2);
}
.tag-list a:hover { border-color: var(--blue); color: var(--blue-dark); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: #f1f5f7; border-top: 1px solid var(--line); padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; color: var(--muted); max-width: 34ch; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; font-size: .9rem; }
.footer-col a { color: var(--ink-2); }
.footer-col a:hover { color: var(--blue-dark); }
.footer-col .muted { color: var(--muted); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px;
  font-size: .83rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: clamp(80px, 12vw, 150px) 0; }
.not-found .code {
  font-size: clamp(5rem, 16vw, 10rem); font-weight: 900; line-height: 1; letter-spacing: -.06em;
  background: linear-gradient(100deg, var(--blue), var(--lime-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav-desktop { gap: 0; }
  .nav-desktop a { padding: 8px 9px; font-size: .88rem; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(3) { border-right: 0; }
  .trust-item:nth-child(-n+3) { border-bottom: 1px solid var(--line-soft); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .lede { max-width: none; }
  .lead-card { max-width: 620px; }
  .nav-desktop, .header-cta .btn, .lang-tag { display: none; }
  .header-cta { display: none; }
  .nav-mobile { display: block; margin-left: auto; }
  .nav-mobile > summary {
    display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700;
    border: 1px solid var(--line); border-radius: 9px; padding: 9px 13px; color: var(--ink-2);
  }
  .nav-mobile > summary::before { content: "☰"; font-size: 1.05rem; }
  .nav-mobile[open] > summary::before { content: "✕"; }
  .nav-mobile .mobile-menu {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 12px 22px 20px;
  }
  .site-header { position: relative; }
  .nav-mobile .mobile-menu a { display: block; padding: 11px 4px; border-bottom: 1px solid var(--line-soft); font-weight: 600; color: var(--ink-2); }
  .nav-mobile .mobile-menu a[aria-current="page"] { color: var(--blue-dark); }
  .nav-mobile .mobile-menu .btn { display: inline-flex; margin-top: 14px; }
  .cta-split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, var(--max)); }
  .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: 1px solid var(--line-soft); }
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:nth-child(3) { border-right: 1px solid var(--line-soft); }
  .trust-item:nth-child(-n+4) { border-bottom: 1px solid var(--line-soft); }
  .trust-item:nth-last-child(-n+1) { border-bottom: 0; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; }
  .fact:nth-last-child(2) { border-bottom: 1px solid var(--line-soft); }
  .lead-card { padding: 24px 20px 22px; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-card { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .header-inner { min-height: 68px; }
  .brand img { height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
