/* ============================================
   NTONARCH INVESTMENT PLATFORM — STYLESHEET
   Orange & White Theme | Cormorant + DM Sans
   ============================================ */

:root {
  --orange: #ff6a00;
  --orange-light: #ff9240;
  --orange-dark: #c94e00;
  --orange-pale: #fff4ed;
  --orange-mid: #ffdec9;
  --white: #ffffff;
  --off-white: #fef9f5;
  --charcoal: #1a0a00;
  --dark: #2d1500;
  --mid: #5c3000;
  --muted: #a0622a;
  --border: #f0d8c4;
  --shadow: 0 4px 32px rgba(255, 106, 0, 0.12);
  --shadow-lg: 0 16px 64px rgba(255, 106, 0, 0.18);

  --font-display: "Cormorant Garamond", serif;
  --font-body: "DM Sans", sans-serif;
  --font-accent: "Bebas Neue", sans-serif;

  --radius: 12px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── TYPOGRAPHY HELPERS ── */
.section-label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3rem;
  line-height: 1.1;
}

.section-title em {
  font-style: italic;
  color: var(--orange);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn--outline:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}
.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ── HEADER / NAVBAR ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(255, 106, 0, 0.07);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  gap: 1rem;
}

/* Logo */
.logo a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo h1 {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  color: var(--dark);
  font-weight: 400;
}

/* Nav links row */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

/* Page-specific invest links */
.nav-page-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-page-link:hover {
  color: var(--orange);
  background: var(--orange-pale);
}

.nav-page-link--cta {
  background: var(--orange);
  color: var(--white) !important;
  margin-left: 0.5rem;
}
.nav-page-link--cta:hover {
  background: var(--orange-dark);
  color: var(--white) !important;
}

/* Dropdown buttons */
.nav-links .dropdown {
  position: relative;
}

.dropbtn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mid);
  cursor: pointer;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropbtn::after {
  content: "▾";
  font-size: 0.65rem;
  color: var(--orange);
  transition: transform 0.2s;
}

.nav-links .dropdown:hover .dropbtn,
.nav-links .dropdown:focus-within .dropbtn {
  color: var(--orange);
  background: var(--orange-pale);
}

.nav-links .dropdown:hover .dropbtn::after {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  overflow: hidden;
  animation: dropDown 0.2s ease;
}

@keyframes dropDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-links .dropdown:hover .dropdown-content,
.nav-links .dropdown:focus-within .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: var(--mid);
  transition:
    background 0.15s,
    color 0.15s;
  border-bottom: 1px solid var(--border);
}

.dropdown-content a:last-child {
  border-bottom: none;
}
.dropdown-content a:hover {
  background: var(--orange-pale);
  color: var(--orange);
}

/* Header controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-btn,
.profile-btn {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

.theme-btn:hover,
.profile-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-pale);
}

/* Language toggle */
.language-toggle {
  position: relative;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.language-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-pale);
}

.language-btn i {
  color: var(--orange);
}
.lang-arrow {
  font-size: 0.6rem;
}

.language-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  max-height: 280px;
  overflow-y: auto;
  animation: dropDown 0.2s ease;
}

.language-toggle:hover .language-dropdown,
.language-toggle:focus-within .language-dropdown {
  display: block;
}

.language-dropdown li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  color: var(--mid);
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.language-dropdown li:last-child {
  border-bottom: none;
}
.language-dropdown li:hover {
  background: var(--orange-pale);
  color: var(--orange);
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 0.3rem 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--charcoal);
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
}

.hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(60px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero__slide--active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.hero__slide--exit {
  opacity: 0;
  transform: translateX(-60px);
}

.hero__slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(26, 5, 0, 0.65) 0%,
    rgba(26, 5, 0, 0.15) 60%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 0 3rem 0 5rem;
  padding-top: 5rem;
}

.hero__eyebrow {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--orange-light);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  color: var(--orange-light);
}

.hero__sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  gap: 2rem;
}

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

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.2rem;
}

/* Hero Visual Decoration */
.hero__visual {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.hero__circle {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.hero__circle--lg {
  width: 340px;
  height: 340px;
  top: -60px;
  left: -60px;
  animation: rotateCircle 20s linear infinite;
}

.hero__circle--sm {
  width: 200px;
  height: 200px;
  top: 20px;
  left: 20px;
  animation: rotateCircle 12s linear infinite reverse;
}

@keyframes rotateCircle {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero__label-card {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 69, 13, 0.25);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 70px 0 0 70px;
  width: 220px;
  text-align: center;
}

.hero__label-card span {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--orange-light);
  margin-bottom: 0.5rem;
}

.hero__label-card strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
}

/* Dots */
.hero__dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s;
}

.hero__dot--active {
  background: var(--orange);
  transform: scale(1.3);
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  opacity: 0.6;
}

.hero__scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--white), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

