/* ============================================================
   claude_darktheme.css — Dark-themed section components
   Used by: solution, branding, dev, process pages
   ============================================================ */

/* ==========================================================
   SECTION (generic dark card used throughout business pages)
   ========================================================== */
.section .sectionHeader {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.sectionBadge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: var(--c-radius-full);
  border: 1px solid var(--c-line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-ink-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- Description --- */
.section .description,
.section p {
  color: var(--c-ink-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.section .description:last-child,
.section p:last-child {
  margin-bottom: 0;
}

/* --- Icons (Material Icons in boxes) --- */
.section .material-icons,
.problemIcon,
.strengthIcon,
.featureIcon,
.serviceIcon,
.techIcon,
.processIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--c-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-line);
  color: var(--c-accent);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

/* ==========================================================
   GRID PATTERNS
   ========================================================== */
.problemGrid,
.strengthGrid,
.featureGrid,
.serviceGrid,
.techGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

/* --- Problem Card --- */
.problemCard,
.strengthCard,
.featureCard,
.serviceCard,
.techCard {
  padding: 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--c-radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: transform var(--c-duration) var(--c-ease),
              border-color var(--c-duration) var(--c-ease),
              background var(--c-duration) var(--c-ease);
}

.problemCard:hover,
.strengthCard:hover,
.featureCard:hover,
.serviceCard:hover,
.techCard:hover {
  transform: translateY(-3px);
  border-color: var(--c-line-strong);
  background: rgba(255, 255, 255, 0.04);
}

/* Card Titles */
.problemTitle,
.strengthTitle,
.featureTitle,
.serviceTitle,
.techTitle,
.processTitle {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

/* Card Desc */
.problemDesc,
.strengthDesc,
.featureDesc,
.serviceDesc,
.techDesc,
.processDesc {
  color: var(--c-ink-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0 0 6px;
}

.problemDesc:last-child,
.strengthDesc:last-child,
.featureDesc:last-child,
.serviceDesc:last-child,
.techDesc:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   INTRO / HERO SECTIONS (used within .section)
   ========================================================== */
.introSection,
.heroSection {
  padding: 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--c-radius-lg);
  background: var(--c-bg-card);
}

.introSection h2,
.heroSection h2 {
  font-size: 1.3rem;
  color: var(--c-ink);
  margin-bottom: 10px;
}

.introSection p,
.heroSection p {
  color: var(--c-ink-secondary);
  line-height: 1.8;
}

/* ==========================================================
   CASE STUDY
   ========================================================== */
.caseStudy {
  padding: 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--c-radius-xl);
  background: var(--c-bg-card);
  margin: 16px 0;
}

.caseTitle {
  font-size: 1.2rem;
  color: var(--c-ink);
  margin-bottom: 8px;
}

.caseIntro {
  color: var(--c-ink-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ==========================================================
   HIGHLIGHTS, QUOTES, BRAND MESSAGES
   ========================================================== */
.highlight,
.brandMessage,
.quote {
  padding: 18px 20px;
  border-radius: var(--c-radius);
  border: 1px solid var(--c-line);
  background: var(--c-bg-card);
  color: var(--c-ink-secondary);
  line-height: 1.8;
  font-style: normal;
}

.highlight strong,
.brandMessage strong,
.quote strong {
  color: var(--c-ink);
}

/* ==========================================================
   PRODUCT / TARGET CARDS
   ========================================================== */
.productCard,
.targetCard {
  padding: 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--c-radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: transform var(--c-duration) var(--c-ease), border-color var(--c-duration) var(--c-ease);
}

.productCard:hover,
.targetCard:hover {
  transform: translateY(-2px);
  border-color: var(--c-line-strong);
}

.productCard h3,
.targetCard h3 {
  font-size: 1.05rem;
  color: var(--c-ink);
  margin-bottom: 6px;
}

.productCard p,
.targetCard p {
  color: var(--c-ink-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ==========================================================
   PRICING / CONDITIONS
   ========================================================== */
.pricingSection,
.conditionList {
  padding: 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--c-radius-lg);
  background: var(--c-bg-card);
  margin: 12px 0;
}

.pricingSection h3,
.conditionList h3 {
  font-size: 1.1rem;
  color: var(--c-ink);
  margin-bottom: 12px;
}

.pricingSection li,
.conditionList li {
  color: var(--c-ink-secondary);
  line-height: 1.8;
  padding-left: 14px;
  position: relative;
  margin-bottom: 6px;
}

.pricingSection li::before,
.conditionList li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-accent);
  opacity: 0.6;
}

/* ==========================================================
   PROCESS PAGE
   ========================================================== */

/* Media Hero */
.subpageMediaHero {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: var(--c-radius-xl);
  background: #111;
  border: 1px solid var(--c-line);
}

.subpageMediaHero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.85);
}

.subpageOverlayCopy {
  position: relative;
  z-index: 1;
  padding: 32px 28px;
  max-width: 520px;
}

.subpageOverlayCopy .subpageTitle {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.subpageOverlayCopy .subpageLead {
  color: rgba(255, 255, 255, 0.75);
}

/* Process Overview Panel */
.processOverviewPanel {
  padding: 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--c-radius-xl);
  background: var(--c-bg-card);
}

.processOverviewIntro {
  margin-bottom: 20px;
}

.processOverviewTitle {
  margin: 6px 0 10px;
  color: var(--c-ink);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.processOverviewLead {
  margin: 0;
  color: var(--c-ink-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* Sequence Rail */
.processSequenceRail {
  display: grid;
  gap: 0;
}

.processSequenceItem {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--c-line);
}

.processSequenceItem:first-child {
  border-top: 0;
  padding-top: 0;
}

.processSequenceIndex {
  color: var(--c-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding-top: 2px;
}

.processSequenceItem strong {
  display: block;
  color: var(--c-ink);
  font-size: 1rem;
  margin-bottom: 4px;
}

.processSequenceItem p {
  margin: 0;
  color: var(--c-ink-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Process Support Cards */
.processSupport {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.processSupportCard {
  padding: 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--c-radius-lg);
  background: var(--c-bg-card);
}

.processSupportCard h3 {
  font-size: 1.05rem;
  color: var(--c-ink);
  margin-bottom: 8px;
}

.processSupportCard p {
  color: var(--c-ink-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

/* Process Step (individual step sections) */
.processStep .stepFacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.stepFact {
  padding: 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--c-radius);
  background: rgba(255, 255, 255, 0.02);
}

.stepFact strong {
  display: block;
  color: var(--c-ink);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.stepFact p {
  color: var(--c-ink-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================
   MEDIA STAGE (branding page 3D cards)
   ========================================================== */
.mediaStage {
  position: relative;
  min-height: 380px;
}

.mediaStage--hero {
  padding: 8px 12px 12px 28px;
}

.mediaStageCluster {
  position: absolute;
  inset: 16px 0 0 auto;
  width: min(46%, 220px);
  display: grid;
  gap: 12px;
}

.mediaStageCard {
  will-change: transform;
}

.mediaStageCard--primary {
  min-height: 340px;
  width: min(82%, 340px);
  transform: rotate(-5deg);
  box-shadow: var(--c-shadow-lg);
}

.mediaStageCard--secondary {
  min-height: 160px;
  transform: translate3d(0, 0, 24px) rotate(6deg);
  box-shadow: var(--c-shadow);
}

.mediaStageCard--tertiary {
  min-height: 170px;
  transform: translate3d(-42px, 0, 16px) rotate(3deg);
  box-shadow: var(--c-shadow);
}

/* --- Full images --- */
.fullImage,
.brandingImageContainer img,
.processOverview,
.heroImage {
  overflow: hidden;
  border-radius: var(--c-radius-lg);
  border: 1px solid var(--c-line);
  background: #111;
}

/* --- Stat Card (within dark sections) --- */
.section .statCard {
  padding: 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--c-radius);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.section .statNumber,
.section .statValue {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
}

.section .statLabel {
  display: block;
  margin-top: 6px;
  color: var(--c-ink-secondary);
  font-size: 0.85rem;
}

/* ==========================================================
   TEXT COLUMNS (landing sections)
   ========================================================== */
.textColumns {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.textColumns--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.textColumn {
  position: relative;
  padding: 24px 22px;
}

.textColumn:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 1px;
  background: var(--c-line);
}

.textColumnMeta {
  margin-bottom: 12px;
}

.textColumnTitle {
  display: block;
  margin-top: 12px;
  color: var(--c-ink);
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.textColumnBody {
  margin: 10px 0 0;
  color: var(--c-ink-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ==========================================================
   ICON FEATURE GRID
   ========================================================== */
.iconFeatureGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.iconFeatureCard {
  padding: 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--c-radius-lg);
  background: var(--c-bg-card);
}

.iconFeatureCard .material-icons,
.iconFeatureCard .material-symbols-rounded {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--c-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-accent);
  font-size: 1.5rem;
}

.iconFeatureCard h3 {
  margin: 12px 0 8px;
  color: var(--c-ink);
  font-size: 1.12rem;
  line-height: 1.3;
}

.iconFeatureCard p {
  margin: 0;
  color: var(--c-ink-secondary);
  line-height: 1.75;
}

/* ==========================================================
   DETAIL LIST (bullet)
   ========================================================== */
.detailList {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.detailList li {
  position: relative;
  padding-left: 14px;
  color: var(--c-ink-secondary);
  line-height: 1.75;
}

.detailList li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

/* ==========================================================
   LAYOUT: Split Feature
   ========================================================== */
.layoutSplitFeature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
}

/* ==========================================================
   DIVIDER UTILITIES
   ========================================================== */
.contentDivider3 { width: 100%; height: 3rem; }
.contentDivider2 { width: 100%; height: 2rem; }
.contentDivider  { width: 100%; height: 1rem; }

.fullWidth {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 767px) {
  .problemGrid,
  .strengthGrid,
  .featureGrid,
  .serviceGrid,
  .techGrid {
    grid-template-columns: 1fr;
  }

  .subpageMediaHero {
    min-height: 280px;
  }

  .processSupport {
    grid-template-columns: 1fr;
  }

  .processStep .stepFacts {
    grid-template-columns: 1fr;
  }

  .mediaStage {
    min-height: auto;
    padding: 0;
  }

  .mediaStageCluster {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .mediaStageCard--primary,
  .mediaStageCard--secondary,
  .mediaStageCard--tertiary {
    width: 100%;
    min-height: 200px;
    transform: none;
  }

  .textColumns--3 {
    grid-template-columns: 1fr;
  }

  .textColumn:not(:first-child)::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
  }

  .iconFeatureGrid {
    grid-template-columns: 1fr;
  }

  .layoutSplitFeature {
    grid-template-columns: 1fr;
  }
}
