/* =========================================================
   Avori Website - Page Sections
   UI area affected: each visible marketing page section.
   Purpose: controls section-specific styling for hero, promo
   background, workflow cards area, industries, customers,
   value band, impact metrics, testimonials, enterprise/security,
   environment logos, About, FAQ, Book Demo, and hero artwork.
   Load order: after components.css, before animations.css.
========================================================= */

/* Hero section: dark top area containing nav, promo ticker, headline, CTAs, trust pills, and hero artwork. */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 75% 12%, rgba(32, 103, 173, .22), transparent 31%), linear-gradient(90deg, #02172c 0%, #031a31 42%, #061d35 100%);
}

/* Hero background glow overlay behind copy and artwork. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 74% 18%, rgba(255,118,0,.16), transparent 25%), radial-gradient(circle at 84% 78%, rgba(11,110,234,.18), transparent 28%);
  opacity: 1;
}

/* Hero content row: text block on left and hero visual on right. */
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 70px 0 62px;
  min-height: 510px;
}

/* Left-side hero copy column. */
.hero-copy {
  width: 560px;
  max-width: 58%;
}

/* Hero supporting paragraph under main headline. */
.hero-sub {
  margin: 24px 0 32px;
  max-width: 580px;
  color: rgba(255,255,255,.91);
  font-size: 18px;
  line-height: 1.48;
}

/* Hero CTA button row. */
.hero-actions {
  display: flex;
  gap: 18px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

/* Decorative blue wave lines behind/right of hero content. */
.wave-lines {
  position: absolute;
  left: 520px;
  bottom: 16px;
  width: 330px;
  height: 170px;
  opacity: .32;
  pointer-events: none;
}

/* Book Demo section near bottom with Google Form link. */
.book-demo {
  padding: 90px 0;
  background: var(--soft);
}

.book-demo h2 {
  font-size: clamp(34px, 4vw, 56px);
  margin: 0 0 14px;
  color: var(--ink);
}

.book-demo p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 32px;
}

/* Workflow/use-case section containing three feature cards and Loom embeds. */
.workflows {
  padding: 28px 0 34px;
}

/* Industries/domain section below workflow cards. */
.domain-section {
  padding: 92px 0;
}

/* Industries section headline. */
.domain-heading {
  margin: 0 0 14px;
  font-size: 29px;
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 900;
}

/* Grid of industry/domain cards. */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

/* Individual industry/domain card. */

.domain-card {
  min-height: 150px;
  padding: 30px 32px;
  border-radius: 22px;
  border: 1px solid rgba(76, 169, 255, 0.22);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  color: #fff;
  text-decoration: none;

  display: flex;
  align-items: center;
  gap: 24px;

  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.domain-card .icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  color: #0b6eea;
  /*color: #3aa7ff;*/
  transition: transform 0.22s ease, color 0.22s ease;
}

.domain-card span {
  font-size: 21px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #06172b;
}

.domain-card:hover {
  transform: translateY(-8px) scale(1.025);
  border-color: rgba(255, 118, 0, 0.68);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 118, 0, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.32),
    0 0 34px rgba(255, 118, 0, 0.16);
}

.domain-card:hover .icon {
  transform: scale(1.12);
  color: #ff7600;
}

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

  .domain-card {
    min-height: 126px;
    padding: 24px;
  }
}

/* Dark horizontal value band: Save Hours, Accuracy, Compliance, Costs. */
.value-band {
  background: linear-gradient(90deg, #041b34, #06223f 60%, #041b34);
  color: #fff;
}

/* Individual value-band item. */
.value-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 17px;
  padding: 35px 38px 34px 0;
  border-right: 1px solid rgba(255,255,255,.22);
}

.value-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.value-icon {
  width: 54px;
  height: 54px;
  color: var(--orange);
}

.value-icon .icon,
.value-svg {
  width: 54px;
  height: 54px;
}

.value-item h3 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.1;
}

.value-item p {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 15px;
}

/* Enterprise-ready/security section wrapper. */
.enterprise {
  padding: 32px 0 20px;
  background: #fff;
}

