/* =========================================================
   CUR8R Microsite — Stylesheet
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0A0A0C;
  --surface:      #111114;
  --surface2:     #1a1a1f;
  --text:         #f2f0f5;
  --muted:        #8a8898;
  --muted2:       #525060;
  --accent:       #FF1658;
  --accent-h:     #cc1046;
  --accent-dim:   rgba(255, 22, 88, 0.1);
  --accent-glow:  rgba(255, 22, 88, 0.22);
  --accent-light: #ff5a87;
  --border:       #27252f;
  --border-accent: rgba(255, 22, 88, 0.2);
  --max-w:        1160px;
  --radius:       6px;
}

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: 'Arial', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ---------------------------------------------------------
   Animations
   --------------------------------------------------------- */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.anim-ready.anim-visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-group .anim-ready:nth-child(1) { transition-delay: 0s; }
.anim-group .anim-ready:nth-child(2) { transition-delay: 0.08s; }
.anim-group .anim-ready:nth-child(3) { transition-delay: 0.16s; }
.anim-group .anim-ready:nth-child(4) { transition-delay: 0.24s; }

/* ---------------------------------------------------------
   Utilities
   --------------------------------------------------------- */

.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-h); }

.btn-ghost {
  background: var(--surface2);
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover { color: var(--text); border-color: var(--muted2); background: var(--surface); }

.btn-large {
  padding: 1.1rem 2.8rem;
  font-size: 0.85rem;
}

.btn-sm {
  padding: 0.7rem 1.5rem;
  font-size: 0.75rem;
}

.btn .mdi {
  font-size: 1.15em;
  vertical-align: -0.1em;
  margin-right: 0.35em;
}

/* ---------------------------------------------------------
   Top Bar (logo + back-link)
   --------------------------------------------------------- */

.top-bar {
  padding: 2.5rem 2rem 0;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fadeIn 0.5s ease both;
}

.top-bar-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-icon {
  height: 64px;
  width: auto;
}

.app-name {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.back-link {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.back-link:hover { color: var(--text); border-color: var(--muted2); }

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.hero {
  padding: 4rem 2rem 5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 3rem;
  align-items: flex-start;
}

.hero-left { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  width: fit-content;
}

.hero-badge span {
  color: var(--accent);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.hero-btn-download {
  display: block;
  text-align: center;
}

.hero-actions-row {
  display: flex;
  gap: 1rem;
}

.hero-actions-row .btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-right {
  position: relative;
  animation: fadeIn 0.9s 0.3s ease both;
  margin-top: 1rem;
}

.hero-screenshot {
  width: 110%;
  max-width: none;
  border: 1px solid var(--border-accent);
  display: block;
  box-shadow: 0 0 50px var(--accent-glow), 0 32px 80px rgba(0,0,0,0.65);
}

/* Staggered hero text animations */
.hero-badge   { animation: fadeInUp 0.5s 0.1s ease both; }
.hero h1      { animation: fadeInUp 0.55s 0.2s ease both; }
.hero-desc    { animation: fadeInUp 0.55s 0.3s ease both; }
.hero-actions { animation: fadeInUp 0.55s 0.4s ease both; }

/* ---------------------------------------------------------
   Pitch Strip (Why CUR8R)
   --------------------------------------------------------- */

.pitch {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
  background: var(--surface);
}

.pitch .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.pitch-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.pitch-text p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.pitch-pills {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   Features Grid
   --------------------------------------------------------- */

.features {
  padding: 5rem 2rem;
}

.features .inner { }

.features-header {
  margin-bottom: 3rem;
}

.features-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--bg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card:hover { background: var(--surface); }

.feature-icon {
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.feature-code {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.8;
}

.feature-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.fmt-tag {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.2rem 0.5rem;
}

/* ---------------------------------------------------------
   Visual Showcase
   --------------------------------------------------------- */

.showcase {
  padding: 5rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.showcase-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

.showcase-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
}

.showcase-link {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--muted2);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.showcase-link:hover { color: var(--text); border-color: var(--text); }

.theme-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.theme-shot { display: flex; flex-direction: column; gap: 0.75rem; }

.theme-shot img {
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.shot-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.inspector-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 1.5rem;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.inspector-shot img {
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  max-height: 360px;
  width: auto;
}

.inspector-info { display: flex; flex-direction: column; gap: 0.75rem; }

.inspector-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.inspector-info p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------------------------------------------------------
   Audience
   --------------------------------------------------------- */

.audience {
  padding: 5rem 2rem;
}

.audience-header {
  margin-bottom: 2.5rem;
}

.audience-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
}

.audience-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.audience-row {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
  transition: background 0.15s;
}

.audience-row:hover { padding-left: 0.75rem; }

.audience-who {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.audience-why {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------------------------------------------------------
   Under the Hood
   --------------------------------------------------------- */

.hood {
  padding: 5rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hood-header {
  margin-bottom: 2.5rem;
}

.hood-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
}

.hood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.hood-item {
  background: var(--surface);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hood-item:hover { background: var(--surface2); }

.hood-item h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.hood-item p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------------------------------------------------------
   Final CTA
   --------------------------------------------------------- */

.final-cta {
  padding: 7rem 2rem 4rem;
  text-align: center;
}

.final-cta-tagline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}

.final-cta-tagline em {
  font-style: normal;
  color: var(--accent);
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.site-credit {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted2);
}

.site-credit a {
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.site-credit a:hover { color: var(--text); border-color: var(--muted2); }

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 3rem;
  }

  .hero-right { order: -1; }

  .hero-screenshot { width: 100%; }

  .hero-desc { max-width: 100%; }

  .pitch .inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .theme-pair {
    grid-template-columns: 1fr;
  }

  .inspector-row {
    grid-template-columns: 1fr;
  }

  .hood-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

@media (max-width: 560px) {
  .top-bar {
    padding: 1.5rem 1.25rem 0;
  }

  .hero {
    padding: 2.5rem 1.25rem 3rem;
    gap: 2.5rem;
  }

  .hero-actions-row {
    flex-direction: column;
  }

  .pitch { padding: 3rem 1.25rem; }
  .features { padding: 3.5rem 1.25rem; }
  .showcase { padding: 3.5rem 1.25rem; }
  .audience { padding: 3.5rem 1.25rem; }
  .hood { padding: 3.5rem 1.25rem; }
  .final-cta { padding: 4.5rem 1.25rem 3rem; }

  .hood-grid { grid-template-columns: 1fr; }

  .showcase-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-name { font-size: 1.2rem; }
  .app-icon { height: 48px; }
}
