/* ========================================
   AngelTokenize — Premium Cosmic B2B
   ======================================== */

:root {
  /* AngelAi.com brand palette — warm orange + clean white */
  --bg-deep: #ffffff;
  --bg-cosmic: #fff8f2;
  --bg-card: #ffffff;
  --bg-elevated: #fff4ea;
  /* "gold" tokens now map to AngelAi orange */
  --gold: #ff541c;
  --gold-bright: #ff6a13;
  --gold-deep: #d43800;
  /* "purple" tokens now map to AngelAi peach + blue accents */
  --purple: #fbc99c;
  --purple-bright: #ffdcbd;
  --purple-deep: #0098da;
  --text: #171717;
  --text-muted: #4b4b4b;
  --text-dim: #7a7a7a;
  --border: rgba(255, 84, 28, 0.18);
  --border-gold: rgba(255, 84, 28, 0.35);
  --success: #22c55e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* ============ WARM AngelAi BG ============ */
.cosmic-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(255, 106, 19, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at bottom, rgba(0, 152, 218, 0.06) 0%, transparent 55%),
    var(--bg-deep);
  z-index: 0;
  pointer-events: none;
}
.stars {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, white, transparent),
    radial-gradient(1px 1px at 60% 70%, white, transparent),
    radial-gradient(2px 2px at 50% 50%, var(--gold-bright), transparent),
    radial-gradient(1px 1px at 90% 10%, white, transparent),
    radial-gradient(1px 1px at 33% 85%, white, transparent),
    radial-gradient(2px 2px at 80% 40%, var(--purple-bright), transparent),
    radial-gradient(1px 1px at 10% 60%, white, transparent),
    radial-gradient(1px 1px at 45% 15%, white, transparent),
    radial-gradient(1px 1px at 70% 90%, white, transparent),
    radial-gradient(1px 1px at 5% 95%, white, transparent);
  background-size: 100% 100%;
  opacity: 0.5;
  animation: twinkle 8s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.3; }
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo .halo {
  color: var(--gold);
  font-size: 24px;
  display: inline-block;
  transform: rotate(-15deg);
  text-shadow: 0 0 10px rgba(255, 84, 28, 0.35);
}
.logo strong {
  color: var(--gold);
  font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, #0f5cbf 0%, #083f88 100%);
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
}
.nav-cta:hover { background: linear-gradient(135deg, #1470d9 0%, #0a4a9e 100%); }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(8, 63, 136, 0.35); }

/* ============ HERO ============ */
.hero {
  padding: 100px 0 120px;
  position: relative;
  text-align: center;
}
.hero-inner { max-width: 900px; margin: 0 auto; }
.badge {
  display: inline-block;
  background: rgba(245, 183, 84, 0.1);
  border: 1px solid var(--border-gold);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 6.5vw, 74px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: break-word;
}
.hero h1 .accent {
  color: var(--gold);
  display: inline;
}
.hero .sub {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 12px;
  line-height: 1.6;
}
.hero .sub strong { color: var(--text); font-weight: 700; }
.hero .sub-bold {
  font-size: 17px;
  color: var(--gold-bright);
  font-weight: 700;
  margin-bottom: 40px;
  margin-top: 16px;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f5cbf 0%, #083f88 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 18px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(8, 63, 136, 0.35);
  transition: all 0.2s;
  font-family: inherit;
  text-align: center;
  line-height: 1.25;
  min-height: 64px;
  white-space: nowrap;
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(8, 63, 136, 0.5);
  background: linear-gradient(135deg, #1470d9 0%, #0a4a9e 100%);
}
.cta-large { padding: 22px 44px; font-size: 18px; }
.cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a7fd9 0%, #0f5cbf 100%);
  color: #ffffff;
  border: none;
  padding: 18px 24px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s;
  font-family: inherit;
  text-align: center;
  line-height: 1.25;
  box-shadow: 0 12px 28px rgba(15, 92, 191, 0.32);
  min-height: 64px;
  white-space: nowrap;
}
.cta-secondary:hover {
  background: linear-gradient(135deg, #2691ea 0%, #1470d9 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 92, 191, 0.45);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stats > div { text-align: center; }
.hero-stats strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-stats span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ============ SECTION HEADERS ============ */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============ LEARN SECTION (Tokenization 101) ============ */
.learn-section { padding: 100px 0; }

.learn-block {
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
}
.learn-block:last-of-type { border-bottom: none; }

.learn-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 12px;
  background: var(--gold);
  border-radius: 100px;
}

.learn-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 28px;
  color: var(--text);
}

.learn-text { max-width: 760px; }
.learn-text p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}
.learn-text p strong, .learn-text strong { color: var(--text); font-weight: 700; }
.learn-text p em, .learn-text em { color: var(--gold-bright); font-style: italic; }

.learn-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
.learn-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}
.learn-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--gold);
  font-size: 14px;
}
.learn-list li strong { color: var(--text); }

