:root {
  /* Color tokens from Framer */
  --primary: #ff0000;
  --primary-hover: #cc0000;
  --black: #000000;
  --bg-dark: #000000;
  --bg-card: #0c0c0c;
  --bg-card-2: #141414;
  --white: #f0f0f0;
  --white-70: rgba(255, 255, 255, 0.7);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-08: rgba(255, 255, 255, 0.08);
  --white-1a: rgba(255, 255, 255, 0.1);
  --white-3: rgba(255, 255, 255, 0.03);
  --border-light: rgba(255, 255, 255, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --green-border: rgba(255, 0, 0, 0.1);
  --green-bg: rgba(255, 0, 0, 0.1);
  --green-glow: #ff0000;
  --text-gray: #666;
  --text-muted: rgba(255, 255, 255, 0.7);
  --accent-orange: #ff8f00;
  --error: #db0404;
  --card-bg: #141414;

  --font-heading: "Inter Tight", sans-serif;
  --font-body: "Geist", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}
html, body {
  background: var(--bg-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
}
section[id], div[id] {
  scroll-margin-top: 110px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 110%;
  letter-spacing: 0;
}

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

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Typography presets */
.preset-h1 {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 400;
  line-height: 110%;
  color: var(--white);
}

.preset-h2 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  line-height: 110%;
  color: var(--white);
}

.preset-h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  line-height: 110%;
  color: var(--white);
}

.preset-h4 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  line-height: 110%;
  color: var(--white);
}

.preset-body {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
  color: var(--white-70);
}

.preset-body-sm {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  color: var(--white-70);
}

.preset-label {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  color: var(--white-70);
}

.preset-tag {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 110%;
  color: var(--white-70);
  text-transform: capitalize;
}

.preset-tag-sm {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: var(--white-70);
}

.preset-caption {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 150%;
  color: var(--white);
}

.preset-price {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 400;
  line-height: 110%;
  color: var(--white);
}

.preset-link {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  line-height: 110%;
  color: var(--white-70);
}

.preset-faq-question {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  line-height: 110%;
  color: var(--white);
}

.preset-center-body {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
  color: #efefef;
  text-align: center;
}

@media (max-width: 1199px) and (min-width: 810px) {
  .preset-h1 { font-size: 52px; }
  .preset-h2 { font-size: 46px; }
}

@media (max-width: 809px) {
  .preset-h1 { font-size: 36px; }
  .preset-h2 { font-size: 36px; }
  .preset-h3 { font-size: 20px; }
  .preset-h4 { font-size: 24px; }
  .preset-body { font-size: 16px; }
  .preset-body-sm { font-size: 16px; }
  .preset-tag { font-size: 16px; }
  .preset-center-body { font-size: 16px; }
  .preset-faq-question { font-size: 24px; }
  .preset-price { font-size: 36px; }
}

/* Layout helpers */
.container {
  max-width: 990px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 100px 0 80px;
}

@media (max-width: 1199px) and (min-width: 810px) {
  .section-padding { padding: 80px 0; }
}

@media (max-width: 809px) {
  .section-padding { padding: 48px 0; }
  .container { padding: 0 16px; }
}

/* Section badge */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--white-20);
  border-radius: 42px;
}

.badge-dot {
  position: relative;
  width: 8px;
  height: 8px;
}

.badge-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(4.55px);
}

.badge-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  border-radius: 50%;
}

.section-badge-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  color: var(--white-70);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 56px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white-20);
  border-radius: 56px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover {
  background: var(--white-08);
  border-color: var(--white-1a);
}

@media (max-width: 809px) {
  .btn-primary { padding: 10px 16px; font-size: 16px; }
  .btn-outline { padding: 14px 20px; font-size: 16px; }
}

/* Card base */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
}

/* Mask gradients */
.mask-fade-x {
  -webkit-mask: linear-gradient(90deg, transparent 0%, black 15%, rgba(0,0,0,0.1) 85%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0%, black 15%, rgba(0,0,0,0.1) 85%, transparent 100%);
}

.mask-fade-y {
  -webkit-mask: linear-gradient(transparent 0%, black 8.46% 91.24%, transparent 100%);
  mask: linear-gradient(transparent 0%, black 8.46% 91.24%, transparent 100%);
}

/* Scrollbar hide */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* Reference-site button system: compact 45px pills, restrained hover motion, FN red retained. */
:is(
  .btn-primary,
  .webinar-submit-btn,
  .promo-submit-btn,
  .fn-nav-cta,
  .fn-nav-mobile-cta-top,
  .courses-card-cta,
  .courses-modal-btn-primary,
  .uw-enrol-btn
) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: max-content;
  min-height: 50px;
  padding: 15px 25px !important;
  border: 0 !important;
  border-radius: 45px !important;
  background: var(--primary) !important;
  color: var(--white) !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: none !important;
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1), background-color 220ms ease, border-color 220ms ease !important;
}

:is(
  .btn-primary,
  .webinar-submit-btn,
  .promo-submit-btn,
  .fn-nav-cta,
  .fn-nav-mobile-cta-top,
  .courses-card-cta,
  .courses-modal-btn-primary,
  .uw-enrol-btn
):hover:not(:disabled) {
  transform: translateY(-1px) !important;
  box-shadow: none !important;
  background: var(--primary-hover) !important;
}

:is(
  .btn-outline,
  .courses-modal-btn-secondary
) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 50px;
  padding: 15px 25px !important;
  border-radius: 45px !important;
  background: #1c1c1c !important;
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1), background-color 220ms ease, border-color 220ms ease !important;
}

:is(.btn-outline, .courses-modal-btn-secondary):hover {
  transform: translateY(-1px) !important;
  background: #242424 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: none !important;
}

/* Store/download actions keep their native two-line content but inherit the reference pill silhouette. */
:is(.download-btn, .success-dl-btn) {
  border-radius: 45px !important;
  padding: 15px 25px !important;
  box-shadow: none !important;
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1), background-color 220ms ease, border-color 220ms ease !important;
}
:is(.download-btn, .success-dl-btn):hover {
  transform: translateY(-1px) !important;
  box-shadow: none !important;
}
.download-btn-outline,
.success-dl-outline {
  background: #1c1c1c !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
}
.download-btn-outline:hover,
.success-dl-outline:hover {
  background: #242424 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

@media (max-width: 809px) {
  .webinar-submit-btn,
  .promo-submit-btn,
  .uw-enrol-btn {
    width: 100% !important;
  }
  .fn-nav-mobile-cta-top {
    min-height: 38px !important;
    padding: 9px 15px !important;
    font-size: 12px !important;
  }
  .fn-nav-cta {
    min-height: 44px;
    padding: 12px 18px !important;
  }
  .courses-card-cta {
    min-height: 44px;
    padding: 12px 18px !important;
    font-size: 14px !important;
  }
}
