/* ═══════════════════════════════════════════════════════════
   MITOS — HOME PAGE STYLES
   Sections specific to index.html only
═══════════════════════════════════════════════════════════ */

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
}

/* Full-height image: absolutely positioned against the section */
.hero__image {
  position: absolute;
  top: var(--nav-h);
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* Fade left edge into background, subtle fade at bottom */
  mask-image: linear-gradient(to right, transparent 0%, black 22%),
              linear-gradient(to bottom, black 75%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 22%);
  -webkit-mask-composite: destination-in;
}



/* Eyebrow */
.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--thread);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--thread);
}


.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 300;
  line-height: 1.02;
  color: var(--white);
  letter-spacing: -0.01em;
  max-width: 900px;
  margin-bottom: 32px;
}

.hero__headline em {
  font-style: italic;
  color: var(--thread);
}

.hero__sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(229, 231, 235, 0.65);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 48px;
}

/* Actions */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(229, 231, 235, 0.25);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(212, 160, 23, 0.4));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ─── SECTION: PLATFORM ─────────────────────────────────── */
#solutions {
  position: relative;
  overflow: hidden;
}

#solutions .container {
  position: relative;
  z-index: 1;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  isolation: isolate;
}

#solutions .card {
  background: rgba(8, 13, 17, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

#solutions .card:hover {
  background: rgba(30, 35, 43, 0.45);
}
.section-platform__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 80px;
}

.section-platform__intro {
  font-size: 16px;
  color: rgba(229, 231, 235, 0.55);
  line-height: 1.7;
  font-weight: 300;
  max-width: 420px;
}

/* ─── PARTICLES BACKGROUND ──────────────────────────────── */
#solutions-particles {
  position: absolute;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 0;
}

#solutions-particles canvas {
  display: block;
}

/* ─── SECTION: PHILOSOPHY ───────────────────────────────── */

.section-philosophy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 72px;
}

/* Accordion */
.accordion-item {
  padding: 32px 0;
  border-bottom: 1px solid rgba(8, 13, 17, 0.08);
  cursor: pointer;
}

.accordion-item:first-child {
  border-top: 1px solid rgba(8, 13, 17, 0.08);
}

.accordion-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-item__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--midnight);
}

.accordion-item__chevron {
  width: 20px;
  height: 20px;
  color: rgba(8, 13, 17, 0.3);
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
}

.accordion-item.open .accordion-item__chevron {
  transform: rotate(180deg);
  color: #8B6914;
}

.accordion-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.open .accordion-item__body {
  max-height: 200px;
}

.accordion-item__body p {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(8, 13, 17, 0.55);
  line-height: 1.7;
  font-weight: 300;
  max-width: 400px;
}

/* Mock dashboard panel */
.dashboard-panel {
  background: var(--midnight);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(8, 13, 17, 0.25);
}

.dashboard-panel__bar {
  background: var(--slate);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-dot--r { background: #FF5F57; }
.window-dot--y { background: #FEBC2E; }
.window-dot--g { background: #28C840; }

.dashboard-panel__title {
  font-size: 12px;
  color: rgba(229, 231, 235, 0.35);
  letter-spacing: 0.06em;
  margin-left: 4px;
}

.dashboard-panel__body {
  padding: 28px 24px;
}

.panel-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.05);
  gap: 12px;
}

.panel-metric:last-of-type { border-bottom: none; }

.pm-label {
  font-size: 13px;
  color: rgba(229, 231, 235, 0.5);
  font-weight: 300;
  flex: 1;
}

.pm-value {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--white);
}

.pm-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pm-badge--green  { background: rgba(40, 200, 64, 0.12);  color: #5CE472; }
.pm-badge--yellow { background: rgba(212, 160, 23, 0.15); color: var(--thread); }
.pm-badge--red    { background: rgba(255, 95, 87, 0.12);  color: #FF7A72; }

.panel-chart {
  margin-top: 24px;
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.chart-bar {
  flex: 1;
  background: rgba(212, 160, 23, 0.15);
  border-radius: 2px 2px 0 0;
  transition: background 0.2s ease;
}

.chart-bar:hover { background: rgba(212, 160, 23, 0.35); }
.chart-bar--highlight { background: var(--thread); }

/* ─── SECTION: SECURITY / TRUST ─────────────────────────── */
.section-trust__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 80px;
}

.trust-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.trust-stat__value {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.trust-stat__value span { color: var(--thread); }

.trust-stat__label {
  font-size: 13px;
  color: rgba(229, 231, 235, 0.45);
  font-weight: 300;
  line-height: 1.4;
}

/* Pillar cards inherit from .card in main.css */
.trust-pillar-icon {
  width: 36px;
  height: 36px;
  color: var(--thread);
  margin-bottom: 24px;
  opacity: 0.8;
}

.trust-pillar-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.trust-pillar-text {
  font-size: 14px;
  color: rgba(229, 231, 235, 0.45);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__scroll { display: none; }

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

  .hero__image {
    width: 100%;
    opacity: 0.15;
  }

  .section-platform__header {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .section-philosophy__grid {
    grid-template-columns: 1fr;
  }

  .dashboard-panel { display: none; }

  .section-trust__header {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .trust-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .trust-stats {
    grid-template-columns: 1fr;
  }
}
