/* ============================================================
   WEIYA V4 — B2B foreign-trade template build (Home-22 structure)
   Palette extracted from source: #0b6cf2 / #102a43 / #f7f9fc

   V4 CHANGES vs V3 (InfinityFree compatibility):
   1. Google Fonts @import REMOVED. InfinityFree free tier throttles
      outbound requests and has no SLA, so a render-blocking external
      CSS fetch is a real risk. Replaced with a system font stack that
      resolves instantly with zero network cost. On Windows the stack
      maps to Open Sans / Roboto-adjacent faces via fontconfig.
   2. Added font-family variables so the stack is defined in one place.
   3. Added .no-wrap / focus-visible / reduced-motion guards for a11y.
   ============================================================ */

:root {
  --font-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* V4: the template referenced --font / --font-alt, both of which used to
     resolve to webfonts loaded by the removed @import. Both now map to the
     system stack so nothing falls back to Times New Roman. */
  --font: var(--font-sans);
  --font-alt: var(--font-sans);

  --blue: #0b6cf2;
  --blue-d: #0a54bd;
  --blue-l: #e8f0fe;
  --navy: #0b1f33;
  --navy-2: #102a43;
  --ink: #1b2733;
  --text: #333333;
  --mute: #64748b;
  --line: #e5eaf0;
  --line-2: #d8e1eb;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-soft2: #f0f4fb;
  --gold: #c2a06a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 34px -16px rgba(16, 42, 67, 0.22);
  --shadow-lg: 0 26px 60px -24px rgba(16, 42, 67, 0.3);
  --font: "Open Sans", "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-alt: "Roboto", var(--font);
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-soft2 { background: var(--bg-soft2); }
.sec-navy { background: var(--navy); color: #fff; }
.sec-navy p { color: #a9bdd2; }

/* ---------- headings ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--blue); border-radius: 2px; }
.kicker.center { justify-content: center; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); font-weight: 800; line-height: 1.18; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.08rem; }
h4 { font-size: 0.98rem; }
.sec-navy h1, .sec-navy h2, .sec-navy h3 { color: #fff; }

.sec-head { max-width: 760px; margin-bottom: 46px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { color: var(--mute); margin-top: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: 6px; font-family: var(--font);
  font-size: 15px; font-weight: 700; border: 2px solid transparent;
  cursor: pointer; transition: all 0.25s ease; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(11, 108, 242, 0.6); }
.btn-primary:hover { background: var(--blue-d); transform: translateY(-2px); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-l); }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn svg { width: 17px; height: 17px; flex: none; }

.link-more { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 700; font-size: 14px; }
.link-more svg { width: 15px; height: 15px; transition: transform 0.25s; }
.link-more:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.topbar { background: var(--navy); color: #a9bdd2; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 18px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; }
.topbar-links { display: flex; gap: 22px; }

.header { position: sticky; top: 0; z-index: 90; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 10px; background: var(--blue);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -0.02em;
}
.logo b { font-size: 19px; font-weight: 800; color: var(--ink); display: block; line-height: 1.15; letter-spacing: -0.01em; }
.logo small { display: block; font-size: 11px; color: var(--mute); letter-spacing: 0.08em; text-transform: uppercase; }

.menu { display: flex; gap: 30px; }
.menu a { font-size: 15px; font-weight: 600; color: var(--ink); padding: 6px 0; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--blue); transition: width 0.25s; }
.menu a:hover { color: var(--blue); }
.menu a:hover::after { width: 100%; }
.hamburger { display: none; background: none; border: 1px solid var(--line-2); border-radius: 6px; padding: 9px 12px; cursor: pointer; color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 0; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11, 31, 51, 0.94) 0%, rgba(11, 31, 51, 0.78) 42%, rgba(11, 31, 51, 0.32) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 96px; }
.hero h1 { color: #fff; max-width: 20ch; margin-bottom: 20px; }
.hero h1 span { color: #6fb0ff; }
.hero p { color: #bed0e2; max-width: 56ch; font-size: 16px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 46px; }
.hero-badges div { display: flex; align-items: center; gap: 10px; color: #d7e3f0; font-size: 14px; font-weight: 600; }
.hero-badges svg { width: 20px; height: 20px; color: #6fb0ff; flex: none; }

/* ---------- advantage bar ---------- */
.advantages { background: var(--blue); color: #fff; padding: 0; }
.advantages .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.adv { display: flex; align-items: center; gap: 16px; padding: 30px 28px; }
.adv + .adv { border-left: 1px solid rgba(255, 255, 255, 0.22); }
.adv svg { width: 34px; height: 34px; flex: none; opacity: 0.95; }
.adv b { display: block; font-size: 16px; font-weight: 700; }
.adv span { font-size: 13px; color: rgba(255, 255, 255, 0.82); }

/* ---------- logo wall ---------- */
.logowall { padding: 34px 0; background: #fff; border-bottom: 1px solid var(--line); }
.logowall .container { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.logowall .label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); flex: none; }
.logowall ul { display: flex; gap: 12px; flex-wrap: wrap; }
.logowall li {
  font-family: var(--font-alt); font-size: 14px; font-weight: 700; letter-spacing: 0.06em;
  color: #8494a6; border: 1px solid var(--line); border-radius: 6px; padding: 8px 16px;
  transition: all 0.25s;
}
.logowall li:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-media .tag {
  position: absolute; bottom: -22px; left: -22px; background: var(--blue); color: #fff;
  padding: 20px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.about-media .tag b { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.about-media .tag span { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.about-list { margin: 26px 0 30px; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.about-list svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 3px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 62px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; }
.sec-soft .stat { background: #fff; }
.stat b { display: block; font-family: var(--font-alt); font-size: 2.5rem; font-weight: 700; color: var(--blue); line-height: 1; }
.stat b i { font-style: normal; font-size: 1.4rem; }
.stat span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--mute); font-weight: 600; }

/* ---------- product cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }

.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue); }
.pcard .ph { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft2); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.pcard:hover .ph img { transform: scale(1.06); }
.pcard .bd { padding: 22px 24px 26px; }
.pcard h3 { margin-bottom: 8px; }
.pcard p { font-size: 14px; color: var(--mute); margin-bottom: 16px; }
.pcard .meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.pcard .meta span { font-size: 12px; color: var(--blue); background: var(--blue-l); border-radius: 4px; padding: 4px 9px; font-weight: 600; }

/* ---------- feature split ---------- */
.feat-list { display: grid; gap: 20px; }
.feat { display: flex; gap: 18px; }
.feat .ic {
  width: 52px; height: 52px; flex: none; border-radius: 10px;
  background: var(--blue-l); color: var(--blue); display: grid; place-items: center;
}
.feat .ic svg { width: 26px; height: 26px; }
.feat h3 { margin-bottom: 6px; }
.feat p { font-size: 14px; color: var(--mute); }

/* ---------- why us ---------- */
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: all 0.3s; position: relative; overflow: hidden;
}
.why-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.35s; }
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.why-card:hover::before { transform: scaleX(1); }
.why-card .ic { width: 54px; height: 54px; border-radius: 50%; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; margin-bottom: 20px; }
.why-card .ic svg { width: 27px; height: 27px; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--mute); }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; text-align: center; transition: all 0.3s; }
.step:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.step .n {
  width: 46px; height: 46px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 16px;
  display: grid; place-items: center; font-family: var(--font-alt);
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--mute); }

/* ---------- carousel ---------- */
.carousel { position: relative; overflow: hidden; border-radius: var(--radius); }
.track { display: flex; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.slide { flex: 0 0 100%; }
.slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.car-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,0.92); color: var(--navy); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); transition: background 0.25s; }
.car-nav:hover { background: var(--blue); color: #fff; }
.car-prev { left: 18px; } .car-next { right: 18px; }
.car-nav svg { width: 20px; height: 20px; }
.car-dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.car-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line-2); cursor: pointer; transition: all 0.25s; }
.car-dots button.on { background: var(--blue); width: 26px; border-radius: 5px; }

