/* SpartiatFit ? modern UI refresh (logo colors: gold + black) */

:root {
  --primary-gold: #e8bb2e;
  --primary-gold-hover: #f0cc55;
  --gold-muted: rgba(232, 187, 46, 0.14);
  --gold-border: rgba(232, 187, 46, 0.22);
  --surface-0: #060606;
  --surface-1: #0f0f10;
  --surface-2: #161618;
  --surface-3: #1e1e21;
  --text-primary: #f4f4f5;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(232, 187, 46, 0.28);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 48px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 12px 40px rgba(232, 187, 46, 0.12);
  --gradient-gold: linear-gradient(135deg, #c9a227 0%, #e8bb2e 45%, #f5d76e 100%);
  --gradient-hero: radial-gradient(ellipse 90% 70% at 50% -20%, rgba(232, 187, 46, 0.14), transparent 55%);
}

body {
  background: var(--surface-0);
  color: var(--text-primary);
}

/* Header */
.modern-header {
  background: rgba(6, 6, 6, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
}

.modern-header.scrolled {
  background: rgba(6, 6, 6, 0.92);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.header-container {
  padding: 0.85rem 1.75rem;
  max-width: 1280px;
}

.nav-list {
  gap: 1.15rem;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--primary-gold);
}

.header-btn {
  padding: 0.65rem 1.15rem !important;
  font-size: 0.8125rem !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: var(--shadow-gold);
}

/* Buttons */
.btn {
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: none;
}

.btn::before {
  display: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
  filter: none;
}

/* Hero */
.hero {
  min-height: min(92vh, 920px);
  padding: 7.5rem 1.5rem 4.5rem;
  background: var(--surface-0);
  justify-content: flex-start;
}

.hero.hero--split {
  position: relative;
  text-align: left;
  align-items: stretch;
  justify-content: center;
  padding-bottom: 5.5rem;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem 3rem;
  align-items: center;
  flex: 1;
  align-content: center;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 2.5rem 5rem;
  }
}

.hero--split .hero-content {
  max-width: none;
  margin: 0;
  text-align: left;
}

.hero--split .hero-badge {
  display: inline-block;
}

.hero--split .hero-description,
.hero--split .hero p.hero-description {
  margin-left: 0;
  margin-right: 0;
  max-width: 36rem;
  margin-bottom: 1.85rem;
}

.hero--split .hero-title {
  margin-bottom: 1.1rem;
}

.hero--split .hero-badge {
  margin-bottom: 1.25rem;
}

.hero--split .hero-stats {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
}

.hero-stats.hero-stats--compact {
  display: grid !important;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 540px) {
  .hero-stats.hero-stats--compact {
    gap: 0.65rem;
  }
}

.hero--split .stat--compact {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  padding: 0.75rem 0.85rem;
  background: rgba(22, 22, 24, 0.85);
}

.hero--split .stat--compact .stat-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0;
  border-radius: 10px;
  background: rgba(232, 187, 46, 0.08);
  border: 1px solid rgba(232, 187, 46, 0.2);
}

.hero--split .stat-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.hero--split .stat--compact .stat-number {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-gold);
  line-height: 1.15;
  margin-bottom: 0;
}

.hero--split .stat--compact .stat-label {
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

@media (max-width: 539px) {
  .hero--split .stat--compact {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 0.7rem 0.4rem;
    gap: 0.35rem;
    min-height: 5.5rem;
  }

  .hero--split .stat--compact .stat-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
  }

  .hero--split .stat--compact .stat-icon .sf-icon {
    width: 1rem;
    height: 1rem;
  }

  .hero--split .stat--compact .stat-body {
    align-items: center;
  }

  .hero--split .stat--compact .stat-number {
    font-size: 0.8125rem;
    line-height: 1.2;
  }

  .hero--split .stat--compact .stat-label {
    font-size: 0.5625rem;
    letter-spacing: 0.05em;
    line-height: 1.25;
    max-width: 6.5rem;
  }
}

.hero--split .hero-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Hero right panel */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (min-width: 960px) {
  .hero-visual {
    justify-content: flex-end;
  }
}

.hero-visual-glow {
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(232, 187, 46, 0.14), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero-visual-ring {
  position: absolute;
  width: min(100%, 22rem);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(232, 187, 46, 0.12);
  background: radial-gradient(circle at 50% 50%, rgba(232, 187, 46, 0.06), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero-visual-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 23.5rem;
  padding: 0;
  border-radius: var(--radius-lg, 1.25rem);
  background: linear-gradient(165deg, rgba(28, 28, 30, 0.95) 0%, rgba(12, 12, 13, 0.98) 100%);
  border: 1px solid var(--border-gold);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.5),
    var(--shadow-gold);
  overflow: hidden;
}

.hero-visual-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  opacity: 0.9;
}

.hero-visual-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.35rem 1.35rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-visual-mark {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(232, 187, 46, 0.4);
  flex-shrink: 0;
}

.hero-visual-head-text {
  min-width: 0;
}

.hero-visual-eyebrow {
  margin: 0;
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-gold);
}

.hero-visual-tagline {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.35;
}

.hero-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0.65rem 1rem 0.85rem;
  display: flex;
  flex-direction: column;
}

.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.hero-benefit-item:last-child {
  border-bottom: none;
}

.hero-benefit-item:hover {
  color: #fff;
  padding-left: 0.65rem;
}

.hero-benefit-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 8px;
  background: rgba(232, 187, 46, 0.1);
  border: 1px solid rgba(232, 187, 46, 0.22);
}

.hero-visual-foot {
  padding: 0.85rem 1.25rem 1.2rem;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid var(--border-subtle);
}

