/* ============================================================
   HOME — css/home.css
   Cargo Centrum by Admaren Tech Pvt. Ltd.
   ============================================================ */

/* ── UTILITY ── */

.text-primary      { color: var(--clr-primary); }
.text-white        { color: var(--clr-surface); }
.text-white-muted  { color: var(--clr-dark-text); }

/* ── HERO ── */

.home-hero {
  padding: 80px 0;
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Dot-grid pattern, subtle mask */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--clr-border-2) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.25;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 80%);
}

.home-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  position: relative;
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .home-hero-text {
    text-align: center;
    order: 2;
  }
  .home-dot-grid {
    order: 1;
  }
  .home-hero {
    padding: 60px 0;
  }
}

@media (max-width: 600px) {
  .home-hero {
    padding: 40px 0;
    min-height: auto;
  }
  .home-hero-text {
    order: 2;
    text-align: center;
  }
  .home-dot-grid {
    order: 1;
    justify-self: center;
    margin-bottom: var(--space-4);
  }
  .home-hero-text h1 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  .home-hero-intro,
  .home-hero-sub {
    font-size: var(--text-base);
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
}

.home-hero-text {}

.home-hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin-bottom: var(--space-5);
}

.home-dot-grid {
  display: grid;
  grid-template-columns: repeat(5, 44px);
  grid-template-rows: repeat(5, 44px);
  grid-auto-flow: dense;
  gap: 12px;
  position: relative;
  justify-self: end;
  margin-bottom: var(--space-8);
}

