﻿/* === CARDS 3-COLUMN === */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  padding: 36px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card--border {
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.card--border:hover { border-color: rgba(108,71,255,0.30); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); background: #ffffff; }
.card--gold {
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.card--gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); background: #ffffff; }
.card--lime {
  background: linear-gradient(135deg, var(--lime2) 0%, #fbbf24 100%);
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(245,158,11,0.15);
}
.card--lime:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,0.28); }
.card--dark {
  background: #f5f2ff;
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--accent);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.card--dark:hover { border-left-color: var(--accent2); box-shadow: 0 8px 28px rgba(0,0,0,0.10); }
.card__icon { font-size: 2rem; margin-bottom: 18px; opacity: 0.8; }
.card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.card p { font-size: 0.9rem; font-weight: 400; color: var(--text2); margin: 0; line-height: 1.7; }

/* === CHECK LIST === */
.check-list {
  text-align: left;
  display: inline-flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  max-width: 680px;
  width: 100%;
}
.check-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 1rem; color: var(--text);
  position: relative;
  padding-left: 36px;
}
.check-list li::before {
  content: '\2014';
  position: absolute; left: 0;
  width: auto; height: auto;
  border-radius: 0;
  background: none;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 900;
  display: flex; align-items: center;
  flex-shrink: 0;
  box-shadow: none;
  top: 2px;
}
.check-list--sm li { font-size: 0.88rem; color: var(--text2); font-weight: 500; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; opacity: 0.5; }
::-webkit-scrollbar-thumb:hover { background: var(--accent2); }

/* === SELECTION === */
::selection { background: rgba(60,80,125,0.20); color: var(--text); }

/* === LOADING SKELETON === */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* === FLOATING PARTICLES BG (pseudo) === */
@keyframes float-up {
  0% { opacity: 0; transform: translateY(0) scale(0.8); }
  50% { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-120px) scale(1.2); }
}

/* === INPUT STATES === */
input:invalid:not(:placeholder-shown) { border-color: rgba(239,68,68,0.5) !important; }
input:valid:not(:placeholder-shown) { border-color: rgba(60,80,125,0.5); box-shadow: 0 0 0 3px rgba(60,80,125,0.10); }

/* === FORM ERROR MESSAGE === */
.form-error {
  color: #f87171;
  font-size: 0.8rem;
  text-align: center;
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%,100%{transform:translateX(0)} 25%{transform:translateX(-6px)} 75%{transform:translateX(6px)}
}

/* === SECTION TRANSITIONS === */
.section, .ticker, .hero { transition: opacity 0.3s; }

