/* ==========================================================================
   COSMOS — Premium Astronomical Experience Design System
   Independent Project by Embersoft
   ========================================================================== */

:root {
  --bg-deep: #020409;
  --bg-space: #050a14;
  --bg-surface: rgba(9, 18, 36, 0.65);
  --bg-surface-elevated: rgba(14, 27, 52, 0.78);
  --bg-surface-card: rgba(8, 17, 34, 0.52);
  
  --border-subtle: rgba(138, 184, 255, 0.10);
  --border-active: rgba(138, 184, 255, 0.28);
  --border-glow: rgba(124, 212, 234, 0.45);
  
  --text-primary: #f0f4fc;
  --text-secondary: #9cb1cf;
  --text-muted: #647b9d;
  
  --accent-cyan: #7cd4ea;
  --accent-blue: #8ab8ff;
  --accent-starlight: #e3ebff;
  --accent-amber: #f4b46c;
  
  --glow-cyan: rgba(124, 212, 234, 0.15);
  --glow-blue: rgba(138, 184, 255, 0.12);
  --glow-amber: rgba(244, 180, 108, 0.12);

  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 9999px;
  
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --max-width: 1220px;
  --header-height: 72px;
  
  --shadow-card: 0 16px 48px -8px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--border-subtle);
  --shadow-elevated: 0 24px 64px -12px rgba(2, 6, 18, 0.8), 0 0 0 1px var(--border-active);
  --shadow-glow: 0 0 32px -4px var(--glow-cyan);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

body {
  font-family: var(--font-sans);
  background: 
    radial-gradient(circle at 50% 0%, rgba(20, 38, 76, 0.35), transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(124, 212, 234, 0.06), transparent 40%),
    radial-gradient(circle at 15% 45%, rgba(138, 184, 255, 0.05), transparent 35%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-space) 40%, var(--bg-deep) 100%);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Subtle organic star field texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(1px 1px at 20px 30px, rgba(238, 244, 255, 0.6), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 40px 70px, rgba(138, 184, 255, 0.4), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 120px 140px, rgba(240, 244, 252, 0.7), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 200px 90px, rgba(124, 212, 234, 0.5), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 280px 210px, rgba(244, 180, 108, 0.5), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 340px 50px, rgba(238, 244, 255, 0.4), rgba(0,0,0,0));
  background-size: 400px 400px;
  opacity: 0.32;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.cosmos-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 4, 9, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(138, 184, 255, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.brand-link:hover .brand-icon {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(124, 212, 234, 0.25), 0 0 0 1px var(--accent-cyan);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.brand-tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-item-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-item-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(138, 184, 255, 0.07);
  border: 1px solid var(--border-subtle);
}

.lang-switch a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}

.lang-switch a.active {
  background: var(--accent-blue);
  color: #020409;
  box-shadow: 0 2px 8px rgba(138, 184, 255, 0.35);
}

.lang-switch a:not(.active):hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(124, 212, 234, 0.08);
  border: 1px solid rgba(124, 212, 234, 0.22);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(1.85rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  background: linear-gradient(180deg, #ffffff 20%, #c4d7f5 85%, #8ab8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  word-break: normal;
  overflow-wrap: break-word;
}

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 34px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-platform-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 100%;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(138, 184, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.4;
}

.hero-platform-status svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #8ab8ff 0%, #7cd4ea 100%);
  color: #030712;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px -4px rgba(138, 184, 255, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -4px rgba(124, 212, 234, 0.55);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 14px -2px rgba(138, 184, 255, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--border-active);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
  background: rgba(255, 255, 255, 0.15);
}

.hero-store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.store-btn {
  min-width: 214px;
  justify-content: center;
}

.store-icon {
  width: 19px;
  height: 19px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.94;
  flex-shrink: 0;
}

/* Hero Showcase Frame */
.hero-stage {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.stage-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 80%;
  background: radial-gradient(circle, rgba(138, 184, 255, 0.14) 0%, rgba(124, 212, 234, 0.06) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.stage-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated), 0 0 80px rgba(0, 0, 0, 0.85);
  background: #020409;
  border: 1px solid var(--border-active);
}

.stage-frame img {
  width: 100%;
  display: block;
}

.stage-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.stage-caption-badge,
.stage-caption-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-cyan);
  font-weight: 500;
}

.stage-caption-note {
  color: var(--text-muted);
}

/* ==========================================================================
   Section Base Styles
   ========================================================================== */

.section {
  padding: 96px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.06rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Experience Section (Scale, Motion, Realism)
   ========================================================================== */

.experience-hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
}

.experience-media {
  position: relative;
  aspect-ratio: 2340 / 1080;
  width: 100%;
  overflow: hidden;
  background: #020409;
  border-bottom: 1px solid var(--border-subtle);
}

