/* ===========================
   KVS — Home Page Styles
   =========================== */

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5vw;
  padding: 110px 8vw 80px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
}

.hero-bg-pattern {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,109,0,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,184,0,.10) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(27,58,140,.40) 0%, transparent 50%);
}

.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 600px;
  animation: fadeUp .9s cubic-bezier(.4,0,.2,1) both;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,109,0,.15);
  color: var(--saffron-light);
  border: 1px solid rgba(255,109,0,.35);
  border-radius: 100px;
  padding: .3rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-title .party-name {
  display: block;
  font-size: .55em;
  letter-spacing: .06em;
  font-style: normal;
  font-weight: 400;
  color: var(--saffron-light);
  text-transform: uppercase;
  margin-bottom: .3rem;
  font-family: var(--font-body);
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2rem;
}

.hero-social-proof {
  display: flex; align-items: center; gap: 2rem;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex; flex-direction: column;
}
.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.50);
  margin-top: .2rem;
}

/* Hero visual — tricolor emblem block */
.hero-visual {
  position: relative; z-index: 1;
  flex-shrink: 0;
  animation: fadeUp 1.1s .2s cubic-bezier(.4,0,.2,1) both;
}

.emblem-card {
  width: 320px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.40);
}

.emblem-circle {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--gold) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(255,184,0,.20), 0 0 0 12px rgba(255,109,0,.10);
  font-size: 3.5rem;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(255,184,0,.20), 0 0 0 12px rgba(255,109,0,.10); }
  50%       { box-shadow: 0 0 0 10px rgba(255,184,0,.30), 0 0 0 22px rgba(255,109,0,.08); }
}

.emblem-name {
  text-align: center;
}
.emblem-name h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .3rem;
}
.emblem-name p {
  font-size: .82rem;
  color: var(--saffron-light);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.emblem-tricolor {
  display: flex; gap: 2px;
  width: 100%; border-radius: var(--radius-sm);
  overflow: hidden; height: 6px;
}
.emblem-tricolor span { flex: 1; }
.emblem-tricolor span:nth-child(1) { background: var(--saffron); }
.emblem-tricolor span:nth-child(2) { background: var(--white); }
.emblem-tricolor span:nth-child(3) { background: #138808; }

.emblem-pillars {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .6rem; width: 100%;
}
.emblem-pillar {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-sm);
  padding: .5rem .7rem;
  font-size: .76rem;
  color: rgba(255,255,255,.70);
  display: flex; align-items: center; gap: .4rem;
}
.emblem-pillar span { font-size: .88rem; }

/* ── Stats bar ── */
.stats-bar {
  background: var(--navy-dark);
  padding: 2rem 8vw;
  border-top: 1px solid rgba(255,109,0,.15);
  border-bottom: 1px solid rgba(255,109,0,.15);
}
.stats-inner {
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem;
  max-width: 900px; margin: 0 auto;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.50);
  margin-top: .2rem;
}

/* ── Issues section ── */
.issues-section {
  padding: 6rem 8vw;
  background: var(--off-white);
}
.issues-header {
  max-width: 640px;
  margin-bottom: 3rem;
}
.issues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.issue-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: all var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.issue-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  transition: opacity var(--transition);
  opacity: 0;
}
.issue-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.issue-card:hover::before { opacity: 1; }

.issue-card[data-color="saffron"]::before { background: var(--saffron); }
.issue-card[data-color="navy"]::before    { background: var(--navy); }
.issue-card[data-color="gold"]::before    { background: var(--gold); }
.issue-card[data-color="green"]::before   { background: #28A745; }
.issue-card[data-color="red"]::before     { background: #DC3545; }
.issue-card[data-color="teal"]::before    { background: #17A2B8; }
.issue-card[data-color="purple"]::before  { background: #6F42C1; }
.issue-card[data-color="orange"]::before  { background: #FF8C00; }

.issue-icon { font-size: 2rem; margin-bottom: 1rem; }
.issue-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--slate-900); }
.issue-card p  { font-size: .85rem; color: var(--slate-500); line-height: 1.55; }

/* ── Leaders preview ── */
.leaders-section {
  padding: 6rem 8vw;
  background: var(--white);
}
.leaders-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap; gap: 1rem;
}
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.leader-card {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}
.leader-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.leader-avatar {
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.leader-info {
  padding: 1.25rem;
}
.leader-info h4 { font-weight: 700; margin-bottom: .25rem; font-size: .98rem; }
.leader-info p  { font-size: .82rem; color: var(--saffron); font-weight: 600; }
.leader-info .leader-dist { font-size: .78rem; color: var(--slate-400); margin-top: .2rem; font-weight: 400; }

/* ── Events preview ── */
.events-section {
  padding: 6rem 8vw;
  background: var(--off-white);
}
.events-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem;
}
.events-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.event-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.event-date-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.event-date-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.event-date-info { display: flex; flex-direction: column; }
.event-month { font-size: .85rem; font-weight: 600; color: var(--saffron-light); text-transform: uppercase; }
.event-year  { font-size: .78rem; color: rgba(255,255,255,.55); }
.event-body { padding: 1.5rem; }
.event-type {
  display: inline-block;
  background: var(--saffron-pale);
  color: var(--saffron);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}
.event-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.event-body p { font-size: .85rem; color: var(--slate-500); margin-bottom: 1rem; }
.event-location { font-size: .82rem; color: var(--slate-400); display: flex; align-items: center; gap: .35rem; }

/* ── Join CTA Banner ── */
.join-banner {
  position: relative;
  padding: 6rem 8vw;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  text-align: center;
}
.join-banner-glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,109,0,.20) 0%, transparent 70%);
}
.join-banner-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.join-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.join-banner h2 em { font-style: italic; color: var(--gold); }
.join-banner p { font-size: 1.05rem; color: rgba(255,255,255,.65); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.join-banner-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Quote ── */
.quote-section {
  padding: 5rem 8vw;
  background: var(--white);
  text-align: center;
}
.quote-section blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: var(--slate-900);
  max-width: 680px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}
.quote-section blockquote .highlight { color: var(--saffron); }
.quote-section cite { font-size: .88rem; color: var(--slate-400); }

/* ── App download strip ── */
.app-strip {
  background: var(--off-white);
  padding: 3rem 8vw;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
}
.app-strip-text h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .4rem; }
.app-strip-text p  { font-size: .9rem; color: var(--slate-500); }
.app-strip-btns { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .issues-grid { grid-template-columns: repeat(2, 1fr); }
  .leaders-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero { flex-direction: column; text-align: center; pai: 90px 6vw 60px; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .hero-visual { width: 100%; display: flex; justify-content: center; }
  .emblem-card { width: 280px; }
  .events-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .issues-grid { grid-template-columns: 1fr; }
  .leaders-grid { grid-template-columns: 1fr 1fr; }
  .events-list { grid-template-columns: 1fr; }
}