.enterprise-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: start;
}

/* Enterprise section heading on the left. */
.enterprise-copy h2 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.enterprise-copy p {
  margin: 0;
  color: #40516a;
  font-size: 16px;
  max-width: 230px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

/* Individual enterprise/security capability card. */
.security-item {
  display: grid;
  grid-template-columns: 47px 1fr;
  gap: 13px;
  padding: 22px 19px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 116px;
}

.security-item:nth-child(3n) {
  border-right: 0;
}

.security-item:nth-last-child(-n/**/+3) {
  border-bottom: 0;
}

.security-item .icon {
  width: 36px;
  height: 36px;
  color: #083b94;
}

.security-item h3 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.2;
}

.security-item p {
  margin: 0;
  color: #536277;
  font-size: 12.7px;
  line-height: 1.35;
}

/* “Works with your environment” cloud/on-prem logo section. */
.environment {
  padding: 18px 0 22px;
  border-top: 1px solid #e3e8f0;
  border-bottom: 1px solid #e3e8f0;
  background: #fbfdff;
}

.env-row {
  display: grid;
  grid-template-columns: 310px 1fr;
  align-items: center;
  gap: 30px;
}

/* Environment section title. */
.env-title {
  margin: 0;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 900;
}

.cloud-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.cloud-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  border-left: 1px solid #dce3ee;
  font-weight: 900;
  color: #132846;
}

.cloud-logo svg,
.cloud-logo img {
  height: 42px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.onprem-icon {
  color: #071b36;
  width: 38px !important;
  height: 38px !important;
}

/* FAQ accordion section. */
.faq {
  padding: 22px 0 25px;
}

.faq-row {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 30px;
}

.faq h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
}

/* FAQ accordion list border wrapper. */
.faq-list {
  border-top: 1px solid #d7dfe9;
}

/* Individual FAQ accordion item. */
details {
  border-bottom: 1px solid #d7dfe9;
}

/* Clickable FAQ question row. */
summary {
  list-style: none;
  cursor: pointer;
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  color: #152a49;
  font-size: 14px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 0 0 12px;
  color: #506076;
  font-size: 14px;
}

.hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 44px;
}

.hero-copy {
  flex: 1 1 560px;
  max-width: 58%;
}

/* Generic hero visual column sizing, later refined by .hero-visual-blended. */
.hero-visual {
  position: relative;
  z-index: 2;
  width: min(500px, 38vw);
  min-width: 360px;
  margin-top: 6px;
}

.metric-card {
  position: relative;
  overflow: hidden;
}

.metric-card::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -22px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,110,234,.08), transparent 68%);
}

/* Shared vertical padding for Customers, Metrics, Testimonials, and About sections. */
.logo-cloud,
.impact-metrics,
.testimonials,
/* Dark About Us / Who We Are section. */
.about-us {
  padding: 82px 0;
}

.section-eyebrow {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(32px, 4vw, 52px);
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1.05;
}

.section-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 34px;
}

.marquee-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.customer-logo {
  min-width: 210px;
  height: 86px;
  border-radius: 18px;
  border: 1px solid #e4ebf4;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--navy);
  background: linear-gradient(135deg, #f9fbff, #eef5ff);
}

.logo-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
}

/* Projected impact metrics section background. */
.impact-metrics {
  background: var(--soft);
}

.metric-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 15px 35px rgba(3,24,45,.08);
}

.metric-card strong {
  display: block;
  font-size: clamp(36px, 5vw, 58px);
  color: var(--orange);
  line-height: 1;
  margin-bottom: 12px;
}

.metric-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: var(--ink);
}

.metric-card p {
  margin: 0;
  color: var(--muted);
}

/* Testimonials placeholder section. */
.testimonials {
  background: #fff;
}

.testimonial-card {
  min-width: 360px;
  max-width: 360px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 14px 32px rgba(3,24,45,.08);
}

.testimonial-card p {
  color: var(--ink);
  font-size: 17px;
  margin: 0 0 18px;
}

.testimonial-card strong {
  display: block;
  color: var(--navy);
}