/* Soft radial glow behind the grid adds depth */
.home-dot-grid::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at center, var(--clr-primary-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hdg-tile {
  border-radius: 10px;
  background: var(--clr-primary-soft);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation:
    dotFadeIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    shimmer 5s ease-in-out infinite 1.2s;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  box-shadow: 0 2px 6px rgba(26, 21, 53, 0.04);
}

.hdg-tile svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mixed colour palette — no periodic repeat, no adjacent tiles share a tint */
.hdg-tile:nth-child(1),
.hdg-tile:nth-child(9),
.hdg-tile:nth-child(15),
.hdg-tile:nth-child(17),
.hdg-tile:nth-child(23) { background: var(--clr-primary-soft);    color: var(--clr-primary); }

.hdg-tile:nth-child(3),
.hdg-tile:nth-child(7),
.hdg-tile:nth-child(11),
.hdg-tile:nth-child(14),
.hdg-tile:nth-child(20) { background: var(--clr-primary-xxlight); color: var(--clr-primary-dark); }

.hdg-tile:nth-child(2),
.hdg-tile:nth-child(10),
.hdg-tile:nth-child(13),
.hdg-tile:nth-child(19),
.hdg-tile:nth-child(21) { background: var(--clr-primary-xlight);  color: #fff; }

.hdg-tile:nth-child(5),
.hdg-tile:nth-child(6),
.hdg-tile:nth-child(12),
.hdg-tile:nth-child(18),
.hdg-tile:nth-child(24) { background: var(--clr-primary-light);   color: #fff; }

.hdg-tile:nth-child(4),
.hdg-tile:nth-child(8),
.hdg-tile:nth-child(16),
.hdg-tile:nth-child(22),
.hdg-tile:nth-child(25) { background: var(--clr-primary);         color: #fff; }

/* Hover lift */
.hdg-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(26, 21, 53, 0.1);
}

/* Diagonal-cascade entry: delay = (row + col) × 0.07s, shimmer offset +1.2s */
.hdg-tile:nth-child(1)  { animation-delay: 0.00s, 1.20s; }
.hdg-tile:nth-child(2)  { animation-delay: 0.07s, 1.27s; }
.hdg-tile:nth-child(3)  { animation-delay: 0.14s, 1.34s; }
.hdg-tile:nth-child(4)  { animation-delay: 0.21s, 1.41s; }
.hdg-tile:nth-child(5)  { animation-delay: 0.28s, 1.48s; }
.hdg-tile:nth-child(6)  { animation-delay: 0.07s, 1.27s; }
.hdg-tile:nth-child(7)  { animation-delay: 0.14s, 1.34s; }
.hdg-tile:nth-child(8)  { animation-delay: 0.21s, 1.41s; }
.hdg-tile:nth-child(9)  { animation-delay: 0.28s, 1.48s; }
.hdg-tile:nth-child(10) { animation-delay: 0.35s, 1.55s; }
.hdg-tile:nth-child(11) { animation-delay: 0.14s, 1.34s; }
.hdg-tile:nth-child(12) { animation-delay: 0.21s, 1.41s; }
.hdg-tile:nth-child(13) { animation-delay: 0.28s, 1.48s; }
.hdg-tile:nth-child(14) { animation-delay: 0.35s, 1.55s; }
.hdg-tile:nth-child(15) { animation-delay: 0.42s, 1.62s; }
.hdg-tile:nth-child(16) { animation-delay: 0.21s, 1.41s; }
.hdg-tile:nth-child(17) { animation-delay: 0.28s, 1.48s; }
.hdg-tile:nth-child(18) { animation-delay: 0.35s, 1.55s; }
.hdg-tile:nth-child(19) { animation-delay: 0.42s, 1.62s; }
.hdg-tile:nth-child(20) { animation-delay: 0.49s, 1.69s; }
.hdg-tile:nth-child(21) { animation-delay: 0.28s, 1.48s; }
.hdg-tile:nth-child(22) { animation-delay: 0.35s, 1.55s; }
.hdg-tile:nth-child(23) { animation-delay: 0.42s, 1.62s; }
.hdg-tile:nth-child(24) { animation-delay: 0.49s, 1.69s; }
.hdg-tile:nth-child(25) { animation-delay: 0.56s, 1.76s; }

@keyframes dotFadeIn {
  0%   { opacity: 0; transform: translateY(14px) scale(0.6); }
  60%  { opacity: 1; transform: translateY(-3px) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Continuous shimmer wave — subtle brightness pulse */
@keyframes shimmer {
  0%, 100% { filter: brightness(1) saturate(1); }
  50%      { filter: brightness(1.15) saturate(1.1); }
}

/* ── ICON MICRO-ANIMATIONS ── */

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

@keyframes iconSpin {
  to { transform: rotate(360deg); }
}

@keyframes iconSwing {
  0%, 100% { transform: rotate(-10deg); }
  50%      { transform: rotate(10deg); }
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.2); }
}

@keyframes iconSlide {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}

@keyframes iconBreathe {
  0%, 100% { transform: scale(0.86); opacity: 0.55; }
  50%      { transform: scale(1);    opacity: 1; }
}

/* Float — anchor, vessel, waves */
.hdg-tile:nth-child(2)  svg { animation: iconFloat  3.2s ease-in-out infinite 0.5s; }
.hdg-tile:nth-child(5)  svg { animation: iconFloat  2.8s ease-in-out infinite 1.1s; }
.hdg-tile:nth-child(9)  svg { animation: iconFloat  3.6s ease-in-out infinite 0.2s; }

/* Spin — globe, compass */
.hdg-tile:nth-child(4)  svg { animation: iconSpin   9s  linear        infinite;      }
.hdg-tile:nth-child(13) svg { animation: iconSpin   7s  linear        infinite 1.4s; }

/* Swing — port crane, clock */
.hdg-tile:nth-child(10) svg { animation: iconSwing  1.8s ease-in-out infinite 0.6s; }
.hdg-tile:nth-child(16) svg { animation: iconSwing  2.4s ease-in-out infinite 0.3s; }

/* Pulse — lock, warning, activity, shield, hub */
.hdg-tile:nth-child(11) svg { animation: iconPulse  2.2s ease-in-out infinite 0.4s; }
.hdg-tile:nth-child(12) svg { animation: iconPulse  1.8s ease-in-out infinite;      }
.hdg-tile:nth-child(18) svg { animation: iconPulse  1.6s ease-in-out infinite 0.9s; }
.hdg-tile:nth-child(24) svg { animation: iconPulse  2.6s ease-in-out infinite 1.4s; }
.hdg-tile:nth-child(25) svg { animation: iconPulse  2.0s ease-in-out infinite 0.2s; }

/* Slide — truck, air freight, route arrow */
.hdg-tile:nth-child(6)  svg { animation: iconSlide  2.2s ease-in-out infinite 0.7s; }
.hdg-tile:nth-child(17) svg { animation: iconSlide  2.6s ease-in-out infinite 0.3s; }
.hdg-tile:nth-child(21) svg { animation: iconSlide  2.0s ease-in-out infinite 1.2s; }

/* Breathe — bill of lading, container, warehouse, manifest, map pin,
             tracking chart, wind, calendar, bar chart, weight */
.hdg-tile:nth-child(1)  svg { animation: iconBreathe 4.0s ease-in-out infinite 0.3s; }
.hdg-tile:nth-child(3)  svg { animation: iconBreathe 3.5s ease-in-out infinite 1.0s; }
.hdg-tile:nth-child(7)  svg { animation: iconBreathe 4.2s ease-in-out infinite 0.5s; }
.hdg-tile:nth-child(8)  svg { animation: iconBreathe 3.8s ease-in-out infinite 1.6s; }
.hdg-tile:nth-child(14) svg { animation: iconBreathe 3.3s ease-in-out infinite 0.8s; }
.hdg-tile:nth-child(15) svg { animation: iconBreathe 4.5s ease-in-out infinite 0.1s; }
.hdg-tile:nth-child(19) svg { animation: iconBreathe 3.7s ease-in-out infinite 1.3s; }
.hdg-tile:nth-child(20) svg { animation: iconBreathe 4.1s ease-in-out infinite 0.6s; }
.hdg-tile:nth-child(22) svg { animation: iconBreathe 3.6s ease-in-out infinite 1.8s; }
.hdg-tile:nth-child(23) svg { animation: iconBreathe 4.3s ease-in-out infinite 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .hdg-tile svg { animation: none !important; }
}

/* Responsive — center and shrink on narrow viewports */
@media (max-width: 900px) {
  .home-dot-grid { justify-self: center; }
}
@media (max-width: 600px) {
  .home-dot-grid {
    grid-template-columns: repeat(5, 32px);
    grid-template-rows:    repeat(5, 32px);
    gap: 8px;
  }
  .hdg-tile svg { width: 12px; height: 12px; }
}

.home-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--clr-primary);
  background: var(--clr-primary-soft);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full, 999px);
  margin-bottom: var(--space-5);
}

