/* ============================================================
ECO GROW CONNECT — LIGHT THEME
Brand colors derived from attached logo:
• Primary Green:   #43A047  (ECO GROW)
• Secondary Teal:  #00897B  (CONNECT)
• Accent:          #66BB6A
============================================================ */

:root {
  /* ---- BRAND COLORS (Light Theme) ---- */
  --primary: #43A047;
  --primary-deep: #2E7D32;
  --primary-dark: #1B5E20;
  --primary-light: #66BB6A;
  --primary-soft: #E8F5E9;

  --secondary: #00897B;
  --secondary-light: #B2DFDB;
  --secondary-soft: #E0F2F1;

  --accent: #43A047;
  --accent-soft: #66BB6A;

  --green: #43A047;
  --green-dark: #2E7D32;
  --green-light: #A5D6A7;

  --blue: #5B9BD5;
  --blue-dark: #3F78B5;

  --danger: #EF5350;
  --warning: #F5A623;

  /* ---- TEXT ---- */
  --text: #1A1A2E;
  --text-soft: #3D3D5C;
  --muted: #6B6B8A;
  --muted-dim: #8E8EA8;

  /* ---- BACKGROUNDS ---- */
  --bg: #F5F7FA;
  --bg-deep: #E8ECF2;
  --bg-white: #FFFFFF;

  --panel: #FFFFFF;
  --panel-2: #F8F9FC;
  --panel-3: #F0F2F6;

  /* ---- BORDERS ---- */
  --line: #DDE1E8;
  --line-soft: rgba(0, 0, 0, 0.06);
  --line-strong: rgba(0, 0, 0, 0.12);

  /* ---- RADIUS ---- */
  --radius-sm: 8px;
  --radius-md: 11px;
  --radius-lg: 15px;
  --radius-xl: 21px;

  /* ---- SHADOWS ---- */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.10);

  --brand-glow: 0 6px 24px rgba(67, 160, 71, 0.25);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
GLOBAL RESET
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(67, 160, 71, 0.25);
  color: var(--text);
}

a {
  text-decoration: none;
}

button,
a,
input,
select,
textarea {
  outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.45px;
}

.mono {
  font-family: "JetBrains Mono", monospace;
}

.text-muted-custom {
  color: var(--muted) !important;
}

.text-green {
  color: var(--green) !important;
}

.text-secondary-brand {
  color: var(--secondary) !important;
}

/* ============================================================
SKIP LINK
============================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  font-size: 0.85rem;
}

.skip-link:focus {
  left: 0;
}

/* ============================================================
BACKGROUND SYSTEM
============================================================ */
.grid-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.ambient {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.12;
}

.ambient.gold {
  background: var(--primary);
  top: -240px;
  left: -180px;
}

.ambient.blue {
  background: var(--secondary);
  top: -160px;
  right: -240px;
}

/* ============================================================
TOP BAR
============================================================ */
.top-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.top-bar a {
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.top-bar a:hover {
  color: var(--primary);
}

.top-bar .social-link {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--line-soft);
  transition: all 0.25s var(--ease);
}

.top-bar .social-link:hover {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.top-bar .btn-three-dots {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-bar .btn-three-dots:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
}

.top-bar .btn-three-dots i {
  font-size: 1.1rem;
  transition: transform 0.25s var(--ease);
}

.top-bar .btn-three-dots[aria-expanded="true"] i {
  transform: rotate(90deg);
}

.top-bar .mobile-drawer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 8px;
}

.top-bar .mobile-drawer a {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar .mobile-drawer a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.top-bar .mobile-drawer a i {
  color: var(--primary);
  font-size: 1rem;
  width: 20px;
}

/* ============================================================
NAVIGATION — LIGHT
============================================================ */
.navbar {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 0.72rem 0;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text) !important;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  font-weight: 800;
  box-shadow: var(--brand-glow);
}