.testimonial-card small {
  color: var(--muted);
}

.about-us {
  background: linear-gradient(135deg, #03182d, #06264a);
  color: #fff;
}

/* About section two-column layout. */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}

.about-us .section-heading,
.about-us .section-copy {
  color: #fff;
}

.about-us .section-copy {
  color: rgba(255,255,255,.78);
}

.about-card {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px;
  background: rgba(255,255,255,.08);
  padding: 28px;
  box-shadow: 0 18px 45px rgba(0,0,0,.20);
}

.about-card ul {
  margin: 0;
  padding-left: 20px;
  color: rgba(255,255,255,.78);
}

.about-card li {
  margin: 10px 0;
}

.hero-inner {
  align-items: center;
  gap: clamp(28px, 4vw, 62px);
}

.hero-visual {
  flex: 0 0 min(520px, 40vw);
  width: min(520px, 40vw);
  min-width: 390px;
  align-self: center;
  margin: 0;
}

.metric-card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.metric-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(3,24,45,.13);
  border-color: rgba(11,110,234,.22);
}

.metric-visual {
  width: 112px;
  height: 86px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #eef6ff, #fff4eb);
  border: 1px solid #dce8f6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.metric-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-visual {
  flex: 0 0 min(600px, 44vw) !important;
  width: min(600px, 44vw) !important;
  max-width: 600px;
  min-width: 430px;
  align-self: center;
  margin: 0 !important;
}

.metric-card {
  min-height: 335px;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 62px rgba(3,24,45,.14);
  border-color: rgba(11,110,234,.24);
}

.metric-visual {
  width: 100%;
  height: 132px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: radial-gradient(circle at 20% 20%, #ffffff, #eef6ff 62%, #fff3e8);
  border: 1px solid #dce8f6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 28px rgba(11,110,234,.08);
  overflow: hidden;
}

.metric-visual svg {
  width: min(150px, 92%);
  height: 110px;
  display: block;
}

.metric-card strong {
  margin-top: auto;
}

.metric-card::after {
  opacity: .7;
}

.feature-card,
.domain-card,
.customer-logo,
.testimonial-card,
.about-card,
.security-item,
.cloud-logo {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.feature-card:hover,
.domain-card:hover,
.customer-logo:hover,
.testimonial-card:hover,
.about-card:hover,
.security-item:hover,
.cloud-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(3,24,45,.10);
}

.section-heading,
.section-title,
.domain-heading {
  text-wrap: balance;
}

.hero-inner {
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}

.hero-copy {
  max-width: 54%;
}

.hero-visual {
  flex: 0 0 min(560px, 42vw);
  width: min(560px, 42vw);
  min-width: 400px;
  align-self: center;
}

.metric-slide {
  min-width: 320px;
  max-width: 320px;
  flex: 0 0 320px;
  padding: 26px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(3,24,45,.09);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.metric-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 52px rgba(3,24,45,.16);
  border-color: rgba(11,110,234,.24);
}

.metric-visual {
  width: 92px;
  height: 92px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #eff6ff, #fff4eb);
  border: 1px solid #dce8f6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.metric-visual svg {
  width: 74px;
  height: 74px;
  display: block;
}

.metric-slide strong {
  display: block;
  font-size: 40px;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--navy);
}

.metric-slide h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.05;
  color: var(--ink);
}

.metric-slide p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.feature-card,
.domain-card,
.security-item,
.testimonial-card,
.about-card,
.customer-logo {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.feature-card:hover,
.domain-card:hover,
.security-item:hover,
.testimonial-card:hover,
.about-card:hover,
.customer-logo:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(3,24,45,.10);
}

.hero-inner {
  align-items: center;
  gap: clamp(30px, 4vw, 66px);
}

.hero-copy {
  max-width: 54%;
}

.hero-visual {
  flex: 0 0 min(560px, 42vw);
  width: min(560px, 42vw);
  min-width: 400px;
  align-self: center;
}

