/**
 * Elite marketing pages — extends .smart-landing-v2 (smart-ui.css).
 * Page shell: #f8fafc, solid white nav row, smart cards, mobile padding ≥20px.
 */
.fea-elite-sync {
  --fea-elite-page: #f8fafc;
  --fea-elite-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.fea-elite-sync {
  background: var(--fea-elite-page) !important;
}

.fea-elite-sync.smart-landing-v2 {
  --smart-page: #f8fafc;
}

/* Main nav row — solid white (not glass) */
.fea-elite-sync.smart-landing-v2 .fea-nav.fea-nav-unified .fea-nav-inner {
  background: #ffffff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.fea-elite-sync.smart-landing-v2 .fea-nav.fea-nav-unified.scrolled .fea-nav-inner {
  background: #ffffff;
}

/* Marketing main: horizontal padding, min 20px on narrow screens */
.fea-elite-main.fea-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

@media (max-width: 640px) {
  .fea-elite-main.fea-wrap {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
}

/* Page hero — H1 + subtext only (no 3D art) */
.fea-elite-page-hero {
  max-width: 50rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.fea-elite-page-hero__title {
  font-family: var(--smart-display, var(--fea-font-display));
  font-size: clamp(1.5rem, 3.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 1rem;
}

.fea-elite-page-hero__sub {
  font-size: clamp(0.9rem, 1.9vw, 1.05rem);
  line-height: 1.75;
  color: var(--smart-muted, #64748b);
  margin: 0 auto;
  max-width: 40rem;
}

/* Shared card shell */
.fea-elite-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--fea-elite-card-shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.fea-elite-card--pad-lg {
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

/* Services: intro block + 3-column grid */
.fea-elite-services-intro {
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.fea-elite-services-intro p {
  margin: 0 0 0.75rem;
  line-height: 1.7;
  color: var(--smart-muted, #64748b);
}

.fea-elite-services-intro p:last-child {
  margin-bottom: 0;
}

.fea-elite-services-intro strong {
  color: #0f172a;
}

.fea-elite-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .fea-elite-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .fea-elite-service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fea-elite-sync .fea-service-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--fea-elite-card-shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 1.35rem 1.25rem;
  height: 100%;
}

.fea-elite-services-meta {
  margin-top: clamp(2rem, 5vw, 2.75rem);
}

.fea-elite-services-meta h2 {
  font-family: var(--smart-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.fea-elite-legal-list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.7;
  color: var(--smart-muted, #64748b);
}

.fea-elite-disclaimer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.fea-elite-disclaimer h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.fea-elite-disclaimer p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--smart-muted, #64748b);
}

.fea-elite-services-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  justify-content: center;
}

/* Legal / refund: document stack */
.fea-elite-doc-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fea-elite-sync .fea-legal-card,
.fea-elite-sync .fea-refund-trust-box {
  border-radius: 16px;
  box-shadow: var(--fea-elite-card-shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.fea-elite-sync .fea-refund-masonry {
  gap: 1.25rem;
}

.fea-elite-sync .fea-legal-shell {
  margin-top: 0.5rem;
}

/* Contact: support grid + form layout */
.fea-elite-contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

@media (min-width: 992px) {
  .fea-elite-contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.fea-elite-contact-form .fea-elite-field {
  margin-bottom: 1rem;
}

.fea-elite-contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.35rem;
}

.fea-elite-contact-form input,
.fea-elite-contact-form select,
.fea-elite-contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: #0f172a;
  box-sizing: border-box;
}

.fea-elite-contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.fea-elite-contact-form input:focus,
.fea-elite-contact-form select:focus,
.fea-elite-contact-form textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.fea-elite-contact-form .fea-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

#fea-elite-form-message {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  display: none;
}

#fea-elite-form-message.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

#fea-elite-form-message.is-success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

/* Catalog: course blocks as elite cards */
.fea-elite-sync .fea-catalog-course {
  border-radius: 16px;
  box-shadow: var(--fea-elite-card-shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 1.5rem;
  background: #fff;
}

/* —— Public catalog: Smart Image module tiles (replaces legacy dark curriculum cards) —— */
.fea-catalog-smart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.35rem);
  margin-top: 0.35rem;
  width: 100%;
}

@media (min-width: 640px) {
  .fea-catalog-smart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .fea-catalog-smart-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fea-smart-module {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.fea-smart-module:hover {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  border-color: rgba(79, 70, 229, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .fea-smart-module {
    transition: none;
  }

  .fea-smart-module:hover {
    transform: none;
  }
}

/* Module header — restrained “Elite Smart” art (navy / slate / indigo only) */
.fea-smart-module__visual {
  position: relative;
  min-height: 128px;
  padding: 0.85rem 1rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #f8fafc;
  overflow: hidden;
  background: linear-gradient(155deg, #0b1224 0%, #1e293b 52%, #334155 100%);
}

.fea-smart-module__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 38%, rgba(15, 23, 42, 0.35) 100%);
  pointer-events: none;
}

.fea-smart-module__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background: radial-gradient(ellipse 90% 70% at 100% 0%, rgba(99, 102, 241, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 0% 100%, rgba(59, 130, 246, 0.22) 0%, transparent 50%);
  pointer-events: none;
}

/* Per-card ambient shift (stays on-brand; not rainbow clip-art) */
.fea-smart-module--t1 .fea-smart-module__visual {
  background: linear-gradient(155deg, #0c1428 0%, #172554 45%, #312e81 100%);
}

.fea-smart-module--t2 .fea-smart-module__visual {
  background: linear-gradient(165deg, #0f172a 0%, #1e293b 40%, #1e1b4b 100%);
}

.fea-smart-module--t3 .fea-smart-module__visual {
  background: linear-gradient(150deg, #020617 0%, #0f172a 50%, #334155 100%);
}

.fea-smart-module--t4 .fea-smart-module__visual {
  background: linear-gradient(160deg, #0b1328 0%, #1e3a5f 42%, #1e293b 100%);
}

.fea-smart-module--t5 .fea-smart-module__visual {
  background: linear-gradient(155deg, #0f172a 0%, #312e81 38%, #475569 100%);
}

.fea-smart-module--t6 .fea-smart-module__visual {
  background: linear-gradient(170deg, #020617 0%, #1e293b 55%, #3730a3 100%);
}

.fea-smart-module--t7 .fea-smart-module__visual {
  background: linear-gradient(145deg, #0b1120 0%, #1e293b 48%, #0f172a 100%);
}

.fea-smart-module__chrome {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.fea-smart-module__index {
  font-family: var(--smart-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #f1f5f9;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.fea-smart-module__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 11px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2);
}

.fea-smart-module__art {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 58px;
}

/* Abstract “smart image” — layered mesh / grid (no literal icons) */
.fea-smart-module__mesh {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 58px;
  margin: 0 auto;
  border-radius: 12px;
  opacity: 0.9;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(2, 6, 23, 0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.fea-smart-module__mesh--t0 {
  background-color: rgba(2, 6, 23, 0.28);
  background-image: repeating-linear-gradient(90deg, rgba(248, 250, 252, 0.06) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, rgba(248, 250, 252, 0.05) 0 1px, transparent 1px 18px),
    radial-gradient(ellipse 100% 120% at 50% 120%, rgba(99, 102, 241, 0.35) 0%, transparent 58%);
}

.fea-smart-module__mesh--t1 {
  background-color: rgba(2, 6, 23, 0.28);
  background-image: linear-gradient(105deg, rgba(255, 255, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 20% 50%, rgba(129, 140, 248, 0.4) 0%, transparent 42%),
    radial-gradient(circle at 88% 60%, rgba(56, 189, 248, 0.12) 0%, transparent 40%);
}

.fea-smart-module__mesh--t2 {
  background-color: rgba(2, 6, 23, 0.3);
  background-image: radial-gradient(ellipse 95% 85% at 50% 110%, rgba(99, 102, 241, 0.42) 0%, transparent 58%),
    repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 14px);
}

.fea-smart-module__mesh--t3 {
  background-color: rgba(2, 6, 23, 0.32);
  background-image: radial-gradient(circle at 50% -10%, rgba(226, 232, 240, 0.2) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.12) 0 1px, transparent 1px 32px);
}

.fea-smart-module__mesh--t4 {
  background-color: rgba(2, 6, 23, 0.26);
  background-image: linear-gradient(25deg, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 80% 90% at 0% 100%, rgba(79, 70, 229, 0.35) 0%, transparent 55%);
}

.fea-smart-module__mesh--t5 {
  background-color: rgba(2, 6, 23, 0.3);
  background-image: radial-gradient(circle at 75% 25%, rgba(165, 180, 252, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 12% 70%, rgba(56, 189, 248, 0.15) 0%, transparent 48%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent);
}

.fea-smart-module__mesh--t6 {
  background-color: rgba(2, 6, 23, 0.34);
  background-image: repeating-linear-gradient(-18deg, rgba(248, 250, 252, 0.045) 0 1px, transparent 1px 11px),
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(79, 70, 229, 0.3) 0%, transparent 55%);
}

.fea-smart-module__mesh--t7 {
  background-color: rgba(2, 6, 23, 0.28);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.25) 0%, transparent 62%);
}

.fea-smart-module__body {
  padding: 1rem 1.15rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fea-smart-module__title {
  margin: 0;
  font-family: var(--smart-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: clamp(0.95rem, 2.1vw, 1.05rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #0f172a;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.fea-smart-module__lessons {
  margin: 0;
  padding-left: 1.1rem;
  color: #64748b;
  font-size: 0.8125rem;
  line-height: 1.55;
  list-style: disc;
}

.fea-smart-module__lessons li {
  margin-bottom: 0.22rem;
}

.fea-smart-module__empty {
  margin: 0;
  font-size: 0.875rem;
}

/* Stats row under contact hero */
.fea-elite-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
  margin-top: 1.5rem;
}

.fea-elite-hero-stats .fea-stat {
  text-align: center;
}

.fea-elite-hero-stats .fea-stat-num {
  display: block;
  font-weight: 800;
  font-size: 1.35rem;
  color: #4f46e5;
}

.fea-elite-hero-stats .fea-stat-label {
  font-size: 0.8rem;
  color: var(--smart-muted, #64748b);
}

/* Section spacing inside elite main */
.fea-elite-main .fea-section {
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
}

.fea-elite-main .fea-section:first-child {
  margin-top: 0;
}
