﻿:root {
  --bg: #090b10;
  --bg-soft: #111722;
  --card: rgba(17, 23, 34, 0.82);
  --text: #f3f5f8;
  --muted: #a6afbb;
  --line: #253143;
  --gold: #d7b34e;
  --gold-strong: #e7c96e;
  --gold-glow: rgba(215, 179, 78, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(1100px 580px at 50% -12%, rgba(215, 179, 78, 0.2), transparent 62%),
    radial-gradient(800px 360px at 100% 110%, rgba(215, 179, 78, 0.12), transparent 62%),
    linear-gradient(180deg, #101521 0%, #0a0e15 50%, #06080d 100%);
}

.hero {
  width: min(1120px, 94vw);
  margin: 24px auto 0;
  padding: 46px 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(140deg, #171f2d 0%, #101722 52%, #0c131c 100%);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.42);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.2;
  z-index: -2;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  right: -90px;
  top: -130px;
  background: radial-gradient(circle, rgba(215, 179, 78, 0.36) 0%, rgba(215, 179, 78, 0) 70%);
  animation: pulseGlow 6.5s ease-in-out infinite;
}

.hero::after {
  left: -120px;
  bottom: -170px;
  background: radial-gradient(circle, rgba(215, 179, 78, 0.22) 0%, rgba(215, 179, 78, 0) 70%);
  animation: pulseGlow 8.8s ease-in-out infinite reverse;
}

.back-link {
  position: absolute;
  top: 16px;
  left: 20px;
  display: inline-flex;
  margin: 0;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.back-link:hover {
  border-color: rgba(215, 179, 78, 0.45);
  opacity: 0.95;
}

.logo {
  display: block;
  width: 100px;
  max-width: 28vw;
  margin: 12px auto 12px;
  filter: drop-shadow(0 0 16px var(--gold-glow));
  animation: logoFloat 4.5s ease-in-out infinite;
}

.kicker {
  margin: 0;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

.hero h1 {
  margin: 10px auto 0;
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
  animation: enterUp 0.8s ease-out;
}

.hero-copy {
  margin: 14px auto 0;
  width: min(700px, 94%);
  color: var(--muted);
  font-size: 1rem;
  animation: enterUp 1s ease-out;
}

.hero-cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: enterUp 1.15s ease-out;
}

.page-wrap {
  width: min(1120px, 94vw);
  margin: 0 auto;
  padding: 30px 0 8px;
}

.article {
  display: grid;
  gap: 26px;
}

.article section {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  background: var(--card);
  backdrop-filter: blur(4px);
}

.article p {
  margin: 0 0 14px;
  color: var(--muted);
}

.article p:last-child {
  margin-bottom: 0;
}

.lead {
  color: var(--text);
  font-size: 1.1rem;
}

.article h2 {
  font-size: clamp(1.4rem, 3.2vw, 2.05rem);
  margin-bottom: 10px;
}

blockquote {
  margin: 16px 0 0;
  padding: 16px;
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  background: rgba(215, 179, 78, 0.08);
  color: var(--gold-strong);
  font-weight: 600;
}

.signal-grid,
.routine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.signal-card,
.routine-grid article {
  border: 1px solid rgba(37, 49, 67, 0.9);
  border-radius: 12px;
  padding: 16px;
  background: rgba(12, 18, 28, 0.75);
}

.signal-card h3,
.routine-grid h3,
.rule-box h3 {
  margin-bottom: 8px;
  font-size: 1.03rem;
}

.signal-card p,
.routine-grid p {
  margin: 0;
  font-size: 0.95rem;
}

.rule-box {
  margin-top: 12px;
  border: 1px solid rgba(215, 179, 78, 0.25);
  background: linear-gradient(180deg, rgba(215, 179, 78, 0.08), rgba(12, 18, 28, 0.55));
  border-radius: 12px;
  padding: 16px;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.checklist li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
}

.checklist li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 800;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.size-grid div {
  border: 1px solid rgba(37, 49, 67, 0.95);
  border-radius: 10px;
  padding: 12px;
  background: rgba(11, 16, 24, 0.82);
  display: grid;
  gap: 3px;
}

.size-grid strong {
  color: var(--text);
}

.size-grid span {
  color: var(--gold);
  font-weight: 700;
}

.highlight {
  color: var(--gold-strong);
  font-weight: 700;
}

.conclusion p {
  color: var(--text);
}

.blog-cta {
  width: min(1120px, 94vw);
  margin: 40px auto 0;
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 56px 20px;
  background: radial-gradient(circle at center, rgba(215, 179, 78, 0.08), transparent 60%);
}

.blog-cta h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 3.8vw, 2.35rem);
}

.blog-cta p {
  margin: 0 auto 20px;
  max-width: 700px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  color: #161108;
  border: 1px solid rgba(255, 236, 178, 0.5);
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  box-shadow: 0 0 24px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px var(--gold-glow);
}

.btn-ghost {
  color: var(--gold);
  background: rgba(215, 179, 78, 0.07);
  border: 1px solid rgba(215, 179, 78, 0.45);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(215, 179, 78, 0.14);
}

footer {
  text-align: center;
  padding: 24px 16px 34px;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 0.7s ease forwards;
}

.article section:nth-child(1) { animation-delay: 0.02s; }
.article section:nth-child(2) { animation-delay: 0.06s; }
.article section:nth-child(3) { animation-delay: 0.1s; }
.article section:nth-child(4) { animation-delay: 0.14s; }
.article section:nth-child(5) { animation-delay: 0.18s; }
.article section:nth-child(6) { animation-delay: 0.22s; }
.article section:nth-child(7) { animation-delay: 0.26s; }
.blog-cta { animation-delay: 0.3s; }

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

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.94;
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

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

@media (max-width: 760px) {
  .hero {
    margin-top: 14px;
    padding: 44px 18px 34px;
  }

  .back-link {
    position: static;
    margin: 0 0 10px;
  }

  .logo {
    width: 84px;
    margin-top: 4px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn,
  .blog-cta .btn {
    width: 100%;
  }

  .article section {
    padding: 18px;
  }

  .page-wrap {
    padding-top: 22px;
  }

  .blog-cta {
    margin-top: 32px;
    padding: 44px 16px;
  }
}
