:root {
  --bg-1: #0e1a24;
  --bg-2: #122e2f;
  --panel: rgba(11, 20, 28, 0.82);
  --text: #f5f8f7;
  --muted: #b7c8c4;
  --accent: #ff7a18;
  --accent-2: #2bc7b1;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 12% 14%, #1a4d53 0%, transparent 35%),
    radial-gradient(circle at 84% 20%, #61310e 0%, transparent 35%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2));
  min-height: 100vh;
  overflow-x: hidden;
}

.ambient-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.32;
  z-index: -1;
  animation: drift 16s ease-in-out infinite alternate;
}

.glow-1 {
  width: 360px;
  height: 360px;
  background: #ff7a18;
  top: -80px;
  right: -40px;
}

.glow-2 {
  width: 320px;
  height: 320px;
  background: #2bc7b1;
  left: -120px;
  bottom: 18%;
}

.hero {
  padding: 2rem 1.5rem 1rem;
}

.top-nav {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.07em;
  margin: 0;
}

.nav-button {
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.55rem 1rem;
  border-radius: 999px;
}

.hero-content {
  max-width: 1080px;
  margin: 2.5rem auto 1rem;
}

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

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

h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.94;
  max-width: 10ch;
  margin-bottom: 1rem;
}

.hero-copy {
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cta {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

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

.primary {
  color: #10201d;
  background: linear-gradient(90deg, var(--accent), #ffb347);
  box-shadow: 0 10px 30px rgba(255, 122, 24, 0.28);
}

.ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
  display: grid;
  gap: 1.2rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.4rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.section-copy {
  color: var(--muted);
  max-width: 58ch;
}

.flow-grid,
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.flow-grid article,
.tips-grid article {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 700;
}

select,
input[type="range"] {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem;
  background: #0f1d25;
  color: var(--text);
  font: inherit;
}

input[type="range"] {
  padding: 0.2rem;
}

.results {
  margin-top: 1rem;
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

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

.result-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem;
}

.result-item strong {
  display: block;
  font-size: 1.18rem;
  margin-top: 0.2rem;
  color: #ffd19c;
}

.placeholder {
  color: var(--muted);
  margin: 0;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 0 1rem 2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeIn 700ms ease forwards;
}

.reveal:nth-of-type(2) {
  animation-delay: 90ms;
}

.reveal:nth-of-type(3) {
  animation-delay: 170ms;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-20px, 18px, 0) scale(1.05);
  }
}

@media (max-width: 720px) {
  .top-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  h1 {
    line-height: 1;
  }
}
