/* AI Tools directory — stronger visual system */

.nav-main a.is-active {
  color: var(--gold);
}

.ai-tools-hero {
  position: relative;
  overflow: hidden;
  padding: 4.75rem 0 4.25rem;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(201, 162, 77, 0.18), transparent 40%),
    radial-gradient(ellipse at 10% 90%, rgba(255, 255, 255, 0.04), transparent 35%),
    linear-gradient(155deg, #0c1f16 0%, #143024 48%, #1a382c 100%);
}

.ai-tools-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.25rem;
  align-items: center;
}

.ai-tools-hero-copy .eyebrow {
  margin-bottom: 1.15rem;
}

.ai-tools-hero h1 {
  max-width: 11ch;
  margin: 0 0 1.2rem;
  font-size: clamp(2.65rem, 5.4vw, 3.85rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.ai-tools-lead {
  max-width: 34rem;
  margin: 0 0 1.85rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.12rem;
  line-height: 1.7;
}

.ai-tools-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.ai-tools-jump a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.05rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--gradient-gold);
  border-radius: 999px;
  transition: transform 0.2s, filter 0.2s;
}

.ai-tools-jump a:hover,
.ai-tools-jump a:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.06);
  outline: none;
}

.ai-tools-note {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
}

.ai-tools-hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 400px);
}

.ai-tools-hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(201, 162, 77, 0.45);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.35);
}

.ai-tools-hero-badge {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  right: 1.1rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 253, 247, 0.97);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border-left: 3px solid var(--gold);
}

.ai-tools-hero-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-dark);
}

.ai-tools-hero-badge span {
  font-size: 0.8rem;
  color: var(--text-body);
}

.ai-venture-head {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2.15rem;
  max-width: 46rem;
}

.ai-venture-badge {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--gradient-gold);
  color: var(--green-dark);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(15, 36, 25, 0.18);
}

.ai-venture-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
}

.section-cream .ai-venture-head h2 {
  color: var(--text-dark);
}

.section-dark .ai-venture-head h2 {
  color: #fff;
}

.ai-venture-head p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.section-cream .ai-venture-head p {
  color: var(--text-body);
}

.section-dark .ai-venture-head p {
  color: rgba(255, 255, 255, 0.8);
}

.ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.ai-tool-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.22s ease, border-color 0.22s, box-shadow 0.22s;
}

.section-cream .ai-tool-card {
  background: var(--white);
  border: 1px solid rgba(15, 36, 25, 0.14);
  box-shadow: 0 8px 28px rgba(15, 36, 25, 0.1);
}

.section-cream .ai-tool-card:hover {
  border-color: rgba(201, 162, 77, 0.65);
  box-shadow: 0 14px 40px rgba(15, 36, 25, 0.14);
}

/* Cream sections: gold panel + dark icon — reads clearly on light bg */
.section-cream .ai-tool-visual {
  color: var(--green-dark);
}

.section-cream .ai-tool-visual::before {
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.35), transparent 45%),
    linear-gradient(145deg, #e6c96a 0%, #c9a24d 45%, #b8923f 100%) !important;
}

.section-cream .ai-tool-visual::after {
  border-color: rgba(15, 36, 25, 0.18);
  background: rgba(255, 253, 247, 0.35);
}

.section-cream .ai-tool-visual svg {
  color: var(--green-dark);
  filter: drop-shadow(0 4px 10px rgba(15, 36, 25, 0.18));
}

.section-cream .ai-tool-card h3 {
  color: var(--text-dark);
}

.section-cream .ai-tool-card p {
  color: #3a4d43;
}

.section-dark .ai-tool-card {
  background: rgba(30, 61, 48, 0.9);
  border: 1px solid rgba(201, 162, 77, 0.28);
}

.ai-tool-card:hover {
  transform: translateY(-5px);
}

.section-dark .ai-tool-card:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

