:root {
  --brand-solar: #4be38a;
  /* Green to match farmminerals.com */
  --brand-solar-strong: #2db86a;
  /* Darker Green */
  --brand-energy: #4be38a;

  --cinema-border: rgba(255, 255, 255, 0.08);
  --cinema-glass: rgba(5, 10, 10, 0.78);
  --cinema-title: clamp(2.6rem, 7vw, 6.5rem);
  --cinema-surface: rgba(10, 20, 20, 0.82);
  --cinema-surface-border: rgba(255, 255, 255, 0.08);
  --cinema-text: #f5f7f7;
  --cinema-muted: #a4b3b4;
  --cinema-subtle: #6b8080;

  --theme-switch-bg: rgba(5, 10, 10, 0.78);
  --theme-switch-border: rgba(255, 255, 255, 0.12);
  --theme-switch-text: #f5f7f7;
  --cinema-overlay: rgba(5, 10, 10, 0.96);
  --cinema-loader-core: #050a0a;
}

body.cinema-theme {
  scroll-behavior: smooth;

  --deep-space: #050a0a;
  --space-navy: #050f10;
  --space-slate: #0a1a1b;
  --surface-dark: #0f2222;
  --surface-light: #162e2e;
  --glass-white: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-white: #f5f7f7;
  --text-light: #f5f7f7;
  --text-muted: #a4b3b4;
  --text-dim: #6b8080;

  --bg-deep: var(--deep-space);
  --bg-dark: var(--space-navy);
  --bg-surface: var(--space-slate);
  --text-primary: var(--text-light);
  --text-secondary: var(--text-muted);
  --border-subtle: rgba(75, 227, 138, 0.12);
  --glass: rgba(75, 227, 138, 0.06);
  --glass-card: rgba(10, 20, 20, 0.8);
  --card-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);

  --cinema-border: rgba(255, 255, 255, 0.08);
  --cinema-glass: rgba(5, 10, 10, 0.78);
  --cinema-surface: rgba(10, 20, 20, 0.82);
  --cinema-surface-border: rgba(255, 255, 255, 0.08);
  --cinema-text: #f5f7f7;
  --cinema-muted: #a4b3b4;
  --cinema-subtle: #6b8080;
  --theme-switch-bg: rgba(5, 10, 10, 0.78);
  --theme-switch-border: rgba(255, 255, 255, 0.12);
  --theme-switch-text: #f5f7f7;
  --cinema-overlay: rgba(5, 10, 10, 0.96);
  --cinema-loader-core: #050a0a;
}

body.cinema-theme[data-theme="light"] {
  --deep-space: #f5f8ff;
  --space-navy: #ffffff;
  --space-slate: #ebf0f8;
  --surface-dark: #ffffff;
  --surface-light: #f2f6ff;
  --glass-white: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(15, 23, 42, 0.14);
  --text-white: #0f172a;
  --text-light: #111827;
  --text-muted: #475569;
  --text-dim: #64748b;

  --bg-deep: #f5f8ff;
  --bg-dark: #ffffff;
  --bg-surface: #ebf0f8;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --border-subtle: rgba(255, 184, 0, 0.24);
  --glass: rgba(255, 184, 0, 0.1);
  --glass-card: rgba(255, 255, 255, 0.86);
  --card-shadow: 0 22px 40px -22px rgba(15, 23, 42, 0.48);

  --cinema-border: rgba(15, 23, 42, 0.16);
  --cinema-glass: rgba(255, 255, 255, 0.88);
  --cinema-surface: rgba(255, 255, 255, 0.9);
  --cinema-surface-border: rgba(15, 23, 42, 0.16);
  --cinema-text: #0f172a;
  --cinema-muted: #334155;
  --cinema-subtle: #64748b;
  --theme-switch-bg: rgba(255, 255, 255, 0.92);
  --theme-switch-border: rgba(15, 23, 42, 0.16);
  --theme-switch-text: #0f172a;
  --cinema-overlay: rgba(245, 248, 255, 0.96);
  --cinema-loader-core: #f5f8ff;
}

