/* Theme variables */
:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --soft-gold: #d4b56f;
  --secondary: #e5e7eb;
  --background: #f9fafb;
  --foreground: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-lg {
  padding: 5.5rem 0;
}

.flex {
  display: flex;
  gap: 1rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.9rem 1.6rem;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease, border-color 150ms ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(31, 41, 55, 0.1);
  color: var(--foreground);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(31, 41, 55, 0.06);
  transform: translateY(-2px);
}

.tier-card {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(249,250,251,0.95));
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(31, 41, 55, 0.08);
  overflow: hidden;
}

.tier-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 30% 20%, rgba(59,130,246,0.08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(212,181,111,0.08), transparent 45%);
}

.tier-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.65rem;
}

.tier-badge {
  width: 88px;
  height: 88px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 1.35rem;
  box-shadow: var(--shadow-lg);
}

.tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.06);
  border: 1px solid rgba(31, 41, 55, 0.12);
  font-weight: 700;
  color: var(--foreground);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

h1,
h2,
h3,
h4,
.font-heading {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 4vw + 1rem, 4.5rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(2.2rem, 2.5vw + 1rem, 3rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(31, 41, 55, 0.06);
}

.card-muted {
  background: rgba(229, 231, 235, 0.2);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 41, 55, 0.08);
  color: var(--foreground);
  background: var(--white);
  font-weight: 600;
}

.badge-row {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.badge {
  min-width: 220px;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  background: var(--white);
  border-radius: 999px;
  border: 1px solid rgba(31, 41, 55, 0.08);
  box-shadow: var(--shadow-sm);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.25;
  filter: blur(80px);
}

.hero::before {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -100px;
  right: -120px;
}

.hero::after {
  width: 420px;
  height: 420px;
  background: var(--soft-gold);
  bottom: -140px;
  left: -100px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  gap: 1rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  font-size: 1.3rem;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.4rem;
}

.footer {
  background: var(--foreground);
  color: var(--white);
  margin-top: 4rem;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer .logo-mark {
  background: var(--white);
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

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

.gradient-band {
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  color: var(--white);
}

.dark-section {
  background: var(--foreground);
  color: var(--white);
}

.dark-section p {
  color: rgba(255, 255, 255, 0.8);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 41, 55, 0.08);
  background: var(--white);
  font-weight: 600;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.four-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat {
  text-align: center;
  padding: 1.4rem;
  border-radius: 1rem;
  background: rgba(59, 130, 246, 0.05);
}

.stat h3 {
  font-size: 2rem;
  color: var(--primary);
}

.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: 3rem;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(212, 181, 111, 0.08), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08), transparent 40%);
  pointer-events: none;
}

.link {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding: 4.5rem 0 3rem;
  }
}

@media (max-width: 640px) {
  .section,
  .section-lg {
    padding: 3rem 0;
  }
  .card {
    padding: 1.25rem;
  }
}