.nav-link {
  position: relative;
  color: var(--muted) !important;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.55rem 0.75rem !important;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--text) !important;
}

.nav-link.active {
  color: var(--text) !important;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.18rem;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(67, 160, 71, 0.3);
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-sm);
  padding: 0.55rem 1rem !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(67, 160, 71, 0.2);
  transition: all 0.2s var(--ease);
}

.nav-cta:hover {
  background: var(--primary-deep);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(67, 160, 71, 0.3);
}

.nav-cta.active::after {
  display: none;
}

.navbar-toggler {
  border: 1px solid var(--line) !important;
  padding: 0.5rem 0.65rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.15);
}

/* ============================================================
BUTTONS — LIGHT
============================================================ */
.btn-primary-custom,
.btn-ghost,
.btn-orange,
.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 750;
  transition: all 0.22s var(--ease);
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(67, 160, 71, 0.2);
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(67, 160, 71, 0.3);
}

.btn-ghost,
.btn-outline-custom {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-ghost:hover,
.btn-outline-custom:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-2px);
}

.btn-orange {
  background: var(--primary);
  color: #fff;
  border: 0;
}

.btn-orange:hover {
  background: var(--primary-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(67, 160, 71, 0.25);
}

.btn-outline-secondary-brand {
  border: 1px solid var(--secondary);
  color: var(--secondary);
  background: transparent;
}

.btn-outline-secondary-brand:hover {
  background: var(--secondary-soft);
  border-color: var(--secondary);
  color: var(--secondary);
}

/* ============================================================
HERO — LIGHT
============================================================ */
.hero {
  position: relative;
  min-height: 690px;
  padding: 108px 0 82px;
  overflow: hidden;
  background: radial-gradient(ellipse at 18% 12%, rgba(67, 160, 71, 0.10), transparent 48%),
    radial-gradient(ellipse at 85% 20%, rgba(0, 137, 123, 0.08), transparent 45%),
    var(--bg);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font: 500 0.73rem "JetBrains Mono", monospace;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(67, 160, 71, 0.5);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(67, 160, 71, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(67, 160, 71, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(67, 160, 71, 0);
  }
}

.hero h1 {
  max-width: 760px;
  margin: 20px auto 18px;
  font-size: clamp(2.65rem, 5.4vw, 4.65rem);
  line-height: 1.02;
  font-weight: 800;
  color: var(--text);
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0 auto 27px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-proof i {
  color: var(--green);
}

/* ============================================================
SECTIONS
============================================================ */
section {
  position: relative;
  padding: 88px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font: 600 0.7rem "JetBrains Mono", monospace;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  line-height: 1.12;
  font-weight: 750;
  margin-bottom: 12px;
  color: var(--text);
}

.section-description {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.75;
}

.section-heading-center {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading-center .section-description {
  margin-inline: auto;
}

/* ============================================================
TRUST STRIP — LIGHT
============================================================ */
.trust-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

.trust-strip .trust-label {
  color: var(--muted-dim);
  font: 600 0.66rem "JetBrains Mono", monospace;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 42px;
}

.trust-logos span {
  color: var(--muted-dim);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  opacity: 0.7;
  transition: all 0.25s var(--ease);
}

.trust-logos span:hover {
  opacity: 1;
  color: var(--text);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.stat-strip .stat-item {
  text-align: center;
}

.stat-strip .stat-item strong {
  display: block;
  font: 800 1.9rem "Space Grotesk", sans-serif;
  color: var(--text);
  letter-spacing: -1px;
}

.stat-strip .stat-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.3px;
}

/* ============================================================
FUNCTIONALITY — LIGHT
============================================================ */
.functionality {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.custom-nav-pills .nav-link {
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.2s ease-in-out;
  background: var(--panel);
}

.custom-nav-pills .nav-link.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(67, 160, 71, 0.2);
}

.custom-nav-pills .nav-link:hover:not(.active) {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary) !important;
}

/* ============================================================
FUNCTION CARDS — LIGHT
============================================================ */
.function-card {
  height: 100%;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.function-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(67, 160, 71, 0.04), transparent 50%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.function-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.function-card:hover::before {
  opacity: 1;
}

.function-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.function-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.25rem;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}

.function-card:hover .function-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.04) rotate(-3deg);
}

.function-badge {
  display: inline-block;
  font: 700 0.55rem "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--primary-soft);
  border: 1px solid rgba(67, 160, 71, 0.2);
  color: var(--primary);
  transition: all 0.3s var(--ease);
}

.function-card:hover .function-badge {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.function-card h5 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text);
}

