/* vdx-pages.css — Page-specific styles */

/* =============================================
   Hero Sections
   ============================================= */

/* Homepage hero */
.vdx-hero {
  padding: var(--hero-padding-top) 0 var(--hero-padding-bottom);
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.vdx-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(244,167,38,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.vdx-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.vdx-hero__content {}

.vdx-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-amber);
  background-color: rgba(244,167,38,0.08);
  border: 1px solid rgba(244,167,38,0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.vdx-hero__h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: var(--heading-on-dark);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.vdx-hero__subhead {
  font-size: 1.1rem;
  color: var(--body-on-dark);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

.vdx-hero__ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.vdx-hero__trust {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vdx-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted-on-dark);
}

.vdx-hero__trust-item i {
  color: var(--health-green);
  font-size: 0.75rem;
}

.vdx-hero__visual {
  position: relative;
}

/* Sub-page hero (centered) */
.vdx-subhero {
  padding: var(--hero-padding-top) 0 4rem;
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.vdx-subhero::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(244,167,38,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.vdx-subhero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.vdx-subhero__h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--heading-on-dark);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.vdx-subhero__sub {
  font-size: 1.05rem;
  color: var(--body-on-dark);
  line-height: 1.75;
}

/* Visual anchor for sub-page heroes */
.vdx-subhero__ornament {
  position: absolute;
  bottom: -40px;
  right: 0;
  opacity: 0.06;
  width: 320px;
  height: 320px;
  pointer-events: none;
}

.vdx-subhero__stat-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.vdx-subhero__stat {
  text-align: center;
}

.vdx-subhero__stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--accent-amber);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.vdx-subhero__stat-label {
  font-size: 0.8rem;
  color: var(--muted-on-dark);
}

/* Light sub-page hero */
.vdx-subhero--light {
  background-color: var(--bg-light);
  text-align: left;
  padding: 6rem 0 3.5rem;
}

.vdx-subhero--light::before {
  display: none;
}

.vdx-subhero--light .vdx-subhero__inner {
  max-width: var(--container-max);
  text-align: left;
}

.vdx-subhero--light .vdx-subhero__h1 {
  color: var(--heading-on-light);
}

.vdx-subhero--light .vdx-subhero__sub {
  color: var(--body-on-light);
}

@media (max-width: 768px) {
  .vdx-hero__inner {
    grid-template-columns: 1fr;
  }
  .vdx-hero__subhead {
    max-width: 100%;
  }
}

/* =============================================
   Problem section SVG diagram
   ============================================= */
.vdx-problem-section {
  padding: var(--section-padding-y) 0;
}

.vdx-problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vdx-problem-copy h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--heading-on-dark);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.vdx-problem-copy p {
  font-size: 1rem;
  color: var(--body-on-dark);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .vdx-problem-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   How It Works – Usage/Sentiment Signal Sections
   ============================================= */
.vdx-signal-section {
  padding: var(--section-padding-y) 0;
}

.vdx-signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vdx-signal-grid--reverse {
  direction: rtl;
}

.vdx-signal-grid--reverse > * {
  direction: ltr;
}

.vdx-signal-copy h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--heading-on-dark);
  margin-bottom: 1rem;
}

.vdx-signal-copy p {
  font-size: 1rem;
  color: var(--body-on-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.vdx-signal-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vdx-signal-metric {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--body-on-dark);
}

.vdx-signal-metric i {
  color: var(--accent-amber);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.vdx-signal-image {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
}

.vdx-signal-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .vdx-signal-grid,
  .vdx-signal-grid--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* =============================================
   Architecture Pipeline SVG section
   ============================================= */
.vdx-pipeline-wrap {
  margin-top: 2.5rem;
}

/* =============================================
   Logos section (trust strip)
   ============================================= */
.vdx-logos-section {
  padding: 2.5rem 0;
}

.vdx-logos-headline {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-bottom: 2rem;
}

.vdx-customer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.vdx-customer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--muted-on-dark);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.vdx-customer-logo:hover {
  opacity: 1;
}

/* =============================================
   CTA Band
   ============================================= */
.vdx-cta-band {
  background-color: var(--accent-amber);
  text-align: center;
  padding: 4.5rem 0;
}

.vdx-cta-band__h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #0D1424;
  margin-bottom: 1.75rem;
  line-height: 1.2;
}

.vdx-cta-band__sub {
  font-size: 1rem;
  color: rgba(13,20,36,0.7);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   About Hero (split)
   ============================================= */
.vdx-about-hero {
  padding: var(--hero-padding-top) 0 var(--hero-padding-bottom);
  background-color: var(--bg-dark);
}

.vdx-about-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.vdx-about-hero__h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--heading-on-dark);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.vdx-about-hero__body {
  font-size: 1.05rem;
  color: var(--body-on-dark);
  line-height: 1.8;
}

.vdx-about-hero__portrait {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  aspect-ratio: 3/4;
}

