/* ============================================
   FLEXIBLE-COMMISSIONS.CSS — Page-Specific Styles
   ============================================

   Styles that ONLY apply to the flexible commissions page.
   ============================================ */


/* ----- HERO SECTION ----- */

.fc-hero {
  min-height: 100vh;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px 60px;
  position: relative;
  overflow: hidden;
}

.fc-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

.fc-hero-line-left,
.fc-hero-line-right {
  position: absolute;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
  opacity: 0.12;
}

.fc-hero-line-left {
  left: 18%;
  top: 0;
  height: 100%;
  animation: fcLineFloat 8s ease-in-out infinite;
}

.fc-hero-line-right {
  right: 18%;
  top: 0;
  height: 100%;
  animation: fcLineFloat 8s ease-in-out 2.5s infinite;
}

@keyframes fcLineFloat {
  0%, 100% { opacity: 0.06; }
  50% { opacity: 0.18; }
}

.fc-hero-content {
  position: relative;
  z-index: 2;
}

.fc-hero-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid rgba(201, 169, 110, 0.25);
  padding: 10px 24px;
  margin-bottom: var(--space-3xl);
  opacity: 0;
  animation: fcFadeUp 0.7s ease 0.2s forwards;
}

.fc-hero h1 {
  color: var(--color-white);
  max-width: 850px;
  margin: 0 auto var(--space-lg);
  opacity: 0;
  animation: fcFadeUp 0.8s ease 0.4s forwards;
}

.fc-hero h1 em {
  color: var(--color-gold);
}

.fc-hero-sub {
  font-size: var(--text-md);
  font-weight: var(--weight-light);
  color: rgba(255, 255, 255, 0.4);
  max-width: 600px;
  line-height: 1.8;
  margin: 0 auto var(--space-3xl);
  opacity: 0;
  animation: fcFadeUp 0.7s ease 0.6s forwards;
}

.fc-hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  animation: fcFadeUp 0.7s ease 0.8s forwards;
}

.fc-btn-gold {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy);
  background: var(--color-gold);
  padding: 18px 42px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-base);
}

.fc-btn-gold:hover {
  background: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(201, 169, 110, 0.25);
}

.fc-btn-gold svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.fc-hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: var(--space-3xl);
  opacity: 0;
  animation: fcFadeUp 0.7s ease 1s forwards;
}

.fc-hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.5);
}

.fc-hero-badge-icon {
  font-size: 1.3rem;
}

.fc-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fcFadeIn 0.6s ease 1.3s forwards;
}

.fc-scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: fcScrollBounce 2s ease infinite;
}

.fc-scroll-hint span {
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.15);
}

@keyframes fcScrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(10px); opacity: 1; }
}


/* ----- PRICING TIERS SECTION ----- */

.fc-tiers-section {
  padding: var(--space-5xl) 0;
  background: var(--color-off-white);
  text-align: center;
}

.fc-tiers-section h2 {
  margin-bottom: var(--space-md);
}

.fc-tiers-intro {
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  color: var(--color-mid-gray);
  max-width: 620px;
  margin: 0 auto var(--space-4xl);
  line-height: 1.8;
}

.fc-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.fc-tier-card {
  background: var(--color-white);
  border: 1px solid rgba(11, 29, 58, 0.05);
  border-radius: 12px;
  padding: 44px 32px;
  text-align: center;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.fc-tier-card.is-visible {
  animation: fcFadeUp 0.6s ease forwards;
}

.fc-tier-card:nth-child(2).is-visible { animation-delay: 0.12s; }
.fc-tier-card:nth-child(3).is-visible { animation-delay: 0.24s; }

.fc-tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(11, 29, 58, 0.1);
}

.fc-tier-card.fc-tier-featured {
  background: var(--color-navy);
  border-color: rgba(201, 169, 110, 0.2);
}

.fc-tier-card.fc-tier-featured:hover {
  box-shadow: 0 20px 60px rgba(201, 169, 110, 0.15);
}

.fc-tier-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.fc-tier-card .fc-tier-badge {
  background: rgba(11, 29, 58, 0.05);
  color: var(--color-navy);
}

.fc-tier-card.fc-tier-featured .fc-tier-badge {
  background: var(--color-gold);
  color: var(--color-navy);
}

.fc-tier-card h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.fc-tier-card.fc-tier-featured h3 {
  color: var(--color-white);
}

.fc-tier-subtitle {
  font-size: 0.85rem;
  font-weight: var(--weight-light);
  margin-bottom: 24px;
}