/* ── WHY SECTION ── */
.why {
  padding: 7rem 0;
  background: var(--off-white);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.why__card:hover::before {
  transform: scaleX(1);
}
.why__card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.why__icon {
  font-size: 1.6rem;
  color: var(--orange);
  margin-bottom: 1rem;
}

.why__card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.why__card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.65;
}

/* ── INVEST TYPES ── */
.invest-types {
  padding: 7rem 0;
  background: var(--white);
}

.invest-types__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 3rem;
  border: 2px solid var(--orange);
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
}

.tab-btn {
  padding: 0.7rem 2rem;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--orange);
  transition: var(--transition);
}

.tab-btn--active {
  background: var(--orange);
  color: var(--white);
}

.tab-content {
  display: none;
}
.tab-content--active {
  display: block;
}

.invest-intro {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.invest-intro p {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.75;
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.plan-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: var(--transition);
  background: var(--white);
}

.plan-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--orange-light);
}

.plan-card--featured {
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--orange-pale) 0%, var(--white) 100%);
  box-shadow: var(--shadow);
}

.plan-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-card__head {
  margin-bottom: 1rem;
}

.plan-card__duration {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-pale);
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.plan-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
}

.plan-card__roi {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.plan-card__roi span {
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--muted);
}

.plan-card__features {
  margin-bottom: 1.75rem;
}

.plan-card__features li {
  font-size: 0.85rem;
  color: var(--mid);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-card__features li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  font-size: 0.75rem;
}

/* ── DIVISIONS ── */
.divisions {
  padding: 7rem 0;
  background: var(--off-white);
}

.divisions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.div-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.div-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.div-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--orange), var(--orange-light));
}

.div-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.div-card__icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-pale);
  border-radius: 12px;
  flex-shrink: 0;
}

.div-card__header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}

.div-card__tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-pale);
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
}

.div-card > p {
  font-size: 0.92rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.div-card__highlights {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.div-card__hl {
  font-size: 0.85rem;
  color: var(--mid);
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.div-card__hl::before {
  content: "▸";
  color: var(--orange);
  font-size: 0.7rem;
}

.div-card__hl strong {
  color: var(--orange-dark);
}

.div-card__examples,
.div-card__tiers {
  background: var(--orange-pale);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.example-row,
.tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--orange-mid);
  font-size: 0.82rem;
  color: var(--dark);
}

.example-row:last-child,
.tier-row:last-child {
  border-bottom: none;
}

.example-tag {
  background: var(--orange);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
}

.div-card__donation-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.donate-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  background: var(--orange-pale);
  border: 1px solid var(--orange-light);
  color: var(--orange-dark);
}

.div-card__footer {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.div-card__metric {
  font-size: 0.82rem;
  color: var(--mid);
}

.div-card__metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--orange);
}

/* ── CALCULATOR ── */
.calculator-section {
  padding: 7rem 0;
  background: var(--orange);
}

.calculator-section .section-label {
  color: rgba(255, 255, 255, 0.75);
}
.calculator-section .section-title {
  color: var(--white);
}

.calculator-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.calc-form {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.calc-field {
  margin-bottom: 1.25rem;
}

.calc-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.calc-field input,
.calc-field select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
}

.calc-field select option {
  background: var(--white);
  color: var(--dark);
}

.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}

.calc-field input::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.calc-result {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.calc-result__placeholder {
  text-align: center;
  color: var(--muted);
}

.calc-result__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.calc-result__placeholder p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--mid);
}

.calc-result__output {
  width: 100%;
}

.calc-result__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.calc-result__row span {
  color: var(--muted);
}
.calc-result__row strong {
  color: var(--dark);
  font-size: 1rem;
}

.calc-result__row--highlight {
  background: var(--orange-pale);
  border-radius: 6px;
  padding: 0.8rem 0.75rem;
  margin: 0.3rem -0.75rem;
  border-bottom: none;
}

.calc-result__row--highlight strong {
  color: var(--orange);
  font-size: 1.2rem;
}

.calc-result__disclaimer {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 1rem;
  font-style: italic;
}

/* ── INVEST FORM ── */
.invest-form-section {
  padding: 7rem 0;
  background: var(--white);
}

.form-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}

.form-group textarea {
  resize: vertical;
}
.form-group {
  margin-bottom: 0;
}

.invest-form > .form-group {
  margin-bottom: 1.25rem;
}

.form-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.25rem 0 2rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--orange);
  flex-shrink: 0;
}

