/* Zakomentirane redove ne brišemo, jer će nam možda trebati ako budemo selili page na drugi projekt*/


/* :root {
  --container-width: 1200px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;
  --color-primary: #1f7a4d;
  --color-primary-hover: #17633f;
  --color-accent: #4ade80;
  --color-success: #15803d;
  --color-danger: #dc2626;
  --color-title: #1e293b;
  --color-text: #1e293b;
  --color-text-secondary: #4b5563;
  --color-text-light: #64748b;
	--color-text-small-on-dark: lightblue;
  --color-border: #e2e8f0;
  --color-background: #ffffff;
  --color-background-alt: #e6e6e6;
  --color-surface: #ffffff;
  --color-surface-strong: #ffffff;
  --color-cta-bg: #2f3555;
  --color-featured: #da6c1d;
  --color-featured-hover: #c0611d;
  --color-ribbon-green: #16a34a;
  --color-ribbon-blue: #2563eb;
  --color-ribbon-blue-hover: #1d4ed8;
  --color-highlight-loss: #ff4d4f;
  --color-highlight-save: #16a34a;
  --color-dark-panel: #1e2538;
  --color-btn-light: #ffffff;
  --color-btn-light-hover: #e6e6e6;
  --color-divider-accent: #2f88414a;
  --color-divider-soft: rgba(15, 23, 42, 0.04);
  --shadow-level-1: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-level-2: 0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-level-3: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-level-mobile: 0 6px 16px rgba(223, 226, 240, 0.9);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 999px;
}

html.dark {
  --color-title: #ffffff;
  --color-text: #f1f5f9;
  --color-text-secondary: #9aa5b8;
  --color-text-light: #cbd5e1;
  --color-border: #3a4150;
  --color-background: #2a2f3a;
  --color-background-alt: #323847;
  --color-surface: #2f3543;
  --color-surface-strong: #3c4458;
  --color-btn-light: #3c4458;
  --color-btn-light-hover: #343b4d;
  --color-divider-accent: rgba(47, 136, 65, 0.4);
  --color-divider-soft: rgba(226, 232, 240, 0.12);
  --shadow-level-mobile: 0 6px 16px rgba(0, 0, 0, 0.35);
} */

/* html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
} */

body {
  margin: 0;
  font-family: Roboto, sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===================================================== */
/* TYPOGRAPHY */
/* ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", sans-serif;
  margin: 0;
  line-height: 1.2;
  color: var(--color-title);
}

/* font-family: "Poppins", sans-serif; */
h1 {
  font-size: clamp(22px, 5vw, 32px);
  margin-bottom: var(--space-3);
}

h2 {
  font-size: clamp(24px, 4vw, 32px);
}

p {
  margin: 0;
  color: var(--color-text-light);
}

/* ===================================================== */
/* LAYOUT SYSTEM */
/* container, section spacing */
/* ===================================================== */
.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

.section {
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}

.section-title {
  text-align: center;
}

.section-subtitle {
  padding-top: var(--space-3);
  padding-bottom: var(--space-6);
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease;
  box-shadow: var(--shadow-level-1);
  font-size: 16px;
}

.btn-primary {
  background: var(--color-primary);
  color: white !important;
}

.btn-primary:hover {
  background: var(--color-primary-hover) !important;
}

.btn-secondary {
  border: 1px solid var(--color-border);
  color: var(--color-text) !important;
  background-color: var(--color-btn-light);
}

.btn-secondary:hover {
  background: var(--color-btn-light-hover) !important;
}

.btn-tertiary {
  border: 1px solid #3a4150;
  color: #f1f5f9 !important;
  background-color: #3c4458;
}

.btn-tertiary:hover {
  background: #343b4d !important;
}

.btn-featured {
  background: var(--color-featured);
}

.btn-featured:hover {
  background: var(--color-featured-hover);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* ===================================================== */
/* MINI SECTION */
/* Divider sections between main sections */
/* ===================================================== */
.mini-section {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  background: var(--color-background-alt);
  text-align: center;
}

.mini-section-title {
  font-weight: 600;
}

/* ===================================================== */
/* MINI SECTION - WITH DESCRIPTION */
/* Narrow layout for explanation mini sections */
/* ===================================================== */
.mini-section-narrow {
  text-align: center;
}

.mini-section-description {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-top: var(--space-3);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* ===================================================== */
/* HERO SECTION */
/* Custom styling specific to hero */
/* ===================================================== */
.hero {
  padding: var(--space-7) 0 var(--space-7);
  background: var(--color-background);
}

/* Overline */
.hero-overline {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-2);
}

/* Title */
.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  max-width: 950px;
  margin: 0 auto var(--space-3);
}

.hero-highlight {
  color: var(--color-primary);
}

/* Subtitle */
.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
  color: var(--color-text-secondary);
}

/* Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Hero -left-grid */
.hero-left-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1);
  align-items: start;
}

.hero-left-content {
  display: inline;
  margin: 0 auto var(--space-5);
  position: relative;
  padding-left: 24px;
	padding-right: 28px;
}

.hero-left-content h4 {
  margin-bottom: 24px;
  font-weight: 600;
  color: var(--color-text);
}

/* Vertikalna linija */
.hero-left-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  width: 2px;
  height: 100%;
  background-color: var(--color-primary);
}

/* Lista */
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points li {
  position: relative;
  margin-bottom: 24px;
  padding-left: var(--space-1);
  font-size: 16px;
  color: var(--color-text);
}

/* Marker na liniji */
.hero-points li::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 10px;
  width: 14px;
  height: 2px;
  background-color: var(--color-primary);
}

/* Marker na spoju grane i linije */
.hero-points li::after {
  content: "";
  position: absolute;
  left: -16px;
  top: 6px;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

/* Hero Left present */
.hero-left-present {
  display: flex;
  flex-direction: column;
  justify-content: start;
	padding: 0 24px;
}

.hero .present-block h4 {
  font-size: 16px;
  margin-bottom: 16px;
  text-align: center;
}

.hero-left-present ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-left-present li {
  font-size: 14px;
  color: var(--color-text-light);
  background: var(--color-background-alt);
  padding: 6px 12px;
  border-radius: var(--radius-xl);
  list-style: none;
}

/* Trust line */
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--color-text-light);
}

.hero-trust span {
  position: relative;
  padding: 4px 10px;
  background: var(--color-background-alt);
  border-radius: var(--radius-xl);
}

.hero-dual-cta {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.cta-card {
  flex: 1;
  max-width: 380px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-background);
  box-shadow: var(--shadow-level-1);
  text-align: center;
}

.cta-title {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--color-text);
}

.cta-description {
  font-size: 15px;
  margin-bottom: 20px;
  color: var(--color-text-light);
}

/* HERO Right Image col */
.dashboard-image {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  box-shadow: var(--shadow-level-3);
}

/* Responsive */
@media (max-width: 992px) {

.hero-grid {
  grid-template-columns: 1fr;
  gap: 40px;
}

.hero-title {
  font-size: 36px;
}

.hero .btn {
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.hero-left-present ul {
  justify-content: center;
}
}

/* Responsive */
@media (max-width: 1600px) {

.hero {
  padding: var(--space-6) 0 var(--space-7);
}

.hero-title {
  font-size: 38px;
}

.hero-dual-cta {
  margin-top: 0;
}
}

@media (max-width: 992px) {

.hero-grid {
  grid-template-columns: 1fr;
  gap: 40px;
}

.hero-title {
  font-size: 36px;
}

.hero-dual-cta {
  flex-direction: column;
  align-items: center;
}

.cta-card {
  width: 100%;
  max-width: 420px;
}

.hero .btn {
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.hero-left-present ul {
  justify-content: center;
}
}

@media (max-width: 768px) {

/* Hero -left-grid */
.hero-left-grid {
  grid-template-columns: 1fr;
  gap: var(--space-1);
}

.hero-left-present ul {
  padding: var(--space-2) 0;
}
}

@media (max-width: 510px) {

/* Hero buttons */
.hero .cta-group {
  flex-direction: column;
  align-items: center;
}
}

@media (max-width: 470px) {

.hero-title {
  font-size: 28px;
}
}

/* ===================================================== */
/* MARKETPLACE EXPLANATION SECTION */
/* How marketplace works - 3 column SaaS explanation */
/* ===================================================== */
.marketplace-explanation {
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}

.explanation-grid {
  display: grid;
  gap: var(--space-6);
}

/* ITEM */
.explanation-item {
  text-align: center;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--color-background);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  box-shadow: var(--shadow-level-2);
}

/* ===================================================== */
/* MARKETPLACE EXPLANATION - IMAGE VERSION */
/* ===================================================== */
.explanation-image {
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-4);
}