/* ---------- application ---------- */
.app-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.app-tags span { font-size: 13px; font-weight: 600; color: var(--mute); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 18px; background: #fff; }
.app-tags span:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- quote form ---------- */
.quote-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.quote-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 38px 36px; }
.quote-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.quote-card > p { font-size: 14px; color: var(--mute); margin-bottom: 26px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field label em { color: #e5484d; font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line-2); border-radius: 6px; padding: 13px 15px;
  font-family: var(--font); font-size: 14.5px; color: var(--text); background: #fff;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,108,242,.12); }
.field textarea { resize: vertical; min-height: 104px; }
.upload {
  border: 1.5px dashed var(--line-2); border-radius: 8px; padding: 22px; text-align: center;
  color: var(--mute); font-size: 13.5px; background: var(--bg-soft); cursor: pointer;
}
.upload svg { width: 26px; height: 26px; color: var(--blue); margin: 0 auto 8px; }
.quote-note { font-size: 12.5px; color: var(--mute); margin-top: 14px; }
.quote-side ul { display: grid; gap: 18px; margin-top: 30px; }
.quote-side li { display: flex; gap: 15px; }
.quote-side .ic { width: 46px; height: 46px; flex: none; border-radius: 10px; background: rgba(111,176,255,.16); color: #6fb0ff; display: grid; place-items: center; }
.quote-side .ic svg { width: 23px; height: 23px; }
.quote-side b { display: block; color: #fff; font-size: 15px; }
.quote-side span { font-size: 13.5px; color: #a9bdd2; }

/* ---------- faq ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq summary {
  padding: 20px 24px; cursor: pointer; font-weight: 700; font-size: 15.5px; color: var(--ink);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--blue-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6cf2' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform 0.28s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--blue); }
.faq .ans { padding: 0 24px 22px; color: var(--mute); font-size: 14.5px; }

/* ---------- testimonials ---------- */
.tst-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; }
.tst-stars { display: flex; gap: 4px; margin-bottom: 16px; color: #f5a623; }
.tst-stars svg { width: 17px; height: 17px; }
.tst-card p { font-size: 14.5px; color: #4a5b6d; font-style: italic; margin-bottom: 24px; }
.tst-who { display: flex; align-items: center; gap: 14px; }
.tst-av { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; font-weight: 800; }
.tst-who b { display: block; color: var(--ink); font-size: 15px; }
.tst-who span { font-size: 13px; color: var(--mute); }

/* ---------- resource ---------- */
.rcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: all 0.3s; }
.rcard:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-5px); }
.rcard .ic { width: 56px; height: 56px; border-radius: 12px; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; margin-bottom: 20px; }
.rcard .ic svg { width: 28px; height: 28px; }
.rcard h3 { margin-bottom: 8px; }
.rcard p { font-size: 14px; color: var(--mute); margin-bottom: 16px; }

/* ---------- news ---------- */
.ncard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; }
.ncard:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.ncard .ph { aspect-ratio: 16/10; overflow: hidden; }
.ncard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ncard:hover .ph img { transform: scale(1.05); }
.ncard .bd { padding: 22px 24px 26px; }
.ncard .date { font-size: 12.5px; color: var(--blue); font-weight: 700; letter-spacing: 0.05em; margin-bottom: 10px; display: block; }
.ncard h3 { font-size: 1.02rem; margin-bottom: 10px; }
.ncard p { font-size: 14px; color: var(--mute); margin-bottom: 14px; }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.founder img { border-radius: var(--radius); box-shadow: var(--shadow); }
.founder blockquote { border-left: 4px solid var(--blue); padding-left: 22px; font-size: 15.5px; color: #4a5b6d; font-style: italic; margin: 22px 0; }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(115deg, var(--blue) 0%, #0a54bd 100%); color: #fff; padding: 66px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 30ch; }
.cta-band p { color: rgba(255,255,255,.86); margin-top: 10px; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #a9bdd2; padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 52px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--blue); }
.footer .logo b { color: #fff; }
.footer .logo small { color: #7f95ab; }
.footer .logo-mark { background: var(--blue); }
.footer-about { font-size: 14px; color: #8ea6bd; margin-top: 20px; max-width: 330px; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { font-size: 14px; color: #a9bdd2; }
.footer ul a:hover { color: #fff; padding-left: 4px; transition: padding 0.2s; }
.footer-contact li { display: flex; gap: 11px; font-size: 14px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--blue); flex: none; margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer-social a:hover { background: var(--blue); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #7f95ab; }

/* ---------- floating contact ---------- */
.float-bar { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 80; display: flex; flex-direction: column; gap: 1px; }
.float-bar a {
  width: 54px; height: 54px; background: var(--blue); color: #fff; display: grid; place-items: center;
  position: relative; transition: background 0.25s;
}
.float-bar a:first-child { border-radius: 10px 0 0 0; }
.float-bar a:last-child { border-radius: 0 0 0 10px; }
.float-bar a:hover { background: var(--navy); }
.float-bar svg { width: 22px; height: 22px; }
.float-bar a::before {
  content: attr(data-tip); position: absolute; right: 100%; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--navy); color: #fff; font-size: 12.5px; padding: 7px 13px; border-radius: 6px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: all 0.25s;
}
.float-bar a:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }
.to-top { position: fixed; right: 20px; bottom: 26px; z-index: 80; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; border: none; cursor: pointer; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s, background 0.25s; box-shadow: var(--shadow); }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--navy); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s ease, transform 0.75s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .quote-wrap, .founder { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .menu { display: none; }
  .hamburger { display: block; }
  .menu.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 24px 18px;
  }
  .menu.open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .float-bar { display: none; }
}
@media (max-width: 720px) {
  section { padding: 58px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .advantages .container { grid-template-columns: 1fr; }
  .adv + .adv { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .stats { grid-template-columns: 1fr 1fr; }
  .topbar-links { display: none; }
  .frow { grid-template-columns: 1fr; }
  .quote-card { padding: 28px 22px; }
  .hero .container { padding-top: 62px; padding-bottom: 62px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   V4 ADDITIONS — InfinityFree build
   Honeypot, form status, AI assistant widget
   ============================================================ */

/* --- honeypot: off-screen but not display:none, so bots still fill it --- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* --- form status line --- */
.form-status {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  min-height: 1em;
  color: var(--mute);
}
.form-status.ok  { color: #1f9d55; }
.form-status.err { color: #c0392b; }

/* --- AI assistant widget --- */
.weiya-bot {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: var(--font);
}

.bot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(11, 108, 242, .32);
  transition: transform .18s ease, background .18s ease;
}
.bot-toggle:hover { background: var(--blue-d); transform: translateY(-2px); }
.bot-toggle svg { width: 20px; height: 20px; flex: none; }

.bot-panel {
  width: min(370px, calc(100vw - 40px));
  height: 480px;
  max-height: calc(100vh - 140px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(11, 31, 51, .18);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.bot-panel.open { display: flex; }

.bot-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  background: var(--navy);
  color: #fff;
}
.bot-head b { display: block; font-size: 14.5px; font-weight: 700; }
.bot-head small { display: block; margin-top: 3px; font-size: 12px; opacity: .72; line-height: 1.45; }

.bot-close {
  flex: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
  padding: 0 2px;
}
.bot-close:hover { opacity: 1; }

.bot-log {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.bot-msg {
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.bot-msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.bot-msg.user { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }

.bot-chip {
  align-self: flex-start;
  padding: 7px 13px;
  border: 1px solid var(--blue-l);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 12.5px;
  font-family: var(--font);
  cursor: pointer;
  transition: background .16s ease;
}
.bot-chip:hover { background: var(--blue-l); }

.bot-input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.bot-input-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 13px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-size: 13.5px;
  font-family: var(--font);
  color: var(--ink);
}
.bot-input-row input:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: transparent; }
.bot-input-row button {
  flex: none;
  width: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.bot-input-row button:hover { background: var(--blue-d); }

@media (max-width: 720px) {
  .weiya-bot { right: 14px; bottom: 14px; }
  .bot-toggle span { display: none; }
  .bot-toggle { padding: 13px; }
  .bot-panel { height: 60vh; }
}