body.cinema-theme[data-theme="glass"] {
  --deep-space: #09101f;
  --space-navy: rgba(10, 17, 31, 0.72);
  --space-slate: rgba(15, 24, 42, 0.7);
  --surface-dark: rgba(13, 21, 37, 0.58);
  --surface-light: rgba(22, 34, 56, 0.54);
  --glass-white: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.24);
  --text-white: #ffffff;
  --text-light: #f3f7ff;
  --text-muted: #c8d2e6;
  --text-dim: #9aa7be;

  --bg-deep: #09101f;
  --bg-dark: rgba(10, 17, 31, 0.72);
  --bg-surface: rgba(15, 24, 42, 0.72);
  --text-primary: #f3f7ff;
  --text-secondary: #c8d2e6;
  --border-subtle: rgba(255, 184, 0, 0.2);
  --glass: rgba(255, 184, 0, 0.12);
  --glass-card: rgba(14, 22, 38, 0.5);
  --card-shadow: 0 26px 50px -24px rgba(0, 0, 0, 0.65);

  --cinema-border: rgba(255, 255, 255, 0.22);
  --cinema-glass: rgba(12, 20, 36, 0.48);
  --cinema-surface: rgba(15, 23, 42, 0.56);
  --cinema-surface-border: rgba(255, 255, 255, 0.24);
  --cinema-text: #ffffff;
  --cinema-muted: #d4deee;
  --cinema-subtle: #b5c2d9;
  --theme-switch-bg: rgba(11, 18, 34, 0.56);
  --theme-switch-border: rgba(255, 255, 255, 0.24);
  --theme-switch-text: #f3f7ff;
  --cinema-overlay: rgba(7, 12, 24, 0.9);
  --cinema-loader-core: #09101f;
}

.cinema-transition {
  position: fixed;
  inset: 0;
  z-index: 100050;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 184, 0, 0.22), transparent 36%),
    radial-gradient(circle at 80% 80%, rgba(0, 210, 106, 0.2), transparent 40%),
    var(--cinema-overlay);
  transition: opacity 0.3s ease;
}

.cinema-transition.is-active {
  opacity: 1;
}

.cinema-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 184, 0, 0.24), transparent 38%),
    radial-gradient(circle at 80% 75%, rgba(0, 210, 106, 0.22), transparent 42%),
    var(--cinema-loader-core);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.cinema-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cinema-loader strong {
  color: var(--cinema-text);
  letter-spacing: 0.16em;
  font-size: 1.05rem;
}

.cinema-loader span {
  color: var(--cinema-subtle);
  font-size: 0.9rem;
}

.cinema-loader .ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--brand-solar);
  border-right-color: var(--brand-energy);
  animation: cinemaSpin 0.9s linear infinite;
}

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

.cinema-hero {
  position: relative;
  z-index: 20;
  margin: 34px auto 52px;
  width: min(1240px, calc(100% - 36px));
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--cinema-border);
  border-radius: 30px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(220deg, rgba(255, 184, 0, 0.1), rgba(0, 210, 106, 0.06)),
    var(--cinema-glass);
  box-shadow: 0 40px 90px -48px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transform: translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0);
  transition: transform 0.2s ease;
}

.cinema-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -160px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.22), transparent 65%);
  pointer-events: none;
}

.cinema-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 8px 16px;
  color: #0a0e17;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--brand-solar), #ffd54f);
}

.cinema-title {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: var(--cinema-title);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--cinema-text);
  max-width: 17ch;
}

.cinema-title .accent {
  display: block;
  color: var(--brand-energy);
}

.cinema-subtitle {
  margin: 22px 0 0;
  max-width: 70ch;
  color: var(--cinema-muted);
  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
  line-height: 1.8;
}

.cinema-stage {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  transform-style: preserve-3d;
}

.cinema-card {
  position: relative;
  display: block;
  min-height: 122px;
  padding: 20px;
  border: 1px solid var(--cinema-surface-border);
  border-radius: 20px;
  background: var(--cinema-surface);
  text-decoration: none;
  color: var(--cinema-text);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.cinema-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 184, 0, 0.16), transparent 52%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cinema-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 184, 0, 0.5);
  box-shadow: 0 24px 32px -26px rgba(255, 184, 0, 0.7);
}

.cinema-magnetic {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  will-change: transform;
}

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

.cinema-card>* {
  position: relative;
  z-index: 1;
}

.cinema-card .eyebrow {
  display: inline-flex;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cinema-subtle);
}