.function-card p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.function-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.function-tag {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted-dim);
  font: 500 0.6rem "JetBrains Mono", monospace;
  background: var(--panel-2);
  transition: all 0.3s var(--ease);
}

.function-card:hover .function-tag {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================================
BADGES
============================================================ */
.badge-free {
  color: var(--green);
  border-color: rgba(67, 160, 71, 0.3);
}

.badge-premium {
  color: var(--warning);
  border-color: rgba(245, 166, 35, 0.3);
}

.badge-dev {
  color: var(--blue);
  border-color: rgba(91, 155, 213, 0.3);
}

/* ============================================================
FUNCTIONALITY CTA
============================================================ */
.functionality-cta {
  padding: 32px 24px;
  background: var(--panel-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
  text-align: center;
}

.functionality-cta:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.functionality-cta p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* ============================================================
PRICING — LIGHT
============================================================ */
.pricing {
  background: var(--bg-white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 20px;
}

.pricing-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 7px;
  padding: 8px 15px;
  font: 600 0.72rem "JetBrains Mono", monospace;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s var(--ease);
}

.pricing-switch button.active {
  background: var(--primary);
  color: #fff;
}

.pricing-switch .save-tag {
  background: rgba(67, 160, 71, 0.15);
  color: var(--primary);
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.6rem;
  font-weight: 700;
}

.pricing-switch button.active .save-tag {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.price-card {
  position: relative;
  height: 100%;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.22s var(--ease);
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, #f8fafc, #ffffff);
}

.featured-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font: 800 0.58rem "JetBrains Mono", monospace;
  letter-spacing: 0.4px;
}

.plan-label {
  color: var(--muted);
  font: 600 0.67rem "JetBrains Mono", monospace;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 11px 0 6px;
}

.price strong {
  font: 800 2.35rem "Space Grotesk", sans-serif;
  letter-spacing: -1.5px;
  color: var(--text);
}

.price span {
  color: var(--muted);
  font-size: 0.76rem;
}

.price-annual-note {
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 600;
  min-height: 16px;
  margin-bottom: 4px;
}

.plan-description {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
  min-height: 50px;
}

.plan-divider {
  border-top: 1px solid var(--line);
  margin: 20px 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  flex: 1;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-soft);
  font-size: 0.77rem;
  line-height: 1.5;
  margin-bottom: 11px;
}

.feature-list i {
  color: var(--primary);
  margin-top: 2px;
}

.pricing-note {
  margin-top: 25px;
  padding: 13px 15px;
  border-radius: 10px;
  background: var(--primary-soft);
  border: 1px solid rgba(67, 160, 71, 0.15);
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

/* ============================================================
MODULES / SERVICES — LIGHT
============================================================ */
.modules {
  background: var(--bg);
}

.module-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 17px 19px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 100%;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}

.module-row:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.module-row.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.module-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--primary-soft);
}

.module-row h6 {
  margin: 0 0 4px;
  font-size: 0.86rem;
  color: var(--text);
}

.module-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.5;
}

.module-price {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font: 700 0.69rem "JetBrains Mono", monospace;
}

.module-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0.6rem;
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}