/* Large graphic panel — not a tiny icon */
.ai-tool-visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 180px;
  overflow: hidden;
  color: var(--gold-light);
}

.ai-tool-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(201, 162, 77, 0.2), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(145deg, #0f2419 0%, #1a3328 50%, #234035 100%);
}

.ai-tool-visual::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 77, 0.35);
  background: rgba(201, 162, 77, 0.08);
}

.ai-tool-visual svg {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  stroke-width: 1.5;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.ai-tool-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.45rem 1.4rem 1.45rem;
}

.ai-tool-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.28rem;
  line-height: 1.2;
}

.section-cream .ai-tool-card h3 {
  color: var(--text-dark);
}

.section-dark .ai-tool-card h3 {
  color: #fff;
}

.ai-tool-card p {
  margin: 0 0 1.35rem;
  flex-grow: 1;
  font-size: 0.92rem;
  line-height: 1.6;
}

.section-cream .ai-tool-card p {
  color: var(--text-body);
}

.section-dark .ai-tool-card p {
  color: rgba(255, 255, 255, 0.78);
}

.ai-tool-card .btn {
  align-self: flex-start;
  min-width: 8.5rem;
  justify-content: center;
}

/* Distinct accent tints per tool */
.ai-tool-visual--launch::before {
  background:
    radial-gradient(circle at 70% 30%, rgba(201, 162, 77, 0.35), transparent 50%),
    linear-gradient(160deg, #10261c, #1e4032);
}
.ai-tool-visual--prompts::before {
  background:
    radial-gradient(circle at 30% 70%, rgba(201, 162, 77, 0.28), transparent 50%),
    linear-gradient(160deg, #0d2218, #254a3a);
}
.ai-tool-visual--know::before {
  background:
    radial-gradient(circle at 50% 40%, rgba(223, 192, 122, 0.25), transparent 48%),
    linear-gradient(160deg, #132a20, #1c3a2d);
}
.ai-tool-visual--cast::before {
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 162, 77, 0.4), transparent 45%),
    linear-gradient(150deg, #0a1f16, #2a1f28 120%);
}
.ai-tool-visual--gig::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 162, 77, 0.32), transparent 48%),
    linear-gradient(150deg, #102018, #1a3040);
}
.ai-tool-visual--command::before {
  background:
    radial-gradient(circle at 60% 60%, rgba(201, 162, 77, 0.26), transparent 50%),
    linear-gradient(150deg, #0e221a, #183328);
}
.ai-tool-visual--closet::before {
  background:
    radial-gradient(circle at 40% 20%, rgba(223, 192, 122, 0.3), transparent 45%),
    linear-gradient(150deg, #16241c, #33282a);
}
.ai-tool-visual--diag::before {
  background:
    radial-gradient(circle at 75% 75%, rgba(201, 162, 77, 0.3), transparent 48%),
    linear-gradient(150deg, #0f2419, #1a3830);
}
.ai-tool-visual--grant::before {
  background:
    radial-gradient(circle at 25% 25%, rgba(201, 162, 77, 0.35), transparent 50%),
    linear-gradient(150deg, #12261c, #243820);
}
.ai-tool-visual--dominica::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(201, 162, 77, 0.28), transparent 55%),
    linear-gradient(150deg, #0c2018, #1a3548);
}
.ai-tool-visual--garden::before {
  background:
    radial-gradient(circle at 60% 40%, rgba(201, 162, 77, 0.28), transparent 50%),
    linear-gradient(150deg, #102418, #1f3d28);
}

@media (max-width: 1024px) {
  .ai-tools-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ai-tools-hero-visual {
    justify-self: center;
    width: min(100%, 360px);
  }

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

@media (max-width: 640px) {
  .ai-tools-hero {
    padding: 3.25rem 0 3rem;
  }

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

  .ai-tool-visual {
    height: 160px;
  }

  .ai-tool-visual svg {
    width: 64px;
    height: 64px;
  }
}