.experience-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.experience-media-overlay {
  display: none;
}

.experience-card-body {
  padding: 32px 36px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.experience-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.experience-card-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--bg-surface-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6), 0 0 24px var(--glow-blue);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(138, 184, 255, 0.08);
  border: 1px solid rgba(138, 184, 255, 0.16);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--accent-cyan);
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Explore Features Grid (Confirmed Real Capabilities)
   ========================================================================== */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block.reversed {
  direction: rtl;
}

.feature-block.reversed > * {
  direction: ltr;
}

.feature-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #020409;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-visual:hover {
  transform: scale(1.015);
  border-color: var(--border-active);
  box-shadow: var(--shadow-elevated), 0 0 40px var(--glow-cyan);
}

.feature-visual img {
  width: 100%;
  display: block;
}

.feature-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(138, 184, 255, 0.08);
  border: 1px solid rgba(138, 184, 255, 0.18);
  color: var(--accent-blue);
}

.feature-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.feature-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.feature-bullet-item svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--accent-cyan);
}

/* ==========================================================================
   Bodies Overview Strip
   ========================================================================== */

.worlds-section {
  background: linear-gradient(180deg, transparent 0%, rgba(6, 12, 24, 0.45) 50%, transparent 100%);
  padding: 80px 0;
}

.worlds-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 960px;
  margin: 0 auto 36px;
}

.world-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(10, 20, 38, 0.6);
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.world-chip:hover {
  background: rgba(138, 184, 255, 0.12);
  border-color: var(--border-active);
}

.world-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-sun { background: #f7b360; box-shadow: 0 0 8px #f7b360; }
.dot-mercury { background: #a69e94; }
.dot-venus { background: #e0bb8b; }
.dot-earth { background: #4ba3e3; box-shadow: 0 0 6px #4ba3e3; }
.dot-moon { background: #c5c9d1; }
.dot-mars { background: #d96b43; }
.dot-jupiter { background: #c8a27d; }
.dot-saturn { background: #dfc28e; }
.dot-uranus { background: #7cd4ea; }
.dot-neptune { background: #4b7ee3; }
.dot-pluto { background: #bba28c; }

/* ==========================================================================
   About Section
   ========================================================================== */

.about-card {
  background: var(--bg-surface-elevated);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
  max-width: 900px;
  margin: 0 auto;
}

.about-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.about-card-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

/* ==========================================================================
   Availability & Technical Specifications
   ========================================================================== */

.specs-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px;
  max-width: 900px;
  margin: 0 auto;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spec-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ==========================================================================
   Credits / Attribution Section
   ========================================================================== */

.credits-block {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 28px 32px;
  border-radius: var(--radius-md);
  background: rgba(3, 7, 16, 0.4);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.credits-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.credits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  list-style: none;
  margin-bottom: 14px;
}

.credits-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

/* ==========================================================================
   Product Footer
   ========================================================================== */

.cosmos-footer {
  border-top: 1px solid var(--border-subtle);
  background: #020409;
  padding: 60px 0 40px;
  margin-top: 60px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.footer-back:hover {
  color: var(--accent-blue);
}

/* ==========================================================================
   Legal Document Layout (Privacy Policy & Terms)
   ========================================================================== */

.legal-page {
  padding: 60px 0 96px;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-surface-elevated);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.legal-back:hover {
  color: var(--accent-cyan);
}

.legal-card h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.legal-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 16px;
}

.legal-card ul {
  margin: 0 0 18px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-card li {
  margin-bottom: 6px;
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(124, 212, 234, 0.1);
  border: 1px solid rgba(124, 212, 234, 0.25);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .feature-block {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 60px;
  }
  
  .feature-block.reversed {
    direction: ltr;
  }
  
  .experience-card-body {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }
  
  .credits-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
  
  .header-inner {
    gap: 12px;
  }
  
  .nav-links {
    display: none; /* Keep clean on tablet/mobile */
  }
  
  .hero-section {
    padding: 48px 0 40px;
  }
  
  .section {
    padding: 64px 0;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .stage-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 16px;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .about-card,
  .legal-card {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .brand-tag {
    display: none;
  }
  
  .brand-title {
    font-size: 1.05rem;
    letter-spacing: 0.12em;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    padding: 5px 12px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-store-links {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary,
  .btn-secondary,
  .store-btn {
    width: 100%;
    justify-content: center;
  }
  
  .world-chip {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 28px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 24px);
  }
  
  .hero-title {
    font-size: 1.65rem;
  }

  .brand-title {
    font-size: 0.95rem;
  }
  
  .hero-eyebrow {
    font-size: 0.68rem;
    padding: 4px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