.vdx-about-hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 768px) {
  .vdx-about-hero__grid {
    grid-template-columns: 1fr;
  }
  .vdx-about-hero__portrait {
    aspect-ratio: 4/3;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* =============================================
   Values section
   ============================================= */
.vdx-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.vdx-value-card {
  padding: 2rem;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
}

.vdx-value-card__icon {
  font-size: 1.5rem;
  color: var(--accent-amber);
  margin-bottom: 1rem;
}

.vdx-value-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--heading-on-dark);
  margin-bottom: 0.75rem;
}

.vdx-value-card__body {
  font-size: 0.9rem;
  color: var(--body-on-dark);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .vdx-values-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   Location block
   ============================================= */
.vdx-location-block {
  text-align: center;
  padding: var(--section-padding-y) 0;
}

.vdx-location-block__icon {
  font-size: 2rem;
  color: var(--accent-amber);
  margin-bottom: 1rem;
}

.vdx-location-block__city {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--heading-on-dark);
  margin-bottom: 0.5rem;
}

.vdx-location-block__address {
  font-size: 0.9rem;
  color: var(--muted-on-dark);
  line-height: 1.6;
}

/* =============================================
   Blog Article Page
   ============================================= */
.vdx-article-header {
  padding: 6rem 0 3rem;
  background-color: var(--bg-light);
}

.vdx-article-header__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.vdx-article-header__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.vdx-article-header__category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-amber-muted);
  background-color: var(--bg-amber-accent-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.vdx-article-header__date {
  font-size: 0.8rem;
  color: var(--muted-on-light);
}

.vdx-article-header__author {
  font-size: 0.8rem;
  color: var(--muted-on-light);
}

.vdx-article-header__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--heading-on-light);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.vdx-article-header__summary {
  font-size: 1.05rem;
  color: var(--muted-on-light);
  line-height: 1.7;
}

.vdx-article-cover-wrap {
  background-color: var(--bg-light);
  padding: 0 0 2rem;
}

.vdx-blog-article__cover {
  max-width: 820px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  height: auto;
  padding: 0 1.5rem;
  width: 100%;
}

.vdx-article-body-wrap {
  background-color: var(--bg-white);
  padding: 3rem 0 5rem;
}

.vdx-article-body {
  max-width: 720px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.vdx-article-body h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--heading-on-light);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.vdx-article-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--heading-on-light);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.vdx-article-body p {
  font-size: 1rem;
  color: var(--body-on-light);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.vdx-article-body ul,
.vdx-article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.vdx-article-body ul { list-style: disc; }
.vdx-article-body ol { list-style: decimal; }

.vdx-article-body li {
  font-size: 1rem;
  color: var(--body-on-light);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.vdx-article-body blockquote {
  border-left: 3px solid var(--accent-amber);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--muted-on-light);
}

.vdx-article-body code {
  background-color: var(--bg-light);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.875em;
  color: var(--heading-on-light);
}

.vdx-article-body img {
  max-width: 100%;
  border-radius: 6px;
  margin: 1.5rem 0;
}

.vdx-article-back {
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.vdx-article-back a {
  font-size: 0.875rem;
  color: var(--muted-on-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast);
}

.vdx-article-back a:hover {
  color: var(--accent-amber-muted);
}

/* =============================================
   Integrations Setup Steps (on dark-alt)
   ============================================= */
.vdx-setup-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.vdx-setup-step {
  padding: 2rem;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  position: relative;
}

.vdx-setup-step__num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  color: var(--accent-amber);
  opacity: 0.25;
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  line-height: 1;
}

.vdx-setup-step__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--heading-on-dark);
  margin-bottom: 0.75rem;
}

.vdx-setup-step__body {
  font-size: 0.9rem;
  color: var(--body-on-dark);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .vdx-setup-steps {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   Notification tools strip
   ============================================= */
.vdx-notify-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.vdx-notify-tool {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading-on-dark);
}

.vdx-notify-tool i {
  font-size: 1.25rem;
  color: var(--accent-amber);
}

/* =============================================
   Contact page — single section
   ============================================= */
.vdx-contact-hero {
  padding: 6rem 0 3rem;
  background-color: var(--bg-light);
}

.vdx-contact-hero__h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--heading-on-light);
  margin-bottom: 0.5rem;
}

.vdx-contact-hero__sub {
  font-size: 1.05rem;
  color: var(--body-on-light);
  max-width: 500px;
}

/* =============================================
   Pricing hero
   ============================================= */
.vdx-pricing-hero {
  padding: var(--hero-padding-top) 0 4rem;
  background-color: var(--bg-light);
  text-align: center;
}

.vdx-pricing-hero__h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--heading-on-light);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.vdx-pricing-hero__sub {
  font-size: 1.05rem;
  color: var(--body-on-light);
  max-width: 520px;
  margin: 0 auto;
}

/* =============================================
   Mission section
   ============================================= */
.vdx-mission {
  padding: var(--section-padding-y) 0;
}

.vdx-mission__inner {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.vdx-mission__h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--heading-on-dark);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.vdx-mission__body {
  font-size: 1.05rem;
  color: var(--body-on-dark);
  line-height: 1.75;
}