.home-hero-intro {
  font-size: var(--text-lg);
  color: var(--clr-text-2);
  max-width: 480px;
  margin-bottom: var(--space-4);
  line-height: var(--leading-loose);
}

.home-hero-sub {
  font-size: var(--text-lg);
  color: var(--clr-text-2);
  max-width: 480px;
  margin-bottom: var(--space-8);
  line-height: var(--leading-loose);
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── FEATURED SOLUTIONS ── */

.featured-solutions {
  padding: var(--space-14) 0;
  border-top: 1px solid var(--clr-border);
  text-align: center;
}

.featured-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: var(--weight-bold);
  color: var(--clr-dark);
  margin-bottom: var(--space-10);
  letter-spacing: -0.02em;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.fp-card {
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-5xl);
  background: var(--clr-surface);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--ease-slow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.fp-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--clr-primary);
}

.fp-card-visual {
  padding: var(--space-5) var(--space-5) 0;
  background: var(--clr-bg-2);
  border-bottom: 1px solid var(--clr-border);
  height: 280px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fp-card-visual--hws {
  padding: var(--space-5);
  justify-content: center;
}

.fp-card-info {
  padding: var(--space-7) var(--space-7) var(--space-8);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.fp-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: var(--space-4);
}

.fp-card-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--clr-primary);
  border-radius: 50%;
}

.fp-card-info h3 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--clr-dark);
  margin-bottom: var(--space-2);
}

.fp-card-info p {
  font-size: var(--text-base);
  color: var(--clr-text-2);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-4);
  flex: 1;
}

.fp-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--clr-primary);
  text-decoration: none;
  transition: gap var(--ease-base);
}

