/* BuyBack Booth — replacement site stylesheet. Plain CSS, no framework. */
:root {
  --navy: #0a1628;
  --navy2: #122647;
  --accent: #1fa9a0;
  --accent-dark: #128079;
  --text: #1c2733;
  --muted: #5b6b7d;
  --light: #f2f5f8;
  --border: #dbe2ea;
  --white: #ffffff;
  --max: 1100px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}
a { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: #fff; color: var(--navy); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: var(--max); margin: 0 auto; padding: 14px 20px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 120px; width: auto; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a { color: var(--navy); text-decoration: none; padding: 8px 12px; border-radius: 6px; font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover, .main-nav a.active { background: var(--light); color: var(--navy); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--navy); border-radius: 6px; padding: 8px 12px; font-size: 1rem; cursor: pointer; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 56px 0 48px; }
.hero-home { background-color: var(--navy); background-image: url('../img/hero-banner.webp'); background-position: center 30%; background-size: cover; background-repeat: no-repeat; min-height: 480px; display: flex; align-items: center; text-align: center; }
.hero-home .container { width: 100%; }
.hero-home h1 { margin-left: auto; margin-right: auto; text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
section.hero-home p.lead { margin-left: auto; margin-right: auto; color: #000; text-shadow: 0 1px 8px rgba(255,255,255,0.6); }
.hero h1 { font-size: 2.5rem; line-height: 1.15; margin: 0 0 12px; max-width: 820px; }
.hero p.lead { font-size: 1.15rem; color: #c6d4e6; max-width: 820px; margin: 0 0 16px; }
.hero .taglist { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.hero .taglist li { background: var(--navy2); border: 1px solid #2a4066; border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; color: #e6eef8; }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.hero-media img { border-radius: 12px; }

/* Sections */
section { padding: 44px 0; }
section.light { background: var(--light); }
section h2 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 12px; }
section h3 { font-size: 1.2rem; margin: 0 0 8px; }
section p { margin: 0 0 14px; }
.note { color: var(--muted); font-size: 0.9rem; }
.center { text-align: center; }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { border: 1px solid var(--border); border-radius: 12px; padding: 22px; background: #fff; }
.card img { border-radius: 8px; margin-bottom: 14px; }
.card .kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 6px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.pill { background: var(--light); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: 0.85rem; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #fff !important; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 8px; border: none; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--accent-dark); }
.btn-secondary { background: transparent; color: var(--accent-dark) !important; border: 2px solid var(--accent); }
.btn-secondary:hover { background: var(--accent); color: #fff !important; }

/* CTA band */
.cta-band { background: var(--navy2); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c6d4e6; }

/* Product showcase */
.product { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.product .media-row { display: flex; gap: 12px; flex-wrap: wrap; }
.product .media-row img { width: 48%; border-radius: 10px; }
.specs { background: var(--light); border-radius: 10px; padding: 16px 20px; }
.specs dt { font-weight: 700; }
.specs dd { margin: 0 0 10px; }

/* Feature explorer (Kiosks page) */
.explorer { position: relative; max-width: 760px; margin: 0 auto; }
.explorer img { border-radius: 12px; width: 100%; }
.hotspot { position: absolute; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); color: #fff; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.35); font-weight: 800; cursor: pointer; padding: 0; line-height: 1; }
.hotspot:hover, .hotspot.selected { background: var(--navy); transform: scale(1.15); }
.explorer-detail { border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; margin-top: 16px; background: #fff; height: 190px; overflow-y: auto; }
.explorer-detail h3 { margin-top: 0; }
.explorer-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.explorer-list button { background: var(--light); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: 0.9rem; }
.explorer-list button:hover, .explorer-list button.selected { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Steps (DUO page) */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* Poster (SmartHub page) */
.poster { border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: #fff; }
.poster figcaption { color: var(--muted); font-size: 0.9rem; text-align: center; margin-top: 10px; }

/* Forms */
form.contact-form { max-width: 640px; }
form.contact-form label { display: block; font-weight: 600; margin: 14px 0 4px; }
form.contact-form input, form.contact-form select, form.contact-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 8px; font: inherit; }
form.contact-form textarea { min-height: 140px; }
form.contact-form button { margin-top: 18px; }

/* Footer */
.site-footer { background: var(--navy); color: #c6d4e6; padding: 36px 0; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.footer-inner nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* Legal text */
.legal h2 { font-size: 1.4rem; margin-top: 28px; }
.legal h3 { font-size: 1.1rem; margin-top: 20px; }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner, .product { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2rem; }
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; flex-direction: column; }
  .main-nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .product .media-row img { width: 100%; }
}

/* Star-bullet use-case list (home welcome section) */
.star-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.star-list li { color: #1e8fd9; font-weight: 600; }
.star-list li::before { content: "\2605"; color: #111; margin-right: 8px; }


.hero-kiosks { background-color: var(--navy); background-image: url('../img/hero-kiosks-banner.webp'); background-position: center 30%; background-size: cover; background-repeat: no-repeat; min-height: 480px; display: flex; align-items: center; text-align: center; }
.hero-kiosks .container { width: 100%; }
.hero-kiosks h1 { margin-left: auto; margin-right: auto; text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.hero-kiosks p.lead { margin-left: auto; margin-right: auto; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.45); }

/* Product family lineup (kiosks page) */
.lineup { align-items: end; text-align: center; }
.lineup img { max-height: 260px; width: auto; margin: 0 auto; }
.lineup h3 { margin: 12px 0 2px; }
.lineup p { margin: 0; color: var(--muted); }

/* Explorer: pink Express dots, blue JewelBox dots */
.hotspot.pink { background: #e91e8c; }
.hotspot.blue { background: #1e8fd9; }
.explorer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.explorer-grid .explorer { max-width: none; }
@media (max-width: 720px) { .explorer-grid { grid-template-columns: 1fr; } }

/* Dark explorer band (kiosks page) */
.dark { background: #000; color: #fff; }
.dark h2 { color: #fff; }
.dark .note { color: #b9c6d8; }

/* White specs box on a grey section (JewelBox block) */
.specs-white { background: #fff; }

/* SmartHub split hero: image left, headline right */
.hero-split-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; text-align: left; }
.hero-split-img { margin: 0; }
.hero-split-img img { width: 100%; height: auto; display: block; border-radius: 12px; }

/* SmartHub screenshot carousel on the dark band */
section.dark h2.carousel-title { color: #9ad6f2; }
.carousel { position: relative; margin-top: 24px; }
.carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track img { flex: 0 0 auto; width: 340px; height: auto; border-radius: 8px; scroll-snap-align: start; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: none; border: none; color: #999; font-size: 56px; line-height: 1; cursor: pointer; padding: 0 8px; }
.carousel-arrow:hover { color: #fff; }
.carousel-arrow.prev { left: -4px; }
.carousel-arrow.next { right: -4px; }
@media (max-width: 760px) {
  .hero-split-inner { grid-template-columns: 1fr; }
}

/* DUO + Customize banner heroes (same treatment as Home/Kiosks) */
.hero-duo { background-color: var(--navy); background-image: url('../img/hero-duo-banner-v2.webp'); background-position: center 30%; background-size: cover; background-repeat: no-repeat; min-height: 480px; display: flex; align-items: center; text-align: center; }
.hero-duo .container { width: 100%; }
.hero-duo h1 { margin-left: auto; margin-right: auto; text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.hero-duo p.lead { margin-left: auto; margin-right: auto; color: #000; text-shadow: 0 1px 8px rgba(255,255,255,0.6); }
.hero-customize { background-color: var(--navy); background-image: url('../img/hero-customize-banner.webp'); background-position: center 30%; background-size: cover; background-repeat: no-repeat; min-height: 480px; display: flex; align-items: center; text-align: center; }
.hero-customize .container { width: 100%; }
.hero-customize h1 { margin-left: auto; margin-right: auto; text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.hero-customize p.lead { margin-left: auto; margin-right: auto; color: #000; text-shadow: 0 1px 8px rgba(255,255,255,0.6); }
