/* =========================
   CSS RESET + TOKENS
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand-purple: #6b3fa0;
  --brand-teal: #14b8a6;
  --brand-yellow: #facc15;

  --bg-main: #f8fafc;
  --bg-soft: #ffffff;
  --bg-muted: #f1f5f9;

  --text-primary: #0f172a;
  --text-secondary: #475569;

  --border-soft: rgba(0,0,0,0.06);
}
/* =========================
   BRAND LOGO (MAHASARATHI)
========================= */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 40px;          /* ideal for this logo */
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.brand-text small {
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* Mobile optimization */
@media (max-width: 640px) {
  .brand-logo {
    height: 34px;
  }

  .brand-text small {
    display: none; /* keeps navbar clean */
  }
}

/* =========================
   GLOBAL
========================= */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: auto;
}

section {
  padding: clamp(64px, 8vw, 96px) 0;
}

h1, h2, h3 {
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brand-purple);
}

.nav-right {
  display: flex;
  gap: 32px;
}

.nav-right a {
  font-weight: 500;
  position: relative;
}

.nav-right a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-teal);
  transition: width 0.3s ease;
}

.nav-right a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}
/* =========================
   BREADCRUMB NAVIGATION
========================= */
.breadcrumb {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border-soft);
  padding: 14px 0;
  font-size: 0.9rem;
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--brand-purple);
  font-weight: 500;
}

.breadcrumb span {
  color: var(--text-secondary);
}

.breadcrumb .current {
  font-weight: 600;
  color: var(--text-primary);
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px circle at top, #ede9fe, #f8fafc 45%);
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  color: var(--brand-purple);
  margin-bottom: 20px;
}

.hero p {
  max-width: 720px;
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.email-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.email-form input {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  font-size: 1rem;
}

.btn,
.btn-primary {
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-purple));
  color: #fff;
  box-shadow: 0 12px 30px rgba(20,184,166,0.35);
  transition: transform 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.privacy-note {
  margin-top: 12px;
  font-size: 0.9rem;
}

/* HERO NETWORK */
.hero-network span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(99,102,241,0.8);
  border-radius: 50%;
  animation: float 12s infinite linear;
}

.hero-network span::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, rgba(20,184,166,0.5), transparent);
  top: 50%;
  left: 100%;
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-120vh); }
}

/* =========================
   TRUST STRIP
========================= */
.trust-strip {
  background: #020617;
  color: #cbd5f5;
  padding: 32px 0;
  text-align: center;
}

.trust-logos {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.trust-logos span {
  font-weight: 600;
  opacity: 0.7;
}

/* =========================
   CARDS (UNIFIED)
========================= */
.stat-card,
.card,
.pillar,
.step {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover,
.card:hover,
.pillar:hover,
.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.stats,
.pillars,
.built-cards,
.steps {
  display: grid;
  gap: 24px;
}

.stats {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.built-cards {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.steps {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: center;
}

.step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: var(--brand-yellow);
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 12px;
}

/* =========================
   CTA
========================= */
.collaboration {
  text-align: center;
}

.cta-button {
  display: inline-block;
  margin-top: 24px;
  padding: 16px 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-purple));
  color: #fff;
  font-weight: 600;
}

/* =========================
   FOOTER – MODERN GOVTECH
========================= */

.footer {
  background: #0b1220; /* deep blue */
  color: #cbd5e1;
  padding: 64px 0 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

/* BRAND */
.footer-brand {
  max-width: 360px;
}

.footer-logo {
  height: 36px;
  margin-bottom: 14px;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #94a3b8;
}

/* LINKS */
.footer-links h4,
.footer-contact h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #e2e8f0;
}

.footer-links a,
.footer-contact a {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #94a3b8;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #22c55e; /* eco green */
}

/* CONTACT */
.footer-contact p {
  margin-bottom: 12px;
}

/* SOCIAL */
.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  font-size: 0.9rem;
}

/* BOTTOM BAR */
.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* MOBILE */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* =========================
   SCROLL REVEAL
========================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-right {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
  }

  .nav-right.active {
    display: flex;
  }

  .email-form {
    flex-direction: column;
  }
}
/* =========================
   FAQ – MODERN DESIGN
========================= */

.faq-section {
  background: var(--bg-muted);
  padding: 60px 0;
}

.faq-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 8px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

/* FAQ ITEM */
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}

.faq-item:last-child {
  border-bottom: none;
}

/* QUESTION */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-question:hover {
  color: var(--brand-purple);
}

/* CHEVRON */
.faq-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

/* ANSWER */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  opacity: 1;
  padding-bottom: 20px;
}

.faq-answer p,
.faq-answer li {
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.faq-answer ul {
  padding-left: 20px;
  margin-top: 10px;
}
/* =========================
   SOCIAL ICONS
========================= */

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: #94a3b8; /* muted slate */
  transition: fill 0.2s ease, transform 0.2s ease;
}

.social-links a:hover .social-icon {
  fill: #22c55e; /* eco green */
  transform: translateY(-2px);
}
/* =========================
   FOOTER BRAND (FINAL)
========================= */

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-text strong {
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
}

.footer-brand-text span {
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 360px;
}