.fc-tier-card .fc-tier-subtitle {
  color: var(--color-mid-gray);
}

.fc-tier-card.fc-tier-featured .fc-tier-subtitle {
  color: rgba(255, 255, 255, 0.4);
}

.fc-tier-stat {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: var(--weight-bold);
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 4px;
}

.fc-tier-stat-label {
  font-size: 0.7rem;
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.fc-tier-card .fc-tier-stat-label {
  color: var(--color-mid-gray);
}

.fc-tier-card.fc-tier-featured .fc-tier-stat-label {
  color: rgba(255, 255, 255, 0.35);
}

.fc-tier-list {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.fc-tier-list li {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.fc-tier-card .fc-tier-list li {
  color: var(--color-dark-gray);
}

.fc-tier-card.fc-tier-featured .fc-tier-list li {
  color: rgba(255, 255, 255, 0.6);
}

.fc-tier-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.fc-tier-list li strong {
  font-weight: var(--weight-semibold);
}

.fc-tier-card .fc-tier-list li strong {
  color: var(--color-navy);
}

.fc-tier-card.fc-tier-featured .fc-tier-list li strong {
  color: var(--color-white);
}

.fc-tier-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.fc-tier-cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.fc-tier-card .fc-tier-cta {
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
  background: transparent;
}

.fc-tier-card .fc-tier-cta:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-1px);
}

.fc-tier-card.fc-tier-featured .fc-tier-cta {
  color: var(--color-navy);
  background: var(--color-gold);
  border: none;
}

.fc-tier-card.fc-tier-featured .fc-tier-cta:hover {
  background: var(--color-white);
  transform: translateY(-1px);
}


/* ----- FOUNDATION SECTION ----- */

.fc-foundation-section {
  padding: var(--space-5xl) 0;
  background: var(--color-white);
  text-align: center;
}

.fc-foundation-section h2 {
  margin-bottom: var(--space-md);
}

.fc-foundation-intro {
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  color: var(--color-mid-gray);
  max-width: 600px;
  margin: 0 auto var(--space-4xl);
  line-height: 1.8;
}

.fc-foundation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.fc-foundation-card {
  padding: 36px 28px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid rgba(11, 29, 58, 0.04);
  opacity: 0;
  transform: translateY(25px);
}

.fc-foundation-card.is-visible {
  animation: fcFadeUp 0.6s ease forwards;
}

.fc-foundation-card:nth-child(2).is-visible { animation-delay: 0.08s; }
.fc-foundation-card:nth-child(3).is-visible { animation-delay: 0.16s; }
.fc-foundation-card:nth-child(4).is-visible { animation-delay: 0.24s; }
.fc-foundation-card:nth-child(5).is-visible { animation-delay: 0.32s; }
.fc-foundation-card:nth-child(6).is-visible { animation-delay: 0.4s; }

.fc-foundation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 29, 58, 0.06);
  border-color: rgba(201, 169, 110, 0.15);
}

.fc-foundation-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.fc-foundation-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  margin-bottom: 10px;
}

.fc-foundation-card p {
  font-size: 0.88rem;
  color: var(--color-mid-gray);
  line-height: 1.7;
  margin: 0;
}


/* ----- STATS SECTION ----- */

.fc-stats-section {
  padding: var(--space-5xl) 0;
  background: var(--color-navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fc-stats-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.04) 0%, transparent 55%);
  pointer-events: none;
}

.fc-stats-section .section-label {
  display: block;
}

.fc-stats-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.fc-stats-subtitle {
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  color: rgba(255, 255, 255, 0.35);
  max-width: 560px;
  margin: 0 auto var(--space-4xl);
  line-height: 1.8;
}

.fc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.fc-stat-card {
  text-align: center;
  padding: 30px 20px;
  opacity: 0;
  transform: translateY(25px);
}

.fc-stat-card.is-visible {
  animation: fcFadeUp 0.6s ease forwards;
}

.fc-stat-card:nth-child(2).is-visible { animation-delay: 0.1s; }
.fc-stat-card:nth-child(3).is-visible { animation-delay: 0.2s; }
.fc-stat-card:nth-child(4).is-visible { animation-delay: 0.3s; }

.fc-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: var(--weight-bold);
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.fc-stat-label {
  font-size: 0.8rem;
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}


/* ----- AREAS SECTION ----- */

.fc-areas-section {
  padding: var(--space-5xl) 0;
  background: var(--color-off-white);
  text-align: center;
}

