/*
 * Shared styles for the Criticflix marketing site.
 * Colors pulled directly from src/enum/colors.ts to match the app:
 *   y_crimsonRed            #b81d24  - primary brand red
 *   y_lightIvory            #f5f5f1  - light text
 *   classicCinema_darkSlate #2d3142  - dark background
 *   directorsPalette_maroon #800000  - buttons / accents
 *   filmNoir_gray           #808080  - muted text
 */

:root {
  --crimson: #b81d24;
  --ivory: #f5f5f1;
  --dark-slate: #2d3142;
  --darker-slate: #1f2230;
  --maroon: #800000;
  --gray: #808080;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--darker-slate);
  color: var(--ivory);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--ivory);
}

img {
  max-width: 100%;
}

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

/* Header */
header.site-header {
  background: var(--crimson);
  padding: 20px 0;
}

header.site-header .container {
  display: flex;
  align-items: center;
  gap: 14px;
}

header.site-header img.logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

header.site-header .brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--ivory);
  text-decoration: none;
}

nav.site-nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
}

nav.site-nav a {
  text-decoration: none;
  font-weight: 600;
  opacity: 0.9;
}

nav.site-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Hero */
.hero {
  text-align: center;
  padding: 72px 0 48px;
  background: linear-gradient(180deg, var(--dark-slate) 0%, var(--darker-slate) 100%);
}

.hero h1 {
  font-size: 40px;
  margin: 0 0 12px;
}

.hero p.tagline {
  font-size: 19px;
  color: var(--ivory);
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero .cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  background: var(--maroon);
  color: var(--ivory);
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.button:hover {
  filter: brightness(1.15);
}

.button.secondary {
  background: transparent;
  border: 2px solid var(--ivory);
}

/* Features */
.features {
  padding: 56px 0;
}

.features h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--dark-slate);
  border-radius: 10px;
  padding: 24px;
}

.feature-card h3 {
  margin-top: 0;
  color: var(--ivory);
  font-size: 19px;
}

.feature-card p {
  color: var(--ivory);
  opacity: 0.8;
  margin-bottom: 0;
  font-size: 15px;
}

/* Disclaimer strip */
.disclaimer {
  background: var(--dark-slate);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.75;
}

/* Footer */
footer.site-footer {
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

footer.site-footer a {
  opacity: 1;
}

/* Legal / policy pages */
main.legal {
  padding: 48px 0 64px;
  max-width: 760px;
}

main.legal h1 {
  font-size: 32px;
  margin-bottom: 4px;
}

main.legal .updated {
  opacity: 0.6;
  font-size: 14px;
  margin-bottom: 40px;
}

main.legal h2 {
  font-size: 21px;
  margin-top: 36px;
  color: var(--ivory);
  border-bottom: 1px solid rgba(245, 245, 241, 0.15);
  padding-bottom: 8px;
}

main.legal p, main.legal li {
  opacity: 0.88;
  font-size: 15.5px;
}

main.legal ul {
  padding-left: 22px;
}

main.legal a.email {
  color: var(--crimson);
  font-weight: 700;
}