/* Comparison Utility vs Security */
.learn-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
.compare-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
}
.compare-good { border-color: rgba(74, 222, 128, 0.4); }
.compare-warn { border-color: rgba(245, 183, 84, 0.3); }
.compare-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.compare-good .compare-tag { color: var(--success); }
.compare-warn .compare-tag { color: var(--gold-bright); }
.compare-col ul { list-style: none; padding: 0; }
.compare-col li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}
.compare-col li:last-child { border-bottom: none; }

/* Flow Grid (how it works for community) */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.flow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.2s;
}
.flow-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.flow-num {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}
.flow-card h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}
.flow-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Example Grid (real-world examples) */
.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.example-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  transition: border-color 0.2s;
}
.example-card:hover { border-color: var(--purple); }
.example-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--purple-bright);
  background: rgba(157, 78, 221, 0.15);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.example-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text);
}
.example-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.example-card p strong { color: var(--gold-bright); }

.learn-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-dim);
  font-style: italic;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.learn-note em { color: var(--text-muted); }

/* ANGL Benefits Grid */
.angl-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.angl-benefit {
  background: linear-gradient(135deg, rgba(245, 183, 84, 0.05) 0%, rgba(157, 78, 221, 0.05) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 24px 22px;
}
.angl-icon { font-size: 28px; margin-bottom: 12px; }
.angl-benefit strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}
.angl-benefit span {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Myth Grid */
.myth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.myth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
}
.myth-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #ef4444;
  margin-bottom: 8px;
}
.myth-label.myth-truth { color: var(--success); margin-top: 18px; }
.myth-claim {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.4;
}
.myth-reality {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

/* Learn CTA */
.learn-cta {
  text-align: center;
  padding: 56px 32px;
  background: linear-gradient(135deg, rgba(245, 183, 84, 0.08) 0%, rgba(157, 78, 221, 0.08) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  margin-top: 40px;
}
.learn-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text);
}
.learn-cta p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
}
.learn-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .learn-comparison { grid-template-columns: 1fr; }
  .learn-block { margin-bottom: 60px; padding-bottom: 60px; }
  .learn-cta { padding: 40px 24px; }
}

/* ============ VISION DECK SECTION ============ */
.vision-deck-section { padding: 100px 0; }
.deck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.deck-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.deck-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 50px rgba(245, 183, 84, 0.15);
}
.deck-card img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--border);
}
.deck-caption {
  padding: 20px 22px;
}
.deck-caption strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: 6px;
}
.deck-caption span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.deck-download {
  background: linear-gradient(135deg, rgba(245, 183, 84, 0.08) 0%, rgba(157, 78, 221, 0.08) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.download-icon {
  font-size: 52px;
  flex-shrink: 0;
}
.download-text { flex: 1; min-width: 240px; }
.download-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}
.download-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.deck-download .cta-primary {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .deck-download { padding: 28px 24px; flex-direction: column; text-align: center; }
  .download-text { text-align: center; }
}

/* ============ WHY SECTION ============ */
.why-section { padding: 100px 0; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.benefit-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 60px rgba(245, 183, 84, 0.1);
}
.benefit-num {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.benefit-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}
.benefit-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ============ WHO WE SERVE ============ */
.who-section { padding: 100px 0; background: linear-gradient(180deg, transparent 0%, rgba(157, 78, 221, 0.05) 50%, transparent 100%); }
.serve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.serve-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s;
}
.serve-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.serve-card-nonprofit {
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.05) 0%, var(--bg-card) 100%);
  border-color: rgba(74, 222, 128, 0.3);
}
.serve-card-nonprofit:hover { border-color: var(--success); }
.serve-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--success);
  color: var(--bg-deep);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.serve-icon { font-size: 42px; margin-bottom: 18px; }
