/* =============================================================
   GLO × VERSANTUS AI GUIDE — V2 Additions Stylesheet
   Extends style.css with new brand tokens, sections, and
   co-branded design elements.
   ============================================================= */

/* ===================== V2 DESIGN TOKENS ===================== */
:root {
  /* Versantus brand */
  --versantus-raspberry: #F0146E;
  --versantus-amethyst:  #A445B2;
  --versantus-gradient:  linear-gradient(45deg, #A445B2, #F0146E);
  --versantus-gradient-wash: linear-gradient(45deg, rgba(164,69,178,0.10), rgba(240,20,110,0.10));

  /* Versantus typography */
  --font-versantus: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* ===================== VERSANTUS TEXT MARK ===================== */
.versantus-mark {
  font-family: var(--font-versantus);
  font-weight: 700;
  background: var(--versantus-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.01em;
}

/* ===================== NAV CO-BRAND ===================== */
.nav__cobrand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.nav__cobrand .nav__logo {
  /* inherits existing nav__logo styles */
}

.nav__cobrand-sep {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1;
  user-select: none;
}

.nav__versantus-wordmark {
  font-family: var(--font-versantus);
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--versantus-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
}

/* ===================== HERO V2 ===================== */
.hero__badge-logos {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero__badge-logos img {
  height: 20px;
  width: auto;
  display: block;
}

.hero__badge-sep {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 300;
}

.hero__badge-versantus {
  font-family: var(--font-versantus);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--versantus-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.hero__updated {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  color: var(--text-light);
}

.hero__updated-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
}

.hero__audio-teaser {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.35rem var(--space-4);
  font-size: 0.75rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  opacity: 0.65;
  cursor: default;
  user-select: none;
}

.hero__audio-teaser svg {
  width: 13px;
  height: 13px;
  color: var(--pink);
  flex-shrink: 0;
}

/* ===================== HERO AUDIO PLAYER ===================== */
.hero__audio {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.hero__audio-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero__audio-label svg {
  width: 14px;
  height: 14px;
  color: var(--pink);
  flex-shrink: 0;
}

.hero__audio-player {
  width: 100%;
  max-width: 480px;
  height: 40px;
  border-radius: var(--radius-full);
  accent-color: var(--pink);
}

@media (max-width: 480px) {
  .hero__audio-player {
    max-width: 100%;
  }
}

/* ===================== START HERE SECTION ===================== */
.section--start-here {
  background: white;
  padding: var(--space-20) 0;
  position: relative;
}

.section--start-here::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--versantus-gradient);
}

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

.intent-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}

.intent-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--versantus-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.intent-card:hover {
  border-color: rgba(70, 50, 122, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: inherit;
}

.intent-card:hover::after {
  transform: scaleX(1);
}

.intent-card__icon {
  font-size: 1.6rem;
  line-height: 1;
  display: block;
}

.intent-card__label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1.3;
}

.intent-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.intent-card__arrow {
  display: flex;
  align-items: center;
  color: var(--text-light);
  transition: color var(--ease), transform var(--ease);
  margin-top: auto;
  padding-top: var(--space-2);
}

.intent-card:hover .intent-card__arrow {
  color: var(--indigo);
  transform: translateX(4px);
}

.intent-card__arrow svg {
  width: 16px;
  height: 16px;
}

/* ===================== RECOMMENDATIONS SECTION ===================== */
.section--recommendations {
  background: var(--lavender-soft);
  padding: var(--space-20) 0;
}

.rec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.rec-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.rec-card__use-case {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1.4;
}

.rec-tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
}

.rec-tool-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--lavender-soft);
  color: var(--indigo);
  border: 1px solid var(--lavender-mid);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.rec-disclaimer {
  text-align: center;
  font-size: 0.77rem;
  color: var(--text-light);
  font-style: italic;
}

/* ===================== SECTION VIDEO ===================== */
.section-video {
  margin-bottom: var(--space-12);
}

.section-video__embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--indigo-dark);
}

.section-video__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ===================== LOCAL AI SECTION ===================== */
.section--local-ai {
  background: var(--bg-indigo-dark);
  color: white;
  padding: var(--space-20) 0;
}

.local-ai-panel {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-16);
  align-items: start;
}

.local-ai__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.local-ai__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(203, 182, 255, 0.12);
  border: 1px solid rgba(203, 182, 255, 0.22);
  border-radius: var(--radius-full);
  padding: 0.3rem var(--space-4);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lavender);
  width: fit-content;
}

.local-ai__title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: white;
  line-height: 1.25;
  margin-bottom: 0;
}

.local-ai__body {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
}

.local-ai__cta {
  font-size: 0.88rem;
  color: var(--lavender);
  line-height: 1.65;
  border-left: 3px solid rgba(203, 182, 255, 0.35);
  padding-left: var(--space-5);
  font-style: italic;
}

.local-ai__right {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.local-ai-fact {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
}

.local-ai-fact__label {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--lavender);
  margin-bottom: var(--space-2);
}

.local-ai-fact__content {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.local-ai-fact__content strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

/* ===================== FOOTER V2 ===================== */
.footer__gradient-bar {
  display: block;
  height: 3px;
  background: var(--versantus-gradient);
}

.footer__logos {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  justify-content: center;
}

.footer__logos-sep {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 200;
}

.footer__versantus-mark {
  font-family: var(--font-versantus);
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: -0.01em;
  line-height: 1;
}

/* Footer partner descriptions */
.footer__partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-8);
}

.footer__partner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__partner-logo--glo {
  opacity: 0.75;
  filter: brightness(0) invert(1);
}

.footer__partner-logo--versantus {
  opacity: 0.8;
}

.footer__partner-desc {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin: 0;
}

.footer__partner-cta {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.footer__partner-cta:hover {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* ===================== CLOSING V2 ===================== */
.closing__coming-soon {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.6rem var(--space-5);
  border-radius: var(--radius-full);
  background: var(--lavender-soft);
  border: 1px solid var(--lavender-mid);
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: default;
  opacity: 0.72;
  user-select: none;
}

.closing__coming-soon svg {
  width: 13px;
  height: 13px;
  color: var(--indigo);
  flex-shrink: 0;
}

/* ===================== RESPONSIVE V2 ===================== */
@media (max-width: 1024px) {
  .intent-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .intent-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .local-ai-panel {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__partners {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .nav__versantus-wordmark,
  .nav__cobrand-sep {
    display: none;
  }
}

@media (max-width: 480px) {
  .intent-grid {
    grid-template-columns: 1fr;
  }

  .rec-grid {
    grid-template-columns: 1fr;
  }

  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}