.form-check label {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.form-success {
  text-align: center;
  padding: 3rem;
}

.form-success__icon {
  width: 70px;
  height: 70px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  font-weight: 700;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.75);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.footer-top-row {
  display: flex;
  gap: 4rem;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

/* Brand col */
.footer-brand {
  flex-shrink: 0;
  max-width: 240px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-logo-text {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}

/* ft-links grid */
.ft-links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  flex: 1;
}

.ft-col h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.ft-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ft-col ul li {
  margin-bottom: 0.5rem;
}

.ft-col ul li a {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.ft-col ul li a:hover {
  color: var(--orange);
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem 0;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.contact-developer {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  transition: var(--transition);
  text-decoration: none;
}

.contact-developer:hover {
  background: var(--orange);
  color: var(--white);
}

/* ══════════════════════════════════════
     DARK MODE
     ══════════════════════════════════════ */
body.dark-mode {
  --white: #121212;
  --off-white: #1a1a1a;
  --charcoal: #0a0a0a;
  --dark: #f0f0f0;
  --mid: #b0b0b0;
  --muted: #888;
  --border: #2e2e2e;
  background: #121212;
  color: #e0e0e0;
}

body.dark-mode header {
  background: rgba(18, 18, 18, 0.96);
  border-bottom-color: #2e2e2e;
}

body.dark-mode .logo h1 {
  color: #f0f0f0;
}

body.dark-mode .dropbtn {
  color: #aaa;
}
body.dark-mode .dropbtn:hover {
  color: var(--orange);
}

body.dark-mode .dropdown-content {
  background: #1e1e1e;
  border-color: #333;
}

body.dark-mode .dropdown-content a {
  color: #aaa;
  border-bottom-color: #2a2a2a;
}
body.dark-mode .dropdown-content a:hover {
  background: rgba(255, 106, 0, 0.12);
  color: var(--orange);
}

body.dark-mode .nav-page-link {
  color: #aaa;
}
body.dark-mode .nav-page-link:hover {
  background: rgba(255, 106, 0, 0.1);
  color: var(--orange);
}

body.dark-mode .theme-btn,
body.dark-mode .profile-btn {
  background: #1e1e1e;
  border-color: #333;
  color: #aaa;
}

body.dark-mode .language-btn {
  background: #1e1e1e;
  border-color: #333;
  color: #aaa;
}

body.dark-mode .language-dropdown {
  background: #1e1e1e;
  border-color: #333;
}

body.dark-mode .language-dropdown li {
  color: #aaa;
  border-bottom-color: #2a2a2a;
}
body.dark-mode .language-dropdown li:hover {
  background: rgba(255, 106, 0, 0.1);
  color: var(--orange);
}

body.dark-mode .why {
  background: #1a1a1a;
}
body.dark-mode .why__card {
  background: #1e1e1e;
  border-color: #2e2e2e;
}
body.dark-mode .why__card h3 {
  color: #f0f0f0;
}
body.dark-mode .why__card p {
  color: #999;
}

body.dark-mode .invest-types {
  background: #121212;
}
body.dark-mode .invest-intro p {
  color: #999;
}

body.dark-mode .plan-card {
  background: #1e1e1e;
  border-color: #2e2e2e;
}
body.dark-mode .plan-card--featured {
  background: #1e1e1e;
  border-color: var(--orange);
}
body.dark-mode .plan-card h3 {
  color: #f0f0f0;
}
body.dark-mode .plan-card__features li {
  color: #999;
  border-bottom-color: #2a2a2a;
}
body.dark-mode .plan-card__duration {
  background: rgba(255, 106, 0, 0.15);
}

body.dark-mode .divisions {
  background: #1a1a1a;
}
body.dark-mode .div-card {
  background: #1e1e1e;
  border-color: #2e2e2e;
}
body.dark-mode .div-card > p {
  color: #999;
}
body.dark-mode .div-card__header h3 {
  color: #f0f0f0;
}
body.dark-mode .div-card__icon {
  background: rgba(255, 106, 0, 0.12);
}
body.dark-mode .div-card__examples,
body.dark-mode .div-card__tiers {
  background: rgba(255, 106, 0, 0.08);
}
body.dark-mode .example-row,
body.dark-mode .tier-row {
  color: #ddd;
  border-bottom-color: rgba(255, 106, 0, 0.1);
}
body.dark-mode .div-card__hl {
  color: #999;
}
body.dark-mode .div-card__footer {
  border-top-color: #2e2e2e;
}

body.dark-mode .section-title {
  color: #f0f0f0;
}

/* ── CALCULATOR DARK MODE ── */
body.dark-mode .calculator-section {
  background: #c94e00;
}

body.dark-mode .calculator-section .section-label {
  color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .calculator-section .section-title {
  color: #ffffff;
}

body.dark-mode .calc-form {
  background: #1e1e1e;
  border-color: #333;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .calc-field label {
  color: #aaa;
}

body.dark-mode .calc-field input,
body.dark-mode .calc-field select {
  background: #2a2a2a;
  border-color: #444;
  color: #f0f0f0;
}

body.dark-mode .calc-field input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .calc-field select option {
  background: #2a2a2a;
  color: #f0f0f0;
}

body.dark-mode .calc-field input:focus,
body.dark-mode .calc-field select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.25);
}

body.dark-mode .calc-result {
  background: #1e1e1e;
  border-color: #333;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .calc-result__placeholder {
  color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .calc-result__placeholder p {
  color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .calc-result__row {
  border-bottom-color: #2e2e2e;
}

body.dark-mode .calc-result__row span {
  color: rgba(255, 255, 255, 0.55);
}

body.dark-mode .calc-result__row strong {
  color: #f0f0f0;
}

body.dark-mode .calc-result__row--highlight {
  background: rgba(255, 106, 0, 0.18);
}

body.dark-mode .calc-result__row--highlight strong {
  color: var(--orange-light);
}

body.dark-mode .calc-result__disclaimer {
  color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .invest-form-section {
  background: #121212;
}
body.dark-mode .form-wrap {
  background: #1e1e1e;
  border-color: #2e2e2e;
}
body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
  background: #2a2a2a;
  border-color: #3a3a3a;
  color: #e0e0e0;
}
body.dark-mode .form-group label {
  color: #888;
}
body.dark-mode .form-check label {
  color: #888;
}

body.dark-mode footer {
  background: #0a0a0a;
}
body.dark-mode .ft-col h5 {
  color: #e0e0e0;
}
body.dark-mode .ft-col ul li a {
  color: rgba(255, 255, 255, 0.4);
}
body.dark-mode .footer-tagline {
  color: rgba(255, 255, 255, 0.35);
}
body.dark-mode .footer-bottom p {
  color: rgba(255, 255, 255, 0.25);
}

header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* Mobile nav open */
@media (max-width: 768px) {
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--orange);
    padding: 1.25rem 1.5rem;
    gap: 0.5rem;
    box-shadow: var(--shadow);
    z-index: 998;
  }

  .nav-links.open .nav-page-link {
    display: flex;
  }
  .nav-links.open .dropbtn {
    color: var(--mid);
  }
  .nav-links.open .dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--orange-pale);
    border-radius: var(--radius);
    animation: none;
  }
}
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .plans__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .divisions__grid {
    grid-template-columns: 1fr;
  }
  .nav-links .nav-page-link {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav__hamburger {
    display: block;
  }
  .hero__content {
    padding: 0 1.5rem;
    padding-top: 5rem;
  }
  .hero__visual {
    display: none;
  }
  .hero__stats {
    gap: 1rem;
    flex-wrap: wrap;
  }
  .plans__grid {
    grid-template-columns: 1fr;
  }
  .calculator-wrap {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .invest-types__tabs {
    flex-direction: column;
    width: 100%;
  }
  .why__grid {
    grid-template-columns: 1fr;
  }
  .hero__actions {
    flex-direction: column;
  }
  .header-controls .lang-label {
    display: none;
  }
  .footer-links-section {
    gap: 0.25rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  .hero__title {
    font-size: 2.8rem;
  }
  .container {
    padding: 0 1rem;
  }
  .navbar {
    padding: 0.6rem 1rem;
  }
  .footer-content,
  .footer-bottom {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ══════════════════════════════════════
     DIV-CARD BUTTON ROW
     ══════════════════════════════════════ */
.div-card__btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.div-card__btns .btn {
  flex: 1;
  min-width: 120px;
  font-size: 0.78rem;
  padding: 0.6rem 1rem;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ══════════════════════════════════════
     MODAL BACKDROP
     ══════════════════════════════════════ */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  animation: fadeIn 0.25s ease;
}

.modal-backdrop.open {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ══════════════════════════════════════
     MODAL
     ══════════════════════════════════════ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2100;
  overflow-y: auto;
  padding: 2rem 1rem;
}

.modal.open {
  display: block;
}

.modal__inner {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.modal__close:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.modal__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--orange-pale);
}

.modal__icon {
  font-size: 2.5rem;
  width: 64px;
  height: 64px;
  background: var(--orange-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal__header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.modal__lead {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--mid);
  margin-bottom: 1.5rem;
}

.modal__sub-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1.5rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.modal__inner > p {
  font-size: 0.92rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* Stats row */
.modal__stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--orange-pale);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.modal__stat {
  text-align: center;
}

.modal__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--orange);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.modal__stat span {
  font-size: 0.72rem;
  color: var(--mid);
  line-height: 1.4;
}

/* Table */
.modal__table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1rem 0;
}

.modal__table-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--mid);
  align-items: center;
  gap: 0.5rem;
}

.modal__table-row:last-child {
  border-bottom: none;
}

.modal__table-head {
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.modal__table-row:not(.modal__table-head):nth-child(even) {
  background: var(--orange-pale);
}

.modal__profit {
  color: #1a7a1a;
  font-weight: 700;
}

/* Machinery grid */
.modal__machinery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}

.modal__machine-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.modal__machine-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
}

