/* ICEMODZ watch configurator — landing page (dark, premium). */
:root {
  --bg: #050505;
  --bg-2: #0c0c0d;
  --card: #101012;
  --card-2: #16161a;
  --line: #232327;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #4d9fff;
  --accent-2: #7cc0ff;
  --radius: 18px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }

/* ---------- decorative glow ---------- */
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.page-glow::before,
.page-glow::after {
  content: "";
  position: absolute;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.page-glow::before {
  top: -22vw;
  left: -12vw;
  background: radial-gradient(circle, rgba(77, 159, 255, 0.22), transparent 65%);
}
.page-glow::after {
  bottom: -26vw;
  right: -14vw;
  background: radial-gradient(circle, rgba(77, 159, 255, 0.12), transparent 65%);
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.topbar__brand img { height: 34px; width: auto; }
.topbar__brand .brand-tag {
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.topbar__right { display: flex; align-items: center; gap: 14px; }
.topbar__link {
  color: #e4e4e7;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.topbar__link:hover {
  color: #fff;
  background: var(--card-2);
  border-color: #3f3f46;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(72px, 12vw, 150px) 28px 48px;
  text-align: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(77, 159, 255, 0.35);
  background: rgba(77, 159, 255, 0.08);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}
.hero h1 {
  font-size: clamp(44px, 8vw, 108px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 28px;
}
.hero h1 .dim { color: #6b7280; }
.hero h1 .line { display: block; }
.hero p {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
  color: var(--muted);
}
.hero__cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  border: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), #2f7fe0);
  color: #fff;
  box-shadow: 0 12px 36px rgba(77, 159, 255, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(77, 159, 255, 0.5); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--card-2); transform: translateY(-2px); }

.hero__stats {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 72px);
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat .n { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.stat .l { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ---------- section ---------- */
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 110px) 28px;
}

/* config page hero (compact) */
.hero--page { padding-top: clamp(56px, 9vw, 110px); padding-bottom: 24px; }
.hero--page h1 { font-size: clamp(40px, 6.5vw, 80px); margin-bottom: 16px; }
.hero--page p { margin-bottom: 0; }
.section--embed { padding-top: 20px; padding-bottom: clamp(48px, 8vw, 110px); }
.section__head { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head h2 {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.section__head p { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* ---------- card grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .card-grid { grid-template-columns: 1fr; } }

.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 159, 255, 0.45);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(77, 159, 255, 0.15);
}
.card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #0a0a0b;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.card:hover .card__media img { transform: scale(1.07); }
.card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.66);
  color: var(--accent-2);
  border: 1px solid rgba(77, 159, 255, 0.35);
  backdrop-filter: blur(6px);
}
.card__content { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.card__title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.card__metas { font-size: 13px; color: var(--muted); }
.card__price { display: flex; align-items: baseline; gap: 10px; }
.card__price .sale { font-size: 22px; font-weight: 700; color: #fff; }
.card__price .regular { font-size: 14px; color: #6f6f76; text-decoration: line-through; }
.card__cta {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card__cta .arr { transition: transform 0.25s; }
.card:hover .card__cta .arr { transform: translateX(5px); }

/* ---------- feature strip ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.feature__icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(77, 159, 255, 0.12);
  color: var(--accent);
  margin-bottom: 16px;
}
.feature h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 36px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { height: 26px; width: auto; }
.footer p { margin: 0; color: var(--muted); font-size: 13px; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__eyebrow .dot, .card__media img, .card__cta .arr { animation: none; transition: none; }
}

/* helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page--grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 28px 96px;
}