/* ===================================================================
   LayerLab 3D — Landing page (HTML/CSS/JS puro)
   =================================================================== */

:root {
  --bg: #080a10;
  --fg: #f4f4f5;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --edge: rgba(255, 255, 255, 0.08);
  --surface: rgba(255, 255, 255, 0.03);
  --orange: #f97316;
  --orange-2: #fb923c;
  --amber: #fbbf24;
  --green: #10b981;
  --green-2: #22c55e;
  --radius: 20px;
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

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

/* icon base (line icons via <use>) */
.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-fill { fill: currentColor; stroke: none; }

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.55;
  overflow-x: hidden;
  padding-top: 40px;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: rgba(249, 115, 22, 0.35); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  border: 2px solid var(--bg);
}

/* ---------- helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; position: relative; }
@media (min-width: 640px) { .section { padding: 80px 0; } }

.glass {
  background: var(--surface);
  border: 1px solid var(--edge);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.text-gradient {
  background: linear-gradient(120deg, #fed7aa 0%, #fb923c 40%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  border: 1px solid var(--edge);
  background: var(--surface);
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  color: #fff;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 16px;
  font-size: 17px;
  box-shadow: 0 15px 40px -12px rgba(249, 115, 22, 0.5);
  transition: filter 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 20px 50px -12px rgba(249, 115, 22, 0.65); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface);
  color: #fff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 16px;
  font-size: 15px;
  transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.21,0.47,0.32,0.98), transform 0.7s cubic-bezier(0.21,0.47,0.32,0.98); }
.reveal.in { opacity: 1; transform: none; }

/* =================== HEADER (scarcity bar) =================== */
.scarcity {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, #16a34a, #22c55e, #16a34a);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0 16px;
  text-align: center;
}
.scarcity svg { width: 16px; height: 16px; flex-shrink: 0; }

/* =================== HERO =================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 48px;
  text-align: center;
}
@media (min-width: 640px) { .hero { padding: 80px 0 64px; } }
.hero-glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 560px; max-width: 100%;
  background: radial-gradient(circle, rgba(249,115,22,0.18), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--edge); background: var(--surface);
  color: var(--muted); font-size: 12px; font-weight: 500;
  padding: 6px 16px; border-radius: 999px;
}
.dot { position: relative; display: inline-flex; width: 8px; height: 8px; }
.dot::before, .dot::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: #34d399; }
.dot::before { animation: ping 1.4s cubic-bezier(0,0,0.2,1) infinite; opacity: 0.6; }
@keyframes ping { 75%,100% { transform: scale(2.2); opacity: 0; } }
.hero h1 {
  margin-top: 24px;
  font-size: clamp(34px, 7vw, 66px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.06;
  max-width: 900px;
}
.hero .sub { margin-top: 22px; max-width: 620px; color: var(--muted); font-size: 18px; }
.hero-img { margin-top: 36px; width: 100%; position: relative; }
.hero-img img { margin: 0 auto; width: 100%; max-width: 760px; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5)); }

.checklist {
  margin-top: 32px; width: 100%; max-width: 440px;
  border-radius: var(--radius); padding: 24px 28px; text-align: left;
}
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: #f1f1f4; list-style: none; }
.checklist li + li { margin-top: 16px; }
.checklist svg { width: 20px; height: 20px; flex-shrink: 0; color: #34d399; }

.hero .btn-primary { margin-top: 32px; }

.social {
  margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 12px 24px; font-size: 14px; color: var(--muted);
}
.avatars { display: flex; }
.avatars span {
  width: 32px; height: 32px; border-radius: 999px; border: 2px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff; margin-left: -10px;
}
.avatars span:first-child { margin-left: 0; }
.stars { color: var(--amber); letter-spacing: 1px; }

/* =================== CATEGORIES =================== */
.cat-wrap { position: relative; max-width: var(--maxw); margin: 0 auto; overflow: hidden; transition: max-height 0.6s cubic-bezier(0.32,0.72,0,1); }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }
.cat-card {
  position: relative; border-radius: 16px; padding: 20px;
  transition: transform 0.2s, border-color 0.2s;
}
.cat-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); }
.cat-icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(249,115,22,0.22), rgba(251,146,60,0.08));
  color: var(--orange-2); margin-bottom: 16px;
}
.cat-icon svg { width: 20px; height: 20px; }
.cat-card h3 { font-size: 14px; font-weight: 600; }
.cat-card p { font-size: 12px; color: var(--muted-2); margin-top: 2px; }
.cat-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 128px; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none; }
.cat-toggle-wrap { text-align: center; margin-top: 32px; }
.cat-toggle svg { width: 16px; height: 16px; transition: transform 0.3s; }
.cat-toggle.open svg { transform: rotate(180deg); }

