/* Labelqod — coming soon page */
:root {
  --bg: #03201d;
  --bg-2: #062c28;
  --teal: #0f766e;
  --teal-2: #0d9488;
  --mint: #5eead4;
  --text: #ecfdf9;
  --muted: #9cc7c0;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --label: #fdfdfb;
  --ink: #0b1f1d;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

/* Background: soft glows + faint grid */
.bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(13, 148, 136, 0.35), transparent 60%),
    radial-gradient(45rem 35rem at -10% 110%, rgba(15, 118, 110, 0.30), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* Header */
.top {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(13, 148, 136, 0.45);
}
.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-name .q { color: var(--mint); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.6);
  animation: pulse 2s infinite;
}

/* Hero */
.hero {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 56px;
  flex: 1;
}
h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.grad {
  background: linear-gradient(90deg, var(--mint), #2dd4bf 45%, var(--teal-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin-top: 24px;
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--muted);
}
.soon {
  margin-top: 28px;
  padding-left: 14px;
  border-left: 3px solid var(--teal-2);
  color: var(--text);
  font-size: 0.98rem;
  opacity: 0.85;
}

/* Visual: label roll + label */
.visual {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.roll {
  position: absolute;
  left: 4%;
  top: 50%;
  width: 170px;
  height: 170px;
  margin-top: -85px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, #e8efed 0 3px, #d3dfdc 3px 5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 3px rgba(255, 255, 255, 0.4);
}
.roll-core {
  position: absolute;
  inset: 50px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 10px #0b5e58;
}

.label {
  position: relative;
  width: 300px;
  margin-left: 110px;
  padding: 18px 20px 16px;
  border-radius: 14px;
  background: var(--label);
  color: var(--ink);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transform: rotate(-4deg);
  animation: float 6s ease-in-out infinite;
}

.label-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}
.label-title {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}
.label-tag {
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--teal);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.label-body {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
}
.label-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.line { height: 8px; border-radius: 4px; background: #cfd8d6; }
.w80 { width: 80%; } .w60 { width: 60%; } .w70 { width: 70%; }
.serial {
  margin-top: 4px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-weight: 700;
  font-size: 0.9rem;
}
.qr { width: 74px; height: 74px; fill: var(--ink); flex-shrink: 0; }
.barcode {
  height: 46px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg,
    var(--ink) 0 2px, transparent 2px 4px,
    var(--ink) 4px 5px, transparent 5px 8px,
    var(--ink) 8px 11px, transparent 11px 12px,
    var(--ink) 12px 13px, transparent 13px 16px,
    var(--ink) 16px 18px, transparent 18px 21px);
}

/* Features */
.features {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 24px 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  backdrop-filter: blur(6px);
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(94, 234, 212, 0.35); transform: translateY(-2px); }
.card svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h2 { margin-top: 14px; font-size: 1.02rem; font-weight: 650; }
.card p { margin-top: 6px; font-size: 0.92rem; color: var(--muted); }

/* Footer */
.foot {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 24px 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}
.foot a { color: var(--mint); text-decoration: none; }

/* Animations */
@keyframes float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-2.5deg) translateY(-12px); }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(94, 234, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .label, .dot { animation: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; text-align: center; }
  .lead, .soon { margin-left: auto; margin-right: auto; }
  .soon { border-left: 0; padding-left: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .top { padding: 20px 16px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: 1.3rem; }
  .hero { padding: 16px 16px 24px; }
  .lead { font-size: 1.02rem; }
  .visual { height: 280px; }
  .roll { width: 130px; height: 130px; margin-top: -65px; left: 0; }
  .roll-core { inset: 38px; box-shadow: inset 0 0 0 8px #0b5e58; }
  .label { width: 230px; margin-left: 80px; padding: 14px 16px 12px; }
  .qr { width: 56px; height: 56px; }
  .label-title { font-size: 0.8rem; letter-spacing: 0.08em; }
  .label-tag { font-size: 0.62rem; padding: 2px 6px; }
  .barcode { height: 36px; }
  .features { grid-template-columns: 1fr; padding: 16px 16px 40px; }
  .foot { padding: 20px 16px 26px; }
}
