:root {
  --pf-blue: #2491EB;
  --pf-green: #98C73A;
  --pf-teal: #3EB5B8;
  --pf-purple: #7A67B8;
  --pf-orange: #F27C36;
  --pf-gold: #F5C92B;

  --bg: #f6f9fc;
  --card: #ffffff;

  --text: #1d3a50;
  --muted: #6a7f92;
  --line: #dbe6ef;

  --radius: 18px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.05);
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: var(--pf-blue);
}

ul,
ol {
  padding-left: 1.2rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
}

/* =========================
   NAVIGATION
========================= */

nav {
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo img {
  height: 44px;
  width: auto;
  flex: 0 0 auto;
}

.logo span {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--pf-blue);
}

/* =========================
   HERO
========================= */

.hero {
  background: linear-gradient(140deg, #ffffff, #eef6ff);
  padding: 84px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(36, 145, 235, 0.08);
}

.hero h1 {
  font-size: 2.7rem;
  line-height: 1.12;
  margin-bottom: 16px;
  color: var(--text);
}

.hero p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  border: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

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

.btn-secondary {
  background: var(--pf-green);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--pf-blue);
  border: 1px solid rgba(36, 145, 235, 0.18);
}

/* =========================
   SECTION TITLES
========================= */

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1.15;
}

.section-title p {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
}

/* =========================
   SHARED CARDS
========================= */

.card,
.step,
.graphic-card,
.partner {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(29, 58, 80, 0.06);
}

.card {
  padding: 34px 30px;
  position: relative;
}

.step {
  padding: 30px;
}

.graphic-card {
  padding: 24px;
  text-align: center;
}

.partner {
  text-align: center;
  padding: 40px 30px;
}

/* =========================
   INDEX PAGE BLOCKS
========================= */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.step h3 {
  margin-bottom: 10px;
  color: var(--text);
}

.membership {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.card h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
}

.card ul {
  margin-top: 20px;
}

.card li {
  margin-bottom: 10px;
  color: var(--text);
}

.price {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--pf-blue);
  margin: 12px 0 14px;
  font-weight: 800;
}

.price-note {
  color: var(--muted);
  font-size: 0.96rem;
  margin-top: -4px;
  margin-bottom: 12px;
}

.badge {
  background: var(--pf-green);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  display: inline-block;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.box-logo {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 8px;
}

.box-logo img {
  max-width: 200px;
  width: 100%;
  height: auto;
  opacity: 0.96;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.graphic-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.graphic-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.graphic-card img {
  margin: 0 auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.history {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.history-copy h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1.15;
}

.history-copy p {
  margin-bottom: 14px;
  color: var(--muted);
}

.history-visual .graphic-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner h2 {
  margin-bottom: 10px;
  font-size: 1.9rem;
}

.partner p {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 18px;
}

/* =========================
   MEMBERSHIP HIGHLIGHTS
========================= */

.card.gold {
  border: 2px solid var(--pf-green);
}

.card.platinum {
  border: 2px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, var(--pf-blue), var(--pf-green)) border-box;
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.card.platinum .badge {
  background: linear-gradient(135deg, var(--pf-blue), var(--pf-green));
}

/* =========================
   FOOTER
========================= */

footer {
  background: #fff;
  margin-top: 60px;
  padding: 42px 20px;
  text-align: center;
  font-size: 0.94rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer p + p {
  margin-top: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--pf-blue);
  font-weight: 600;
}

/* =========================
   SIMPLE CONTENT PAGES
========================= */

.page-hero {
  background: linear-gradient(140deg, #ffffff, #eef6ff);
  padding: 70px 20px 50px;
  text-align: center;
  border-bottom: 1px solid rgba(36, 145, 235, 0.08);
}

.page-hero h1 {
  font-size: 2.3rem;
  line-height: 1.15;
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--muted);
}

.content-card {
  background: #fff;
  border: 1px solid rgba(29, 58, 80, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 32px;
}

.content-card h2,
.content-card h3 {
  color: var(--text);
  margin-bottom: 12px;
}

.content-card p,
.content-card li {
  color: var(--muted);
}

.content-card p + p,
.content-card ul + p,
.content-card p + ul {
  margin-top: 14px;
}

/* =========================
   RESPONSIVE
========================= */

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

  .blueprint-grid,
  .history {
    grid-template-columns: 1fr;
  }

  .card.platinum {
    transform: none;
  }
}

@media (max-width: 760px) {
  .nav-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .logo {
    justify-content: center;
    text-align: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 12px 18px;
    padding-top: 2px;
  }

  .hero {
    padding: 64px 18px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .section-title h2,
  .history-copy h2,
  .partner h2,
  .page-hero h1 {
    font-size: 1.7rem;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 32px 16px;
  }

  .nav-inner {
    padding: 14px 16px;
  }

  .logo {
    flex-direction: column;
    gap: 8px;
  }

  .logo img {
    height: 52px;
  }

  .logo span {
    font-size: 1.2rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 6px 0;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero p,
  .page-hero p {
    font-size: 1rem;
  }

  .card,
  .step,
  .graphic-card,
  .partner,
  .content-card {
    padding-left: 22px;
    padding-right: 22px;
  }

  .price {
    font-size: 2.1rem;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  nav {
    position: relative;
    top: auto;
  }

  .nav-inner {
    padding: 10px 14px;
    gap: 8px;
  }

  .logo img {
    height: 40px;
  }

  .logo span {
    font-size: 1.05rem;
  }

  .nav-links {
    gap: 6px;
    width: 100%;
  }

  .nav-links a {
    padding: 4px 0;
    font-size: 13px;
    line-height: 1.2;
  }
}

@media (max-width: 640px) {
  nav {
    position: relative !important;
    top: auto !important;
  }

  .nav-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 12px !important;
  }

  .logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .logo img {
    height: 36px !important;
    width: auto !important;
  }

  .logo span {
    font-size: 1rem !important;
    line-height: 1.1 !important;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 6px 12px !important;
    padding-top: 0 !important;
  }

  .nav-links a {
    display: inline-block !important;
    width: auto !important;
    text-align: center !important;
    padding: 2px 0 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
}