/* ====================================================
   TRUSTED AI PAGE - Page-specific styles
   Harshwal Advisory LLC
   ==================================================== */

/* CSS Variables - aligning with Harshwal brand */
.trustai-scope {
  --tai-blue: #1F4E8C;
  --tai-blue-dark: #163A6B;
  --tai-blue-deep: #0E2747;
  --tai-blue-light: #E8EEF5;
  --tai-blue-soft: #F5F7FA;
  --tai-gold: #C9A96E;
  --tai-ink: #1A1A1A;
  --tai-ink-soft: #4A4A4A;
  --tai-ink-muted: #6B6B6B;
  --tai-line: #D9DDE3;
  --tai-line-soft: #EEF1F5;
}

/* ============= HERO ============= */
.tai-hero {
  position: relative;
  background:
    radial-gradient(circle at 80% 20%, rgba(31, 78, 140, 0.18), transparent 50%),
    linear-gradient(135deg, #0E2747 0%, #1F4E8C 60%, #163A6B 100%);
  color: #fff;
  padding: 90px 0 100px;
  overflow: hidden;
}
.tai-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.tai-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.tai-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 24px;
}
.tai-hero-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: #C9A96E;
}
.tai-hero h1 {
  font-family: 'Georgia', 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  color: #fff;
}
.tai-hero h1 em { color: #C9A96E; font-style: italic; }
.tai-hero p.tai-lede {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 580px;
}
.tai-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.tai-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  border-radius: 2px;
  text-decoration: none !important;
}
.tai-btn-primary {
  background: #C9A96E;
  color: #0E2747;
}
.tai-btn-primary:hover { background: #DBC084; transform: translateY(-2px); color: #0E2747; }
.tai-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.tai-btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; color: #fff; }
.tai-btn-solid {
  background: #1F4E8C;
  color: #fff;
}
.tai-btn-solid:hover { background: #163A6B; color: #fff; transform: translateY(-2px); }
.tai-btn-outline {
  background: transparent;
  color: #1F4E8C;
  border: 1.5px solid #1F4E8C;
}
.tai-btn-outline:hover { background: #1F4E8C; color: #fff; }
.tai-btn .tai-arrow { transition: transform .25s ease; }
.tai-btn:hover .tai-arrow { transform: translateX(4px); }

.tai-hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  justify-self: end;
}
.tai-hero-visual svg { width: 100%; height: 100%; }

/* ============= VALUE STRIP ============= */
.tai-value-strip {
  background: #F5F7FA;
  padding: 50px 0;
  border-bottom: 1px solid #EEF1F5;
}
.tai-value-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.tai-value-item .tai-num {
  font-family: 'Georgia', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: #1F4E8C;
  line-height: 1;
  margin-bottom: 8px;
}
.tai-value-item .tai-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #6B6B6B;
  font-weight: 600;
}

/* ============= COMMON SECTION ============= */
.tai-section { padding: 90px 0; }
.tai-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.tai-section-header { margin-bottom: 56px; max-width: 760px; }
.tai-section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #1F4E8C;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #C9A96E;
}
.tai-section-title {
  font-family: 'Georgia', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.18;
  color: #0E2747;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}
.tai-section-title em { color: #1F4E8C; font-style: italic; }
.tai-section-lede {
  font-size: 1.1rem;
  color: #4A4A4A;
  line-height: 1.7;
}

/* ============= SERVICES GRID ============= */
.tai-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tai-service-card {
  padding: 36px 32px;
  border: 1px solid #D9DDE3;
  background: #fff;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.tai-service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: #1F4E8C;
  transition: width .3s ease;
}
.tai-service-card:hover {
  border-color: #1F4E8C;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(31,78,140,0.25);
}
.tai-service-card:hover::before { width: 100%; }
.tai-service-icon {
  width: 48px; height: 48px;
  color: #1F4E8C;
  margin-bottom: 22px;
}
.tai-service-card h3 {
  font-family: 'Georgia', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #0E2747;
  margin-bottom: 12px;
  line-height: 1.3;
}
.tai-service-card p {
  color: #4A4A4A;
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ============= TRUST FRAMEWORK FEATURE ============= */
.tai-framework {
  background: linear-gradient(180deg, #F5F7FA 0%, #fff 100%);
}
.tai-framework-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #1F4E8C;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 20px;
}
.tai-framework-badge::before { content: "★"; color: #C9A96E; }
.tai-framework-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.tai-framework-content h2 {
  font-family: 'Georgia', serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  font-weight: 600;
  color: #0E2747;
  margin-bottom: 22px;
  letter-spacing: -0.4px;
}
.tai-framework-content h2 sup {
  font-size: 0.45em;
  color: #1F4E8C;
  margin-left: 4px;
  font-weight: 500;
}
.tai-framework-content > p {
  font-size: 1.05rem;
  color: #4A4A4A;
  margin-bottom: 20px;
  line-height: 1.7;
}
.tai-framework-standards {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 26px 0 32px;
}
.tai-std-chip {
  display: inline-block;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid #1F4E8C;
  color: #1F4E8C;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.tai-framework-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* The 4-step visual */
.tai-framework-steps {
  background: #fff;
  border: 1px solid #D9DDE3;
  padding: 36px 32px;
  box-shadow: 0 30px 60px -30px rgba(31,78,140,0.18);
  position: relative;
}
.tai-framework-steps::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 4px;
  background: linear-gradient(90deg, #1F4E8C, #C9A96E);
}
.tai-steps-title {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0E2747;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #EEF1F5;
}
.tai-step-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #EEF1F5;
}
.tai-step-item:last-child { border-bottom: none; padding-bottom: 0; }
.tai-step-num {
  width: 40px; height: 40px;
  border: 2px solid #1F4E8C;
  color: #1F4E8C;
  font-family: 'Georgia', serif;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.tai-step-name {
  font-weight: 600;
  color: #0E2747;
  font-size: 1rem;
  margin-bottom: 4px;
}
.tai-step-desc {
  font-size: 0.9rem;
  color: #6B6B6B;
  line-height: 1.55;
}

/* ============= AUDIENCE ============= */
.tai-audience {
  background: #0E2747;
  color: #fff;
}
.tai-audience .tai-section-eyebrow {
  color: #C9A96E;
  border-color: #C9A96E;
}
.tai-audience .tai-section-title { color: #fff; }
.tai-audience .tai-section-title em { color: #C9A96E; }
.tai-audience .tai-section-lede { color: rgba(255,255,255,0.78); }
.tai-audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.tai-aud-item {
  padding: 30px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background .25s ease;
}
.tai-aud-item:last-child { border-right: none; }
.tai-aud-item:hover { background: rgba(255,255,255,0.04); }
.tai-aud-num {
  font-family: 'Georgia', serif;
  font-size: 0.85rem;
  color: #C9A96E;
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-weight: 500;
}
.tai-aud-name {
  font-family: 'Georgia', serif;
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
  color: #fff;
}
.tai-aud-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
}

/* ============= ENGAGEMENT MODELS ============= */
.tai-engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tai-engage-card {
  padding: 38px 30px 34px;
  border: 1px solid #D9DDE3;
  background: #fff;
  position: relative;
  transition: all .3s ease;
}
.tai-engage-card.tai-featured {
  border-color: #1F4E8C;
  border-width: 2px;
  transform: scale(1.02);
  box-shadow: 0 30px 60px -30px rgba(31,78,140,0.3);
}
.tai-engage-card.tai-featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px; left: 30px;
  background: #C9A96E;
  color: #0E2747;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.tai-engage-tier {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1F4E8C;
  margin-bottom: 14px;
}
.tai-engage-price {
  font-family: 'Georgia', serif;
  font-size: 2.3rem;
  font-weight: 600;
  color: #0E2747;
  line-height: 1;
  margin-bottom: 6px;
}
.tai-engage-price .tai-currency { font-size: 1.2rem; vertical-align: super; }
.tai-engage-period {
  color: #6B6B6B;
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.tai-engage-desc {
  color: #4A4A4A;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid #EEF1F5;
  font-size: 0.95rem;
}
.tai-engage-list { list-style: none; margin-bottom: 26px; padding: 0; }
.tai-engage-list li {
  padding: 7px 0 7px 26px;
  position: relative;
  color: #4A4A4A;
  font-size: 0.93rem;
}
.tai-engage-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1F4E8C;
  font-weight: 700;
}

/* ============= CTA BANNER ============= */
.tai-cta-banner {
  background: linear-gradient(135deg, #1F4E8C 0%, #163A6B 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tai-cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(201, 169, 110, 0.15), transparent 40%),
    radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
}
.tai-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}
.tai-cta-inner h2 {
  font-family: 'Georgia', serif;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.2;
  color: #fff;
}
.tai-cta-inner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.08rem;
  margin-bottom: 30px;
}

/* ============= FAQ ============= */
.tai-faq-list { max-width: 820px; margin: 0 auto; }
.tai-faq-item { border-bottom: 1px solid #D9DDE3; }
.tai-faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0E2747;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color .2s ease;
}
.tai-faq-q:hover { color: #1F4E8C; }
.tai-faq-q .tai-plus {
  font-size: 1.4rem;
  color: #1F4E8C;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.tai-faq-item.tai-open .tai-plus { transform: rotate(45deg); }
.tai-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: #4A4A4A;
  line-height: 1.7;
}
.tai-faq-item.tai-open .tai-faq-a {
  max-height: 400px;
  padding: 0 0 24px;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 980px) {
  .tai-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .tai-hero-visual { max-width: 320px; justify-self: start; }
  .tai-value-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .tai-services-grid { grid-template-columns: 1fr; }
  .tai-framework-grid { grid-template-columns: 1fr; gap: 48px; }
  .tai-audience-grid { grid-template-columns: repeat(2, 1fr); }
  .tai-aud-item { border-right: 1px solid rgba(255,255,255,0.12); }
  .tai-aud-item:nth-child(2n) { border-right: none; }
  .tai-engage-grid { grid-template-columns: 1fr; }
  .tai-engage-card.tai-featured { transform: none; }
}
@media (max-width: 560px) {
  .tai-section { padding: 60px 0; }
  .tai-container, .tai-hero-inner, .tai-value-grid { padding-left: 22px; padding-right: 22px; }
  .tai-hero { padding: 60px 0 70px; }
  .tai-value-grid { grid-template-columns: 1fr; }
  .tai-audience-grid { grid-template-columns: 1fr; }
  .tai-aud-item { border-right: none; }
  .tai-framework-steps { padding: 26px 22px; }
}

/* ============= TRADEMARK NOTICE ============= */
.tai-trademark-notice {
  margin-top: 28px;
  padding: 14px 18px;
  background: #FAFBFC;
  border-left: 3px solid #C9A96E;
  font-size: 0.85rem;
  color: #6B6B6B;
  line-height: 1.55;
  border-radius: 2px;
}
.tai-trademark-notice em {
  font-style: italic;
}