.cinema-card h3 {
  margin: 10px 0 8px;
  font-size: 1.05rem;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.cinema-card p {
  margin: 0;
  color: var(--cinema-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.cinema-meta {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--cinema-subtle);
  font-size: 0.82rem;
}

.cinema-clock {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cinema-theme-switcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100060;
  min-width: 196px;
  border: 1px solid var(--theme-switch-border);
  border-radius: 16px;
  background: var(--theme-switch-bg);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  transform-style: preserve-3d;
}

.cinema-theme-switcher .theme-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--theme-switch-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cinema-theme-switcher .theme-head i {
  color: var(--brand-solar);
}

.cinema-theme-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
}

.theme-option {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--theme-switch-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 10px;
  padding: 9px 6px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.theme-option:hover {
  border-color: rgba(255, 184, 0, 0.45);
}

.theme-option.is-active {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.34), rgba(0, 210, 106, 0.26));
  border-color: rgba(255, 184, 0, 0.58);
  color: #fff;
}

.cinema-spotlight {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.33;
  background:
    radial-gradient(560px circle at var(--cinema-pointer-x, 50%) var(--cinema-pointer-y, 50%),
      rgba(255, 184, 0, 0.2),
      transparent 48%),
    radial-gradient(440px circle at calc(var(--cinema-pointer-x, 50%) + 12%) calc(var(--cinema-pointer-y, 50%) - 18%),
      rgba(0, 210, 106, 0.14),
      transparent 52%);
  mix-blend-mode: screen;
  transition: opacity 0.25s ease;
}

body.cinema-theme[data-theme="light"] .cinema-spotlight {
  opacity: 0.2;
  mix-blend-mode: multiply;
}

body.cinema-theme[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.86) !important;
  border-bottom-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 12px 28px -20px rgba(15, 23, 42, 0.45);
}

body.cinema-theme[data-theme="light"] .navbar:hover {
  background: rgba(255, 255, 255, 0.96) !important;
}

body.cinema-theme[data-theme="light"] footer {
  background: rgba(248, 250, 252, 0.92) !important;
  border-top-color: rgba(15, 23, 42, 0.12) !important;
}

body.cinema-theme[data-theme="light"] .logo-text {
  background: none !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.cinema-theme[data-theme="light"] .logo-icon {
  color: #0f172a !important;
}

body.cinema-theme[data-theme="light"] .cinema-kicker {
  color: #111827;
}

body.cinema-theme[data-theme="light"] .theme-option.is-active {
  color: #111827;
}

body.cinema-theme[data-theme="light"] .sidebar {
  background: rgba(255, 255, 255, 0.9) !important;
  border-right-color: rgba(15, 23, 42, 0.14) !important;
}

body.cinema-theme[data-theme="light"] .sidebar-nav a {
  color: #334155 !important;
}

body.cinema-theme[data-theme="light"] .sidebar-nav a i {
  color: #64748b !important;
}

body.cinema-theme[data-theme="light"] .feature-card,
body.cinema-theme[data-theme="light"] .card,
body.cinema-theme[data-theme="light"] .ps-card,
body.cinema-theme[data-theme="light"] .tech-card,
body.cinema-theme[data-theme="light"] .doc-card,
body.cinema-theme[data-theme="light"] .cta-box,
body.cinema-theme[data-theme="light"] .ai-feature-card,
body.cinema-theme[data-theme="light"] .result-card,
body.cinema-theme[data-theme="light"] .product-card,
body.cinema-theme[data-theme="light"] .product-card-compact,
body.cinema-theme[data-theme="light"] .market-insights-card,
body.cinema-theme[data-theme="light"] .required-ai-face {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: #0f172a !important;
}

body.cinema-theme[data-theme="light"] [style*="color: white"],
body.cinema-theme[data-theme="light"] [style*="color:white"],
body.cinema-theme[data-theme="light"] [style*="color: #fff"],
body.cinema-theme[data-theme="light"] [style*="color:#fff"],
body.cinema-theme[data-theme="light"] [style*="color: #ffffff"],
body.cinema-theme[data-theme="light"] [style*="color:#ffffff"] {
  color: #0f172a !important;
}

body.cinema-theme[data-theme="light"] [style*="background: #0f172a"],
body.cinema-theme[data-theme="light"] [style*="background:#0f172a"],
body.cinema-theme[data-theme="light"] [style*="background:rgba(15,23,42"],
body.cinema-theme[data-theme="light"] [style*="background: rgba(15,23,42"] {
  background: rgba(248, 250, 252, 0.94) !important;
  border-color: rgba(15, 23, 42, 0.18) !important;
}

body.cinema-theme[data-theme="glass"] .navbar {
  background: rgba(9, 16, 32, 0.46) !important;
  border-bottom-color: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(24px) saturate(130%);
}

body.cinema-theme[data-theme="glass"] .navbar:hover {
  background: rgba(9, 16, 32, 0.58) !important;
}

body.cinema-theme[data-theme="glass"] footer {
  background: rgba(9, 16, 32, 0.5) !important;
  border-top-color: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(18px);
}

body.cinema-theme[data-theme="glass"] .feature-card,
body.cinema-theme[data-theme="glass"] .card,
body.cinema-theme[data-theme="glass"] .ps-card,
body.cinema-theme[data-theme="glass"] .tech-card,
body.cinema-theme[data-theme="glass"] .doc-card,
body.cinema-theme[data-theme="glass"] .cta-box,
body.cinema-theme[data-theme="glass"] .ai-feature-card,
body.cinema-theme[data-theme="glass"] .result-card,
body.cinema-theme[data-theme="glass"] .product-card,
body.cinema-theme[data-theme="glass"] .product-card-compact,
body.cinema-theme[data-theme="glass"] .market-insights-card,
body.cinema-theme[data-theme="glass"] .required-ai-face {
  backdrop-filter: blur(16px);
}

@media (max-width: 980px) {
  .cinema-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .cinema-hero {
    width: min(1240px, calc(100% - 20px));
    margin-top: 22px;
    margin-bottom: 34px;
    border-radius: 24px;
  }

  .cinema-stage {
    grid-template-columns: 1fr;
  }

  .cinema-title {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .cinema-theme-switcher {
    right: 12px;
    bottom: 12px;
    min-width: 178px;
  }

  .cinema-theme-options {
    gap: 6px;
    padding: 8px;
  }

  .theme-option {
    font-size: 0.68rem;
    padding: 8px 4px;
  }
}

/* 3D Dashboard Extensions */
.cinema-dashboard-stage {
  perspective: 1200px;
  transform-style: preserve-3d;
  padding: 20px 0;
}

.cinema-panel {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Faint border */
  border-radius: 24px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out, box-shadow 0.3s ease;
  /* Fast transform for mouse move */
  will-change: transform;
}

/* Holographic Map Container */
.holo-map-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 210, 106, 0.15);
  /* Green glow */
  border: 1px solid rgba(0, 210, 106, 0.3);
  transform: translateZ(20px);
  /* Pop out in 3D */
}