.modal__machine-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.modal__machine-icon {
  font-size: 1.75rem;
  margin-bottom: 0.6rem;
}

.modal__machine-card h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.modal__machine-card > p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.modal__machine-stats {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.modal__machine-stats > div {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--border);
}

.modal__machine-stats > div:last-child {
  border-bottom: none;
}

.modal__machine-stats span {
  color: var(--muted);
}
.modal__machine-stats strong {
  color: var(--dark);
  text-align: right;
}

/* Investment tiers grid */
.modal__tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}

.modal__tier-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  position: relative;
  transition: var(--transition);
}

.modal__tier-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.modal__tier-card--featured {
  border-color: var(--orange);
  background: var(--orange-pale);
}

.modal__tier-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
}

.modal__tier-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.modal__tier-card h5 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.modal__tier-amount {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mid);
  margin-bottom: 0.35rem;
}

.modal__tier-roi {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 1rem;
}

.modal__tier-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.modal__tier-card ul li {
  font-size: 0.78rem;
  color: var(--mid);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.modal__tier-card ul li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.modal__tier-card ul li:last-child {
  border-bottom: none;
}

/* Donation section */
.modal__donation-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 1rem 0;
}

.modal__donation-type {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal__donation-type:last-child {
  border-bottom: none;
}

.modal__donation-type h6 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.modal__donation-type p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.modal__donation-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.donation-amt {
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--orange);
  border-radius: 20px;
  background: transparent;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.donation-amt:hover,
.donation-amt.active {
  background: var(--orange);
  color: var(--white);
}

.donation-amt--custom {
  border-style: dashed;
}

.modal__project-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal__project-list label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--mid);
  cursor: pointer;
}

