/* ============================================================
   THE EVENTS PLAYBOOK — Design System
   Blue Coral Palette | Instrument Serif + DM Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --navy: #0D1B2A;
  --dark-blue: #1B3150;
  --blue: #345D8A;
  --border: #8BAAC7;
  --bg: #EDF2F7;
  --coral: #9E5D4D;
  --coral-mid: #DE8E7E;
  --coral-light: #F2E0DB;
  --white: #FFFFFF;
  --off-white: #F7FAFC;
  --slate: #64748B;
  --dark-slate: #334155;
  --light-blue: #D6E4F0;
  --green: #1B6B4A;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --max-width: 1200px;
  --section-pad: clamp(60px, 8vw, 120px);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  color: var(--dark-slate);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 400; }
p { font-size: 1.05rem; max-width: 680px; }
.label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
}

/* ─── LAYOUT ─── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.section { padding: var(--section-pad) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 170, 199, 0.15);
  transition: all 0.3s ease;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral-mid);
  text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--coral-mid); }
.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}
.nav-cta:hover { background: var(--coral-mid) !important; transform: translateY(-1px); }

.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); padding: 1.5rem; gap: 1.2rem; border-bottom: 1px solid rgba(139,170,199,0.15); }
  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: block; }
}

/* ─── HERO ─── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(27,49,80,0.3) 49.5%, rgba(27,49,80,0.3) 50.5%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(27,49,80,0.3) 49.5%, rgba(27,49,80,0.3) 50.5%, transparent 50.5%);
  background-size: 80px 80px;
  opacity: 0.4;
}
.hero-content { position: relative; z-index: 2; padding: 4rem 0; }
.hero-content .label { color: var(--coral-mid); margin-bottom: 1.5rem; display: block; }
.hero-content h1 { color: var(--white); max-width: 700px; margin-bottom: 1.5rem; }
.hero-content h1 em { font-style: italic; color: var(--coral-mid); }
.hero-content p { color: var(--border); font-size: 1.2rem; max-width: 560px; margin-bottom: 2.5rem; }
.hero-accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--coral);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(158,93,77,0.3); }
.btn-secondary { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: var(--coral-mid); color: var(--coral-mid); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--dark-blue); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,27,42,0.3); }
.btn-outline { background: transparent; color: var(--coral); border: 1.5px solid var(--coral); }
.btn-outline:hover { background: var(--coral); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-arrow::after { content: '→'; margin-left: 4px; transition: transform 0.2s; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(139,170,199,0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13,27,42,0.1);
  border-color: rgba(139,170,199,0.3);
}
.card-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.card-accent.coral { background: var(--coral); }
.card-accent.blue { background: var(--blue); }
.card-accent.dark-blue { background: var(--dark-blue); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
}
.card-icon.coral { background: var(--coral-light); color: var(--coral); }
.card-icon.blue { background: var(--light-blue); color: var(--blue); }
.card-icon.dark-blue { background: rgba(27,49,80,0.1); color: var(--dark-blue); }

.card h3 { margin-bottom: 0.8rem; }
.card p { color: var(--slate); font-size: 0.95rem; }

/* ─── PATH CARDS (homepage) ─── */
.path-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(139,170,199,0.12);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}
.path-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  transition: height 0.3s ease;
}
.path-card:hover::before { height: 6px; }
.path-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(13,27,42,0.12);
}
.path-card.sponsored::before { background: var(--coral); }
.path-card.hosted::before { background: var(--blue); }
.path-card.internal::before { background: var(--dark-blue); }
.path-card .path-number {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.12;
}
.path-card.sponsored .path-number { color: var(--coral); }
.path-card.hosted .path-number { color: var(--blue); }
.path-card.internal .path-number { color: var(--dark-blue); }
.path-card h3 { margin-bottom: 0.8rem; font-size: 1.5rem; }
.path-card p { color: var(--slate); margin-bottom: 1.5rem; line-height: 1.6; }
.path-link {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.path-card.sponsored .path-link { color: var(--coral); }
.path-card.hosted .path-link { color: var(--blue); }
.path-card.internal .path-link { color: var(--dark-blue); }
.path-card:hover .path-link { gap: 12px; }

/* ─── PRODUCT CARDS ─── */
.product-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(139,170,199,0.12);
  overflow: hidden;
  transition: all 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13,27,42,0.1);
}
.product-card-preview {
  background: var(--bg);
  padding: 1.5rem;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--white);
}
.product-card-badge.sponsored { background: var(--coral); }
.product-card-badge.hosted { background: var(--blue); }
.product-card-badge.internal { background: var(--dark-blue); }
.product-card-badge.universal { background: var(--navy); }
.product-card-body { padding: 1.5rem; }
.product-card-body h4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; color: var(--navy); }
.product-card-body p { font-size: 0.85rem; color: var(--slate); margin-bottom: 1rem; }
.product-card-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); font-weight: 400; }

