/* =========================================================
   Mobile Tempered Glass Wholesale — style.css
   Theme: White + Soft Black + Light Silver + Soft Cyan + Light Teal
   ========================================================= */

:root {
  --bg: #ffffff;
  --surface: #f6f9fb;
  --silver: #e6ecf1;
  --silver-2: #d8e1e8;
  --text: #14181c;
  --text-soft: #4a5560;
  --muted: #6b7682;
  --cyan: #57c4d6;
  --cyan-deep: #1ea7be;
  --teal: #79d4c4;
  --teal-deep: #1fa899;
  --line: #e2e8ed;
  --shadow-sm: 0 1px 2px rgba(20, 24, 28, 0.04);
  --shadow-md: 0 6px 24px rgba(20, 24, 28, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1200px;
}

* { box-sizing: border-box; min-width: 0; }
html, body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, a, span { overflow-wrap: anywhere; word-wrap: break-word; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 700;
}

h1 { font-size: clamp(28px, 5.4vw, 52px); line-height: 1.08; }
h2 { font-size: clamp(22px, 3.6vw, 36px); line-height: 1.15; }
h3 { font-size: clamp(17px, 2vw, 20px); line-height: 1.25; }
p  { font-size: clamp(15px, 1.6vw, 17px); color: var(--text-soft); margin: 0 0 10px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 560px) { .container { padding: 0 20px; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan-deep), var(--teal-deep));
  color: #fff;
  box-shadow: 0 6px 18px rgba(31, 168, 153, 0.25);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(31, 168, 153, 0.35); }
.btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--silver-2);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-deep); }
.btn-block { width: 100%; white-space: normal; overflow-wrap: anywhere; word-break: break-word; text-align: center; line-height: 1.3; padding: 13px 16px; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Manrope', sans-serif; font-weight: 800;
  font-size: 17px; letter-spacing: -0.01em; color: var(--text);
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 4px 12px rgba(31,168,153,.18);
}
.logo-mark::after {
  content: ""; position: absolute; inset: 6px;
  border-radius: 7px;
  background: linear-gradient(160deg, rgba(255,255,255,.85), rgba(255,255,255,.15));
  border: 1px solid rgba(255,255,255,.6);
}
.logo-text small { display:block; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.nav-links { display: none; gap: 26px; }
.nav-links a { font-size: 14.5px; color: var(--text-soft); font-weight: 500; }
.nav-links a:hover { color: var(--cyan-deep); }
.nav-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line);
}
.menu-btn span { width: 18px; height: 2px; background: var(--text); position: relative; display:block; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text);
}
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }

.mobile-menu {
  display: none;
  padding: 10px 0 18px;
  border-top: 1px solid var(--line);
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 4px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }

@media (min-width: 900px) {
  .nav-links, .nav-cta { display: inline-flex; align-items: center; }
  .menu-btn { display: none; }
  .mobile-menu { display: none !important; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 56px 0 60px;
  background:
    radial-gradient(900px 380px at 90% -10%, rgba(87,196,214,.18), transparent 60%),
    radial-gradient(700px 300px at -10% 30%, rgba(121,212,196,.18), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid; gap: 36px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; color: var(--text-soft); font-weight: 500;
  margin-bottom: 16px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-deep); box-shadow: 0 0 0 4px rgba(31,168,153,.18); }
.hero h1 span { background: linear-gradient(120deg, var(--cyan-deep), var(--teal-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 1.8vw, 19px); color: var(--text-soft); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-trust {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px;
  padding-top: 22px; border-top: 1px dashed var(--line);
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-soft); }
.trust-item .ic { width: 28px; height: 28px; border-radius: 8px; background: var(--surface); display: grid; place-items: center; color: var(--cyan-deep); }

/* Hero visual — CSS phone with tempered glass */
.hero-visual {
  position: relative;
  display: grid; place-items: center;
  padding: 10px;
}
.phone {
  position: relative;
  width: min(260px, 70vw);
  aspect-ratio: 9 / 18;
  background: #111418;
  border-radius: 36px;
  padding: 10px;
  box-shadow:
    0 30px 60px rgba(20,24,28,.18),
    0 8px 20px rgba(20,24,28,.10),
    inset 0 0 0 1.5px #2a2f36;
}
.phone::before {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 18px; border-radius: 12px; background: #0a0d10;
}
.phone .screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 28px;
  background: linear-gradient(160deg, #cfeaf0, #e9f6f3 55%, #d3eef3);
  overflow: hidden;
}
.phone .glass-sheet {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 35%),
    linear-gradient(300deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 40%);
  mix-blend-mode: screen;
}
.phone .shine {
  position: absolute; top: -20%; left: -30%; width: 60%; height: 140%;
  background: linear-gradient(120deg, rgba(255,255,255,.0), rgba(255,255,255,.55), rgba(255,255,255,0));
  transform: rotate(18deg);
  filter: blur(2px);
  animation: shine 5.5s ease-in-out infinite;
}
@keyframes shine {
  0%, 100% { transform: translateX(-30%) rotate(18deg); opacity:.0; }
  40% { opacity: .8; }
  60% { transform: translateX(180%) rotate(18deg); opacity: .9; }
  61%, 100% { opacity: 0; }
}
.glass-badge {
  position: absolute; top: 26px; right: 4px;
  background: #fff; border: 1px solid var(--line);
  padding: 10px 14px; border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
  max-width: calc(100% - 8px);
}
.glass-badge .ic { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--cyan), var(--teal)); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.stack-badge {
  position: absolute; bottom: 30px; left: 4px;
  background: #fff; border: 1px solid var(--line);
  padding: 10px 14px; border-radius: 14px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  max-width: calc(100% - 8px);
}
.stack-badge b { color: var(--cyan-deep); }
@media (min-width: 900px) {
  .glass-badge { right: -18px; }
  .stack-badge { left: -22px; }
}

