/* ===========================
   RoleWithIt Landing Page
   Colors matched from app theme
   =========================== */

:root {
  /* Backgrounds */
  --bg-primary: rgb(12, 14, 18);
  --bg-secondary: rgb(19, 22, 27);
  --bg-tertiary: rgb(34, 38, 47);

  /* Text */
  --text-primary: rgb(247, 247, 247);
  --text-secondary: rgb(206, 207, 210);
  --text-tertiary: rgb(148, 151, 156);
  --text-muted: rgb(97, 101, 108);

  /* Brand Gold */
  --brand-300: rgb(255, 210, 51);
  --brand-400: rgb(250, 192, 19);
  --brand-500: rgb(234, 170, 8);
  --brand-600: rgb(202, 133, 4);

  /* Borders */
  --border-primary: rgb(55, 58, 65);
  --border-secondary: rgb(34, 38, 47);

  /* Fonts */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a {
  color: var(--brand-400);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--brand-300);
}

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

/* Layout */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text-secondary);
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-tertiary);
  max-width: 520px;
  margin: 0 auto;
}

/* Glow Effects */
.glow-text {
  text-shadow: 0 0 7px var(--brand-400), 0 0 20px var(--brand-600);
}

.glow-box {
  box-shadow: 0 0 7px var(--brand-400), 0 0 20px var(--brand-600);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 8px var(--brand-500), 0 0 20px rgba(217, 161, 62, 0.2); }
  50% { box-shadow: 0 0 16px var(--brand-500), 0 0 40px rgba(217, 161, 62, 0.4); }
}

/* Buttons */
.btn-primary,
.btn-primary:link,
.btn-primary:visited,
.btn-primary:active {
  display: inline-block;
  padding: 16px 48px;
  background-color: var(--brand-500);
  color: #000;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
  animation: pulse-glow 2s ease-in-out infinite;
}
.btn-primary:hover {
  opacity: 0.9;
  color: #000;
}

.btn-secondary {
  display: inline-block;
  padding: 16px 48px;
  background-color: var(--bg-primary);
  color: var(--brand-400);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  border: 2px solid var(--brand-500);
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background-color: var(--brand-500);
  color: var(--bg-primary);
}

/* ===========================
   Sections
   =========================== */

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(12, 14, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-secondary);
}

.nav-logo img {
  height: 80px;
  width: auto;
}

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

.nav-links a {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--text-primary);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  gap: 24px;
}

.hero-logo {
  width: 320px;
  max-width: 80vw;
}

.hero .tagline {
  margin-top: -8px;
}

.hero .subtitle {
  margin-top: 4px;
}

.hero .btn-primary {
  margin-top: 16px;
}

.legal-line {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Section base */
section {
  padding: 96px 0;
}

section.alt-bg {
  background-color: var(--bg-secondary);
}

.section-title {
  text-align: center;
  color: var(--brand-400);
  margin-bottom: 56px;
}

/* Pitch / Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature {
  text-align: center;
}

.feature h3 {
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.feature-accent {
  width: 48px;
  height: 3px;
  background: var(--brand-500);
  border-radius: 2px;
  margin: 0 auto 20px;
}

/* Scenarios */
.section-subtitle {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 1.0625rem;
  margin-top: -40px;
  margin-bottom: 48px;
}

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

.scenario-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.scenario-card:hover {
  border-color: var(--brand-500);
  transform: translateY(-2px);
}

.scenario-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.scenario-card h3 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.scenario-card p {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  counter-increment: step;
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-400);
  margin-bottom: 12px;
  line-height: 1;
}

.step h3 {
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 1.125rem;
}

.step p {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Safety */
.safety-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.safety-content p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* Pricing */
.pricing-content {
  text-align: center;
}

.price {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--brand-400);
  line-height: 1;
}

.price-sub {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.price-detail {
  font-size: 1rem;
  color: var(--text-tertiary);
  margin-top: 16px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* Final CTA */
.final-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(202, 133, 4, 0.08), rgba(250, 192, 19, 0.05));
  border-top: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
}

.final-cta h2 {
  color: var(--text-primary);
  margin-bottom: 32px;
}

/* Footer */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 12px;
}

.footer-logo {
  height: 56px;
  width: auto;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

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

.footer-links a {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}
.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-secondary);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===========================
   Legal Pages
   =========================== */

.legal-page {
  padding-top: 100px;
  padding-bottom: 80px;
}

.legal-page h1 {
  margin-bottom: 8px;
}

.legal-page .effective-date {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 48px;
}

.legal-page h2 {
  font-size: 1.375rem;
  color: var(--brand-400);
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-page p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-page ul {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-page li {
  margin-bottom: 8px;
}

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

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .tagline { font-size: 1.25rem; }
  .subtitle { font-size: 1rem; }

  .hero-logo { width: 240px; }

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

  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .section-subtitle {
    margin-top: -28px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .price { font-size: 3.5rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.8125rem;
  }

  section {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 14px 32px;
  }
}
