/* ================================================================
   Digital Academy — landing styles (saffron/dark palette)
   Skeleton adapted from RadarOS - act/landing/styles.css
   ================================================================ */

:root {
  --bg:            #04070d;
  --bg-panel:      #0a0f1a;
  --fg:            #e8edf5;
  --fg-muted:      rgba(232, 237, 245, 0.65);
  --fg-dim:        rgba(232, 237, 245, 0.35);
  --line:          rgba(255, 255, 255, 0.10);
  --accent:        #F4A300;
  --accent-hover:  #ffb733;
  --accent-blue:   #3aa7e2;
  --danger:        #DC4A4A;
  --radius:        12px;
  --radius-sm:     8px;
  --max-w:         1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* --- Background effects ------------------------------------------ */
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.page-bg__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(244, 163, 0, 0.10), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(58, 167, 226, 0.06), transparent 45%);
}
.page-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.page-bg__glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.page-bg__glow--1 { background: var(--accent); top: -100px; left: -100px; }
.page-bg__glow--2 { background: var(--accent-blue); bottom: -150px; right: -150px; }
.page-bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, var(--bg) 100%);
}

/* --- Site shell + sections -------------------------------------- */
.site-shell {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.landing-section {
  padding: 80px 0;
  position: relative;
}
.landing-section:first-child { padding-top: 24px; }

.landing-grid {
  display: grid;
  gap: 24px;
}
.landing-grid--full { grid-template-columns: 1fr; }
.landing-grid--hero { grid-template-columns: 1fr; }

@media (min-width: 900px) {
  .landing-section { padding: 100px 0; }
}

/* --- Panels ------------------------------------------------------ */
.panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.panel__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 60%);
  pointer-events: none;
}
.panel__inner {
  position: relative;
  z-index: 1;
  padding: 32px;
}
.panel--card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
}
.panel--reveal {
  background: linear-gradient(180deg, rgba(244, 163, 0, 0.04), transparent);
  border: 1px solid var(--line);
}

/* --- Typography -------------------------------------------------- */
.section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg);
}
.section-title--xl { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.section-title      { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.section-title--sub { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 500; color: var(--fg-muted); line-height: 1.5; }

.text-muted { color: var(--fg-muted); }
.text-dim   { color: var(--fg-dim); }
.text-accent{ color: var(--accent); }

/* --- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  background: none;
  color: var(--fg);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn__arrow { transition: transform 160ms ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--accent);
  color: #1a1200;
}
.btn--primary:hover { background: var(--accent-hover); }

.btn--secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
}
.btn--secondary:hover {
  border-color: var(--accent);
  background: rgba(244, 163, 0, 0.08);
}

/* --- Pills / tags ------------------------------------------------ */
.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* --- CTA actions helper ----------------------------------------- */
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* --- Utility ----------------------------------------------------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.stack > * + * { margin-top: 16px; }
