/* =========================================================
   SSC — Shoes Sole Cleaner
   Modern, responsive, tech-feel stylesheet
   ========================================================= */

:root {
  --bg:        #0b1220;
  --bg-2:      #0f1a2e;
  --surface:   #ffffff;
  --surface-2: #f5f7fb;
  --ink:       #0b1220;
  --ink-2:     #2a3550;
  --muted:     #5b6884;
  --line:      #e3e8f2;
  --brand:     #00b4d8;     /* cyan tech accent */
  --brand-2:   #0077b6;     /* deep blue */
  --accent:    #4cc9f0;
  --warn:      #ff5a5f;
  --ok:        #2dd4bf;
  --shadow:    0 8px 24px rgba(11, 18, 32, .08);
  --shadow-lg: 0 20px 60px rgba(11, 18, 32, .14);
  --radius:    14px;
  --radius-sm: 8px;
  --container: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--brand-2);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--brand); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .02em;
}
.brand img { height: 44px; width: auto; }
.brand .brand-tag {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--brand-2);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 500;
}
.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--brand-2);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after  { position: absolute; top:  6px; left: 0; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 12px 14px;
    border-radius: 10px;
  }
  .nav a:hover { background: var(--surface-2); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(76, 201, 240, .35), transparent 60%),
    radial-gradient(800px 400px at 0% 100%, rgba(0, 119, 182, .35), transparent 60%),
    linear-gradient(135deg, #0b1220 0%, #0f1a2e 60%, #102a43 100%);
  color: #eaf2ff;
  padding: 80px 0 64px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  color: #fff;
  margin-bottom: 16px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #4cc9f0, #00b4d8 60%, #0077b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 1.1rem;
  color: #cdd9ee;
  max-width: 560px;
}
.hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stats .stat strong {
  display: block;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 800;
}
.hero-stats .stat span {
  font-size: .8rem;
  color: #9fb3d1;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-media {
  position: relative;
}
.hero-media img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .08);
}
.hero-media .badge {
  position: absolute;
  top: -14px;
  left: -14px;
  background: linear-gradient(135deg, #4cc9f0, #0077b6);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  box-shadow: var(--shadow);
}

@media (max-width: 880px) {
  .hero { padding: 56px 0 48px; }
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { order: -1; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #4cc9f0 0%, #0077b6 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 119, 182, .35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(0, 119, 182, .5); }
.btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: #eaf2ff;
  border-color: rgba(255, 255, 255, .25);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--brand-2);
  border-color: var(--brand-2);
}
.btn-outline:hover { background: var(--brand-2); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--surface); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-2);
  background: rgba(0, 119, 182, .08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); }

/* ---------- Features grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 180, 216, .35);
}
.feature .ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(76, 201, 240, .15), rgba(0, 119, 182, .15));
  color: var(--brand-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.4rem;
}
.feature h3 { margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; }

@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 180, 216, .35);
}
.product-card .thumb {
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  overflow: hidden;
}
.product-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-card h3 { margin: 0; font-size: 1.05rem; }
.product-card p { margin: 0; color: var(--muted); font-size: .9rem; flex: 1; }
.product-card .more {
  margin-top: 8px;
  color: var(--brand-2);
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-card:hover .more { color: var(--brand); }
.product-card .more::after {
  content: "→";
  transition: transform .2s ease;
}
.product-card:hover .more::after { transform: translateX(3px); }

@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- Page header (interior) ---------- */
.page-head {
  background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
  color: #eaf2ff;
  padding: 44px 0 36px;
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
  pointer-events: none;
}
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: 8px; }
.page-head .breadcrumb {
  font-size: .85rem;
  color: #9fb3d1;
}
.page-head .breadcrumb a { color: #cdd9ee; }
.page-head .breadcrumb a:hover { color: #fff; }

/* ---------- Article / content ---------- */
.article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.article h2 { margin-top: 1.5em; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 1.4em; color: var(--brand-2); }
.article p, .article li { color: var(--ink-2); }
.article img {
  border-radius: var(--radius-sm);
  margin: 16px auto;
  box-shadow: var(--shadow);
}
.article .lead-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.article ul, .article ol { padding-left: 1.2em; }
.article li { margin-bottom: 6px; }
.article .specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 18px 0;
  border-left: 3px solid var(--brand);
}
.article .specs div { font-size: .92rem; }
.article .specs strong { color: var(--ink); }

/* ---------- Videos ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.video-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transition: box-shadow .18s ease, transform .18s ease;
}
.video-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.video-item .frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #000;
}
.video-item iframe,
.video-item embed {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-item p { margin: 12px 0 0; font-weight: 600; color: var(--ink); text-align: center; }
@media (max-width: 720px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--ink);
  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(--brand-2);
  transition: transform .18s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer {
  padding: 0 20px 18px;
  color: var(--ink-2);
}
.faq-item .answer img {
  margin: 16px auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

/* ---------- Customer logos ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.logo-grid .logo-cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow .18s ease, transform .18s ease;
}
.logo-grid .logo-cell:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.logo-grid .logo-cell img { max-height: 70px; width: auto; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.case-grid figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}
.case-grid figure img {
  width: 100%;
  border-radius: 6px;
}
.case-grid figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: .9rem;
}
@media (max-width: 720px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-info dt {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-top: 14px;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 2px 0 0; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.contact-info a { color: var(--brand-2); }
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.social-row a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--ink-2);
}
.social-row a:hover { border-color: var(--brand); color: var(--brand-2); }

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* ---------- Stats / about ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-bar .stat strong {
  display: block;
  font-size: 2rem;
  color: var(--brand-2);
  font-weight: 800;
}
.stats-bar .stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #0b1220 0%, #060b15 100%);
  color: #cdd9ee;
  padding: 56px 0 24px;
  margin-top: 64px;
}
.site-footer a { color: #cdd9ee; }
.site-footer a:hover { color: #4cc9f0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-grid h4 {
  color: #fff;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; font-size: .92rem; }
.footer-grid .brand img { height: 40px; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: #8aa0c0;
}
.footer-bottom .ce { display: inline-flex; gap: 8px; align-items: center; }
.footer-bottom img { height: 32px; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Hero product image gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.gallery img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
  color: #fff;
  padding: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; margin: 0 0 4px; }
.cta-banner p { margin: 0; color: rgba(255, 255, 255, .9); }
.cta-banner .btn-primary {
  background: #fff;
  color: var(--brand-2);
  box-shadow: none;
}
.cta-banner .btn-primary:hover { background: #f0f8ff; color: var(--brand-2); }

/* ---------- Helpers ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }
.eyebrow-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 2px;
  margin-bottom: 16px;
}

/* ---------- Lazy video ---------- */
.video-item .frame[data-yt] {
  position: relative;
  cursor: pointer;
}
.video-item .frame[data-yt] .play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .65);
  color: #fff;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  transition: background .18s ease, transform .18s ease;
}
.video-item .frame[data-yt]:hover .play-btn {
  background: var(--brand-2);
  transform: translate(-50%, -50%) scale(1.06);
}

/* ---------- Error page ---------- */
.error-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.error-code {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #4cc9f0, #0077b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