.metric-slide {
  min-width: 300px;
  max-width: 300px;
  flex: 0 0 300px;
  padding: 26px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(3,24,45,.09);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.metric-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 54px rgba(3,24,45,.16);
  border-color: rgba(11,110,234,.24);
}

.metric-slide strong {
  display: block;
  font-size: 40px;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 10px;
}

.metric-slide h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.06;
  color: var(--ink);
}

.metric-slide p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.metric-visual {
  width: 92px;
  height: 92px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #eff6ff, #fff4eb);
  border: 1px solid #dce8f6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.metric-visual svg {
  width: 74px;
  height: 74px;
  display: block;
}

.hero {
  background: radial-gradient(circle at 82% 46%, rgba(18,77,152,.30), transparent 34%),
  radial-gradient(circle at 94% 80%, rgba(255,118,0,.15), transparent 22%),
  linear-gradient(135deg, #06162c 0%, #071a34 52%, #0a1e3d 100%);
  overflow: hidden;
}

.hero::before {
  opacity: .62;
  background: radial-gradient(circle at 76% 34%, rgba(11,110,234,.20), transparent 28%),
  radial-gradient(circle at 88% 78%, rgba(255,118,0,.12), transparent 24%);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 70px);
  min-height: 590px;
  position: relative;
}

.hero-copy {
  flex: 0 1 560px;
  max-width: 53%;
  position: relative;
  z-index: 4;
}

/* Final hero visual container that blends the right-side image into the dark background. */
.hero-visual-blended {
  position: relative;
  flex: 0 0 min(690px, 49vw);
  width: min(690px, 49vw);
  min-width: 430px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 2;
  pointer-events: none;
}

/* Frame around hero artwork controlling size, aspect ratio, and drop shadow. */
.hero-art-frame {
  position: relative;
  width: 112%;
  max-width: none;
  aspect-ratio: 1.32 / 1;
  transform: translateX(18px);
  filter: drop-shadow(0 30px 68px rgba(0,0,0,.26));
}

/* Soft glow behind hero artwork. */
.hero-art-frame::before {
  content: "";
  position: absolute;
  inset: -18px -24px;
  border-radius: 42px;
  background: radial-gradient(ellipse at 62% 50%, rgba(92,171,255,.20), transparent 54%),
  radial-gradient(ellipse at 76% 72%, rgba(255,118,0,.10), transparent 44%);
  z-index: 0;
}

/* Edge-blending overlay on top of hero artwork. */
.hero-art-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background: linear-gradient(90deg, rgba(6,22,44,.62) 0%, rgba(6,22,44,.18) 8%, rgba(6,22,44,0) 18%, rgba(6,22,44,0) 86%, rgba(6,22,44,.16) 96%, rgba(6,22,44,.58) 100%),
  linear-gradient(180deg, rgba(6,22,44,.42) 0%, rgba(6,22,44,0) 12%, rgba(6,22,44,0) 82%, rgba(6,22,44,.50) 100%);
  mix-blend-mode: multiply;
  opacity: .18;
  z-index: 2;
  pointer-events: none;
}

/* Actual hero image: sizing, object fit, contrast, and radial fade mask. */
.hero-art-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: brightness(1.08) contrast(1.05) saturate(1.10);
  -webkit-mask-image: radial-gradient(ellipse 77% 73% at 58% 50%, #000 63%, rgba(0,0,0,.95) 75%, rgba(0,0,0,.44) 90%, transparent 100%);
  mask-image: radial-gradient(ellipse 77% 73% at 58% 50%, #000 63%, rgba(0,0,0,.95) 75%, rgba(0,0,0,.44) 90%, transparent 100%);
}

.wave-lines {
  left: auto;
  right: 230px;
  bottom: 0;
  width: 360px;
  opacity: .12;
  z-index: 1;
}

/* =========================
   Hero Trust Pills
   UI: The 4 trust badges under the hero CTA buttons:
   "No Client Data Storage", "Private LLMs",
   "Customizable Workflows", "Human-in-the-Loop".
   Controls the 2-column desktop layout.
========================= */

.trust-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 700px;
  gap: 0;
  margin-top: 38px;
}