:root {
  --ais-primary: #4f46e5;
  --ais-primary-dark: #2f116f;
  --ais-emerald: #059669;
  --ais-amber: #d97706;
  --ais-rose: #e11d48;
  --ais-bg: #f8fafc;
  --ais-card-bg: #ffffff;
  --ais-border: #e2e8f0;
  --ais-text-main: #0f172a;
  --ais-text-muted: #64748b;
}

body {
  background-color: var(--ais-bg) !important;
  font-family: "Celias", "Inter", system-ui, -apple-system, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ais-hero-title,
.ais-section-title,
.ais-cta-box h2,
.ais-cta-box h3 {
  font-family: "Celias", "Inter", system-ui, sans-serif !important;
}

/* Hero Section */
.ais-hero-section {
  background: linear-gradient(135deg, #180838 0%, #2f116f 40%, #4b1fad 80%, #6366f1 100%);
  color: #ffffff;
  padding: 4.5rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ais-hero-section::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.ais-hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}

.ais-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.ais-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
}
.ais-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: none;
}

.ais-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e0e7ff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.ais-hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.ais-hero-title span {
  background: linear-gradient(135deg, #38bdf8 0%, #a855f7 50%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ais-hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #e2e8f0;
  font-weight: 300;
  line-height: 1.65;
  max-width: 780px;
  margin: 0 auto 2rem;
}

/* Main Container */
.ais-main-container {
  max-width: 1140px;
  margin: -2.5rem auto 4rem;
  padding: 0 1.25rem;
  position: relative;
  z-index: 10;
}

/* Golden Rules 3-Grid */
.ais-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 860px) {
  .ais-rules-grid { grid-template-columns: 1fr; }
}

.ais-rule-card {
  background: #ffffff;
  border: 1px solid var(--ais-border);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ais-rule-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.ais-rule-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.ais-rule-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ais-text-main);
  margin-bottom: 8px;
}

.ais-rule-card p {
  font-size: 0.95rem;
  color: var(--ais-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Content Card */
.ais-card {
  background: #ffffff;
  border: 1px solid var(--ais-border);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.ais-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 6px;
  background: #e0e7ff;
  color: #4338ca;
  margin-bottom: 10px;
}

.ais-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ais-text-main);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.ais-section-desc {
  font-size: 1.05rem;
  color: var(--ais-text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* Step by Step Timeline */
.ais-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 1rem;
  position: relative;
}

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

@media (max-width: 580px) {
  .ais-pipeline { grid-template-columns: 1fr; }
}

.ais-step-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.ais-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #4f46e5;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.ais-step-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ais-text-main);
  margin-bottom: 6px;
}

.ais-step-box p {
  font-size: 0.88rem;
  color: var(--ais-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Comparison Matrix Table */
.ais-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--ais-border);
  border-radius: 16px;
  margin-top: 1.5rem;
}

.ais-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ais-table th {
  background: #f8fafc;
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  color: var(--ais-text-main);
  border-bottom: 1px solid var(--ais-border);
}

.ais-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
  color: #334155;
}

.ais-table tr:last-child td {
  border-bottom: none;
}

.ais-table .col-indigo {
  background: #f5f3ff;
  font-weight: 600;
  color: #4338ca;
}

/* FAQ Accordion */
.ais-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ais-faq-card {
  border: 1px solid var(--ais-border);
  border-radius: 12px;
  overflow: hidden;
}

.ais-faq-header {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ais-text-main);
  user-select: none;
  background: #ffffff;
}

.ais-faq-header:hover {
  background: #f8fafc;
}

.ais-faq-body {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
}

/* Related Trust Grid */
.ais-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.ais-related-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--ais-text-main);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ais-related-card:hover {
  background: #ffffff;
  border-color: #6366f1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
  text-decoration: none;
  color: #4338ca;
}

/* Bottom CTA */
.ais-cta-box {
  background: linear-gradient(135deg, #2f116f 0%, #4b1fad 50%, #6366f1 100%);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  color: #ffffff;
  margin-top: 3.5rem;
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}

.ais-cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.ais-cta-box p {
  font-size: 1.1rem;
  color: #e0e7ff;
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  font-weight: 300;
}

.ais-btn-primary {
  background: #ffffff;
  color: #2f116f;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.ais-btn-primary:hover {
  background: #f8fafc;
  color: #1e084d;
  transform: translateY(-2px);
  text-decoration: none;
}
