/* ═══════════════════════════════════════════════════════════════════
   HOME.CSS — Page-specific styles for homepage
   Scope: page-home only
═══════════════════════════════════════════════════════════════════ */

/* ── HERO SECTION ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Placeholder gradient background (replace with img when available) */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      #175656 0%,
      #193161 30%,
      #1f1f62 60%,
      #521822 100%);
  z-index: 0;
}

/* Day mode hero bg adjusts slightly */
#theme-toggle:not(:checked) ~ * .hero__bg {
  background:
    linear-gradient(135deg,
      #75d3d3 0%,
      #6a88bc 30%,
      #5b5ba8 60%,
      #67323d 100%);
}

/* Decorative overlay pattern */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(46,204,204,.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(235,84,6,.12) 0%, transparent 60%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-inline: var(--sp-6);
  max-width: 860px;
  margin-inline: auto;
  padding-block: var(--sp-24);
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-teal);
  background: rgba(46,204,204,.1);
  border: 1px solid rgba(46,204,204,.25);
  padding: 0.375rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-6);
  animation: fadeUp var(--t-slow) var(--ease-out) both;
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
  animation: fadeUp var(--t-slow) var(--ease-out) 80ms both;
}

.hero__title-accent {
  background: linear-gradient(90deg, var(--c-teal) 0%, #7fffd4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--c-border);
  line-height: 1.75;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
  letter-spacing: 0.015em;
  animation: fadeUp var(--t-slow) var(--ease-out) 160ms both;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  animation: fadeUp var(--t-slow) var(--ease-out) 240ms both;
}

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

/* ── SMALL TILES ─────────────────────────────────────────────────── */
.tiles--small__logo {
  display: inline-flex;
  align-items: center;
  height: 20px;
  position: relative;
  top: 0px;
  filter: drop-shadow(0px 0px 12px rgba(255, 255, 255, .67));
}

/* ── SECTION BACKGROUNDS ─────────────────────────────────────────── */
.section--large-tiles  { background: transparent; }
.section--medium-tiles { background: var(--c-surface-2); border-radius: var(--r-xl); }
.section--small-tiles  { background: transparent; }

/* Mobile adjustments */
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