.holo-map-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 40px rgba(0, 210, 106, 0.1);
  pointer-events: none;
  z-index: 500;
}

/* 3D Catalog Styles */
.cinema-catalog-section {
  padding: 40px 0;
  perspective: 1000px;
}

.cinema-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px;
  transform-style: preserve-3d;
}

.cinema-catalog-item {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(225, 29, 72, 0.2);
  border-radius: 20px;
  padding: 25px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.cinema-catalog-item:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
  border-color: rgba(225, 29, 72, 0.6);
  box-shadow:
    0 20px 40px -10px rgba(225, 29, 72, 0.2),
    0 0 20px rgba(225, 29, 72, 0.1) inset;
}

.cinema-catalog-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e11d48, #ff4d4d);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cinema-catalog-item:hover::before {
  opacity: 1;
}

.catalog-category-title {
  font-family: 'Permanent Marker', cursive;
  font-size: 2rem;
  color: #e11d48;
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(225, 29, 72, 0.5);
  transform: translateZ(20px);
}

.catalog-item-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  transform: translateZ(30px);
}

.catalog-item-price {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 15px;
  transform: translateZ(25px);
}

.catalog-item-details {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
  transform: translateZ(20px);
}

.catalog-select-btn {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: translateZ(35px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.catalog-select-btn:hover {
  transform: translateZ(40px) scale(1.05);
  box-shadow: 0 0 20px rgba(225, 29, 72, 0.4);
}

/* Glass Footer */
.cinema-footer {
  margin-top: 80px;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(225, 29, 72, 0.2);
  padding: 60px 0 30px;
  position: relative;
  z-index: 10;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5);
  animation: footerFloat 5s ease-in-out infinite;
}

@keyframes footerFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.cinema-footer h3 {
  font-family: 'Permanent Marker', cursive;
  color: #e11d48;
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(225, 29, 72, 0.3);
}

.footer-links li a {
  color: #cbd5e1;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links li a:hover {
  color: #e11d48;
  padding-left: 5px;
  text-shadow: 0 0 8px rgba(225, 29, 72, 0.4);
}

.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #64748b;
  font-size: 0.9rem;
}