.explanation-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* TITLE */
.explanation-item h3 {
  font-size: 20px;
  margin-bottom: var(--space-2);
}

/* TEXT */
.explanation-item p {
  font-size: 15px;
}

/* ===================================================== */
/* TABLET */
/* ===================================================== */
@media (min-width: 768px) {

.explanation-grid {
  grid-template-columns: repeat(3, 1fr);
}
}

/* ===================================================== */
/* DESKTOP */
/* More white space */
/* ===================================================== */
@media (min-width: 1024px) {

.explanation-grid {
  gap: var(--space-7);
}
}

/* ===================================================== */
/* WHOLESALE VS RETAIL SECTION */
/* Premium split SaaS layout */
/* ===================================================== */
.wholesale-retail {
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}

.wholesale-retail .section-title {
  text-align: center;
  margin-bottom: var(--space-6);
}

.wr-grid {
  display: grid;
  gap: var(--space-6);
}

/* ===================================================== */
/* WHOLESALE / RETAIL RIBBON */
/* Centered ribbon overlapping top border */
/* ===================================================== */
.wr-card {
  position: relative;
  padding: var(--space-5);
  padding-bottom: var(--space-1);
  border-radius: var(--radius-lg);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-level-2);
}

.wr-card img {
  border-radius: var(--radius-xs);
}

/* BASE RIBBON */
.wr-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 26px 6px 18px;
  font-size: 16px;
  font-weight: 600;
  font-family: sans-serif;
  color: #fff;
  z-index: 2;
  letter-spacing: 1.7px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  clip-path: polygon(0% 0%, 100% 0%, calc(100% - 13px) 38%, 100% 100%, 0% 100%);
}

/* usječeni V na desnoj strani */
/* Redom: top-left, prije ureza gore, vrh ureza, prije ureza dolje, bottom-left */
/* WHOLESALE - GREEN */
.wr-ribbon-wholesale {
  background: var(--color-ribbon-green);
}

/* RETAIL - BLUE */
.wr-ribbon-retail {
  background: var(--color-ribbon-blue);
}

/* TITLE */
.wr-card h3 {
  font-size: 22px;
  margin-bottom: var(--space-4);
  margin-top: var(--space-3);
}

/* FEATURES */
.wr-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5) 0;
  display: grid;
  gap: var(--space-3);
}

.wr-features li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--color-text-light);
}

/* Subtle check indicator */
.wr-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* CTA */
.wr-cta {
  display: inline-block;
}

