/* Landing — style.css */

/* ---- TOKENS ---- */
:root {
  --clr-bg:        #111827; /* dark bg */
  --clr-surface:   #1F2937; /* dark surface */
  --clr-rose:      #F59E0B; /* amber/gold */
  --clr-rose-lt:   #FBBF24; /* light amber */
  --clr-rose-dark: #D97706; /* dark amber */
  --clr-accent:    #FCD34D; /* accent */
  --clr-text:      #F9FAFB; /* light text */
  --clr-muted:     #9CA3AF; /* muted text */
  --clr-border:    #374151; /* dark border */
  --clr-green:     #10B981;

  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  16px;

  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-btn:  0 4px 16px rgba(245, 158, 11, 0.3);

  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Montserrat', sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 600;
  background: var(--clr-bg);
  color: var(--clr-text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: auto; object-fit: contain; }
a { text-decoration: none; color: inherit; }

/* ---- UTILS ---- */
.section { padding: 40px 20px; }
.section-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--clr-text);
  margin-bottom: 6px;
}
.section-sub {
  font-size: 14px;
  color: var(--clr-muted);
  margin-bottom: 24px;
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: rgba(245, 158, 11, 0.15);
  color: var(--clr-rose);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ---- PRICE BLOCK ---- */
.price-block {
  background: var(--clr-surface);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 20px 16px;
  margin: 24px 0 15px;
  border-bottom: 2px solid var(--clr-rose);
  position: relative;
}
.price-col {
  display: flex;
  flex-direction: column;
}
.price-col.old {
  text-align: left;
  align-items: flex-start;
}
.price-col.new {
  text-align: right;
  align-items: flex-end;
}
.price-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--clr-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.price-old {
  white-space: nowrap;
  font-size: 16px;
  font-weight: 800;
  color: var(--clr-muted);
  text-decoration: line-through;
  text-decoration-color: var(--clr-rose);
  text-decoration-thickness: 2px;
}
.price-new {
  font-family: var(--font-display);
  white-space: nowrap;
  font-size: 30px;
  font-weight: 900;
  color: var(--clr-rose);
  line-height: 1;
}
.price-new span[data-currency] {
  font-size: 16px;
  font-weight: 800;
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-rose);
  color: #FFF;
  font-size: 14px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-btn);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- TIMER ---- */
.timer-wrap {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: 16px;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.timer-label {
  font-size: 13px;
  color: var(--clr-muted);
  font-weight: 600;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.3;
}
.timer-digits {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
}
.timer-unit {
  text-align: center;
}
.timer-unit span:first-child {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #FFF;
  background: var(--clr-rose);
  border-radius: 6px;
  padding: 2px 8px;
  min-width: 44px;
}
.timer-unit span:last-child {
  display: block;
  font-size: 10px;
  color: var(--clr-muted);
  margin-top: 3px;
}
.timer-colon {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-rose);
  align-self: flex-start;
  margin-top: 4px;
}

/* ---- CTA BUTTON ---- */
.btn-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--clr-rose), var(--clr-rose-dark));
  color: #FFF;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  padding: 16px 20px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-btn);
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  letter-spacing: .01em;
}
.btn-cta:active { transform: scale(.97); box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3); }

/* ---- FORM ---- */
.form-wrap {
  background: var(--clr-surface);
  border-radius: var(--r-xl);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--clr-border);
}
.form-wrap h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 4px;
}
.form-wrap p {
  font-size: 13px;
  color: var(--clr-muted);
  margin-bottom: 18px;
}
.input-field {
  width: 100%;
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: 13px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--clr-text);
  margin-bottom: 12px;
  transition: border-color .2s;
  outline: none;
}
.input-field:focus { border-color: var(--clr-rose); }
.input-field::placeholder { color: var(--clr-muted); }