.modal__donation-form h6 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.modal__field {
  margin-bottom: 0.85rem;
}

.modal__field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.modal__field input,
.modal__field textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--dark);
  background: var(--white);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.modal__field input:focus,
.modal__field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

.modal__field--check label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--mid);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.modal__donation-summary {
  background: var(--orange-pale);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.modal__donation-summary > div {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--mid);
}

.modal__donation-total {
  border-top: 1px solid var(--orange-mid);
  padding-top: 0.35rem;
  margin-top: 0.15rem;
  font-weight: 700;
  color: var(--dark) !important;
}

.modal__secure-note {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.6rem;
  font-style: italic;
}

.modal__impact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.modal__impact {
  text-align: center;
  padding: 0.6rem;
  background: var(--orange-pale);
  border-radius: var(--radius);
}

.modal__impact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--orange);
  font-weight: 700;
}

.modal__impact span {
  font-size: 0.68rem;
  color: var(--muted);
}

/* Foundation pills in modal */
.modal__donate-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

/* Modal actions */
.modal__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ══════════════════════════════════════
     DARK MODE — MODAL
     ══════════════════════════════════════ */
body.dark-mode .modal__inner {
  background: #1e1e1e;
  border: 1px solid #333;
}

body.dark-mode .modal__close {
  background: #2a2a2a;
  border-color: #444;
  color: #aaa;
}

body.dark-mode .modal__close:hover {
  background: var(--orange);
  color: var(--white);
}

body.dark-mode .modal__header {
  border-bottom-color: #2e2e2e;
}
body.dark-mode .modal__header h2 {
  color: #f0f0f0;
}
body.dark-mode .modal__icon {
  background: rgba(255, 106, 0, 0.15);
}
body.dark-mode .modal__lead {
  color: #aaa;
}
body.dark-mode .modal__inner > p {
  color: #aaa;
}
body.dark-mode .modal__sub-title {
  color: #f0f0f0;
}

body.dark-mode .modal__stats-row {
  background: rgba(255, 106, 0, 0.1);
}
body.dark-mode .modal__stat span {
  color: #aaa;
}

body.dark-mode .modal__table {
  border-color: #333;
}
body.dark-mode .modal__table-row {
  border-bottom-color: #2e2e2e;
  color: #bbb;
}
body.dark-mode .modal__table-row:not(.modal__table-head):nth-child(even) {
  background: rgba(255, 106, 0, 0.06);
}

body.dark-mode .modal__machine-card {
  background: #252525;
  border-color: #333;
}
body.dark-mode .modal__machine-card h5 {
  color: #f0f0f0;
}
body.dark-mode .modal__machine-card > p {
  color: #888;
}
body.dark-mode .modal__machine-stats > div {
  border-bottom-color: #333;
}
body.dark-mode .modal__machine-stats strong {
  color: #ddd;
}

body.dark-mode .modal__tier-card {
  background: #252525;
  border-color: #333;
}
body.dark-mode .modal__tier-card--featured {
  background: rgba(255, 106, 0, 0.1);
  border-color: var(--orange);
}
body.dark-mode .modal__tier-card h5 {
  color: #f0f0f0;
}
body.dark-mode .modal__tier-card ul li {
  color: #aaa;
  border-bottom-color: #333;
}