/* === RESPONSIVE TYPOGRAPHY === */
@media (max-width: 480px) {
  body { font-size: 15px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  .btn--lg { padding: 16px 28px; font-size: 0.95rem; }
  .cards-3 { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .format-grid { grid-template-columns: 1fr; }
  .check-list { padding: 0; }
}

/* === PRINT MEDIA === */
@media print {
  .header, .ticker, .modal, .hero__form, .reg-form { display: none; }
  body { background: white; color: black; }
}

/* === HIGH CONTRAST MODE === */
@media (prefers-contrast: high) {
  :root {
    --border: rgba(0,0,0,0.3);
    --text2: #3d2f10;
  }
}

/* === MOCKUP INTERNALS (MacBook screen + iPhone screen) === */
.ml-sidebar { width: 44px; background: #0e1020; padding: 10px 8px; display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.ml-menu-item { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.1); }
.ml-menu-item--active { background: var(--accent); }
.ml-main { flex: 1; padding: 10px 12px; overflow: hidden; }
.ml-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ml-big-num { font-size: 1.1rem; font-weight: 900; color: #fff; }
.ml-big-num span { color: var(--lime2); font-size: 0.8em; }
.ml-tabs { display: flex; gap: 4px; }
.ml-tab { font-size: 0.55rem; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.45); }
.ml-tab--active { background: var(--accent); color: #fff; }
.ml-chart { margin-bottom: 8px; }
.ml-chart__label { font-size: 0.6rem; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.ml-chart__bars { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.ml-bar { flex: 1; background: rgba(60,80,125,0.4); border-radius: 3px 3px 0 0; min-width: 0; }
.ml-bar--accent { background: var(--lime2) !important; }
.ml-accounts { display: flex; flex-direction: column; gap: 4px; }
.ml-acc-row { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.04); border-radius: 6px; padding: 4px 6px; }
.ml-acc-icon { width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0; }
.ml-acc-icon--a { background: linear-gradient(135deg,var(--accent),#6b8aff); }
.ml-acc-icon--b { background: linear-gradient(135deg,#e84c2c,#ff9a5c); }
.ml-acc-icon--c { background: linear-gradient(135deg,#28a745,#7ddc9c); }
.ml-acc-info { flex: 1; display: flex; justify-content: space-between; align-items: center; }
.ml-acc-name { height: 5px; width: 50px; background: rgba(255,255,255,0.15); border-radius: 3px; }
.ml-acc-val { font-size: 0.62rem; color: var(--lime2); font-weight: 700; }
.mp-status { font-size: 0.55rem; color: rgba(255,255,255,0.55); text-align: right; margin-bottom: 2px; }
.mp-section-title { font-size: 0.65rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.mp-search { height: 12px; background: rgba(255,255,255,0.08); border-radius: 6px; margin-bottom: 6px; }
.mp-course-row { display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,0.04); border-radius: 8px; padding: 4px; margin-bottom: 6px; }
.mp-course-thumb { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; }
.mp-course-thumb--a { background: linear-gradient(135deg,#f5c518,#e8760a); }
.mp-course-body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mp-course-line { height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; }
.mp-course-line--short { width: 60%; }
.mp-course-btn { font-size: 0.45rem; background: var(--accent); color: #fff; border-radius: 4px; padding: 2px 4px; white-space: nowrap; font-weight: 700; }
.mp-tiles { display: flex; gap: 4px; margin-bottom: 6px; }
.mp-tile { flex: 1; border-radius: 6px; padding: 5px 2px; font-size: 0.45rem; font-weight: 700; text-align: center; color: rgba(255,255,255,0.85); }
.mp-tile--a { background: linear-gradient(135deg,#3C507D,#112250); }
.mp-tile--b { background: linear-gradient(135deg,#3C507D,#7b5cf5); }
.mp-tile--c { background: linear-gradient(135deg,#112250,#0A1428); }
.mp-course-label { font-size: 0.55rem; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.mp-video-thumb { background: linear-gradient(135deg,#E0C58F,#C8A96E); border-radius: 8px; padding: 8px 6px 6px; min-height: 44px; position: relative; overflow: hidden; margin-bottom: 6px; }
.mp-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: var(--text); font-size: 0.9rem; opacity: 0.7; }
.mp-video-title { font-size: 0.45rem; font-weight: 900; color: var(--text); line-height: 1.3; }
.mp-bottom-nav { display: flex; justify-content: space-around; padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.08); }
.mp-bn-item { font-size: 0.7rem; color: rgba(255,255,255,0.25); }
.mp-bn-item--active { color: var(--accent); }

/* === PROMO GATE === */
.promo-gate { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.promo-gate__form { display: flex; gap: 6px; align-items: center; }
.promo-gate__form--hidden,
.promo-gate__success--hidden,
.promo-gate__trigger--hidden { display: none !important; }
.promo-gate__input { flex: 1; padding: 9px 12px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18); color: #fff; font-family: var(--font-body); font-size: 0.8rem; outline: none; transition: border-color 0.2s; min-width: 0; text-transform: uppercase; letter-spacing: 0.06em; }
.promo-gate__input:focus { border-color: var(--lime2); }
.promo-gate__input::placeholder { color: rgba(255,255,255,0.35); text-transform: none; letter-spacing: 0; }
.promo-gate__submit { background: var(--accent); color: #fff; border: none; border-radius: var(--radius-sm); padding: 9px 14px; font-weight: 800; font-size: 0.78rem; cursor: pointer; transition: background 0.2s; flex-shrink: 0; }
.promo-gate__submit:hover { background: var(--lime2); color: var(--text); }
.promo-gate__error { color: #ff6b6b; font-size: 0.75rem; font-weight: 600; margin: 0; min-height: 1em; }

/* === WHEEL TEASER === */
.wheel-teaser { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; background: linear-gradient(135deg, var(--bg-dark2) 0%, #112250 100%); border: 1.5px solid rgba(224,197,143,0.35); border-radius: var(--radius); padding: 52px 40px 44px; margin-top: 40px; box-shadow: 0 0 60px rgba(224,197,143,0.07), 0 10px 36px rgba(10,20,40,0.45); }
.wheel-teaser__icon { font-size: 6rem; line-height: 1; filter: drop-shadow(0 4px 22px rgba(224,197,143,0.45)); }
.wheel-teaser__text h3 { color: var(--lime2); font-size: 2rem; font-weight: 900; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.wheel-teaser__text p { color: rgba(255,255,255,0.75); margin: 0; font-size: 1rem; line-height: 1.6; max-width: 440px; }
.wheel-teaser__text strong { color: var(--lime2); }

/* === WHEEL MODAL === */
.wheel-modal { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.wheel-modal.active { pointer-events: all; }
.wheel-modal__overlay { position: absolute; inset: 0; background: rgba(10,12,34,0.88); opacity: 0; transition: opacity 0.3s; }
.wheel-modal.active .wheel-modal__overlay { opacity: 1; }
.wheel-modal__box { position: relative; background: var(--bg-dark); border: 1px solid rgba(108,71,255,0.3); border-radius: var(--radius); padding: 36px 32px 32px; max-width: 580px; width: 92%; text-align: center; transform: scale(0.88); opacity: 0; transition: transform 0.35s, opacity 0.35s; max-height: 92vh; overflow-y: auto; }
.wheel-modal.active .wheel-modal__box { transform: scale(1); opacity: 1; }
.wheel-modal__close { position: absolute; top: 14px; right: 16px; background: transparent; border: none; color: rgba(255,255,255,0.45); font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 4px 8px; transition: color 0.2s; }
.wheel-modal__close:hover { color: #fff; }
.wheel-modal__title { color: #fff; font-size: 1.35rem; font-weight: 900; margin: 0 0 8px; }
.wheel-modal__sub { color: rgba(255,255,255,0.6); margin: 0 0 22px; font-size: 0.88rem; line-height: 1.5; }
.wheel-form { display: flex; flex-direction: column; gap: 12px; }
.wheel-form input { padding: 13px 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); color: #fff; font-family: var(--font-body); font-size: 0.9rem; outline: none; transition: border-color 0.2s; }
.wheel-form input:focus { border-color: var(--lime2); }
.wheel-form input::placeholder { color: rgba(255,255,255,0.38); }
.wheel-step--hidden { display: none !important; }
.wheel-wrap { position: relative; display: inline-block; margin: 0 auto 16px; }
.wheel-pointer { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 17px solid transparent; border-right: 17px solid transparent; border-top: 34px solid var(--accent); z-index: 2; filter: drop-shadow(0 2px 10px rgba(108,71,255,0.7)); }
#wheelCanvas { max-width: 100%; height: auto; display: block; }
.wheel-result { padding: 8px 0; }
.wheel-result__icon { font-size: 3.5rem; margin-bottom: 12px; }
.wheel-result h3 { color: #fff; font-size: 1.5rem; margin: 0 0 8px; }
.wheel-result p { color: rgba(255,255,255,0.65); margin: 0 0 12px; }
.wheel-result__course { background: var(--lime2); color: var(--text); font-weight: 900; font-size: 1.1rem; border-radius: var(--radius-sm); padding: 14px 20px; margin-bottom: 22px; letter-spacing: 0.01em; }
@media (max-width: 600px) { .wheel-teaser { flex-direction: column; text-align: center; } }

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .ticker__track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
