/* ============================================================
   Home Page Specific Styles — NC Wealth Corporation
   ============================================================ */

/* ---- Hero ---- */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  margin-bottom: var(--space-xl);
}

.hero-headline {
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.hero-subheadline {
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  line-height: 1;
}

.trust-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--border-primary);
  flex-shrink: 0;
}

/* ---- Hero Chart ---- */
.hero-chart {
  position: relative;
  padding: var(--space-md) 0;
}

.hero-chart-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-chart-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-gold);
  opacity: 0.6;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.chart-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.chart-value-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.chart-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.chart-change {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
}

.chart-change.up {
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.1);
  border-radius: 4px;
  padding: 2px 8px;
}

.chart-svg {
  width: 100%;
  height: 160px;
  display: block;
}

.chart-footer {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.chart-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}

/* Floating stat cards on hero */
.float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-gold), var(--shadow-card);
  backdrop-filter: blur(12px);
  min-width: 160px;
  z-index: 10;
}

.float-card-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.float-card-value {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  line-height: 1.1;
}

.float-card-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.float-card-1 {
  top: -20px;
  right: -20px;
}

.float-card-2 {
  bottom: -20px;
  left: -20px;
}

/* ---- Stats Section ---- */
.stats-section {
  padding: var(--space-4xl) 0;
  border-top: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
  background: var(--bg-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.stat-card:hover::before { opacity: 1; }
.stat-card:hover {
  border-color: var(--border-gold);
  background: rgba(201, 168, 76, 0.03);
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
  line-height: 1;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  line-height: 1;
  display: inline;
}

.stat-unit {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: inline;
  margin-left: 2px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-sm);
}

.stat-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- Founder Section ---- */
.founder-section {
  background: var(--bg-primary);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: center;
}

.founder-card-wrap {
  position: relative;
  padding: var(--space-2xl);
}

.founder-avatar-card {
  width: 280px;
  height: 320px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold), var(--shadow-card);
  margin: 0 auto;
}

.founder-avatar-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.founder-initials {
  font-size: 6rem;
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.05em;
  position: relative;
  z-index: 1;
}

.founder-badge-live {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6ee7b7;
  white-space: nowrap;
  z-index: 2;
}

.founder-stat-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-gold), var(--shadow-card);
  min-width: 140px;
}

.founder-stat-1 { top: 20px; right: 0; }
.founder-stat-2 { top: 50%; right: -20px; transform: translateY(-50%); }
.founder-stat-3 { bottom: 20px; right: 0; }

.fsc-label {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  line-height: 1.1;
}

.fsc-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.founder-credentials {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.credential-item:hover {
  border-color: var(--border-gold);
  background: var(--accent-gold-glow);
}

.credential-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.credential-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.credential-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---- Programs Teaser ---- */
.programs-teaser {
  background: var(--bg-secondary);
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

.program-popular-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--gradient-gold);
  color: #0a0608;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.program-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.program-highlights li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.ph-icon {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 3px 7px;
  flex-shrink: 0;
  margin-top: 2px;
}

.program-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pb-item {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.benefits-row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding: var(--space-xl);
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
}

.benefits-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.benefits-items {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.benefit-chip {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  transition: all var(--transition-fast);
}

.benefit-chip:hover {
  border-color: var(--border-gold);
  color: var(--text-primary);
}

/* ---- Focus Section ---- */
.focus-section {
  background: var(--bg-primary);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.focus-card {
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.focus-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  pointer-events: none;
}

.focus-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.focus-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  line-height: 1;
}

/* ---- Alumni Teaser ---- */
.alumni-teaser {
  background: var(--bg-secondary);
}

.alumni-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.alumni-preview {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.alumni-card-mini {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
}

.alumni-card-mini::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-gold);
  border-radius: 3px 0 0 3px;
}

.alumni-card-mini:hover {
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.alumni-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #0a0608;
  flex-shrink: 0;
}

.acm-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.acm-firm {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.acm-badge {
  margin-left: auto;
  flex-shrink: 0;
}

.alumni-more {
  text-align: center;
  padding: var(--space-md);
}

/* ---- CTA Section ---- */
.cta-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
}

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-5xl) var(--space-3xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}

.cta-orb-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  opacity: 0.15;
}

.cta-orb-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -100px;
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ============================================================
   Responsive — Home Page
   ============================================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }
  .hero-chart {
    max-width: 560px;
    margin: 0 auto;
  }
  .float-card-1 { top: -10px; right: 10px; }
  .float-card-2 { bottom: -10px; left: 10px; }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .founder-card-wrap {
    max-width: 400px;
    margin: 0 auto;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: 1fr; max-width: 500px; }
  .alumni-teaser-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-actions { gap: var(--space-sm); }
  .hero-trust {
    gap: var(--space-lg);
  }
  .trust-divider { display: none; }
  .hero-trust { gap: var(--space-md); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .focus-grid { grid-template-columns: 1fr; }
  .cta-card { padding: var(--space-3xl) var(--space-xl); }
  .founder-stat-card { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