body.dark-mode .modal__donation-type {
  border-bottom-color: #333;
}
body.dark-mode .modal__donation-type h6 {
  color: #f0f0f0;
}
body.dark-mode .modal__donation-type p {
  color: #888;
}
body.dark-mode .modal__project-list label {
  color: #aaa;
}
body.dark-mode .modal__donation-form h6 {
  color: #f0f0f0;
}
body.dark-mode .modal__field label {
  color: #888;
}
body.dark-mode .modal__field input,
body.dark-mode .modal__field textarea {
  background: #2a2a2a;
  border-color: #444;
  color: #f0f0f0;
}
body.dark-mode .modal__donation-summary {
  background: rgba(255, 106, 0, 0.1);
}
body.dark-mode .modal__donation-summary > div {
  color: #aaa;
}
body.dark-mode .modal__donation-total {
  color: #f0f0f0 !important;
  border-top-color: #444;
}
body.dark-mode .modal__secure-note {
  color: #666;
}
body.dark-mode .modal__impact {
  background: rgba(255, 106, 0, 0.1);
}
body.dark-mode .modal__impact span {
  color: #888;
}
body.dark-mode .modal__actions {
  border-top-color: #2e2e2e;
}

/* ══════════════════════════════════════
     RESPONSIVE — MODAL
     ══════════════════════════════════════ */
@media (max-width: 900px) {
  .modal__machinery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal__tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal__stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal__donation-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .modal__inner {
    padding: 1.75rem 1.25rem;
  }
  .modal__machinery-grid {
    grid-template-columns: 1fr;
  }
  .modal__tiers-grid {
    grid-template-columns: 1fr;
  }
  .modal__stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal__table-row {
    grid-template-columns: 1fr 1fr;
    font-size: 0.75rem;
  }
  .modal__impact-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .div-card__btns {
    flex-direction: column;
  }
}

/* ══════════════════════════════════════
     FARMS MODAL — EXTRA COMPONENTS
     ══════════════════════════════════════ */

/* How It Works steps */
.modal__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1rem 0 1.5rem;
  position: relative;
}

.modal__steps::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 44px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--orange-light));
}

.modal__step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  position: relative;
}

.modal__step-num {
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 4px var(--white),
    0 0 0 6px var(--orange-light);
}

.modal__step-body h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.modal__step-body p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.6;
  margin: 0;
}

/* Example investment cards */
.modal__example-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.modal__example-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.modal__example-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange-light);
}

.modal__example-card--featured::before {
  background: var(--orange);
}
.modal__example-card--featured {
  border-color: var(--orange);
  background: var(--orange-pale);
}

.modal__example-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.modal__example-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.modal__example-crop {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1rem;
}

.modal__example-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.modal__example-invest {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mid);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
}

.modal__example-arrow {
  font-size: 1.2rem;
  color: var(--orange);
  font-weight: 700;
}

.modal__example-earn {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange);
  background: rgba(255, 106, 0, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
}

.modal__example-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border);
}

/* Ntonarch vs Bank comparison */
.modal__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.modal__compare-col {
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
}

.modal__compare-col--ntonarch {
  background: var(--orange-pale);
  border-color: var(--orange);
}

.modal__compare-col--bank {
  background: #fafafa;
  border-color: #ddd;
}

.modal__compare-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.modal__compare-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal__compare-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--mid);
  line-height: 1.5;
}

.modal__compare-col--ntonarch li .fa-check-circle {
  color: #1a7a1a;
}
.modal__compare-col--bank li .fa-times-circle {
  color: #c0392b;
}

/* Risk management grid */
.modal__risk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 0.75rem 0 1.5rem;
}

.modal__risk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--orange-pale);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.5;
}

.modal__risk-item i {
  color: var(--orange);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Why smarter reasons grid */
.modal__reasons-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin: 0.75rem 0 1.5rem;
}

.modal__reason {
  text-align: center;
  padding: 1rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.modal__reason:hover {
  border-color: var(--orange);
  background: var(--orange-pale);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.modal__reason-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.modal__reason h6 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.modal__reason p {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

/* What You Earn cards */
.modal__earn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0.75rem 0 1.5rem;
}

.modal__earn-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.modal__earn-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
}

.modal__earn-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.modal__earn-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.modal__earn-card h6 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.modal__earn-card p {
  font-size: 0.83rem;
  color: var(--mid);
  line-height: 1.6;
  margin: 0;
}

/* CTA Banner */
.modal__cta-banner {
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-dark) 100%
  );
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--white);
}

.modal__cta-banner h5 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.modal__cta-banner p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* ── DARK MODE — FARMS MODAL EXTRAS ── */
body.dark-mode .modal__step-num {
  box-shadow:
    0 0 0 4px #1e1e1e,
    0 0 0 6px var(--orange-light);
}
body.dark-mode .modal__step-body h5 {
  color: #f0f0f0;
}
body.dark-mode .modal__step-body p {
  color: #aaa;
}

body.dark-mode .modal__example-card {
  background: #252525;
  border-color: #333;
}
body.dark-mode .modal__example-card--featured {
  background: rgba(255, 106, 0, 0.1);
  border-color: var(--orange);
}
body.dark-mode .modal__example-crop {
  color: #ddd;
}
body.dark-mode .modal__example-invest {
  background: #1e1e1e;
  border-color: #444;
  color: #aaa;
}
body.dark-mode .modal__example-meta {
  color: #666;
  border-top-color: #333;
}