/* ===================================================== */
/* RESPONSIVE */
/* ===================================================== */
@media (min-width: 768px) {

.wr-grid {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
}

/* ===================================================== */
/* Advanced Product Intelligence */
/* ===================================================== */
.explainer-section {
  padding: var(--space-7) 0;
  position: relative;
}

.explainer-section .section-title {
  text-align: center;
  padding-bottom: 100px;
}

.explainer-grid {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.explainer-tree-mobile {
  display: none;
}

.explainer-dashboard {
  position: relative;
  border-radius: var(--radius-md);
  padding: var(--space-3);
  background: var(--color-surface);
  box-shadow: var(--shadow-level-3);
}

/* Shadow dolje i desno */
/* Central image */
.explainer-central img {
  max-width: 500px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

/* Block items */
.explainer-item {
  width: 140px;
  background: var(--color-background-alt);
  border-radius: var(--radius-xs);
  border-color: var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  box-shadow: var(--shadow-level-2);
  position: absolute;
}

/* Icon inside block */
.explainer-icon {
  margin-bottom: 8px;
}

/* Desktop positioning */
.item-1 {
  bottom: 40px;
  left: -150px /* bottom-left */;
}

.item-2 {
  top: 95px;
  left: -130px /* bottom-left */;
}

.item-3 {
  top: -70px;
  left: -84px;
  width: auto /* top-left */;
}

.item-4 {
  top: 37px;
  right: -150px /* top-right */;
}

.item-5 {
  bottom: 220px;
  right: -150px /* bottom-right */;
}

.item-6 {
  bottom: 151px;
  right: -150px /* bottom-right */;
}

.item-7 {
  bottom: 88px;
  right: -150px /* bottom-right */;
}

.item-8 {
  bottom: 33px;
  right: -150px /* bottom-right */;
}

/* Connecting lines (pseudo-element) */
.explainer-item::after {
  content: "";
  position: absolute;
  width: 2px;
  background: var(--color-primary);
  transform-origin: top;
}

.explainer-item.item-right::after {
  top: 50%;
  left: 0;
}

.explainer-item.item-left::after {
  top: 50%;
  right: 0px;
}

/* Customize rotation per item */
.item-1::after {
  transform: rotate(-75deg);
  height: 51px;
}

.item-2::after {
  transform: rotate(-82deg);
  height: 89px;
}

.item-3::after {
  transform: rotate(-63deg);
  height: 273px;
}

.item-4::after {
  transform: rotate(62deg);
  height: 123px;
}

.item-5::after {
  transform: rotate(73deg);
  height: 130px;
}

.item-6::after {
  transform: rotate(90deg);
  height: 71px;
}

.item-7::after {
  transform: rotate(90deg);
  height: 71px;
}

.item-8::after {
  transform: rotate(90deg);
  height: 45px;
}

/* Responsive mobile */
@media (max-width: 865px) {

/* Title spacing */
.explainer-section .section-title {
  padding-bottom: 24px /* malo više prostora */;
  font-size: 24px;
  line-height: 1.3;
}

.explainer-dashboard {
  background-color: var(--color-background);
}

/* Grid stack */
.explainer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: static;
}

/* Explainer items */
.explainer-item {
  position: static;
  width: 90%;
  max-width: 300px;
  height: auto;
  margin: 16px 0 /* vertikalni spacing između kartica */;
  padding: 16px  /* malo veći padding za mobile */;
  font-size: 15px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-level-mobile);
}

/* Hide lines */
.explainer-item::after {
  display: none;
}

/* Central image scaling */
.explainer-central img {
  max-width: 90%;
  width: auto;
  height: auto;
  margin-bottom: 32px /* prostor između slike i prvog kvadrata */;
  border: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-level-1);
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

/* Hide old stacked explainer items */
.explainer-grid .explainer-item {
  display: none;
}

/* Tree container */
.explainer-tree-mobile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 40px /* space for vertical line */;
  padding-top: 24px;
}

/* Vertical line */
.explainer-tree-line {
  position: absolute;
  top: 0;
  left: 16px;
  width: 4px;
  height: 100%;
  background: var(--color-primary) /* border color */;
  border-radius: 2px;
}

/* Items */
.explainer-tree-item {
  position: relative;
  background: var(--color-surface-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-level-1);
  padding: 12px 16px;
  margin-bottom: 24px;
  width: calc(100% - 60px);
  display: flex;
  align-items: center;
}

/* Connector from line to item */
.explainer-tree-item::before {
  content: '';
  position: absolute;
  left: -24px /* distance from vertical line */;
  top: 20px /* vertical alignment with content */;
  width: 24px;
  height: 2px;
  background: var(--color-primary) /* same as vertical line */;
}

.explainer-tree-item:last-child {
  margin-bottom: 0;
}

/* Optional: SVG icon inside items */
.explainer-tree-item svg {
  margin-right: 8px;
  vertical-align: middle;
}

.explainer-tree-item svg rect {
  stroke: var(--color-primary);
}

.explainer-tree-mobile .explainer-tree-item {
  background-color: var(--color-background-alt);
}
}