.serve-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}
.serve-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.serve-highlight {
  color: var(--success);
  font-size: 14px;
  font-weight: 700;
}
.serve-examples {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
}

/* ============ PROCESS TIMELINE ============ */
.how-section { padding: 100px 0; }
.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--purple) 100%);
  opacity: 0.4;
}
.process-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}
.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--bg-deep);
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(245, 183, 84, 0.3);
  z-index: 1;
}
.process-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  flex: 1;
}
.process-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.process-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.process-time {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ============ DELIVERABLES ============ */
.deliverables-section { padding: 100px 0; }
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.deliverable {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.deliverable:hover { border-color: var(--gold); }
.del-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.deliverable strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}
.deliverable span {
  color: var(--text-muted);
  font-size: 13px;
}

/* ============ FOUNDATION ============ */
.foundation-section { padding: 100px 0; }
.foundation-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}
.foundation-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 183, 84, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.foundation-content { position: relative; z-index: 1; max-width: 800px; }
.foundation-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 40px;
}
.foundation-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}
.found-stat {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 8px;
}
.found-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.foundation-text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ============ APPLY ============ */
.apply-section { padding: 100px 0; }

.apply-tabs-helper {
  text-align: center;
  color: var(--gold-bright);
  font-size: 15px;
  margin-bottom: 18px;
  font-weight: 600;
}
.apply-tabs-helper strong { color: var(--text); font-weight: 800; }

.apply-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}
.apply-tab {
  background: var(--bg-card);
  border: 2px solid var(--border);
  padding: 24px 20px;
  border-radius: 16px;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.apply-tab::after {
  content: '→';
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 22px;
  opacity: 0.5;
  transition: all 0.2s;
}
.apply-tab:hover {
  transform: translateY(-3px);
  border-color: #0f5cbf;
  box-shadow: 0 16px 40px rgba(15, 92, 191, 0.22);
}
.apply-tab:hover::after {
  opacity: 1;
  transform: translateX(4px);
}
.apply-tab .tab-emoji {
  font-size: 36px;
  display: block;
  margin-bottom: 4px;
}
.apply-tab .tab-label {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}
.apply-tab .tab-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.apply-tab.active {
  background: linear-gradient(135deg, #0f5cbf 0%, #083f88 100%);
  border-color: #1470d9;
  box-shadow: 0 16px 40px rgba(15, 92, 191, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  padding-top: 32px;
}
.apply-tab.active .tab-label,
.apply-tab.active .tab-meta {
  color: #ffffff;
}
.apply-tab.active::before {
  content: '✓ SELECTED';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.apply-tab.active::after { display: none; }
.apply-tab.active .tab-meta {
  font-weight: 700;
  opacity: 0.85;
}

.free-tag {
  background: var(--success);
  color: var(--bg-deep);
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

@media (max-width: 480px) {
  .apply-tabs { grid-template-columns: 1fr; gap: 12px; }
  .apply-tab { padding: 20px 16px; }
  .apply-tab .tab-emoji { font-size: 32px; }
}

.apply-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
}
.apply-form-header {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.apply-form-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 10px;
}
.apply-form-header p {
  color: var(--text-muted);
  font-size: 15px;
}
.apply-form-header p strong { color: var(--success); }
.nonprofit-badge {
  display: inline-block;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: var(--success);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-deep);
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 80px; }
.form-field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f5b754' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-field select option { background: var(--bg-deep); color: var(--text); }

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--bg-deep);
  border: none;
  padding: 18px 24px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
  margin-top: 12px;
  transition: transform 0.15s;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(245, 183, 84, 0.3); }
.form-submit-nonprofit {
  background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%);
  color: var(--bg-deep);
}
.form-disclaimer {
  text-align: center;
  margin-top: 16px;
  color: var(--text-dim);
}
.form-disclaimer small { font-size: 12px; }