/* Replacement image for categories */
.cat-wrap.image-replacement { text-align: center; padding: 18px 0; }
.cat-wrap.image-replacement .hero-image { display: flex; justify-content: center; }
.cat-wrap.image-replacement .hero-image img { width: 100%; max-width: 900px; height: auto; border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(0,0,0,0.65); }

/* =================== CAROUSEL (shared) =================== */
.carousel { overflow: hidden; }
.track { display: flex; transition: transform 0.65s cubic-bezier(0.32,0.72,0,1); }
.slide { flex: 0 0 100%; display: grid; gap: 20px; padding: 0 4px; }
.controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 36px; }
.arrow {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--edge);
  background: var(--surface); color: var(--muted); display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.arrow:hover { background: rgba(255,255,255,0.1); color: #fff; }
.arrow svg { width: 20px; height: 20px; }
.dots { display: flex; gap: 8px; }
.dots button { height: 8px; width: 8px; border-radius: 999px; background: rgba(255,255,255,0.15); transition: all 0.3s; }
.dots button.active { width: 28px; background: linear-gradient(90deg, var(--orange-2), var(--amber)); }

/* showcase cards */
.showcase .slide { grid-template-columns: 1fr; }
.model {
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.model:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); box-shadow: 0 24px 50px -12px rgba(0,0,0,0.5); }
.model-thumb { position: relative; margin: 8px; aspect-ratio: 1/1; overflow: hidden; border-radius: 16px; background: #0b0d13; }
.model-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.model:hover .model-thumb img { transform: scale(1.05); }
.tag {
  position: absolute; left: 12px; top: 12px; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 10px; border-radius: 999px; border: 1px solid;
}
.tag.nuevo { background: rgba(16,185,129,0.15); color: #6ee7b7; border-color: rgba(16,185,129,0.2); }
.tag.tendencia { background: rgba(244,63,94,0.15); color: #fda4af; border-color: rgba(244,63,94,0.2); }
.tag.popular { background: rgba(249,115,22,0.15); color: #fdba74; border-color: rgba(249,115,22,0.2); }
.rating {
  position: absolute; right: 12px; top: 12px; display: flex; align-items: center; gap: 4px;
  background: rgba(0,0,0,0.45); color: var(--amber); font-size: 11px; font-weight: 500;
  padding: 4px 8px; border-radius: 999px; backdrop-filter: blur(6px);
}
.rating svg { width: 12px; height: 12px; }
.model-meta { padding: 4px 16px 16px; }
.model-meta h3 { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.model-meta .row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.chip { border: 1px solid var(--edge); background: var(--surface); font-size: 11px; color: var(--muted); padding: 2px 10px; border-radius: 999px; }
.dl { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted-2); }
.dl svg { width: 12px; height: 12px; }
.showcase-more { text-align: center; margin-top: 40px; }

/* =================== BENEFITS =================== */
.bento { max-width: 1000px; margin: 0 auto; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, 1fr); } }
.bcard { border-radius: var(--radius); padding: 32px; }
.bcard-tall { grid-row: span 2; }
.bicon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.bicon svg { width: 24px; height: 24px; }
.bicon.o { background: linear-gradient(135deg, rgba(249,115,22,0.22), rgba(251,146,60,0.08)); color: var(--orange-2); }
.bicon.g { background: linear-gradient(135deg, rgba(16,185,129,0.22), rgba(20,184,166,0.08)); color: #6ee7b7; }
.bicon.a { background: linear-gradient(135deg, rgba(245,158,11,0.22), rgba(251,146,60,0.08)); color: #fcd34d; }
.bicon.p { background: linear-gradient(135deg, rgba(217,70,239,0.22), rgba(168,85,247,0.08)); color: #f0abfc; }
.bicon.s { background: linear-gradient(135deg, rgba(14,165,233,0.22), rgba(34,211,238,0.08)); color: #7dd3fc; }
.bcard h3 { font-size: 18px; font-weight: 600; }
.bcard.bcard-tall h3 { font-size: 20px; }
.bcard p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.bcard ul { margin-top: 24px; list-style: none; }
.bcard ul li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: #d4d4d8; }
.bcard ul li + li { margin-top: 16px; }
.bcheck { margin-top: 2px; width: 20px; height: 20px; flex-shrink: 0; border-radius: 999px; background: rgba(16,185,129,0.15); color: #34d399; display: flex; align-items: center; justify-content: center; }
.bcheck svg { width: 12px; height: 12px; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.brands span { border: 1px solid var(--edge); background: var(--surface); font-size: 12px; font-weight: 500; color: #d4d4d8; padding: 6px 12px; border-radius: 999px; }

/* =================== STATS =================== */
.stats-box { max-width: 1000px; margin: 0 auto; border-radius: 28px; padding: 44px 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; text-align: center; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num { font-size: clamp(34px, 5vw, 48px); font-weight: 700; letter-spacing: -0.02em; }
.stat-num span { color: var(--orange); }
.stat-label { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* =================== HOW IT WORKS =================== */
.steps { max-width: 1000px; margin: 0 auto; display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.step { position: relative; text-align: center; }
.step-ic { position: relative; width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 16px; border: 1px solid var(--edge); background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--orange-2); }
.step-ic svg { width: 24px; height: 24px; }
.step-n { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 999px; background: linear-gradient(135deg, var(--orange), var(--amber)); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 16px; font-weight: 600; }
.step p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* =================== TESTIMONIALS =================== */
.tst .slide { grid-template-columns: 1fr; }
.tcard { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.tcard .qstars { color: var(--amber); margin-bottom: 16px; letter-spacing: 1px; }
.tcard blockquote { flex: 1; font-size: 14px; color: #d4d4d8; }
.tcard figcaption { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.tavatar { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; }
.tcard .tname { font-size: 14px; font-weight: 600; }
.tcard .trole { font-size: 12px; color: var(--muted-2); }

/* =================== PRICING =================== */
.plans { max-width: 900px; margin: 0 auto; display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .plans { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.plan { position: relative; border-radius: 28px; padding: 28px; background: #0a0c13; border: 2px solid rgba(249,115,22,0.6); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6); }
@media (min-width: 640px) { .plan { padding: 36px; } }
.plan.full { border-color: rgba(16,185,129,0.7); background: linear-gradient(to bottom, #0a1310, #0a0c13); }
.plan-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: linear-gradient(90deg, #10b981, #22c55e);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 25px -8px rgba(16,185,129,0.5);
  white-space: nowrap;
}
.plan h3 { text-align: center; font-size: 24px; font-weight: 700; }
.plan-img { margin: 28px auto 0; max-width: 360px; }
.plan-img img { border-radius: 16px; width: 100%; }
.plan-price { text-align: center; font-size: clamp(44px, 8vw, 60px); font-weight: 800; letter-spacing: -0.02em; margin-top: 28px; }
.plan ul { list-style: none; margin-top: 28px; }
.plan ul li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #e4e4e7; }
.plan ul li + li { margin-top: 16px; }
.pcheck { width: 24px; height: 24px; flex-shrink: 0; border-radius: 6px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; }
.pcheck svg { width: 16px; height: 16px; }
.pcross { width: 24px; height: 24px; flex-shrink: 0; color: #f43f5e; display: flex; align-items: center; justify-content: center; }
.pcross svg { width: 20px; height: 20px; }
.plan .drawback { color: var(--muted); }
.bonuses { list-style: none; margin-top: 24px; border-top: 1px solid var(--edge); padding-top: 24px; }
.bonuses li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: rgba(253,230,138,0.9); }
.bonuses li + li { margin-top: 14px; }
.bonuses svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--amber); }
.plan .btn-buy { margin-top: 36px; display: flex; align-items: center; justify-content: center; width: 100%; padding: 16px; border-radius: 16px; font-size: 16px; font-weight: 700; color: #fff; transition: filter 0.2s, transform 0.2s; }
.plan .btn-buy:hover { filter: brightness(1.08); }
.plan .btn-buy:active { transform: scale(0.98); }
.btn-buy.o { background: linear-gradient(to bottom, var(--orange-2), #ea580c); box-shadow: 0 15px 35px -12px rgba(249,115,22,0.5); }
.btn-buy.g { background: linear-gradient(to bottom, #34d399, #16a34a); box-shadow: 0 15px 35px -12px rgba(16,185,129,0.5); }
.plan .warn { margin-top: 24px; text-align: center; font-size: 14px; font-weight: 700; color: #f87171; display: flex; align-items: flex-start; justify-content: center; gap: 8px; }
.plan .warn svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--amber); }
.guarantee-note { max-width: 460px; margin: 40px auto 0; display: flex; align-items: flex-start; justify-content: center; gap: 10px; text-align: center; font-size: 14px; color: #d4d4d8; }
.guarantee-note svg { width: 20px; height: 20px; flex-shrink: 0; color: #38bdf8; margin-top: 1px; }

/* =================== GUARANTEE =================== */
.guarantee { max-width: 800px; margin: 0 auto; border-radius: 28px; padding: 48px 24px; text-align: center; position: relative; overflow: hidden; }
.guarantee .gic { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 16px; background: linear-gradient(135deg, rgba(16,185,129,0.22), rgba(20,184,166,0.08)); display: flex; align-items: center; justify-content: center; color: #6ee7b7; }
.guarantee .gic svg { width: 32px; height: 32px; }
.guarantee h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 700; letter-spacing: -0.02em; }
.guarantee p { max-width: 560px; margin: 16px auto 0; color: var(--muted); }

/* =================== FAQ =================== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: 16px; overflow: hidden; transition: border-color 0.2s; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-size: 15px; font-weight: 600; }
.faq-plus { width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; border: 1px solid var(--edge); background: var(--surface); color: var(--muted); display: flex; align-items: center; justify-content: center; transition: transform 0.25s; }
.faq-plus svg { width: 16px; height: 16px; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.32,0.72,0,1); }
.faq-a p { padding: 0 24px 24px; font-size: 14px; color: var(--muted); }

/* =================== FINAL CTA =================== */
.final { position: relative; overflow: hidden; text-align: center; padding: 72px 0; }
@media (min-width: 640px) { .final { padding: 96px 0; } }
.final-glow { position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%); width: 1000px; height: 500px; max-width: 100%; background: radial-gradient(circle, rgba(249,115,22,0.2), transparent 65%); pointer-events: none; }
.final .container { position: relative; z-index: 1; }
.final h2 { font-size: clamp(32px, 6vw, 60px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; max-width: 720px; margin: 0 auto; }
.final .sub { max-width: 560px; margin: 24px auto 0; color: var(--muted); font-size: 18px; }
.final-bullets { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 32px auto 0; max-width: 560px; }
.final-bullets span { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #d4d4d8; }
.final-bullets svg { width: 16px; height: 16px; color: #34d399; }
.final .btn-primary { margin-top: 40px; }
.final .secure { margin-top: 16px; font-size: 12px; color: var(--muted-2); display: flex; align-items: center; justify-content: center; gap: 6px; }
.final .secure svg { width: 14px; height: 14px; }

/* =================== FOOTER =================== */
footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 48px 0; }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-logo { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--orange), var(--amber)); display: flex; align-items: center; justify-content: center; }
.foot-logo svg { width: 20px; height: 20px; color: #fff; }
.foot-brand strong { font-size: 18px; }
.foot-col p.t { font-size: 14px; font-weight: 600; }
.foot-col ul { list-style: none; margin-top: 16px; }
.foot-col ul li { margin-top: 10px; }
.foot-col ul a { font-size: 14px; color: var(--muted-2); transition: color 0.2s; }
.foot-col ul a:hover { color: #fff; }
.foot-desc { margin-top: 16px; max-width: 280px; font-size: 14px; color: var(--muted-2); }
.foot-bottom { max-width: var(--maxw); margin: 40px auto 0; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 12px; color: #52525b; }

/* =================== PURCHASE TOASTS =================== */
.toast {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 360px;
  display: flex; align-items: center; gap: 14px; border-radius: var(--radius); padding: 16px;
  background: rgba(10, 12, 18, 0.85); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 50px -12px rgba(0,0,0,0.6);
  opacity: 0; transform: translateY(24px); transition: opacity 0.45s, transform 0.45s;
}
.toast.show { opacity: 1; transform: none; }
.toast .tav { width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; background: linear-gradient(135deg, #10b981, #16a34a); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.toast .tbody p { font-size: 14px; color: #d4d4d8; }
.toast .tbody .tb-name { font-weight: 600; color: #fff; }
.toast .tbody .tb-prod { color: #6ee7b7; font-weight: 600; }
.toast .tbody .tb-meta { margin-top: 4px; font-size: 11px; color: var(--muted-2); display: flex; align-items: center; gap: 4px; }
.toast .tbody .tb-meta svg { width: 14px; height: 14px; color: #34d399; }

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 20px 0; }
  .scarcity { min-height: 48px; height: auto; padding: 8px 12px; font-size: 11px; line-height: 1.3; }
  .hero { padding-top: 56px; padding-bottom: 24px; }
  .hero .container { padding-left: 16px; padding-right: 16px; }
  .hero h1 { font-size: clamp(30px, 8vw, 46px); }
  .hero .sub { font-size: 16px; }
  .hero-img { margin-top: 16px; width: 100%; max-width: 100%; overflow: hidden; }
  .hero-img img { width: 100%; height: auto; max-width: 100%; object-fit: contain; display: block; }
  .btn-primary, .btn-ghost {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    padding: 14px 18px;
    font-size: 15px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    min-height: 48px;
  }
  .plan .btn-buy {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    font-size: 15px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    min-height: 48px;
  }
  .btn-primary .ico, .btn-ghost .ico, .plan .btn-buy .ico {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .hero .btn-primary, .final .btn-primary, .showcase-more .btn-ghost {
    width: auto;
    max-width: 100%;
    min-height: 44px;
  }
  .checklist { padding: 16px; }
  .checklist li { font-size: 14px; align-items: flex-start; }
  .social { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .section-head p { font-size: 15px; }
  .section-head { margin-bottom: 14px; }
  .cat-toggle-wrap { margin-top: 8px; }
  .showcase .section-head { margin-bottom: 14px; }
  .showcase-more { margin-top: 18px; }
  .bcard { padding: 18px; }
  .bento { gap: 16px; }
  .stats-box { padding: 24px 12px; }
  .stats-grid { gap: 16px 12px; }
  .plan { padding: 20px; overflow: hidden; }
  .plan-img { max-width: 100%; margin: 20px auto 0; }
  .plan-img img { width: 100%; height: auto; display: block; object-fit: contain; }
  .plan .warn { flex-direction: column; align-items: center; text-align: center; }
  .plan .btn-buy { width: 100%; max-width: 100%; }
  .guarantee-note { flex-direction: column; align-items: center; }
  .faq-q { padding: 16px 16px; }
  .final h2 { font-size: clamp(28px, 8vw, 42px); }
  .final-bullets { gap: 10px 14px; justify-content: center; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .model-meta h3 { white-space: normal; }
  .model-meta .row { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 420px) { .toast { left: 12px; right: 12px; max-width: none; } }