.fp-card-cta:hover { gap: 10px; }

.mockup-frame {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-5xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  background: var(--clr-bg-2);
  border-bottom: 1px solid var(--clr-border);
}

.chrome-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chrome-dot--r { background: #FECACA; }
.chrome-dot--y { background: #FDE68A; }
.chrome-dot--g { background: #BBF7D0; }

.chrome-url {
  flex: 1;
  margin-left: 12px;
  height: 24px;
  background: var(--clr-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  padding: 0 var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xxs);
  color: var(--clr-text-3);
}

.mockup-content {
  padding: 16px;
  position: relative;
}

/* Scan line */
.scan-line {
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-primary), transparent);
  border-radius: 1px;
  opacity: 0;
  animation: scanLine 3s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

/* Scan line animation now in theme.css */

/* Row fade-in */
.mc-meta   { opacity: 1; }
.mc-header { opacity: 0; animation: fadeInRow 0.4s ease 0.1s forwards; }
.mc-row    { opacity: 0; animation: fadeInRow 0.4s ease forwards; }
.mc-stats  { opacity: 0; animation: fadeInRow 0.4s ease 1.5s forwards; }

.mc-row:nth-of-type(1) { animation-delay: 0.7s; }
.mc-row:nth-of-type(2) { animation-delay: 0.9s; }
.mc-row:nth-of-type(3) { animation-delay: 1.2s; }

/* fadeInRow animation now in theme.css */

.mc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--clr-text-4);
  margin-bottom: 6px;
}

/* Table rows: # | desc | wt | dims | pol | pod */
.mc-header,
.mc-row {
  display: grid;
  grid-template-columns: 18px 1fr 42px 42px 42px 40px;
  padding: 4px 6px;
  font-family: var(--font-mono);
  font-size: 7px;
  align-items: center;
}

.mc-header {
  background: var(--clr-dark);
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.mc-row {
  border: 1px solid var(--clr-border);
  border-top: 0;
  background: var(--clr-surface);
}
.mc-row--alt  { background: var(--clr-bg); }
.mc-row--last { border-radius: 0 0 var(--radius-xs) var(--radius-xs); }

.mc-num         { color: var(--clr-text-4); }
.mc-desc        { color: var(--clr-dark); font-weight: var(--weight-medium); font-family: var(--font-body); font-size: 7px; }
.mc-val         { color: var(--clr-text-2); }
.mc-val--accent { color: var(--clr-primary); font-weight: var(--weight-semibold); }

/* Stats */
.mc-stats {
  display: flex;
  gap: 5px;
  margin-top: var(--space-3);
}

.mc-stat {
  flex: 1;
  text-align: center;
  padding: 7px 5px;
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  opacity: 0;
  animation: countUp 0.4s ease forwards;
}
.mc-stat:nth-child(1) { animation-delay: 1.8s; }
.mc-stat:nth-child(2) { animation-delay: 2.0s; }
.mc-stat:nth-child(3) { animation-delay: 2.2s; }
.mc-stat:nth-child(4) { animation-delay: 2.4s; }

/* countUp animation now in theme.css */

.mc-stat-val {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: 14px;
  color: var(--clr-dark);
  line-height: 1.2;
}

.mc-stat-label {
  font-size: 7px;
  color: var(--clr-text-4);
  margin-top: 1px;
}

/* Floating indicator badge */
.hero-indicator {
  position: absolute;
  bottom: -14px;
  right: -6px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-4xl);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow-card-hover);
  animation: floatBadge 5s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0);   }
  50%       { transform: translateY(-4px); }
}

.indicator-dot {
  width: 22px;
  height: 22px;
  background: var(--clr-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.indicator-text {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--text-xs);
  color: var(--clr-dark);
  line-height: 1.3;
}

.indicator-text span {
  display: block;
  font-weight: var(--weight-regular);
  font-size: 9px;
  color: var(--clr-text-3);
}


.scatter-label {
  font-family: var(--font-mono);
  font-size: 7px;
  color: var(--clr-text-4);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-2);
}

