/* =========================
   Football Practice Planner
   styles.css
   ========================= */

:root {
  --black: #08090b;
  --dark: #0f1115;
  --dark-2: #161a21;
  --dark-3: #20242c;
  --red: #d71920;
  --red-hover: #f0242d;
  --white: #ffffff;
  --text: #d8d8d8;
  --muted: #aeb5bf;
  --border: #2a2f38;
  --max-width: 1120px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--white);
}

a:hover {
  color: var(--red);
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.center {
  text-align: center;
}

/* =========================
   Header / Navigation
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 9, 11, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  max-width: 260px;
  max-height: 54px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 20px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.main-nav a:hover {
  color: var(--red);
}

.main-nav .nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 11px 18px;
  border-radius: 10px;
}

.main-nav .nav-cta:hover {
  background: var(--red-hover);
  color: var(--white);
}

/* =========================
   Sections
   ========================= */

.section,
.hero {
  padding: 72px 0;
}

.dark-section {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero {
  background:
    radial-gradient(circle at top left, rgba(215, 25, 32, 0.22), transparent 34%),
    linear-gradient(135deg, var(--black), var(--dark));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.hero-content h1,
.section h2 {
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -1.5px;
}

.section h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.hero-text,
.section-heading p,
.narrow p,
.two-column p {
  font-size: 19px;
  color: var(--text);
}

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 14px;
  margin: 0 0 12px;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 34px;
}

.hero-image-wrap,
.highlight-box,
.feature-card,
.screenshot-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hero-image-wrap {
  padding: 18px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}

.hero-image {
  border-radius: 14px;
}

/* =========================
   Buttons
   ========================= */

.button-row,
.fpp-buttons,
.fpp-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}

.center .button-row,
.center .fpp-buttons,
.center .fpp-cta-buttons {
  justify-content: center;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 12px;
  padding: 15px 26px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 16px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}

.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--red);
}

.btn-secondary:hover {
  background: var(--red);
  color: var(--white);
}

.btn-large {
  padding: 17px 32px;
  font-size: 18px;
}

.price-note,
.small-note {
  color: var(--muted);
  font-size: 15px;
  margin-top: 16px;
}

/* =========================
   Video
   ========================= */

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: #000;
  margin-top: 30px;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* =========================
   Feature Cards
   ========================= */

.feature-grid,
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  padding: 26px;
}

.feature-card h3,
.screenshot-card h3,
.highlight-box h3 {
  color: var(--white);
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.feature-card p,
.screenshot-card p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
}

.screenshot-card {
  overflow: hidden;
}

.screenshot-card img {
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.screenshot-card h3,
.screenshot-card p {
  padding-left: 22px;
  padding-right: 22px;
}

.screenshot-card h3 {
  padding-top: 22px;
}

.screenshot-card p {
  padding-bottom: 24px;
}

/* =========================
   Two Column / Lists
   ========================= */

.two-column {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.highlight-box {
  padding: 28px;
}

.check-list,
.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li,
.article-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

.included-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
  text-align: left;
}

.included-list div {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px 18px;
  color: var(--white);
  font-weight: 700;
}

.included-list div::before {
  content: "✔ ";
  color: var(--red);
}

/* =========================
   CTA
   ========================= */

.cta-section {
  background:
    radial-gradient(circle at top center, rgba(215, 25, 32, 0.22), transparent 40%),
    linear-gradient(135deg, var(--dark), var(--dark-2));
}

.price {
  color: var(--red);
  font-size: 56px;
  line-height: 1;
  font-weight: 900;
  margin: 12px 0 26px;
}

/* =========================
   Resource / Article Pages
   ========================= */

.page-hero {
  padding: 64px 0;
  background:
    radial-gradient(circle at top left, rgba(215, 25, 32, 0.18), transparent 34%),
    linear-gradient(135deg, var(--black), var(--dark));
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
  font-size: clamp(38px, 5vw, 58px);
  margin: 0 0 18px;
}

.page-hero p {
  font-size: 20px;
  max-width: 840px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.resource-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: 0.2s ease;
}

.resource-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.resource-card h2,
.resource-card h3 {
  margin: 0 0 12px;
  line-height: 1.25;
  font-size: 22px;
}

.resource-card h2 a,
.resource-card h3 a {
  color: var(--white);
  text-decoration: none;
}

.resource-card h2 a:hover,
.resource-card h3 a:hover {
  color: var(--red);
}

.resource-card p {
  margin: 0 0 18px;
  font-size: 16px;
}

.article {
  max-width: 850px;
  margin: 0 auto;
}

.article h1 {
  color: var(--white);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.article h2 {
  color: var(--white);
  font-size: 30px;
  line-height: 1.2;
  margin: 42px 0 14px;
  padding-left: 14px;
  border-left: 5px solid var(--red);
  text-transform: uppercase;
}

.article h3 {
  color: var(--white);
  font-size: 23px;
  margin: 28px 0 10px;
}

.article p,
.article li {
  font-size: 18px;
}

.article ul,
.article ol {
  padding-left: 24px;
}

.article a {
  color: var(--white);
  font-weight: 700;
}

.article a:hover {
  color: var(--red);
}

.article-cta {
  background: var(--dark-2);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 28px;
  margin: 42px 0;
  text-align: center;
}

.related-articles {
  background: var(--dark);
  border-top: 1px solid var(--border);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.related-card a {
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
}

.related-card a:hover {
  color: var(--red);
}

/* =========================
   Policy / Access Pages
   ========================= */

.simple-page {
  max-width: 850px;
  margin: 0 auto;
}

.simple-page h1 {
  color: var(--white);
  text-transform: uppercase;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 24px;
}

.simple-page h2 {
  color: var(--white);
  margin: 38px 0 12px;
}

.access-box {
  background: var(--dark-2);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
}

.access-box p {
  font-size: 18px;
}

/* =========================
   Footer
   ========================= */

.site-footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 38px 0;
  text-align: center;
}

.footer-inner p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 15px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--red);
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 900px) {
  .hero-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .screenshot-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .included-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 68px;
  }

  .site-logo {
    max-width: 210px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid var(--border);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 15px 22px;
    border-top: 1px solid var(--border);
  }

  .main-nav .nav-cta {
    margin: 12px 18px 18px;
    text-align: center;
  }

  .section,
  .hero {
    padding: 52px 0;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-text,
  .section-heading p,
  .narrow p,
  .two-column p,
  .page-hero p {
    font-size: 18px;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .price {
    font-size: 44px;
  }
}