:root {
  --navy-deepest: #050b14;
  --navy-deep: #0a1420;
  --navy: #0f1e2e;
  --navy-light: #16293d;
  --teal: #5eb5b4;
  --teal-bright: #8ae0de;
  --gold: #c9b37e;
  --gold-bright: #e0cb97;
  --cream: #f5efe4;
  --text-primary: #f3eee1;
  --text-secondary: #d4dae2;
  --text-muted: #8a95a4;
  --border-subtle: rgba(245, 239, 228, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--navy-deepest);
  color: var(--text-primary);
  line-height: 1.65;
  font-weight: 400;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 1;
}

a { color: var(--teal-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cream); }

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

.container { max-width: 960px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.container-wide { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.container-narrow { max-width: 680px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* ===== NAV ===== */
.site-nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: rgba(5, 11, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { height: 52px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--gold) 100%);
  color: var(--navy-deepest) !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--gold-bright), var(--teal-bright));
  transition: left 0.4s ease;
}

.nav-cta:hover::before { left: 0; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(94, 181, 180, 0.3); }
.nav-cta span { position: relative; z-index: 2; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  color: var(--cream);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.12;
}

h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: normal;
}

.accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--teal-bright);
  letter-spacing: -0.01em;
}

h1 .accent, h2 .accent {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 600;
  color: #b8f0ee;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal-bright);
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 44px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--gold) 100%);
  color: var(--navy-deepest);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--gold-bright), var(--teal-bright));
  transition: left 0.4s ease;
}

.btn-primary:hover::before { left: 0; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(94, 181, 180, 0.3); color: var(--navy-deepest); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 2; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: transparent;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(245, 239, 228, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--teal);
  background: rgba(94, 181, 180, 0.08);
  color: var(--cream);
}

/* ===== SECTIONS ===== */
.section { padding: 96px 0; position: relative; }
.section-lg { padding: 112px 0; }
.section-dark { background: var(--navy-deep); }
.section-divider { border-top: 1px solid var(--border-subtle); }

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 20px;
}

/* ===== CARD ===== */
.card {
  background: var(--navy);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 40px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(94, 181, 180, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.card-highlight {
  border-color: rgba(94, 181, 180, 0.3);
  background: linear-gradient(180deg, rgba(94, 181, 180, 0.06), rgba(201, 179, 126, 0.03));
}

/* ===== PROOF STRIP / LOGO MARQUEE ===== */
.proof-strip {
  padding: 56px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 20, 32, 0.5);
  overflow: hidden;
}

.proof-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-weight: 600;
}

.proof-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.proof-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.proof-logo {
  flex-shrink: 0;
  height: 32px;
  width: auto;
  opacity: 0.85;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.proof-logo:hover { opacity: 1; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== GRID ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== ICON CIRCLE ===== */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.icon-circle svg {
  width: 24px;
  height: 24px;
  color: var(--navy-deepest);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--teal-bright) 0%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== CHECK LIST ===== */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  gap: 14px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-primary);
  align-items: flex-start;
}

.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 10l3 3 7-7' stroke='%23050b14' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(135deg, #5eb5b4, #c9b37e);
  background-size: 13px, 100%;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

/* ===== STAT ===== */
.stat {
  text-align: center;
  padding: 24px 16px;
}

.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border-subtle);
  background: var(--navy-deep);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 64px;
}

.footer-nav-group h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
}

.footer-nav-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-group a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-nav-group a:hover { color: var(--teal-bright); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 112px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(94, 181, 180, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-sub {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .section-lg { padding: 80px 0; }
  .cta-section { padding: 80px 0; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    gap: 20px;
  }

  .footer-top { flex-direction: column; }
  .footer-nav { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal { justify-content: center; }

  .grid-4 { grid-template-columns: 1fr; }
}

.not-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) {
  .not-grid { grid-template-columns: 1fr; }
}

/* Calendar popup modal */
.calendar-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.calendar-modal-overlay.active {
  display: flex;
}

.calendar-modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: 85vh;
  max-height: 750px;
  background: #f5efe4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.calendar-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.calendar-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(5, 11, 20, 0.7);
  color: #f5efe4;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: background 0.2s;
}

.calendar-modal-close:hover {
  background: rgba(5, 11, 20, 0.9);
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10002;
  background: #0a1525;
  border-top: 1px solid rgba(94, 181, 180, 0.2);
  padding: 20px 24px;
  display: none;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}
.cookie-banner.active { display: block; }
.cookie-banner-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.cookie-banner-text {
  flex: 1;
  font-size: 14px;
  color: #a8b4c4;
  line-height: 1.5;
}
.cookie-banner-text a {
  color: #8ae0de;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.cookie-btn:hover { opacity: 0.85; }
.cookie-btn-accept {
  background: linear-gradient(135deg, #5eb5b4 0%, #c9b37e 100%);
  color: #050b14;
}
.cookie-btn-reject {
  background: transparent;
  border: 1px solid rgba(245, 239, 228, 0.2);
  color: #f5efe4;
}
@media (max-width: 600px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
