/* =========================
   DARK THEME OVERRIDES
   ========================= */

[data-theme='dark'] {
  color-scheme: dark;
}

/* ── Body ── */
[data-theme='dark'] body {
  background: #0d0f18;
  color: #e4e6ef;
}

/* ── Navbar ── */
[data-theme='dark'] .navbar {
  background: rgba(13, 15, 24, 0.93);
  border-bottom-color: #252840;
}
[data-theme='dark'] .navbar-menu li a {
  color: #d8dbe8;
}
[data-theme='dark'] .menu-button,
[data-theme='dark'] .menu-button::before,
[data-theme='dark'] .menu-button::after {
  background-color: #d8dbe8;
}

/* ── Section borders ── */
[data-theme='dark'] .section-objective,
[data-theme='dark'] .section-services,
[data-theme='dark'] .section-industries,
[data-theme='dark'] .section-TheTeam,
[data-theme='dark'] .section-review,
[data-theme='dark'] .section-onboarding,
[data-theme='dark'] .section-pricing {
  border-top-color: #252840;
}

/* ── Section subtitle text ── */
[data-theme='dark'] .section-introduction h3,
[data-theme='dark'] .text-wrapper__section-objective h3,
[data-theme='dark'] .text-wrapper__section-services h3,
[data-theme='dark'] .text-wrapper__section-industries h3,
[data-theme='dark'] .section-TheTeam h3,
[data-theme='dark'] .section-review h3,
[data-theme='dark'] .section-onboarding h3,
[data-theme='dark'] .pricing-header h3 {
  color: #8a90a8;
}

