/* ── Landing Page Styles ──────────────────────────────────────────── */

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Hero ─────────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(90, 158, 166, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 70%, rgba(196, 154, 108, 0.04) 0%, transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--bg-deep) 100%);
}

.hero-content { position: relative; z-index: 1; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 11vw, 108px);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 3px;
  line-height: 1;
  animation: fadeUp 1s ease-out both;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.5vw, 21px);
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  max-width: 480px;
  margin: 24px auto 0;
  opacity: 0;
  animation: fadeUp 1s ease-out 0.3s both;
}

.hero-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease-out 0.5s both;
}

.hero-cta {
  margin-top: 48px;
  opacity: 0;
  animation: fadeUp 1s ease-out 0.7s both;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1s ease-out 1.2s both;
}

.hero-scroll-arrow {
  display: block;
  width: 16px;
  height: 16px;
  border-right: 1px solid var(--accent-dim);
  border-bottom: 1px solid var(--accent-dim);
  transform: rotate(45deg);
  animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%      { transform: rotate(45deg) translateY(5px); }
}

/* ── Sections ─────────────────────────────────────────────────────── */

.section-wrap {
  position: relative;
  overflow: hidden;
}

.landing-section {
  position: relative;
  padding: 120px 24px;
  max-width: 780px;
  margin: 0 auto;
  z-index: 1;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--border-light);
  margin: 0 auto;
}

/* ── About ────────────────────────────────────────────────────────── */

.about-wrap {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-wrap::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(196, 154, 108, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.about p {
  margin-bottom: 20px;
  color: var(--text);
}

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

.about strong {
  color: var(--text-bright);
  font-weight: 500;
}

.about-highlight {
  margin-top: 48px;
  padding: 32px;
  border-left: 2px solid var(--accent-dim);
  background: rgba(196, 154, 108, 0.03);
}

.about-highlight p {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--accent-light);
  line-height: 1.5;
  margin: 0;
}

/* ── How It Works ─────────────────────────────────────────────────── */

.how-wrap::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(90, 158, 166, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.step {
  padding: 28px 20px;
  border: 1px solid var(--border);
  border-top: 2px solid var(--cyan-dim);
  border-radius: 0 0 2px 2px;
  background: var(--bg-surface);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.step:hover {
  border-top-color: var(--cyan);
  background: var(--bg-card);
  transform: translateY(-2px);
}

.step-number {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text-bright);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Themes Section ──────────────────────────────────────────────── */

.themes-wrap {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.themes-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(90, 158, 166, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(196, 154, 108, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.themes-section {
  max-width: 960px;
}

.themes-section .section-label,
.themes-section .section-title {
  text-align: center;
}

.browse-all-link {
  display: block;
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  transition: color 0.2s;
}

.browse-all-link:hover { color: var(--cyan-light); }

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 820px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .landing-section { padding: 80px 20px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 20px 16px; }
  .about-highlight { padding: 24px 20px; }
}