body.dark-mode .modal__compare-col--ntonarch {
  background: rgba(255, 106, 0, 0.1);
  border-color: var(--orange);
}
body.dark-mode .modal__compare-col--bank {
  background: #252525;
  border-color: #333;
}
body.dark-mode .modal__compare-head {
  color: #f0f0f0;
  border-bottom-color: #333;
}
body.dark-mode .modal__compare-col ul li {
  color: #aaa;
}

body.dark-mode .modal__risk-item {
  background: rgba(255, 106, 0, 0.08);
  color: #aaa;
}

body.dark-mode .modal__reason {
  background: #252525;
  border-color: #333;
}
body.dark-mode .modal__reason:hover {
  background: rgba(255, 106, 0, 0.1);
  border-color: var(--orange);
}
body.dark-mode .modal__reason h6 {
  color: #f0f0f0;
}
body.dark-mode .modal__reason p {
  color: #888;
}

body.dark-mode .modal__earn-card {
  background: #252525;
  border-color: #333;
}
body.dark-mode .modal__earn-card h6 {
  color: #f0f0f0;
}
body.dark-mode .modal__earn-card p {
  color: #aaa;
}

/* ── RESPONSIVE — FARMS MODAL EXTRAS ── */
@media (max-width: 768px) {
  .modal__example-cards {
    grid-template-columns: 1fr;
  }
  .modal__compare {
    grid-template-columns: 1fr;
  }
  .modal__risk-grid {
    grid-template-columns: 1fr;
  }
  .modal__reasons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .modal__earn-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .modal__reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal__steps::before {
    display: none;
  }
}

/* ══════════════════════════════════════
     EVENTS MODAL — COMPONENTS
     ══════════════════════════════════════ */

/* Investment Tiers */
.modal__events-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0 1.75rem;
}

.modal__events-tier {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  position: relative;
  transition: var(--transition);
}

.modal__events-tier:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.modal__events-tier--featured {
  border-color: var(--orange);
  background: var(--orange-pale);
}

.modal__events-tier-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.85rem;
  border-radius: 20px;
  white-space: nowrap;
}

.modal__events-tier-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.modal__events-tier h5 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.modal__events-tier-amount {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.modal__events-tier > p {
  font-size: 0.8rem;
  color: var(--mid);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.modal__events-tier-roi {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.modal__events-tier-roi strong {
  color: #1a7a1a;
}

.modal__events-tier-detail {
  font-size: 0.75rem;
  color: var(--muted);
}

.modal__events-tier-detail strong {
  color: var(--dark);
}

/* Equipment cards */
.modal__equip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0 1.75rem;
}

.modal__equip-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.modal__equip-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}

.modal__equip-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.modal__equip-icon {
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
}

.modal__equip-range {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  background: var(--orange-pale);
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.modal__equip-card h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.modal__equip-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.modal__equip-card ul li {
  font-size: 0.78rem;
  color: var(--mid);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.modal__equip-card ul li::before {
  content: "▸";
  color: var(--orange);
  position: absolute;
  left: 0;
  font-size: 0.7rem;
}

.modal__equip-revenue {
  font-size: 0.72rem;
  font-weight: 600;
  color: #1a7a1a;
  background: rgba(26, 122, 26, 0.08);
  border-radius: 4px;
  padding: 0.3rem 0.6rem;
  border-left: 3px solid #1a7a1a;
}

/* Projection table */
.modal__projection-table {
  margin: 1rem 0 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  overflow-x: auto;
}

.modal__proj-head,
.modal__proj-row,
.modal__proj-total {
  display: grid;
  grid-template-columns: 70px repeat(6, 1fr);
  gap: 0;
  font-size: 0.75rem;
  align-items: center;
}

.modal__proj-head {
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.modal__proj-head > span,
.modal__proj-row > span,
.modal__proj-total > span {
  padding: 0.65rem 0.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.modal__proj-head > span:last-child,
.modal__proj-row > span:last-child {
  border-right: none;
}

.modal__proj-row {
  border-bottom: 1px solid var(--border);
  color: var(--mid);
}
.modal__proj-row:last-of-type {
  border-bottom: none;
}
.modal__proj-row--alt {
  background: var(--orange-pale);
}

.modal__proj-year {
  font-weight: 700;
  color: var(--orange) !important;
}
.modal__proj-neg {
  color: #c0392b !important;
  font-weight: 700;
}
.modal__proj-pos {
  color: #1a7a1a !important;
  font-weight: 700;
}

.modal__proj-total {
  background: var(--charcoal);
  color: var(--white);
  font-weight: 600;
  font-size: 0.72rem;
  grid-template-columns: 70px 1fr;
  border-top: 2px solid var(--orange);
}

.modal__proj-total > span {
  border-right: none;
  padding: 0.75rem 0.6rem;
}

/* Competitive advantages */
.modal__adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0 1.75rem;
}

.modal__adv-col {
  background: var(--orange-pale);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--orange-mid);
}

.modal__adv-col h6 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal__adv-col h6 i {
  color: var(--orange);
}

.modal__adv-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal__adv-col ul li {
  font-size: 0.8rem;
  color: var(--mid);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.modal__adv-col ul li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  position: absolute;
  left: 0;
  font-size: 0.7rem;
}

/* Risk 3-col */
.modal__risk-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0 1.75rem;
}

.modal__risk3-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--transition);
}