.hero-visual-note {
  margin: 0 0 0.65rem;
  text-align: left;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-visual-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-gold);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.hero-visual-link:hover {
  color: #f5d04a;
  gap: 0.5rem;
}

@media (min-width: 960px) {
  .hero-visual-card {
    animation: heroCardFloat 8s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual-card {
    animation: none;
  }
}

@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero::before {
  display: none;
}

.hero-background {
  z-index: 0;
}

.hero-particles {
  opacity: 0.12;
  background-size: 48px 48px;
}

.hero-gradient {
  background:
    var(--gradient-hero),
    radial-gradient(ellipse 50% 40% at 100% 50%, rgba(232, 187, 46, 0.06), transparent 50%),
    radial-gradient(ellipse 40% 35% at 0% 80%, rgba(232, 187, 46, 0.05), transparent 45%);
  animation: none;
  opacity: 1;
}

.hero--corporate .hero-gradient {
  background:
    var(--gradient-hero),
    radial-gradient(ellipse 55% 45% at 88% 42%, rgba(232, 187, 46, 0.1), transparent 58%),
    radial-gradient(ellipse 40% 35% at 12% 70%, rgba(232, 187, 46, 0.05), transparent 50%);
}

.hero-content {
  max-width: 52rem;
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.badge-text {
  background: var(--surface-2);
  border: 1px solid var(--border-gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  animation: none;
  box-shadow: none;
}

.hero h1.hero-title,
.hero h2.hero-title {
  background: none !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  margin-bottom: 1.25rem;
}

.title-line {
  font-size: clamp(2.35rem, 4.8vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.title-line:not(.highlight) {
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
}

.title-line.highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-line.highlight::after {
  display: none;
}

.hero-description,
.hero p.hero-description {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.hero-stats {
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.stat {
  flex: 1;
  min-width: 0;
  padding: 1.15rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.stat:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.stat-icon {
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.stat-number {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.35;
}

.hero-actions {
  gap: 0.75rem;
}

.hero-btn {
  min-width: auto;
  padding: 0.95rem 1.5rem;
  font-size: 0.9375rem;
  border-radius: var(--radius-pill);
}

.hero-btn.primary {
  box-shadow: var(--shadow-gold);
}

.hero-btn.secondary {
  border: 1px solid var(--border-gold);
  background: var(--surface-2);
  color: var(--text-primary);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.45;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  pointer-events: none;
}

.hero-scroll-indicator .scroll-arrow {
  width: 1.25rem;
  height: 1.25rem;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  margin-top: 0.15rem;
  animation: heroScrollBounce 2s ease-in-out infinite;
}

@keyframes heroScrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50% { transform: rotate(45deg) translateY(4px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-indicator .scroll-arrow {
    animation: none;
  }
}

.features-section-title {
  grid-column: 1 / -1;
  margin: 0 0 0.25rem;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Section typography */
.section-eyebrow {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--primary-gold);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.85rem;
}

.training-header h2,
.books-header h2,
.testimonials-header h2,
.pricing-section .training-header h2 {
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.training-header p,
.books-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Cards */
.training-section,
.features,
.corporate-section,
.pricing-section,
.books-section,
.testimonials {
  background: var(--surface-0);
}

.corporate-section--hero {
  padding: 5rem 1.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
  border-bottom: 1px solid var(--border-subtle);
}

.corporate-quote {
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  color: var(--text-primary);
  border-left: 3px solid var(--primary-gold);
  padding-left: 1rem;
  text-align: left;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
}

.corporate-section--hero .training-header p:last-of-type {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.training-card,
.feature-card,
.testimonial-card,
.book-card {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.training-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-soft);
}

.training-card-featured {
  border-color: var(--border-gold);
  background: linear-gradient(165deg, var(--surface-3) 0%, var(--surface-2) 100%);
  box-shadow: var(--shadow-gold);
  position: relative;
}

.training-card-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(232, 187, 46, 0.45), transparent 40%, rgba(232, 187, 46, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.training-card h3,
.book-content h3 {
  color: var(--text-primary);
  font-weight: 700;
}

.training-card-lead {
  color: var(--text-secondary);
}

.features--corporate {
  background: var(--surface-1);
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.feature-card::before {
  display: none;
}

.feature-card h3 {
  color: var(--text-primary);
  font-size: 1.05rem;
}

.corporate-packages {
  padding-top: 5rem;
}

.package-tier-price {
  font-size: 2.25rem;
  letter-spacing: -0.03em;
}

.package-tier-label--popular {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--gold-muted);
  border: 1px solid var(--border-gold);
}

/* Pricing tables */
.pricing-table-wrap {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.pricing-table th {
  background: var(--surface-3);
  color: var(--text-muted);
  font-size: 0.7rem;
}

.pricing-table td {
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}

.pricing-amount {
  color: var(--primary-gold);
}

.section-secondary {
  background: var(--surface-1);
  opacity: 1;
}

/* CTA & contact */
.cta {
  background: var(--surface-2);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.contact {
  background: var(--surface-0);
}

.form-control {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.form-control:focus {
  border-color: var(--border-gold);
  outline: none;
  box-shadow: 0 0 0 3px var(--gold-muted);
}

/* Misc */
.hero-glow {
  background: radial-gradient(circle, rgba(232, 187, 46, 0.08) 0%, transparent 70%);
}

.training-note,
.pricing-notes {
  color: var(--text-muted);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .hero-inner {
    gap: 2rem;
  }

  .hero-visual-card {
    max-width: 26rem;
  }

  .hero--split .hero-actions .hero-btn {
    width: 100%;
    justify-content: center;
  }

  .main-nav {
    display: none;
  }
}

.pricing-single-visit {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 36rem;
  margin: -0.5rem auto 1.25rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
}

.pricing-single-visit strong {
  color: var(--primary-gold);
  font-weight: 700;
}