.fc-areas-section h2 {
  margin-bottom: var(--space-md);
}

.fc-areas-intro {
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  color: var(--color-mid-gray);
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
  line-height: 1.8;
}

.fc-areas-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.fc-area-card {
  grid-column: span 2;
}

/* Center the last 2 cards: offset by 1 column each */
.fc-areas-grid .fc-area-card:nth-child(4) {
  grid-column: 2 / 4;
}

.fc-areas-grid .fc-area-card:nth-child(5) {
  grid-column: 4 / 6;
}

.fc-area-card {
  background: var(--color-white);
  border: 1px solid rgba(11, 29, 58, 0.05);
  border-radius: 10px;
  padding: 32px 20px;
  text-align: center;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(25px);
}

.fc-area-card.is-visible {
  animation: fcFadeUp 0.6s ease forwards;
}

.fc-area-card:nth-child(2).is-visible { animation-delay: 0.08s; }
.fc-area-card:nth-child(3).is-visible { animation-delay: 0.16s; }
.fc-area-card:nth-child(4).is-visible { animation-delay: 0.24s; }
.fc-area-card:nth-child(5).is-visible { animation-delay: 0.32s; }

.fc-area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 29, 58, 0.06);
  border-color: rgba(201, 169, 110, 0.15);
}

.fc-area-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  margin-bottom: 6px;
}

.fc-area-card p {
  font-size: 0.8rem;
  color: var(--color-mid-gray);
  line-height: 1.5;
  margin: 0;
}


/* ----- CTA SECTION ----- */

.fc-cta-section {
  padding: var(--space-5xl) 0;
  background: var(--color-navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fc-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

.fc-cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.fc-cta-desc {
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  color: rgba(255, 255, 255, 0.4);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.fc-cta-btn {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy);
  background: var(--color-gold);
  padding: 20px 48px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
}

.fc-cta-btn:hover {
  background: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(201, 169, 110, 0.25);
}

.fc-cta-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}


/* ----- FAQ SECTION ----- */

.fc-faq-section {
  padding: var(--space-5xl) 0;
  background: var(--color-off-white);
  text-align: center;
}

.fc-faq-section h2 {
  margin-bottom: var(--space-3xl);
}

.fc-faq-list {
  max-width: 750px;
  margin: 0 auto;
  text-align: left;
}

.fc-faq-item {
  border-bottom: 1px solid var(--color-light-gray);
}

.fc-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 1.05rem;
  font-weight: var(--weight-medium);
  color: var(--color-navy);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.fc-faq-question:hover {
  color: var(--color-gold);
}

.fc-faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--color-mid-gray);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform 0.3s;
}

.fc-faq-item.is-open .fc-faq-question svg {
  transform: rotate(180deg);
}

.fc-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.fc-faq-item.is-open .fc-faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.fc-faq-answer p {
  font-size: 0.95rem;
  color: var(--color-mid-gray);
  line-height: 1.8;
}


/* ----- LEGAL SECTION ----- */

.fc-legal {
  padding: var(--space-3xl);
  background: var(--color-navy-dark);
  text-align: center;
}

.fc-legal-inner {
  max-width: 700px;
  margin: 0 auto;
}

.fc-legal-text {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.7;
  margin: 0 auto var(--space-md);
}

.fc-legal-text strong {
  color: rgba(255, 255, 255, 0.5);
}


/* ----- ANIMATIONS ----- */

@keyframes fcFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fcFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* ----- RESPONSIVE ----- */

@media (max-width: 768px) {
  .fc-hero {
    padding: var(--space-4xl) var(--space-lg);
  }

  .fc-hero h1 {
    font-size: var(--text-3xl);
  }

  .fc-hero-cta-group {
    flex-direction: column;
  }

  .fc-hero-badges {
    flex-direction: column;
    gap: 14px;
  }

  .fc-hero-line-left,
  .fc-hero-line-right {
    display: none;
  }

  .fc-tiers-section,
  .fc-foundation-section,
  .fc-stats-section,
  .fc-areas-section,
  .fc-cta-section,
  .fc-faq-section {
    padding: var(--space-4xl) var(--space-lg);
  }

  .fc-tiers-grid,
  .fc-foundation-grid,
  .fc-stats-grid,
  .fc-areas-grid {
    grid-template-columns: 1fr;
  }

  .fc-area-card,
  .fc-areas-grid .fc-area-card:nth-child(4),
  .fc-areas-grid .fc-area-card:nth-child(5) {
    grid-column: auto;
  }
}