/* ============ FAQ ============ */
.faq-section { padding: 100px 0; }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  padding: 24px 28px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 56px;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 28px 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item p strong { color: var(--text); }

/* ============ VISION CTA ============ */
.vision-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vision-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245, 183, 84, 0.1) 0%, transparent 70%);
}
.vision-section > .container { position: relative; z-index: 1; }
.vision-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.vision-section p {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* ============ FOOTER ============ */
footer {
  background: var(--bg-cosmic);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-logo {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-logo .halo { color: var(--gold-bright); font-size: 24px; transform: rotate(-15deg); display: inline-block; }
.footer-logo strong { color: var(--gold-bright); font-weight: 900; }
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.footer-links h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 32px;
}
.footer-legal p { color: var(--text-dim); font-size: 12px; line-height: 1.6; }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 19, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  padding: 48px 32px 32px;
  text-align: center;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-icon { font-size: 64px; margin-bottom: 20px; }
.modal-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 12px;
}
.modal-card p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.6;
}
.modal-submit {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--bg-deep);
  border: none;
  padding: 14px 36px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s;
}
.modal-submit:hover { transform: translateY(-2px); }

/* ============ MOBILE ============ */
@media (max-width: 768px) {
  html, body { overflow-x: hidden !important; max-width: 100vw !important; width: 100vw !important; }
  * { max-width: 100vw; }
  .container { padding: 0 16px; max-width: 100%; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-inner { padding: 12px 16px; }
  .logo { font-size: 16px; gap: 6px; }
  .logo .halo { font-size: 20px; }
  .hero { padding: 32px 0 50px; }
  .hero-inner { max-width: 100%; padding: 0; }
  .hero h1 {
    font-size: 30px !important;
    line-height: 1.1;
    letter-spacing: -0.01em;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .hero .sub { font-size: 15px; line-height: 1.5; }
  .hero .sub-bold { font-size: 15px; }
  .badge { font-size: 11px; padding: 7px 12px; letter-spacing: 0.5px; }
  .hero-stats { gap: 16px 24px; padding-top: 24px; flex-wrap: wrap; justify-content: center; text-align: center; }
  .hero-stats > div { flex: 0 1 auto; }
  .hero-stats strong { font-size: 24px; }
  .hero-stats span { font-size: 11px; }
  .hero-ctas { flex-direction: column; gap: 12px; align-items: stretch; }
  .cta-primary, .cta-secondary { width: 100%; text-align: center; padding: 14px 18px; font-size: 15px; }
  .why-section, .who-section, .how-section, .deliverables-section,
  .foundation-section, .apply-section, .faq-section, .vision-section { padding: 60px 0; }
  .foundation-card { padding: 40px 28px; }
  .foundation-stats { gap: 24px; }
  .found-stat { font-size: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .apply-form-card { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .apply-tab { font-size: 13px; padding: 12px 14px; }
  .process-timeline::before { left: 20px; }
  .process-num { width: 44px; height: 44px; font-size: 18px; }
  .process-content { padding: 20px 22px; }
}

/* ============ CHAT WIDGET ============ */
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--purple-bright) 100%);
  border: 2px solid rgba(255, 217, 137, 0.6);
  color: var(--bg-deep);
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(157, 78, 221, 0.45), 0 0 30px rgba(245, 183, 84, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}
.chat-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 38px rgba(157, 78, 221, 0.55), 0 0 40px rgba(245, 183, 84, 0.5);
}
.chat-fab .chat-fab-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(245, 183, 84, 0.5);
  animation: chatPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes chatPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.chat-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 9999;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 140px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(157, 78, 221, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: inherit;
  animation: chatPanelIn 0.25s ease-out;
}
.chat-panel.open { display: flex; }
@keyframes chatPanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-header {
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.25) 0%, rgba(245, 183, 84, 0.15) 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-header .chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--purple-bright) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.chat-header .chat-title {
  flex: 1;
  min-width: 0;
}
.chat-header h4 {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}
.chat-header .chat-status {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.chat-header .chat-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}
.chat-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
}
.chat-close:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-deep);
  scrollbar-width: thin;
  scrollbar-color: var(--purple-deep) transparent;
}
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--purple-deep); border-radius: 3px; }