@media (min-width: 900px) {
  .hero { padding: 96px 0 90px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 60px; }
}

/* ===== Section base ===== */
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 88px 0; } }

.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { color: var(--text-soft); }

/* ===== Category cards ===== */
.cat-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfe7ec; }
.cat-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, #e9f6f8, #dff3ee);
  display: grid; place-items: center;
  color: var(--cyan-deep);
}
.cat-card h3 { margin: 0; }
.cat-card p { margin: 0; font-size: 14.5px; }
.cat-card .tag {
  margin-top: 4px;
  font-size: 12px; font-weight: 600; color: var(--teal-deep);
  letter-spacing: .04em; text-transform: uppercase;
}

/* ===== Benefit / Checklist cards ===== */
.bullet-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 560px) { .bullet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .bullet-grid { grid-template-columns: repeat(3, 1fr); } }

.bullet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; gap: 14px; align-items: flex-start;
}
.bullet .check {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(31,168,153,.10);
  display: grid; place-items: center; color: var(--teal-deep);
}
.bullet h3 { font-size: 16px; margin: 0 0 4px; }
.bullet p { margin: 0; font-size: 14px; }

/* ===== Sources / Recommended ===== */
.sources-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .sources-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }

.source-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  overflow: hidden;
}
.source-card .ribbon {
  position: absolute; top: 18px; right: -38px;
  transform: rotate(35deg);
  background: linear-gradient(135deg, var(--cyan-deep), var(--teal-deep));
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 44px; letter-spacing: .14em;
}
.source-card h3 { font-size: 22px; }
.source-card .url { color: var(--cyan-deep); font-weight: 600; font-size: 14px; word-break: break-all; }
.source-card ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.source-card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-soft); }
.source-card ul li::before {
  content: ""; flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 2px;
  border-radius: 6px; background: rgba(87,196,214,.20);
  background-image: linear-gradient(135deg, rgba(31,168,153,.0), rgba(31,168,153,.0));
  position: relative;
}
.source-card ul li {
  position: relative; padding-left: 28px;
}
.source-card ul li::after {
  content: ""; position: absolute; left: 4px; top: 6px;
  width: 10px; height: 6px;
  border-left: 2px solid var(--teal-deep);
  border-bottom: 2px solid var(--teal-deep);
  transform: rotate(-45deg);
}

/* ===== Ordering cards ===== */
.order-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .order-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }

.order-card {
  background: linear-gradient(180deg, #ffffff, #f6fbfc);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}
.order-card .brand { font-size: 13px; font-weight: 600; color: var(--teal-deep); letter-spacing: .12em; text-transform: uppercase; }
.order-card h3 { margin: 6px 0 12px; }
.order-card .price-row {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 14px;
}
@media (min-width: 480px) { .order-card .price-row { grid-template-columns: 1fr 1fr; } }
.pill {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
}
.pill small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.pill b { font-size: 17px; color: var(--text); }
.order-card .cod {
  margin-top: 14px; padding: 12px 14px;
  border-radius: 12px; background: rgba(31,168,153,.08);
  font-size: 14px; color: var(--teal-deep); font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}

/* ===== FAQ ===== */
.faq-list {
  display: grid; gap: 12px;
  max-width: 820px; margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 18px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: #cfe7ec; box-shadow: var(--shadow-md); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  font-weight: 600; color: var(--text); font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--cyan-deep);
  transition: transform .2s ease, background .2s ease;
}
.faq-item[open] summary .toggle { transform: rotate(45deg); background: rgba(31,168,153,.12); }
.faq-item .answer { padding: 0 0 18px; color: var(--text-soft); font-size: 15px; }

/* ===== CTA band ===== */
.cta-band {
  background:
    radial-gradient(800px 300px at 80% 0%, rgba(255,255,255,.15), transparent 60%),
    linear-gradient(135deg, var(--cyan-deep), var(--teal-deep));
  color: #fff;
  border-radius: 22px;
  padding: 46px 28px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; margin: 0 auto 22px; }
.cta-band .btn-primary { background: #fff; color: var(--teal-deep); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.cta-band .btn-primary:hover { color: var(--cyan-deep); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.cta-band-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer {
  background: #0f1418;
  color: #c8d2dc;
  padding: 56px 0 28px;
  margin-top: 64px;
}
.footer-grid {
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 {
  color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  font-family: 'Manrope', sans-serif; margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c8d2dc; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-block p { color: #98a4af; font-size: 14px; max-width: 360px; }
.site-footer .logo { color: #fff; }
.site-footer .logo-text small { color: #98a4af; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 32px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: #98a4af; font-size: 13px;
}

/* ===== Utility ===== */
.scroll-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 480px) {
  .hero-trust { gap: 14px; }
  .cta-band { padding: 36px 18px; }
  .source-card, .order-card { padding: 22px 18px; }
  .source-card h3 { font-size: 20px; }
  .faq-item { padding: 4px 14px; }
  .faq-item summary { font-size: 15px; }
  .nav { padding: 12px 0; }
  .logo { font-size: 15px; }
  .logo-mark { width: 32px; height: 32px; }
  .glass-badge, .stack-badge { font-size: 12px; padding: 8px 10px; }
  .glass-badge .ic { width: 22px; height: 22px; }
  .hero { padding: 36px 0 48px; }
}