.modal__risk3-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--orange-light);
}

.modal__risk3-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.modal__risk3-card h6 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.65rem;
}

.modal__risk3-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.modal__risk3-card ul li {
  font-size: 0.78rem;
  color: var(--mid);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.modal__risk3-card ul li::before {
  content: "▸";
  color: var(--orange);
  position: absolute;
  left: 0;
  font-size: 0.7rem;
}

/* Investment structure */
.modal__structure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1rem 0 1.75rem;
}

.modal__structure-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--transition);
}

.modal__structure-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--orange-light);
}

.modal__structure-card--featured {
  border-color: var(--orange);
  background: var(--orange-pale);
}

.modal__structure-num {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.4rem;
  opacity: 0.6;
}

.modal__structure-card h6 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.modal__structure-card p {
  font-size: 0.78rem;
  color: var(--mid);
  line-height: 1.6;
  margin: 0;
}

/* Notice box */
.modal__notice {
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
  background: var(--orange-pale);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  line-height: 1.6;
}

.modal__notice i {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── DARK MODE — EVENTS MODAL ── */
body.dark-mode .modal__events-tier {
  background: #252525;
  border-color: #333;
}
body.dark-mode .modal__events-tier--featured {
  background: rgba(255, 106, 0, 0.1);
  border-color: var(--orange);
}
body.dark-mode .modal__events-tier h5 {
  color: #f0f0f0;
}
body.dark-mode .modal__events-tier > p {
  color: #aaa;
}
body.dark-mode .modal__events-tier-roi {
  color: #ddd;
}
body.dark-mode .modal__events-tier-detail {
  color: #777;
}
body.dark-mode .modal__events-tier-detail strong {
  color: #ddd;
}

body.dark-mode .modal__equip-card {
  background: #252525;
  border-color: #333;
}
body.dark-mode .modal__equip-card h5 {
  color: #f0f0f0;
}
body.dark-mode .modal__equip-card ul li {
  color: #aaa;
}

body.dark-mode .modal__proj-head {
  background: var(--orange-dark);
}
body.dark-mode .modal__proj-row {
  border-bottom-color: #2e2e2e;
  color: #bbb;
}
body.dark-mode .modal__proj-row--alt {
  background: rgba(255, 106, 0, 0.06);
}
body.dark-mode .modal__proj-total {
  background: #0a0a0a;
}

body.dark-mode .modal__adv-col {
  background: rgba(255, 106, 0, 0.08);
  border-color: rgba(255, 106, 0, 0.2);
}
body.dark-mode .modal__adv-col h6 {
  color: #f0f0f0;
}
body.dark-mode .modal__adv-col ul li {
  color: #aaa;
}

body.dark-mode .modal__risk3-card {
  background: #252525;
  border-color: #333;
}
body.dark-mode .modal__risk3-card h6 {
  color: #f0f0f0;
}
body.dark-mode .modal__risk3-card ul li {
  color: #aaa;
}

body.dark-mode .modal__structure-card {
  background: #252525;
  border-color: #333;
}
body.dark-mode .modal__structure-card--featured {
  background: rgba(255, 106, 0, 0.1);
  border-color: var(--orange);
}
body.dark-mode .modal__structure-card h6 {
  color: #f0f0f0;
}
body.dark-mode .modal__structure-card p {
  color: #aaa;
}

body.dark-mode .modal__notice {
  background: rgba(255, 106, 0, 0.08);
  color: #888;
}

/* ── RESPONSIVE — EVENTS MODAL ── */
@media (max-width: 900px) {
  .modal__events-tiers {
    grid-template-columns: 1fr;
  }
  .modal__equip-grid {
    grid-template-columns: 1fr;
  }
  .modal__adv-grid {
    grid-template-columns: 1fr;
  }
  .modal__risk-3col {
    grid-template-columns: 1fr;
  }
  .modal__structure-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal__proj-head,
  .modal__proj-row {
    grid-template-columns: 60px repeat(3, 1fr);
  }
  .modal__proj-head > span:nth-child(n + 5),
  .modal__proj-row > span:nth-child(n + 5) {
    display: none;
  }
}

@media (max-width: 600px) {
  .modal__structure-grid {
    grid-template-columns: 1fr;
  }
  .modal__events-tiers {
    grid-template-columns: 1fr;
  }
}