.module-row.selected .module-check {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.module-note {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
}

/* ============================================================
NEWS — LIGHT
============================================================ */
.news-section {
  background: var(--bg-white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.news-img-wrapper {
  position: relative;
  overflow: hidden;
}

.news-img {
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  width: 100%;
  transition: transform 0.35s ease;
}

.news-card:hover .news-img {
  transform: scale(1.03);
}

.news-badge {
  background: var(--primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.news-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.news-meta i {
  color: var(--primary);
}

.news-title {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.news-excerpt {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
}

.btn-read-more {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-read-more a {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.btn-read-more a:hover {
  color: var(--primary-deep);
}

/* ============================================================
FAQ — LIGHT
============================================================ */
.faq-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 18px 20px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--panel-2);
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease);
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), opacity 0.3s var(--ease), padding 0.3s var(--ease);
  opacity: 0;
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  opacity: 1;
  padding: 0 20px 20px;
}

.faq-answer-inner {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

/* ============================================================
CTA / CONTACT — LIGHT
============================================================ */
.cta-section {
  padding: 70px 0;
  background: var(--bg);
}

.cta-box {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.cta-box h2 {
  max-width: 700px;
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  color: var(--text);
}

.cta-box p {
  max-width: 690px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
CONTACT FORM — LIGHT
============================================================ */
.contact-form {
  padding: 28px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.form-label {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control,
.form-select {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 0.75rem 0.9rem;
  border-radius: 9px;
  font-size: 0.8rem;
  transition: all 0.2s var(--ease);
}

.form-control::placeholder {
  color: var(--muted-dim);
}

.form-control:focus,
.form-select:focus {
  background: var(--panel);
  color: var(--text);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.12);
}

.form-select option {
  background: var(--panel);
  color: var(--text);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 83, 80, 0.09);
}

.field-error {
  display: none;
  color: var(--danger);
  font-size: 0.68rem;
  margin-top: 5px;
}

.form-control.is-invalid ~ .field-error,
.form-select.is-invalid ~ .field-error {
  display: block;
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 12px;
  background: var(--primary-soft);
  border: 1px solid rgba(67, 160, 71, 0.3);
  border-radius: 12px;
  padding: 18px;
}

.form-success.show {
  display: flex;
}

.form-success i {
  color: var(--primary);
  font-size: 1.3rem;
  margin-top: 2px;
}

.form-success h6 {
  margin: 0 0 4px;
  font-size: 0.92rem;
  color: var(--text);
}

.form-success p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

/* ============================================================
FOOTER — LIGHT
============================================================ */
footer {
  background: var(--bg-white);
  border-top: 1px solid var(--line);
  padding: 60px 0 24px;
}

footer h6 {
  color: var(--text);
  font-size: 0.82rem;
  margin-bottom: 15px;
}

footer a {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 9px;
  transition: color 0.2s var(--ease);
}

footer a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted-dim);
  font-size: 0.67rem;
}

/* ============================================================
BACK TO TOP — LIGHT
============================================================ */
.btn-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(67, 160, 71, 0.35);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
  z-index: 9999;
  cursor: pointer;
}

.btn-back-to-top:hover {
  background: var(--primary-deep);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(67, 160, 71, 0.45);
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ============================================================
LOGO
============================================================ */
.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-title {
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: var(--primary);
}

.brand-subtitle {
  font-size: 0.55rem;
  letter-spacing: 0.8px;
  opacity: 0.85;
  color: var(--secondary);
}

/* ============================================================
RESPONSIVE
============================================================ */
@media (min-width: 992px) {
  .brand-logo {
    height: 58px;
  }
  .brand-title {
    font-size: 1.45rem;
  }
  .brand-subtitle {
    font-size: 0.65rem;
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 80px;
  }
  .navbar-collapse {
    margin-top: 12px;
    padding: 10px 0 4px;
    border-top: 1px solid var(--line);
  }
  .nav-link {
    padding: 10px 4px !important;
  }
  .nav-link.active::after {
    display: none;
  }
  .nav-cta {
    display: inline-flex;
    margin-top: 5px;
  }
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 68px 0;
  }
  .hero {
    min-height: auto;
    padding: 65px 0 55px;
  }
  .hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }
  .hero-lead {
    font-size: 0.96rem;
    line-height: 1.7;
  }
  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr;
  }
  .hero-actions a {
    width: 100%;
  }
  .section-heading-center {
    margin-bottom: 34px;
  }
  .functionality-cta {
    padding: 20px 15px;
  }
  .functionality-cta p {
    font-size: 0.85rem;
  }
  .function-card {
    padding: 20px;
  }
  .module-row {
    grid-template-columns: 40px 1fr;
  }
  .module-price {
    grid-column: 2;
  }
  .cta-box .btn-primary-custom,
  .cta-box .btn-ghost {
    width: 100%;
  }
  .contact-form {
    padding: 20px;
  }
  .trust-logos {
    gap: 26px;
  }
  .btn-back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-proof {
    display: grid;
    gap: 9px;
  }
  .price-card {
    padding: 23px;
  }
  .btn-primary-custom,
  .btn-ghost,
  .btn-orange,
  .btn-outline-custom {
    min-height: 44px;
    padding-inline: 15px;
    font-size: 0.78rem;
  }
  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
ACCESSIBILITY
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .btn-primary-custom,
  .btn-orange,
  .nav-cta,
  .featured-tag {
    forced-color-adjust: none;
  }
  .form-control:focus,
  .form-select:focus,
  button:focus-visible,
  a:focus-visible {
    outline: 2px solid CanvasText;
  }
}

.hero .hero-title {
  max-width: 760px;
  margin: 70px auto 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.04em;
}

@media (max-width: 767.98px) {
  .hero .hero-title {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    line-height: 1.12;
  }
}

@media (min-width: 768px) {
  .border-start-md {
    border-left: 1px solid var(--line) !important;
  }
}

/* ============================================================
MARKETPLACE CARDS — LIGHT
============================================================ */
.market-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.market-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.market-image-wrapper {
  height: 220px;
  overflow: hidden;
  background: var(--bg-deep);
  position: relative;
}

.market-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.market-card:hover .market-image {
  transform: scale(1.04);
}

.market-badge,
.market-discount {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.market-badge {
  left: 12px;
}

.market-discount {
  right: 12px;
  background: var(--danger);
  color: #fff;
}

.badge-featured {
  background: var(--primary);
  color: #fff;
}

.badge-hot {
  background: var(--danger);
  color: #fff;
}

.badge-new {
  background: var(--text);
  color: #fff;
}

.badge-sale {
  background: var(--warning);
  color: #1a1a2e;
}

.market-content {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
}

.market-category {
  color: var(--primary);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.market-title {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
}

.market-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.market-title a:hover {
  color: var(--primary);
}

.market-seller {
  color: var(--muted);
  font-size: 0.8rem;
}

.market-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.78rem;
  color: var(--muted);
}

.market-meta div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.market-meta i {
  color: var(--primary);
}

.market-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

.market-price-label {
  display: block;
  color: var(--muted-dim);
  font-size: 0.65rem;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.market-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.market-price del {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted-dim);
}

.market-card .btn-dark {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
  transition: all 0.25s ease;
}

.market-card .btn-dark:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(67, 160, 71, 0.25);
}

@media (max-width: 575.98px) {
  .market-image-wrapper {
    height: 180px;
  }
  .market-meta {
    gap: 12px;
  }
  .market-price-row {
    align-items: center;
  }
}

/* ============================================================
DIRECTORY SLIDER — LIGHT
============================================================ */
.directory-wrapper {
  position: relative;
  padding: 0 52px;
}

.directory-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.25rem 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.directory-slider::-webkit-scrollbar {
  display: none;
}

.business-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 290px;
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.business-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.business-card.featured-card {
  background: var(--panel-2);
  border: 2px solid var(--primary);
}

.avatar-wrapper {
  position: relative;
  display: inline-block;
}

.business-avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.verified-check {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--primary);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--panel);
}

