:root {
  --bg-a: #f2f8ff;
  --bg-b: #fff2e7;
  --bg-c: #e8fff9;
  --ink: #17212d;
  --muted: #4d5f73;
  --line: rgba(255, 255, 255, 0.52);
  --glass: rgba(255, 255, 255, 0.34);
  --glass-strong: rgba(255, 255, 255, 0.56);
  --accent: #ff7d61;
  --accent-2: #16b4ab;
}

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

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(125deg, var(--bg-a), var(--bg-b) 44%, var(--bg-c));
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Manrope", sans-serif;
  line-height: 1.2;
}

.ambient {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 125, 97, 0.42), transparent 70%);
  top: -8rem;
  left: -7rem;
  pointer-events: none;
  z-index: -2;
  transition: transform 220ms ease-out;
}

.ambient-two {
  top: unset;
  left: unset;
  right: -6rem;
  bottom: -11rem;
  background: radial-gradient(circle at 30% 30%, rgba(22, 180, 171, 0.34), transparent 72%);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 100;
}

.shell {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.hero {
  padding: 4.5rem 0 1.6rem;
}

.glass {
  background: linear-gradient(142deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(17, 31, 56, 0.12);
  border-radius: 24px;
  padding: 1.4rem;
}

.hero-card {
  padding: clamp(1.6rem, 4.5vw, 2.9rem);
  text-align: center;
}

.eyebrow {
  color: var(--accent-2);
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.76rem;
  margin-bottom: 0.8rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.subtitle {
  max-width: 760px;
  margin: 1rem auto 0;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  padding: 0.78rem 1.25rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #f85b87);
  box-shadow: 0 10px 28px rgba(248, 91, 135, 0.26);
}

.btn.ghost {
  color: var(--ink);
  border: 1px solid rgba(23, 33, 45, 0.12);
  background: rgba(255, 255, 255, 0.66);
}

.btn.small {
  padding: 0.62rem 1rem;
  font-size: 0.9rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.77);
  border: 1px solid rgba(23, 33, 45, 0.1);
}

main {
  display: grid;
  gap: 1rem;
  padding-bottom: 2rem;
}

h2 {
  font-size: clamp(1.4rem, 3.8vw, 2.2rem);
  margin-bottom: 0.35rem;
}

.chip-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.chip {
  border: 1px solid rgba(23, 33, 45, 0.1);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.chip.active {
  background: linear-gradient(140deg, rgba(255, 125, 97, 0.18), rgba(22, 180, 171, 0.2));
  border-color: rgba(22, 180, 171, 0.24);
}

.quick-tools {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.quick-tools p {
  color: var(--muted);
}

.product-tabs {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tab {
  border: 1px solid rgba(23, 33, 45, 0.12);
  background: rgba(255, 255, 255, 0.64);
  border-radius: 14px;
  font-weight: 700;
  padding: 0.68rem 0.9rem;
  cursor: pointer;
}

.tab.active {
  background: linear-gradient(120deg, rgba(255, 125, 97, 0.2), rgba(22, 180, 171, 0.24));
}

.product-panel {
  display: none;
  margin-top: 1rem;
}

.product-panel.active {
  display: block;
}

.product-panel.panel-enter {
  animation: panelIn 320ms ease both;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.product-photo {
  margin: 0 0 0.9rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(23, 33, 45, 0.1);
  background: rgba(255, 255, 255, 0.55);
}

.product-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}


.inner {
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.45);
}

ul,
ol {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

h4 {
  margin-top: 0.4rem;
}

.step-list li + li,
ul li + li,
ol li + li {
  margin-top: 0.34rem;
}

.hook-grid {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.58rem;
}

.hook-item {
  text-align: left;
  border-radius: 14px;
  border: 1px solid rgba(23, 33, 45, 0.08);
  background: rgba(255, 255, 255, 0.74);
  padding: 0.78rem 0.86rem;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
}

.hook-item:hover {
  border-color: rgba(22, 180, 171, 0.42);
  transform: translateY(-1px);
}

.hook-item.hidden {
  display: none;
}

details {
  margin-top: 0.8rem;
  border: 1px solid rgba(23, 33, 45, 0.09);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  padding: 0.8rem 1rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.check-grid {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.45rem;
}

.check-grid label {
  display: flex;
  align-items: center;
  gap: 0.56rem;
  font-weight: 600;
}

input[type="checkbox"] {
  accent-color: var(--accent-2);
}

.check-result {
  margin-top: 0.55rem;
  color: var(--muted);
  font-weight: 700;
}

.footer {
  padding: 0.2rem 0 2.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--muted);
}

.footer a {
  color: inherit;
}

#reregistration .btn {
  margin-top: 0.9rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: rgba(23, 33, 45, 0.92);
  color: #fff;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 460ms ease, transform 460ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .product-panel.panel-enter,
  .ambient,
  .btn,
  .hook-item {
    transition: none;
    animation: none;
  }
}

@media (max-width: 860px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    gap: 0.4rem;
  }
}