/* ─── PRICING TABLE ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(139,170,199,0.15);
  position: relative;
  transition: all 0.3s ease;
}
.pricing-card:hover { box-shadow: 0 12px 40px rgba(13,27,42,0.08); }
.pricing-card.featured {
  border-color: var(--coral);
  box-shadow: 0 8px 32px rgba(158,93,77,0.15);
}
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 20px;
}
.pricing-card .label { margin-bottom: 0.5rem; display: block; }
.pricing-card h3 { margin-bottom: 0.5rem; }
.pricing-card .price {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.pricing-card .price-note { font-size: 0.85rem; color: var(--slate); margin-bottom: 1.5rem; }
.pricing-card ul { list-style: none; margin-bottom: 1.5rem; }
.pricing-card li {
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(139,170,199,0.1);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pricing-card li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ─── SECTIONS ─── */
.section-dark { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(27,49,80,0.25) 49.5%, rgba(27,49,80,0.25) 50.5%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(27,49,80,0.25) 49.5%, rgba(27,49,80,0.25) 50.5%, transparent 50.5%);
  background-size: 80px 80px;
  opacity: 0.4;
}
.section-dark .container { position: relative; z-index: 2; }
.section-dark h2 { color: var(--white); }
.section-dark p { color: var(--border); }

.section-light { background: var(--off-white); }
.section-cream { background: var(--bg); }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
  border-radius: 20px;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(158,93,77,0.08);
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: var(--border); margin-bottom: 2rem; font-size: 1.1rem; }

/* ─── SOCIAL PROOF ─── */
.proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2rem 0;
  flex-wrap: wrap;
}
.proof-item {
  text-align: center;
}
.proof-number {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--coral);
  display: block;
}
.proof-label { font-size: 0.8rem; color: var(--slate); text-transform: uppercase; letter-spacing: 0.1em; }

/* ─── FOOTER ─── */
.footer {
  background: var(--navy);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(139,170,199,0.1);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--coral-mid); margin-bottom: 1rem; }
.footer p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.footer a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; display: block; padding: 0.3rem 0; transition: color 0.2s; }
.footer a:hover { color: var(--coral-mid); }
.footer-bottom { border-top: 1px solid rgba(139,170,199,0.1); margin-top: 2rem; padding-top: 1.5rem; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; max-width: none; }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ─── NEWSLETTER ─── */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  border: 1.5px solid rgba(139,170,199,0.3);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: rgba(255,255,255,0.05);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form input:focus { border-color: var(--coral-mid); }

/* ─── UTILS ─── */
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.gap-1 { gap: 0.5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ─── PRODUCT CARD IMAGE HOVER ─── */
.product-card-preview img { transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94); }
.product-card:hover .product-card-preview img { transform: scale(1.04); }

/* ─── VISUAL IMPROVEMENTS — Apr 6 2026 ─── */

/* Better body text readability */
body { font-size: 16px; }
p { line-height: 1.7; }
.card p, .product-card-body p { font-size: 0.93rem; line-height: 1.6; }

/* Improved card depth */
.card { transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94); }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(13,27,42,0.1); }

/* Product card image hover */
.product-card-preview img { transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94); }
.product-card:hover .product-card-preview img { transform: scale(1.04); }

/* Better pricing card readability */
.pricing-card ul li { font-size: 0.9rem; line-height: 1.6; padding: 0.3rem 0; }

/* Path cards — slightly more breathing room */
.path-card p { font-size: 0.9rem; line-height: 1.6; }

/* SKO banner premium badge */
.cta-banner { position: relative; }

/* Better mobile readability */
@media (max-width: 768px) {
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.5rem !important; }
  .card { padding: 1.5rem !important; }
  .pricing-card { padding: 1.5rem !important; }
  .grid-2 > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}