.slider-arrow {
  position: absolute;
  top: calc(50% - 20px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.slider-arrow:hover:not(:disabled) {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

.slider-arrow.prev {
  left: 0;
}
.slider-arrow.next {
  right: 0;
}

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding-bottom: 0.5rem;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--muted-dim);
  opacity: 0.4;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.slider-dots button.active {
  width: 28px;
  border-radius: 6px;
  background: var(--primary);
  opacity: 1;
}

.slider-dots button:hover:not(.active) {
  opacity: 0.75;
}

@media (max-width: 991px) {
  .directory-wrapper {
    padding: 0 42px;
  }
  .business-card {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: 260px;
  }
  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .directory-wrapper {
    padding: 0 32px;
  }
  .business-card {
    flex: 0 0 100%;
    min-width: 0;
  }
  .slider-arrow {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  .slider-dots button {
    width: 8px;
    height: 8px;
  }
  .slider-dots button.active {
    width: 20px;
  }
}

/* Hero search wrapper */
.hero-search-wrapper form {
  background: var(--panel) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow) !important;
}

.hero-search-wrapper .form-control,
.hero-search-wrapper .form-select {
  background: transparent !important;
  color: var(--text) !important;
}

.hero-search-wrapper .form-control::placeholder {
  color: var(--muted-dim);
}

.hero-search-wrapper .form-select option {
  background: var(--panel) !important;
  color: var(--text) !important;
}

.hero-search-wrapper .input-group-text {
  background: transparent !important;
  border: 0 !important;
  color: var(--primary) !important;
}

.hero-search-wrapper .btn-primary-custom {
  background: var(--primary) !important;
  color: #fff !important;
}

.hero-search-wrapper .btn-primary-custom:hover {
  background: var(--primary-deep) !important;
}

/* Directory section background */
#directory {
  background: linear-gradient(-135deg, rgba(245, 247, 250, 0.92) 40%, rgba(67, 160, 71, 0.08) 100%) !important;
}

/* ============================================================
YELLOW CTA BUTTON
============================================================ */
.btn-yellow {
  background-color: #eac022;
  border-color: #eac022;
  color: #1E3A2F;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-yellow:hover {
  background-color: #E6B40D;
  border-color: #E6B40D;
  color: #1E3A2F;
  transform: scale(1.02);
}

.nav-action-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.95rem;
}