/* Scatter intensity grid */
.scatter-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  margin-bottom: var(--space-2);
}

.si            { height: 12px; border-radius: 2px; }
.si-1          { background: rgba(110, 46, 217, 0.04); }
.si-2          { background: rgba(110, 46, 217, 0.08); }
.si-3          { background: rgba(110, 46, 217, 0.14); }
.si-4          { background: rgba(110, 46, 217, 0.22); }
.si-5          { background: rgba(110, 46, 217, 0.38); }
.si-6          { background: rgba(110, 46, 217, 0.55); }
.si-7          { background: rgba(110, 46, 217, 0.72); }

.scatter-axis {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 5px;
  color: var(--clr-text-4);
  margin-bottom: var(--space-2);
}

.hws-stats {
  display: flex;
  gap: var(--space-1);
}

.hws-stat {
  flex: 1;
  text-align: center;
  padding: var(--space-1) var(--space-2);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
}

.hws-stat-val {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: 12px;
  color: var(--clr-primary);
  line-height: 1;
}

.hws-stat-lbl {
  font-size: 6px;
  color: var(--clr-text-4);
  margin-top: 2px;
}

/* ── ECOSYSTEM ── */

.ecosystem {
  padding: var(--space-20) 0;
}

.eco-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.eco-inner .label { color: var(--clr-primary-light); }

.eco-inner h2 { margin-bottom: var(--space-4); }

.eco-desc {
  max-width: 540px;
  margin: 0 auto var(--space-11);
}

.eco-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  margin-bottom: var(--space-9);
}

.eco-card {
  padding: var(--space-7) var(--space-5);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-5xl);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--ease-slow);
  text-decoration: none;
}

.eco-card:hover { background: rgba(255, 255, 255, 0.06); }

.eco-card--hub {
  border-color: var(--clr-primary);
  background: rgba(110, 46, 217, 0.10);
  padding: 36px 24px;
  box-shadow: 0 0 40px rgba(110, 46, 217, 0.10);
}

.eco-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-4xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  background: rgba(255, 255, 255, 0.04);
}

.eco-card-icon--hub { background: rgba(110, 46, 217, 0.12); }

.eco-card-type {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: var(--space-2);
}

.eco-card--hub .eco-card-type { color: rgba(155, 133, 255, 0.5); }

.eco-card-name {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-2xl);
  color: #ffffff;
  margin-bottom: var(--space-2);
}

.eco-card-name--hub {
  color: var(--clr-primary-light);
  font-size: var(--text-3xl);
}

.eco-card p.eco-card-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
}

.eco-card--hub p.eco-card-desc { color: rgba(255, 255, 255, 0.6); }

.eco-card-link {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: var(--space-3);
}

.eco-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-3);
}

.eco-note {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.4);
  line-height: var(--leading-loose);
  max-width: 540px;
  margin: 0 auto;
}

.eco-note strong { color: rgba(255, 255, 255, 0.65); }

/* ── INVITATION ── */

.invitation {
  padding: var(--space-20) 0;
}

.cta-sub {
  font-family: var(--font-mono);
  font-size: var(--text-xxs);
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: var(--tracking-wide);
  margin-top: var(--space-4);
  position: relative;
}

/* ── CREDIBILITY ── */

.credibility {
  padding: var(--space-11) 0;
  border-top: 1px solid var(--clr-border);
}

.cred-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--clr-text-3);
}

.cred-item svg { color: var(--clr-primary); flex-shrink: 0; }

/* ── RESPONSIVE ── */

@media (max-width: 900px) {
  .home-hero-grid { grid-template-columns: 1fr; }

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

  .eco-map {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .eco-arrow {
    transform: rotate(90deg);
    padding: var(--space-1) 0;
  }

  .eco-card,
  .eco-card--hub {
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero { padding: 60px 0 50px; }

  .featured-solutions { padding: var(--space-12) 0; }

  .invitation { padding: var(--space-12) 0; }

  .eco-card,
  .eco-card--hub { max-width: 100%; }

  .cred-inner {
    flex-direction: column;
    gap: var(--space-4);
  }
}
