/* ── HOME PAGE ── */

/* Decorative background */
.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
}
.hero-bg-orb.one {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  top: -200px; right: -200px;
}
.hero-bg-orb.two {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  bottom: 0; left: -200px;
}

/* Grid overlay */
.hero-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 32px 60px;
  position: relative;
  z-index: 1;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
}

/* Left */
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 100px;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulseRing 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  transition: all var(--t);
  white-space: nowrap;
}
.hero-badge:hover {
  border-color: var(--gold);
  color: var(--gold);
  cursor: default;
}
.hero-badge i { color: var(--gold); font-size: 0.7rem; }

.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cert-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
}
.cert-item i { font-size: 0.75rem; }
.cert-item .ci-done { color: var(--gold); }
.cert-item .ci-prog { color: var(--text-3); }
.cert-item em { font-style: normal; color: var(--text-3); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Right: Profile Card */
.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.profile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.profile-img-wrap {
  width: 110px; height: 110px;
  margin: 0 auto 18px;
  position: relative;
}
.profile-img-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(var(--gold), var(--gold-dim), var(--gold));
  animation: spin 6s linear infinite;
  z-index: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.profile-img-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--surface);
  z-index: 1;
}
.profile-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.profile-img-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-3);
}

.profile-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 4px;
}
.profile-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.profile-loc {
  font-size: 0.82rem;
  color: var(--text-3);
  margin-bottom: 24px;
}
.profile-loc i { margin-right: 4px; color: var(--gold); }

.profile-stats {
  display: flex;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  margin-bottom: 22px;
}
.pstat { flex: 1; text-align: center; }
.pstat-n {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.pstat-l {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pstat-div {
  width: 1px;
  background: var(--border);
  margin: 4px 0;
}

.profile-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.p-link {
  width: 36px; height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 0.88rem;
  transition: all var(--t);
  text-decoration: none;
}
.p-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

/* ── TICKER ── */
.ticker-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.ticker-section::before,
.ticker-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
}
.ticker-section::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker-section::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.ticker-track span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-3);
  padding: 0 24px;
  border-right: 1px solid var(--border);
  transition: color var(--t);
}
.ticker-track span:hover { color: var(--gold); }

/* ── SNAPSHOT CARDS ── */
.snapshot { padding: 80px 0; position: relative; z-index: 1; }
.section-intro { margin-bottom: 44px; }

.snap-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.snap-icon {
  width: 46px; height: 46px;
  background: var(--gold-glow);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}
.snap-card h3 { font-size: 1.1rem; }
.snap-card p { font-size: 0.9rem; flex: 1; }
.snap-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── FEATURED ── */
.featured { padding-bottom: 80px; position: relative; z-index: 1; }

.featured-card {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: center;
  padding: 40px;
  overflow: hidden;
  position: relative;
}
.featured-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 60%);
}

.feat-eyebrow { margin-bottom: 10px; }
.featured-card h3 { font-size: 1.7rem; margin-bottom: 14px; }
.featured-card > div > p { font-size: 0.95rem; margin-bottom: 20px; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.feat-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.feat-deco {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  overflow: hidden;
}
.feat-deco pre {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--text-2);
}
.cm { color: var(--text-3); }
.ck { color: #82AAFF; }
.cs { color: var(--gold); }

/* ── CTA BAR ── */
.cta-bar { padding-bottom: 80px; position: relative; z-index: 1; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 48px;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at left center, var(--gold-glow-2), transparent 60%);
  pointer-events: none;
}
.cta-inner h2 { font-size: 1.7rem; margin-bottom: 8px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }
  .featured-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }
  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
}
@media (max-width: 600px) {
  .hero { padding: 88px 20px 48px; }
  .hero-title { font-size: 2.8rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}