/**
 * AI Automation landing page styles — MogulMint dark-gold brand.
 * Extends theme.css variables: --bg, --bg-card, --fg, --fg-muted,
 * --gold, --gold-light, --gold-dim, --border, --border-gold, --radius,
 * --font-display, --font-body.
 */

.ai-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.ai-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ai-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--fg);
}

.ai-section-sub {
  color: var(--fg-muted);
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* =================== HERO =================== */
.ai-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ai-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(212, 175, 55, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
    var(--bg);
  z-index: 0;
}

.ai-hero-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 100px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
}

.ai-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.ai-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 36px;
}

.ai-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.ai-lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.ai-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.ai-hero-cta .btn-primary {
  padding: 16px 36px;
  font-size: 17px;
}

.ai-hero-cta .btn-outline {
  padding: 16px 28px;
  font-size: 15px;
}

.ai-trust-bar {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ai-trust-label {
  font-size: 13px;
  color: var(--fg-muted);
}

.ai-trust-city {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
}

.ai-trust-sep {
  color: var(--border);
}

/* =================== PAIN POINTS =================== */
.ai-pains {
  padding: 100px 24px;
  background: var(--bg);
}

.ai-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.ai-pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.25s;
}

.ai-pain-card:hover {
  border-color: rgba(212, 175, 55, 0.2);
}

.ai-pain-icon {
  color: var(--gold);
  margin-bottom: 20px;
}

.ai-pain-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--fg);
}

.ai-pain-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* =================== SERVICES =================== */
.ai-services {
  padding: 100px 24px;
  background: var(--bg-card);
}

.ai-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ai-service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.25s, transform 0.2s;
}

.ai-service-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.ai-service-icon {
  color: var(--gold);
  margin-bottom: 18px;
}

.ai-service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}

.ai-service-card p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =================== SOCIAL PROOF =================== */
.ai-proof {
  padding: 100px 24px;
  background: var(--bg);
}

.ai-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 48px;
  margin-bottom: 64px;
}

.ai-stat {
  text-align: center;
}

.ai-stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.ai-stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  max-width: 160px;
  line-height: 1.4;
}

.ai-stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

.ai-testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ai-testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.ai-testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
  margin-bottom: 20px;
}

.ai-testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg);
  font-style: normal;
  margin-bottom: 20px;
}

.ai-testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-testimonial-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
}

.ai-testimonial-role {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* =================== CITIES =================== */
.ai-cities {
  padding: 100px 24px;
  background: var(--bg-card);
}

.ai-cities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.ai-city-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: border-color 0.25s;
}

.ai-city-card:hover {
  border-color: var(--border-gold);
}

.ai-city-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ai-city-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--fg);
}

.ai-city-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.ai-city-stats {
  display: flex;
  gap: 32px;
}

.ai-city-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.ai-city-stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =================== CTA =================== */
.ai-cta {
  padding: 120px 24px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ai-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  z-index: 0;
}

.ai-cta-inner {
  position: relative;
  z-index: 1;
}

.ai-cta-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.ai-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.ai-cta-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.ai-demo-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ai-form-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 14px 16px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.15s;
  width: 100%;
}

.ai-form-input::placeholder {
  color: var(--fg-muted);
}

.ai-form-input:focus {
  outline: none;
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.ai-form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a9590' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.ai-form-select option {
  background: var(--bg-card);
}

.ai-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  justify-content: center;
}

.ai-cta-footnote {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 16px;
}

/* =================== FOOTER =================== */
.ai-footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}

.ai-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.ai-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--gold);
}

.ai-footer-sub {
  font-size: 12px;
  color: var(--fg-muted);
}

.ai-footer-links {
  display: flex;
  gap: 24px;
}

.ai-footer-links a {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.ai-footer-links a:hover {
  color: var(--gold);
}

.ai-footer-copy {
  font-size: 12px;
  color: var(--fg-muted);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 900px) {
  .ai-pain-grid,
  .ai-services-grid,
  .ai-testimonials,
  .ai-cities-grid {
    grid-template-columns: 1fr;
  }

  .ai-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ai-hero {
    padding: 60px 20px;
    min-height: auto;
  }

  .ai-pains,
  .ai-services,
  .ai-proof,
  .ai-cities {
    padding: 72px 20px;
  }

  .ai-cta {
    padding: 80px 20px;
  }

  .ai-hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .ai-hero-cta .btn-primary,
  .ai-hero-cta .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .ai-stats-row {
    gap: 28px;
  }

  .ai-stat-divider {
    display: none;
  }

  .ai-city-stats {
    gap: 20px;
  }

  .ai-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .ai-trust-bar {
    gap: 8px;
  }
}