/* ============================================================
TERTIARY ACTIONS
============================================================ */
.tertiary-actions-wrapper {
  max-width: 640px;
}

.tertiary-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.tertiary-link:hover {
  color: var(--primary-deep);
  text-decoration: underline;
}

.tertiary-divider {
  color: var(--muted-dim);
  font-size: 0.6rem;
}

@media (max-width: 575.98px) {
  .tertiary-link {
    font-size: 0.72rem;
  }
}

/* ============================================================
TRUST BADGE
============================================================ */
.tracking-wide {
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.trust-badge {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--bs-gray-700, #495057);
  background: rgba(0, 0, 0, 0.03);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ============================================================
METRICS
============================================================ */
.metric-value {
  font-family: var(--bs-font-sans-serif);
  line-height: 1.1;
}

.metric-card {
  padding: 0.5rem;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

/* Remove right border on last column of each row on mobile */
.metric-item:nth-child(2n) .metric-card {
  border-right: none;
}

/* On desktop, only last column has no border */
@media (min-width: 768px) {
  .metric-item:nth-child(2n) .metric-card {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
  }
  .metric-item:last-child .metric-card {
    border-right: none;
  }
}

/* Extra small screens: stack fully */
@media (max-width: 575px) {
  .metric-card {
    border-right: none !important;
  }
}

/* ============================================================
FEATURE CARDS
============================================================ */
.feature-card {
  transition: all 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
  border-color: var(--line) !important;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08) !important;
}

.feature-icon-wrapper {
  flex-shrink: 0;
}

/* ============================================================
DOWNLOAD BUTTONS
============================================================ */
.btn-custom-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 1.5rem;
  background: #1A1A2E;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
  min-width: 180px;
}

.btn-custom-dark:hover {
  background: #2D2D4A;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-custom-dark i {
  font-size: 1.6rem;
}

.btn-custom-dark .fs-7 {
  font-size: 0.6rem;
  letter-spacing: 0.5px;
}

.btn-custom-dark span {
  font-size: 0.9rem;
  font-weight: 700;
}


.market-card {
  background: #fff;
  border-radius: 1.25rem;
  /* border removed */
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.market-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  /* border-color removed */
}
.market-image-wrapper {
  position: relative;
  overflow: hidden;
  background: #f0f2f5;
}
.market-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.market-card:hover .market-image {
  transform: scale(1.02);
}
.market-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary, #43A047);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.8rem;
  border-radius: 2rem;
  z-index: 2;
}
.market-badge.badge-featured { background: var(--yellow, #F4C430); color: #1e293b; }
.market-badge.badge-hot { background: #ef4444; color: #fff; }
.market-badge.badge-new { background: #3b82f6; color: #fff; }
.market-badge.badge-sale { background: #8b5cf6; color: #fff; }
.market-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #dc2626;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
  z-index: 2;
}
.market-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.market-category {
  color: var(--muted, #64748b);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.market-title a {
  color: var(--text, #0f172a);
  text-decoration: none;
  transition: color 0.2s;
}
.market-title a:hover { color: var(--primary, #43A047); }
.market-seller { color: var(--muted, #64748b); }
.market-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted, #64748b);
  margin-bottom: 0.5rem;
}
.market-meta i { margin-right: 0.25rem; }
.market-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* border-top removed */
  padding-top: 0.75rem;
  margin-top: auto;
}
.market-price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted, #64748b);
}
.market-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text, #0f172a);
}
.market-price del {
  font-size: 0.85rem;
  color: var(--muted, #64748b);
  font-weight: 400;
  margin-left: 0.5rem;
}
.btn-outline-secondary-brand {
  border: 2px solid var(--primary, #43A047);
  color: var(--primary, #43A047);
  background: transparent;
  transition: all 0.2s;
}
.btn-outline-secondary-brand:hover {
  background: var(--primary, #43A047);
  color: #fff;
}
.custom-nav-pills .nav-link {
  border-radius: 2rem;
  background: #f1f5f9;
  color: var(--text, #0f172a);
  transition: all 0.2s;
}
.custom-nav-pills .nav-link.active {
  background: var(--primary, #43A047);
  color: #fff;
}
.custom-nav-pills .nav-link:hover:not(.active) {
  background: #e2e8f0;
}
/* Remove border from pagination wrapper */
.marketplace-pagination {
  /* border-top removed */
  padding-top: 1rem;
  margin-top: 1.5rem;
}

/* Pagination – clean, borderless, brand colours */
.marketplace-pagination .pagination {
  --bs-pagination-color: var(--text, #0f172a);
  --bs-pagination-bg: transparent;
  --bs-pagination-border-color: transparent;
  --bs-pagination-hover-color: var(--primary, #43A047);
  --bs-pagination-hover-bg: rgba(67,160,71,0.06);
  --bs-pagination-hover-border-color: transparent;
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: var(--primary, #43A047);
  --bs-pagination-active-border-color: var(--primary, #43A047);
  --bs-pagination-disabled-color: #adb5bd;
  --bs-pagination-disabled-bg: transparent;
  --bs-pagination-disabled-border-color: transparent;
}
.marketplace-pagination .page-link {
  border-radius: 2rem !important;
  padding: 0.4rem 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}
.marketplace-pagination .page-item.active .page-link {
  box-shadow: 0 4px 12px rgba(67,160,71,0.2);
}