/* AI Market Insights Cards */
.market-insights-card {
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: cardFloat 1s ease-out backwards;
}

.market-insights-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 25px 50px -12px rgba(225, 29, 72, 0.15);
  border-color: rgba(225, 29, 72, 0.4);
}

.market-insights-card h3 {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.8rem;
  color: #e11d48;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
  text-shadow: 0 0 15px rgba(225, 29, 72, 0.3);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
}

.insight-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 15px;
  text-align: center;
  transition: background 0.3s ease;
}

.insight-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.insight-item .label {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.insight-item .value {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
}

/* ==========================================
   FARMMINERALS.COM STYLE COMPONENTS
   ========================================== */

/* === Hero Section === */
.fm-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.fm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(75, 227, 138, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.fm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.fm-hero-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #4be38a;
  margin-bottom: 24px;
  font-weight: 500;
}

.fm-hero-title {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #f5f7f7;
  margin-bottom: 32px;
}

.fm-hero-title .fm-line {
  display: block;
  overflow: hidden;
}

.fm-hero-title .fm-accent {
  color: #4be38a;
}

.fm-hero-tagline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: #a4b3b4;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.fm-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Buttons === */
.fm-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4be38a;
  color: #020303;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.fm-btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(75, 227, 138, 0.3);
}

.fm-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #f5f7f7;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 14px 32px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.fm-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

/* === Sections === */
.fm-section {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.fm-section-wide {
  padding: 100px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.fm-section-title {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #f5f7f7;
  margin-bottom: 24px;
}

.fm-section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #a4b3b4;
  line-height: 1.7;
  max-width: 700px;
}

.fm-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0;
  border: none;
}

/* === Stats Grid === */
.fm-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.fm-stat-card {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.fm-stat-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(75, 227, 138, 0.15);
  transform: translateY(-4px);
}

.fm-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #4be38a;
  line-height: 1;
  margin-bottom: 8px;
}

.fm-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #a4b3b4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === Product Cards === */
.fm-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.fm-product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.fm-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4be38a, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fm-product-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(75, 227, 138, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.fm-product-card:hover::before {
  opacity: 1;
}

.fm-product-card.selected {
  border-color: #4be38a;
  box-shadow: 0 0 20px rgba(75, 227, 138, 0.15);
}

.fm-product-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f5f7f7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.fm-product-label {
  font-size: 0.9rem;
  color: #6b8080;
  margin-bottom: 12px;
}

.fm-product-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #4be38a;
  margin-bottom: 8px;
}

.fm-product-specs {
  font-size: 0.8rem;
  color: #a4b3b4;
  margin-bottom: 16px;
  line-height: 1.5;
}

.fm-product-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #4be38a;
  border: 1px solid rgba(75, 227, 138, 0.3);
  border-radius: 999px;
  padding: 8px 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.fm-product-select-btn:hover {
  background: #4be38a;
  color: #020303;
}

.fm-product-select-btn.active {
  background: #4be38a;
  color: #020303;
}

/* === Tab Navigation === */
.fm-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.fm-tab {
  background: transparent;
  color: #a4b3b4;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 10px 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.fm-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #f5f7f7;
}

.fm-tab.active {
  background: #4be38a;
  color: #020303;
  border-color: #4be38a;
}

/* === Pillars / Feature Cards === */
.fm-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.fm-pillar {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.fm-pillar:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(75, 227, 138, 0.15);
}

.fm-pillar-icon {
  font-size: 2rem;
  color: #4be38a;
  margin-bottom: 16px;
}

.fm-pillar-title {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f5f7f7;
  margin-bottom: 12px;
}

.fm-pillar-text {
  font-size: 0.9rem;
  color: #a4b3b4;
  line-height: 1.7;
}

/* === Catalog Category Title === */
.fm-category-title {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4be38a;
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* === Footer === */
.fm-footer {
  margin-top: 80px;
  background: rgba(5, 10, 10, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 30px;
}

.fm-footer h3 {
  font-family: 'Space Grotesk', sans-serif !important;
  color: #4be38a;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.fm-footer a {
  color: #a4b3b4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.fm-footer a:hover {
  color: #4be38a;
}

/* === Utility — visibility classes for GSAP === */
.fm-reveal {
  /* Elements start visible — GSAP animates from opacity:0 */
}

.fm-stagger-grid {
  /* Children animated by GSAP */
}