/* ==========================================================================
   ReuseTech — Refreshing Technology Co., Ltd.
   Global Third Party Quality Services
   ========================================================================== */

:root {
  --navy: #0E1B2E;
  --navy-2: #13233B;
  --blue: #1D4ED8;
  --blue-soft: #3B82F6;
  --sky: #DBE5F5;
  --bg: #FFFFFF;
  --bg-alt: #F4F7FC;
  --text: #1E2A3B;
  --muted: #5B6B84;
  --line: #E3EAF5;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 27, 46, .08);
  --shadow-lg: 0 24px 60px rgba(14, 27, 46, .16);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 78, 216, .35);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(29, 78, 216, .45); }

.btn-ghost {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }

.btn-white {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(14, 27, 46, .07); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-logo {
  height: 42px;
  width: auto;
  flex: none;
}
.brand-name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--navy);
  line-height: 1.2;
  white-space: nowrap;
}
.brand-name small {
  display: block;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a:not(.btn) {
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color .18s ease;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transition: width .22s ease;
}
.nav a:not(.btn):hover,
.nav a.active { color: var(--navy); }
.nav a:not(.btn):hover::after,
.nav a.active::after { width: 100%; }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 27, 46, .5);
  z-index: 90;
  opacity: 0;
  transition: opacity .25s ease;
}
.nav-overlay.show { opacity: 1; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(59, 130, 246, .28), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(29, 78, 216, .25), transparent 60%),
    linear-gradient(rgba(13, 27, 54, .8), rgba(13, 27, 54, .84)),
    url('https://workbuddy-space-static.codebuddy.work/image/thIKDIUTNScRLSc5KQQ84a.jpg') center / cover no-repeat,
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 96px 0 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .07);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #DCE7FA;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .22);
  flex: none;
}

.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
}
.accent {
  background: linear-gradient(100deg, #60A5FA, #93C5FD);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
}
.hero .lead { color: #B9C7DE; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 36px;
}
.hero-meta li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: #DCE7FA;
}
.hero-meta svg { color: #4ADE80; flex: none; }

.hero-visual { position: relative; }
.hero-art {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35));
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .97);
  color: var(--navy);
  box-shadow: var(--shadow-lg);
  animation: floaty 5s ease-in-out infinite;
}
.float-card-a { top: 8%; left: -4%; }
.float-card-b { bottom: 6%; right: -3%; animation-delay: 2.2s; }

.fc-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(29, 78, 216, .12);
  color: var(--blue);
  flex: none;
}
.float-card strong { display: block; font-size: 14.5px; line-height: 1.25; }
.float-card span { font-size: 12.5px; color: var(--muted); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   Trust bar
   -------------------------------------------------------------------------- */
.trust {
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 22px 0;
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
}
.trust-item svg { color: var(--blue); flex: none; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(29, 78, 216, .35);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(29, 78, 216, .14), rgba(59, 130, 246, .1));
  color: var(--blue);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.card p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 20px;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--blue);
}
.card-link svg { transition: transform .18s ease; }
.card-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */
.stats-band {
  color: #fff;
  background:
    radial-gradient(700px 380px at 15% 0%, rgba(59, 130, 246, .22), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
  padding: 72px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-value {
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  background: linear-gradient(100deg, #93C5FD, #60A5FA);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  margin-top: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #B9C7DE;
}

/* --------------------------------------------------------------------------
   Why choose us / split
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 26px;
  margin-top: 34px;
}
.feature {
  display: flex;
  gap: 16px;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(29, 78, 216, .14), rgba(59, 130, 246, .1));
  color: var(--blue);
  flex: none;
}
.feature h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.feature p { font-size: 14.5px; color: var(--muted); }

.panel-visual {
  padding: 44px 40px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(59, 130, 246, .3), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow-lg);
}
.panel-visual h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}
.panel-visual > p {
  font-size: 14.5px;
  color: #B9C7DE;
  margin-bottom: 30px;
}
.panel-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.panel-metric {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}
.panel-metric strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #93C5FD;
}
.panel-metric span { font-size: 13px; color: #B9C7DE; }

/* --------------------------------------------------------------------------
   Industries steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.step-num {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--blue), #93C5FD);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.step h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.step p { font-size: 14px; color: var(--muted); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  padding: 0 0 96px;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 52px 56px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(600px 320px at 85% 20%, rgba(59, 130, 246, .35), transparent 60%),
    linear-gradient(135deg, var(--navy), #16304F);
  box-shadow: var(--shadow-lg);
}
.cta-inner h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.cta-inner p { color: #B9C7DE; font-size: 15.5px; }
.cta-inner .btn { flex: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  color: #B9C7DE;
  background: var(--navy);
}
.footer-top { padding: 72px 0 52px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
}

.footer-brand .brand-name { color: #fff; }
.footer-brand > p {
  font-size: 14px;
  margin: 18px 0 20px;
  max-width: 320px;
}
.footer-cert {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #DCE7FA;
}
.footer-cert svg { color: #4ADE80; }

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-links { font-size: 14px; line-height: 2.1; }
.footer-links a { transition: color .18s ease; }
.footer-links a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  margin-bottom: 14px;
}
.footer-contact svg { flex: none; margin-top: 3px; color: #60A5FA; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-items { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 84px; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    width: min(320px, 84vw);
    padding: 96px 30px 30px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav.open { transform: translateX(0); }
  .nav a:not(.btn) { font-size: 17px; padding: 10px 0; }
  .nav-cta { margin: 16px 0 0; }

  .nav-overlay.show { display: block; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .float-card-a { left: 0; }
  .float-card-b { right: 0; }
}

@media (max-width: 560px) {
  .cards-grid, .steps, .trust-items, .footer-grid { grid-template-columns: 1fr; }
  .panel-metrics { grid-template-columns: 1fr; }
  .brand-name { font-size: 15px; }
  .brand-logo { height: 34px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}

/* --------------------------------------------------------------------------
   Brand lockup refinement (header)
   -------------------------------------------------------------------------- */
.brand-name { font-size: 18px; letter-spacing: -.02em; }
.brand-name .brand-accent {
  background: linear-gradient(100deg, var(--blue), var(--blue-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* --------------------------------------------------------------------------
   Brand lockup (official svg wordmark)
   -------------------------------------------------------------------------- */
.brand-lockup { height: 60px; width: auto; }
@media (max-width: 560px) { .brand-lockup { height: 44px; } }

/* -------------------------------------------------------------------------- */
/* Brand icon + wordmark combination                                          */
/* -------------------------------------------------------------------------- */
.brand-icon { height: 72px; width: auto; }
@media (max-width: 560px) { .brand-icon { height: 48px; } }