/* ===================================================== */
/* PUBLICHUB SECTION */
/* Offers and Requests in One Place */
/* ===================================================== */
.publichub-section {
  padding: var(--space-7) 0;
}

.publichub-section .section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
}

/* Grid */
.publichub-grid {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
}

/* Card */
.publichub-card {
  position: relative;
  flex: 1 1 320px;
  max-width: 420px;
  background: var(--color-background);
  padding: var(--space-6) var(--space-4) var(--space-4) var(--space-4);
  text-align: center;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-level-2);
}

/* Icon */
.publichub-icon {
  margin-bottom: 18px;
}

/* Card title */
.publichub-card-title {
  font-size: 22px;
  margin-bottom: 12px;
}

/* Card text */
.publichub-card-text {
  font-size: 16px;
  line-height: 1.6;
}

/* Ribbon colors */
.ribbon-green {
  background: var(--color-ribbon-green);
}

.ribbon-blue {
  background: var(--color-ribbon-blue);
}

/* ===================================================== */
/* MOBILE */
/* ===================================================== */
@media (max-width: 768px) {

.publichub-grid {
  flex-direction: column;
  align-items: center;
}
}

/* ========================================= */
/* MINI SECTION - Who is this for? (Infinite Slider) */
/* ========================================= */
.ecosystem-scroll {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: var(--space-1);
  margin-bottom: var(--space-3);
}

.ecosystem-track {
  display: flex;
  gap: 14px;
  width: max-content;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  animation: slideLeft 40s linear infinite;
}

/* prevent text selection */
.ecosystem-item {
  padding: 12px 56px;
  margin: 0 24px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: all .2s ease;
  box-shadow: var(--shadow-level-1);
  user-select: none;
}

/* CTA variant */
.ecosystem-item-cta {
  background: var(--color-ribbon-blue);
  color: #fff;
  border-color: var(--color-ribbon-blue);
  font-weight: 600;
}

.ecosystem-item-cta:hover {
  background: var(--color-ribbon-blue-hover);
}

/* Pause on hover */
.ecosystem-scroll:hover .ecosystem-track {
  animation-play-state: paused;
}

/* Keyframes for infinite scroll */
@keyframes slideLeft {

0% {
  transform: translateX(0);
}

100% {
  transform: translateX(-50%);
}
}

@media (max-width: 990px) {

.ecosystem-item {
  padding: 12px 32px;
  margin: 0 8px;
}
}

@media (max-width: 590px) {

.ecosystem-item {
  padding: 12px 24px;
  margin: 0 0;
}
}

@media (max-width: 450px) {

.ecosystem-item {
  padding: 12px 12px;
}
}

/* ========================================= */
/* MINI SECTION - DARK */
/* ========================================= */
.mini-section-dark {
  background-color: var(--color-dark-panel);
  color: #fff;
  padding: 64px 0 /* veliki padding, za “stop-scroll” efekt */;
  text-align: center;
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}

.mini-section-dark .mini-section-title {
  color: #fff;
}

.mini-section-dark .mini-section-description {
  margin-bottom: var(--space-4);
  font-size: 18px;
  line-height: 1.8;
  color: #fff;
}

.mini-section-dark .highlight-loss {
  color: var(--color-highlight-loss);
  font-weight: 700;
}

.mini-section-dark .highlight-save {
  color: var(--color-highlight-save);
  font-weight: 700;
}

.mini-section-dark .btn-primary {
  background-color: var(--color-ribbon-green);
  color: #fff;
}

.mini-section-dark .btn-primary:hover {
  background-color: var(--color-success);
}

body.modal-open {
  overflow: hidden;
}

.comparison-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 10000;
}