.chat-msg {
  max-width: 85%;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
  word-wrap: break-word;
  text-align: center;
}
.chat-msg > *:first-child { margin-top: 0; }
.chat-msg > *:last-child { margin-bottom: 0; }
.chat-msg.bot {
  align-self: flex-start;
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 100%);
  color: white;
  border-bottom-right-radius: 4px;
}
.chat-msg strong { color: var(--gold-bright); font-weight: 700; }
.chat-msg.user strong { color: var(--gold-bright); }
.chat-msg a {
  color: var(--gold-bright);
  text-decoration: underline;
}
.chat-msg ul { margin: 6px 0 4px 18px; padding: 0; }
.chat-msg li { margin-bottom: 2px; }
.chat-msg p { margin: 0 0 6px 0; }
.chat-msg p:last-child { margin-bottom: 0; }

.chat-typing {
  align-self: flex-start;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  display: flex;
  gap: 4px;
}
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: chatDot 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatDot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.1); }
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.chat-suggestion {
  font-size: 12px;
  background: rgba(157, 78, 221, 0.12);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 7px 12px;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, transform 0.15s;
}
.chat-suggestion:hover {
  background: rgba(157, 78, 221, 0.28);
  transform: translateY(-1px);
}

.chat-input-row {
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.chat-input {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: none;
  max-height: 120px;
  min-height: 40px;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.15s;
}
.chat-input:focus { border-color: var(--gold); }
.chat-send {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  border: none;
  color: var(--bg-deep);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, opacity 0.15s;
  flex-shrink: 0;
}
.chat-send:hover { transform: translateY(-1px); }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.chat-footer-note {
  padding: 6px 14px 10px;
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  background: var(--bg-card);
}

@media (max-width: 480px) {
  .chat-panel {
    bottom: 88px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    height: calc(100vh - 120px);
  }
  .chat-fab { bottom: 16px; right: 16px; width: 56px; height: 56px; font-size: 24px; }
}

/* ============ HERO CHAT CTA ============ */
.nav-chat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-bright) !important;
  font-weight: 700;
  padding: 6px 14px;
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  background: rgba(245, 183, 84, 0.08);
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
  text-decoration: none;
}
.nav-chat:hover {
  background: rgba(245, 183, 84, 0.18);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.cta-chat-hero {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 22px 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.18) 0%, rgba(245, 183, 84, 0.12) 100%);
  border: 1px solid var(--border-gold);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.15s;
  text-align: left;
  box-shadow: 0 6px 20px rgba(157, 78, 221, 0.18);
  max-width: 520px;
}
.cta-chat-hero:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(157, 78, 221, 0.32), 0 0 24px rgba(245, 183, 84, 0.25);
}
.cta-chat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--purple-bright) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.cta-chat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.cta-chat-text strong {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.cta-chat-text small {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}
.cta-chat-arrow {
  color: var(--gold-bright);
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.15s;
}
.cta-chat-hero:hover .cta-chat-arrow { transform: translateX(4px); }

@media (max-width: 640px) {
  .cta-chat-hero {
    width: 100%;
    padding: 14px;
    gap: 12px;
  }
  .cta-chat-text strong { font-size: 14px; }
  .cta-chat-text small { font-size: 12px; }
  .nav-chat { display: none; } /* keep nav compact on mobile */
}

/* ==========================================
   INLINE CHAT PANEL — lives inside the hero
   ========================================== */
.chat-panel.chat-panel-inline {
  position: relative;
  bottom: auto;
  right: auto;
  width: 100%;
  max-width: 620px;
  margin: 28px auto 8px;
  height: auto;
  max-height: none;
  display: flex;
  box-shadow: 0 20px 50px rgba(255, 84, 28, 0.18), 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: 22px;
  animation: none;
}
.chat-panel.chat-panel-inline .chat-body {
  min-height: 260px;
  max-height: 380px;
}
.chat-panel.chat-panel-inline .chat-header {
  border-radius: 22px 22px 0 0;
}
@media (max-width: 720px) {
  .chat-panel.chat-panel-inline {
    margin: 20px 0 4px;
    border-radius: 18px;
  }
  .chat-panel.chat-panel-inline .chat-header { border-radius: 18px 18px 0 0; }
  .chat-panel.chat-panel-inline .chat-body {
    min-height: 220px;
    max-height: 320px;
  }
}

/* ==========================================
   ANGELAI CHAT SKIN — matches AngelAi.com app UI
   ========================================== */
.chat-angelai {
  border-radius: 24px !important;
  overflow: hidden;
  border: none !important;
  box-shadow: 0 20px 50px rgba(255, 84, 28, 0.22), 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  background: #fff8f2 !important;
}

/* ---- Header ---- */
.chat-header-angelai {
  background: #ff541c !important;
  padding: 10px 12px !important;
  gap: 8px !important;
  border: none !important;
  align-items: center;
}
.chat-hdr-bell {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-hdr-brand {
  flex: 0 0 auto;
  padding: 0 6px;
}
.chat-hdr-title {
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.2px;
}
.chat-hdr-consent {
  flex: 1;
  background: #fff;
  border: none;
  color: #ff541c;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  max-width: 180px;
}
.chat-hdr-consent-icon { font-size: 14px; }
.chat-hdr-points {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe08a, #f5b754 60%, #c98b2a);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.chat-hdr-coin { font-size: 18px; }

/* ---- Body ---- */
.chat-body-angelai {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 84, 28, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 152, 218, 0.04) 0%, transparent 40%),
    #fdf6ee !important;
  gap: 16px !important;
  padding: 20px 16px !important;
}

/* ---- Message groups (sender label + bubble) ---- */
.chat-msg-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 92%;
}
.chat-msg-group.bot { align-self: flex-start; }
.chat-msg-group.user { align-self: flex-end; align-items: flex-end; }
.chat-msg-sender {
  font-size: 13px;
  font-weight: 700;
  color: #ff541c;
  padding-left: 4px;
  letter-spacing: 0.1px;
}