/* ── About text wrap ── */
[data-theme='dark'] .text-wrap {
  background: #161928;
  color: #e4e6ef;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ── Hero border ── */
[data-theme='dark'] .header-herobanner {
  border-color: #252840;
}

/* ── Slider (about section) ── */
[data-theme='dark'] .slider img {
  border-color: #252840;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
[data-theme='dark'] .slider-btn {
  background: #1e2235;
  border-color: #252840;
  color: #d8dbe8;
}
[data-theme='dark'] .slider-btn:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}
[data-theme='dark'] .slider-nav button {
  background: #252840;
}
[data-theme='dark'] .slider-nav button.is-active {
  background: var(--secondary-color);
}

/* ── Objectives — face2 (text side) ── */
[data-theme='dark'] .face2 {
  background-color: #1e2235;
  color: #e4e6ef;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
[data-theme='dark'] .parent a {
  color: #d8dbe8;
  border-color: #252840;
}
[data-theme='dark'] .parent a:hover {
  background-color: var(--primary-color);
  color: #111;
}

/* ── Services — accordion ── */
[data-theme='dark'] .accordion-header {
  background: #1e2235;
  border-color: #252840;
  color: #e4e6ef;
}
[data-theme='dark'] .inner-accordion-wrapper,
[data-theme='dark'] .inner-accordion-wrapper-isolated {
  background: #161928;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
[data-theme='dark'] .inner-accordion1 {
  background: #1e1912;
  border-color: #4a3820;
}
[data-theme='dark'] .inner-accordion2 {
  background: #0e1a22;
  border-color: #1a3a50;
}
[data-theme='dark'] .inner-accordion3 {
  background: #141020;
  border-color: #2a1c48;
}
[data-theme='dark'] .accordion-content1 .description,
[data-theme='dark'] .accordion-content2 .description,
[data-theme='dark'] .accordion-content3 .description {
  color: #c0c4d4;
}
[data-theme='dark'] .video-crop video {
  border-color: #252840;
}
[data-theme='dark'] .button-services {
  color: #e4e6ef;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* ── Industries ── */
[data-theme='dark'] .section-industries__list-item--shopify {
  background: #142214;
}
[data-theme='dark'] .section-industries__list-item--amazon {
  background: #231a0c;
}
[data-theme='dark'] .section-industries__list-item--custom {
  background: #0c1a26;
}
[data-theme='dark'] .section-industries__list-item--etsy {
  background: #231508;
}
[data-theme='dark'] .section-industries__list-item--saas {
  background: #150e24;
}
[data-theme='dark'] .section-industries__list-item {
  border-color: #252840;
}
[data-theme='dark'] .section-industries__list-item__text {
  background: rgba(13, 15, 24, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 8px;
}
[data-theme='dark'] .ind-pill {
  border-color: rgba(42, 100, 133, 0.5);
  background: rgba(42, 100, 133, 0.12);
  color: #a8cfdf;
}

/* ── Team cards ── */
[data-theme='dark'] .flipcard__face {
  border-color: #252840;
}

/* ── Reviews ── */
[data-theme='dark'] .test-card-body {
  background: #161928;
  color: #e4e6ef;
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.4);
}
[data-theme='dark'] .test-card-body p {
  color: #c0c4d4;
}

/* ── Onboarding stepper ── */
[data-theme='dark'] .ob-step__title {
  border-top-color: #252840;
  color: #8a90a8;
}
[data-theme='dark'] .ob-step.is-active .ob-step__title {
  color: #e4e6ef;
}
[data-theme='dark'] .ob-step__title::before {
  background: #0d0f18;
  border-color: #252840;
}
[data-theme='dark'] .ob-step__icon {
  color: #444766;
}
[data-theme='dark'] .ob-slides {
  background: #161928;
}
[data-theme='dark'] .ob-slide {
  color: #e4e6ef;
}
[data-theme='dark'] .goal-box {
  background: rgba(42, 100, 133, 0.14);
  border-left-color: var(--secondary-color);
}
[data-theme='dark'] .ob-slide__content li {
  color: #c0c4d4;
}

/* ── Pricing ── */
[data-theme='dark'] .pricing-card {
  background: #161928;
  border-color: #252840;
  color: #e4e6ef;
}
[data-theme='dark'] .pricing-card__price {
  border-bottom-color: #252840;
}
[data-theme='dark'] .pricing-card__amount {
  color: var(--primary-color);
}
[data-theme='dark'] .pricing-card__contact {
  color: #a8cfdf;
}
[data-theme='dark'] .pricing-card__desc {
  color: #8a90a8;
}
[data-theme='dark'] .pricing-card--featured {
  background: var(--secondary-color);
  box-shadow: 0 16px 40px rgba(42, 100, 133, 0.4);
}

/* ── Footer ── */
/* Footer already dark, just reinforce */
[data-theme='dark'] .footer--opt3 {
  background: #080a10;
}
[data-theme='dark'] .footer__opt3-strip {
  background: #060810;
}
[data-theme='dark'] .footer__opt3-bottom {
  background: #060810;
}

/* ── Theme toggle switch ── */
.theme-toggle-wrap {
  display: flex;
  align-items: center;
  margin-left: 0.75rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.theme-toggle__input {
  display: none;
}

.theme-toggle__track {
  position: relative;
  width: 60px;
  height: 28px;
  background: #ddd;
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.35s ease;
  flex-shrink: 0;
}

.theme-toggle__sun {
  font-size: 11px;
  color: var(--primary-color);
  z-index: 1;
  pointer-events: none;
}

.theme-toggle__moon {
  font-size: 11px;
  color: #888;
  z-index: 1;
  pointer-events: none;
  transition: color 0.35s ease;
}

.theme-toggle__thumb {
  position: absolute;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition:
    left 0.35s ease,
    background 0.35s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.theme-toggle__input:checked + .theme-toggle__track {
  background: #252840;
}

.theme-toggle__input:checked + .theme-toggle__track .theme-toggle__moon {
  color: #a8b0d8;
}

.theme-toggle__input:checked + .theme-toggle__track .theme-toggle__thumb {
  left: 35px;
  background: #e4e6ef;
}