.comparison-modal.is-open,
.comparison-modal.is-closing {
  display: flex;
}

.comparison-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.comparison-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(4px);
}

.comparison-modal__dialog {
  position: relative;
  width: min(1100px, 100%);
  max-height: min(88vh, 960px);
  background: var(--color-surface);
  border-radius: 24px;
  box-shadow: var(--shadow-level-3);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.comparison-modal__content {
  position: relative;
  max-height: min(88vh, 960px);
  overflow-y: auto;
  padding: 32px;
  scrollbar-gutter: stable;
}

.comparison-modal__header {
  padding-right: 72px;
  margin-bottom: 16px;
}

.comparison-modal__header h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 8px;
}

.comparison-modal__header p,
.comparison-modal__intro,
.comparison-modal__footer {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-light);
}

.comparison-modal__intro {
  margin-bottom: 24px;
}

.comparison-modal__footer {
  margin-top: 20px;
}

.comparison-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 999px;
  background: var(--color-background-alt);
  color: var(--color-title);
  box-shadow: var(--shadow-level-1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.comparison-modal__close:hover {
  transform: scale(1.05);
  background: var(--color-btn-light-hover);
}

.comparison-table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-background);
}

.comparison-table-wrapper {
  min-width: 760px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 20px 18px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  position: sticky;
  top: 0;
  background: #e6f2ea;
  color: #2f6b45;
  font-weight: 700;
}

.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table__text-red {
  color: #d32f2f;
}

.comparison-table__text-green {
  color: #2e7d32;
}

.comparison-table__text-highlight {
  color: #1b5e20;
  background: #c8e6c9;
}

html.dark .comparison-table__text-highlight {
  background: rgba(34, 197, 94, 0.18);
}

@media (max-width: 768px) {

.comparison-modal {
  padding: 10px;
  align-items: flex-end;
}

.comparison-modal__dialog,
.comparison-modal__content {
  max-height: 92vh;
}

.comparison-modal__content {
  padding: 20px 16px 16px;
}

.comparison-modal__header {
  padding-right: 64px;
}

.comparison-modal__header h2 {
  font-size: 26px;
}

.comparison-modal__close {
  top: 10px;
  right: 10px;
  width: 56px;
  height: 56px;
  font-size: 34px;
}

.comparison-table-wrapper {
  min-width: 680px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 14px;
  font-size: 14px;
}
}

/* Section header */
.pricing-section .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-section .section-title {
  font-size: 32px;
  font-weight: 600;
}

.pricing-section .section-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
}

/* Pricing cards grid */
.pricing-section .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.pricing-section .pricing-card {
  position: relative;
  background: var(--color-background-alt);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4) var(--space-4);
  margin-bottom: var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-level-2);
}