/* ============ HERO ============ */
#hero {
  background: linear-gradient(160deg, #1F2937 0%, #111827 60%);
  padding: 0;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  padding: 32px 20px 36px;
}
.hero-img-wrap {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 18px 0 20px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--clr-text);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.hero-title span { color: var(--clr-rose); }
.hero-desc {
  font-size: 14px;
  color: var(--clr-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* ============ BENEFITS ============ */
#benefits { background: var(--clr-surface); }
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.benefit-card {
  background: var(--clr-bg);
  border-radius: var(--r-md);
  padding: 16px 14px;
  border: 1px solid var(--clr-border);
}
.benefit-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.benefit-icon svg { width: 18px; height: 18px; stroke: var(--clr-rose); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
.benefit-card p {
  font-size: 12px;
  color: var(--clr-muted);
  line-height: 1.45;
}

/* ============ SPECS ============ */
#specs { background: var(--clr-surface); }
#result { background: var(--clr-bg); }
.specs-list { list-style: none; }
.specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: 14px;
}
.specs-list li:last-child { border-bottom: none; }
.spec-key {
  color: var(--clr-muted);
  flex: 0 0 130px;
  font-size: 13px;
}
.spec-val { font-weight: 600; color: var(--clr-text); }

/* ============ REVIEWS ============ */
#reviews { background: var(--clr-bg); }
.review-card {
  background: var(--clr-surface);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--clr-border);
}
.review-card:last-child { margin-bottom: 0; }
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.avatar svg { width: 24px; height: 24px; stroke: var(--clr-rose); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reviewer-name { font-size: 14px; font-weight: 700; color: var(--clr-text); }
.review-stars { color: #FFBA00; font-size: 14px; letter-spacing: 2px; }
.review-text { font-size: 13px; color: var(--clr-text); line-height: 1.55; }

/* ============ GUARANTEE ============ */
#guarantee { background: var(--clr-surface); }
.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 30px;
}
.guarantee-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--clr-bg);
  border-radius: var(--r-md);
  padding: 14px;
  border: 1px solid var(--clr-border);
}
.guarantee-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.guarantee-icon svg { width: 22px; height: 22px; stroke: var(--clr-rose); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.guarantee-card h4 { font-size: 13px; font-weight: 700; margin-bottom: 2px; color: var(--clr-text); }
.guarantee-card p { font-size: 12px; color: var(--clr-muted); line-height: 1.4; }

/* ---- How to order steps ---- */
.order-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.order-steps::before {
  content: '';
  position: absolute;
  left: 17px; top: 0; bottom: 0;
  width: 2px;
  background: var(--clr-border);
  z-index: 0;
}
.order-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  position: relative;
  z-index: 1;
}
.ostep-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--clr-bg);
  border: 2px solid var(--clr-rose);
  color: var(--clr-rose);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.order-step h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; color: var(--clr-text); }
.order-step p { font-size: 12px; color: var(--clr-muted); }

/* ============ LAST BLOCK ============ */
#order {
  background: linear-gradient(160deg, #1F2937 0%, #111827 100%);
  padding: 40px 20px;
}
.last-img-wrap {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: transparent;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.last-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ============ FOOTER ============ */
footer {
  background: #1F2937;
  color: var(--clr-muted);
  padding: 28px 20px;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  border-top: 1px solid var(--clr-border);
}
footer a { color: var(--clr-text); text-decoration: underline; }

/* ============ DIVIDER ============ */
.divider {
  height: 1px;
  background: var(--clr-border);
  margin: 0 20px;
}

/* ============ UTILS ============ */
.center { text-align: center; }
.center .tag, .tag.center { margin-left: auto; margin-right: auto; }
.accent { color: var(--clr-rose); }
.rounded { border-radius: var(--r-md); }
.mb { margin-bottom: 20px; }
.mt { margin-top: 20px; }
.muted { font-size: 11px; opacity: .5; margin-top: 8px; }
.review-img { margin-top: 12px; }
#hero .form-wrap { margin-top: 20px; }
#order .form-wrap { margin-top: 20px; }
#order .section-title { margin-bottom: 20px; }

/* ---- FORM STATES ---- */
.input-field.is-invalid { border-color: #E8616A; }
.form-error {
  background: rgba(232, 97, 106, .12);
  border: 1px solid rgba(232, 97, 106, .4);
  color: #F8A5AB;
  font-size: 13px;
  border-radius: var(--r-md);
  padding: 10px 12px;
  margin-bottom: 12px;
}
.form-note {
  font-size: 11px;
  color: var(--clr-muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.45;
}
.form-note a { color: var(--clr-text); text-decoration: underline; }
.btn-cta:disabled { opacity: .7; cursor: wait; }

/* ---- STICKY CTA ---- */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translate(-50%, 140%);
  width: calc(100% - 24px);
  max-width: 456px;
  z-index: 50;
  background: linear-gradient(135deg, var(--clr-rose), var(--clr-rose-dark));
  color: #FFF;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  padding: 15px 20px;
  border-radius: var(--r-lg);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .5);
  transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: translate(-50%, 0); }
footer { padding-bottom: 90px; }