/* ---- Message bubbles ---- */
.chat-body-angelai .chat-msg {
  max-width: 100%;
  border-radius: 14px !important;
  padding: 14px 16px 30px !important;
  text-align: left !important;
  line-height: 1.5;
  font-size: 14.5px;
  position: relative;
  border: none !important;
}
.chat-body-angelai .chat-msg.bot {
  background: #ffdcbd !important;
  color: #1a1a1a !important;
  border-bottom-left-radius: 4px !important;
}
.chat-body-angelai .chat-msg.user {
  background: linear-gradient(135deg, #ff8a3c, #ff541c) !important;
  color: #fff !important;
  border-bottom-right-radius: 4px !important;
}
.chat-body-angelai .chat-msg-content { text-align: left; }
.chat-body-angelai .chat-msg strong {
  color: #d43800 !important;
  font-weight: 800;
}
.chat-body-angelai .chat-msg.user strong { color: #fff !important; }

.chat-msg-meta {
  position: absolute;
  bottom: 6px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(26, 26, 26, 0.55);
  pointer-events: none;
}
.chat-body-angelai .chat-msg.user .chat-msg-meta {
  color: rgba(255, 255, 255, 0.85);
  justify-content: flex-end;
}
.chat-msg-shield { font-size: 13px; }
.chat-msg-time { font-weight: 600; }

/* ---- Suggestion chips ---- */
.chat-body-angelai .chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 4px;
}
.chat-body-angelai .chat-suggestion {
  background: #fff;
  border: 1.5px solid #ffb894;
  color: #ff541c;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.chat-body-angelai .chat-suggestion:hover {
  background: #ff541c;
  color: #fff;
  border-color: #ff541c;
}

/* ---- Input row ---- */
.chat-input-row-angelai {
  background: #fff;
  padding: 10px 12px !important;
  border-top: 1px solid #ffe0cc !important;
  gap: 8px !important;
  align-items: center;
}
.chat-input-apps {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  padding: 4px 8px;
  flex-shrink: 0;
}
.chat-apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 22px;
  height: 22px;
}
.chat-apps-grid i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.chat-apps-grid i:nth-child(1) { background: #ff541c; }
.chat-apps-grid i:nth-child(2) { background: #0098da; }
.chat-apps-grid i:nth-child(3) { background: #22c55e; }
.chat-apps-grid i:nth-child(4) { background: #a855f7; }
.chat-apps-grid i:nth-child(5) { background: #ff541c; }
.chat-apps-grid i:nth-child(6) { background: #0098da; }
.chat-apps-grid i:nth-child(7) { background: #22c55e; }
.chat-apps-grid i:nth-child(8) { background: #a855f7; }
.chat-apps-grid i:nth-child(9) { background: #ff541c; }
.chat-apps-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #ff541c;
}
.chat-input-wrap {
  flex: 1;
  background: #fff5ec;
  border: 1.5px solid #ffb894;
  border-radius: 22px;
  padding: 4px 4px 4px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-input-row-angelai .chat-input {
  background: transparent !important;
  border: none !important;
  color: #1a1a1a !important;
  font-size: 15px !important;
  padding: 8px 0 !important;
  flex: 1;
  min-height: 24px;
  resize: none;
  outline: none;
}
.chat-input-row-angelai .chat-input::placeholder {
  color: #b8998a;
}
.chat-input-plus {
  background: #fff;
  border: 1.5px solid #ff541c;
  color: #ff541c;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.chat-input-plus:hover { background: #ff541c; color: #fff; }
.chat-input-mic {
  background: #d0d0d0;
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- Footer note ---- */
.chat-angelai .chat-footer-note {
  background: #fff;
  color: #7a7a7a;
  padding: 8px 12px;
  font-size: 11px;
  text-align: center;
  border-top: 1px solid #ffe0cc;
}

/* Mobile tweaks */
@media (max-width: 720px) {
  .chat-hdr-consent { max-width: 140px; padding: 8px 10px; font-size: 12px; }
  .chat-hdr-bell, .chat-hdr-points { width: 38px; height: 38px; }
  .chat-hdr-title { font-size: 16px; }
  .chat-input-mic { width: 40px; height: 40px; }
  .chat-body-angelai .chat-msg { font-size: 14px; }
}

/* ---- Mrs. Angel avatar-style header ---- */
.chat-hdr-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.chat-hdr-brand-wide {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 4px;
  min-width: 0;
}
.chat-hdr-brand-wide .chat-hdr-title {
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.2px;
  line-height: 1.1;
}
.chat-hdr-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1px;
  line-height: 1.2;
}
.chat-hdr-online {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px #fff, 0 0 8px rgba(34, 197, 94, 0.6);
  flex-shrink: 0;
  margin-right: 6px;
}

@media (max-width: 720px) {
  .chat-hdr-avatar-img { width: 44px; height: 44px; }
  .chat-hdr-brand-wide .chat-hdr-title { font-size: 15.5px; }
  .chat-hdr-subtitle { font-size: 11.5px; }
}