.pricing-section .card-title {
  width: 100%;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.pricing-section .card-price .price-amount {
  margin-right: 8px;
  font-size: 36px;
}

.pricing-section .card-price {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.pricing-section .price-subtext {
  font-weight: 400;
  color: var(--color-text-light);
}

.pricing-section .price-subline {
  color: var(--color-text-light);
  margin-bottom: var(--space-2);
}

.pricing-section .card-description {
  padding-bottom: var(--space-2);
  color: var(--color-text-secondary);
  font-size: 13px;
  display: block;
  width: 100%;
  text-align: center;
}

.pricing-section .card-features li {
  margin-bottom: 0.5rem;
}

.pricing-section .card-features {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: var(--space-1);
  color: var(--color-text-secondary);
}

.pricing-section .card-note {
  margin-bottom: var(--space-3);
  text-align: center;
  display: block;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
}

.pricing-section .featured-card .card-price .price-separator {
  font-size: 32px;
  margin-right: 8px;
  font-weight: 200;
}

.pricing-section .featured-card .card-price .price-subtext {
  font-size: 22px;
}

/* Featured card highlight */
.pricing-section .featured-card {
  border: 2px solid var(--color-ribbon-blue);
  padding-top: var(--space-5);
  position: relative;
}

.pricing-section .foundation-card .card-price span {
  color: var(--color-featured);
}

.pricing-section .foundation-card .card-price .price-symbol {
  font-weight: 200;
  margin-left: -8px;
  margin-right: 8px;
  font-size: 32px;
}

.pricing-section .foundation-card .card-price .price-subtext {
  font-weight: 600;
  font-size: 21px;
}

/* ========================================= */
/* PRICING SECTION */
/* ========================================= */
.pricing-section {
  padding: var(--space-7) 0;
  background: var(--color-background);
}

.pricing-section .foundation-card .price-original {
  text-decoration: line-through;
  color: var(--color-text-light);
  font-size: 18px;
  margin-right: 8px;
  opacity: 0.7;
  margin-top: -29px;
}

.pricing-section .foundation-card .price-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
}

.pricing-section .foundation-card .price-separator {
  margin-right: 8px;
}

.pricing-section .foundation-card .card-description {
  padding-top: 10px;
  margin-bottom: var(--space-3);
}

.pricing-section .foundation-card .card-note-footer {
  border-top: 0px solid;
  margin-top: 8px;
}

.pricing-section .card-badge.subtle {
  background: var(--color-featured);
}

.pricing-section .card-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-ribbon-blue);
  color: #fff;
  padding: 3px 16px;
  border-radius: var(--radius-xl);
  width: 267px;
  text-align: center;
}

.pricing-section .btn-pricing {
  margin: 0 auto;
}

.pricing-section .addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

/* green checkmark */
.pricing-section .card-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
}

.pricing-section .card-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--color-text);
}

/* ===================================================== */
/* GREEN CHECKMARK BULLETS */
/* ===================================================== */
.pricing-section .card-features {
  list-style: none;
  padding-left: 0;
}

.no-commissions-section .bordered-title {
  padding: 0 16px 32px 16px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 64px;
  text-align: center;
}

/* Grid */
.no-commissions-section .pricing-grid {
  display: flex;
  gap: 0;
}

.no-commissions-section .dbc-card .dbc-icon img {
  margin: 0 auto;
  max-width: 120px;
  border-radius: var(--radius-xs);
}

.no-commissions-section .dbc-card .card-title {
  padding: 16px;
  border-bottom: 1px solid var(--color-divider-accent);
  margin-bottom: 16px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
}

.no-commissions-section .dbc-card .card-description {
  font-size: 18px;
  line-height: 1.6;
  padding: 8px 29px;
}

/* Columns */
.no-commissions-section .dbc-card {
  flex: 1;
  padding: 16px;
  border-left: 0;
  border-right: 0;
}

/* Middle column gets left + right border */
.no-commissions-section .dbc-middle {
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}

/* Responsive adjustments */
@media (max-width: 768px) {

.no-commissions-section .pricing-grid {
  flex-direction: column;
}

.no-commissions-section .dbc-card .card-title {
  border-bottom: 1px solid var(--color-divider-soft);
  margin-bottom: 16px;
}

.no-commissions-section .dbc-card {
  border-left: 0 !important;
  border-right: 0 !important;
  margin-bottom: 16px;
}
}

.cta-section .section-header {
  text-align: center;
  margin-bottom: var(--space-4);
}

.cta-section .section-title {
  color: #fff;
}

.cta-section .cta-grid {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .cta-col a {
  width: 90%;
}

.cta-section .cta-col {
  flex: 1 1 300px;
  max-width: 300px;
  text-align: center;
}

/* ===================================================== */
/* LAST - CTA SECTION - 3 buttons */
/* ===================================================== */
.cta-section {
  background: var(--color-cta-bg);
  text-align: center;
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}

/* .theme-toggle:hover {
  transform: scale(1.1);
} */
.btn-explanation {
	color: var(--color-text-small-on-dark);
}

.cta-section .btn-tertiary {
	margin-top: var(--space-5);
}

/* ===================================================== */
/* Dark/Light mode toggle button */
/* ===================================================== */
/* .theme-toggle {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.2s ease;
} */
