/* ============================================
   AGROTECH DIGITAL - LANDING PAGE STYLES
   Neumorphic Dark Theme with Professional Design
   Responsive for all devices
   ============================================ */

/* ============================================
   CSS VARIABLES - Brand Colors
   ============================================ */
:root {
  /* Brand Colors from Logos */
  --brand-green: #4CAF50;
  --brand-green-dark: #388E3C;
  --brand-green-light: #66BB6A;
  --brand-orange: #FF6F00;
  --brand-orange-dark: #E65100;
  --brand-orange-light: #FF8F00;

  /* Dark Theme Colors */
  --dark-bg: #1a1a1a;
  --dark-bg-secondary: #242424;
  --dark-bg-tertiary: #2d2d2d;
  --dark-card: #212121;
  --dark-card-hover: #2a2a2a;

  /* Light Theme (for dashboard transition) */
  --light-bg: #f5f7fa;
  --light-card: #ffffff;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;

  /* Neumorphic Shadows */
  --shadow-light: rgba(255, 255, 255, 0.05);
  --shadow-dark: rgba(0, 0, 0, 0.5);
  --shadow-inset-light: rgba(255, 255, 255, 0.03);
  --shadow-inset-dark: rgba(0, 0, 0, 0.3);

  /* Accent Colors */
  --accent-success: #4CAF50;
  --accent-warning: #FF9800;
  --accent-error: #F44336;
  --accent-info: #2196F3;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text-primary);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
  font-size: 1.1rem;
}

a {
  color: var(--brand-green);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: var(--brand-green-light);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
}

.section {
  padding: var(--spacing-xl) 0;
}

/* ============================================
   NEUMORPHIC COMPONENTS
   ============================================ */
.neuro-card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  box-shadow:
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  padding: var(--spacing-md);
  transition: var(--transition-normal);
}

.neuro-card:hover {
  transform: translateY(-5px);
  box-shadow:
    12px 12px 24px var(--shadow-dark),
    -12px -12px 24px var(--shadow-light);
}

.neuro-button {
  background: var(--dark-card);
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow:
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.neuro-button:hover {
  box-shadow:
    inset 6px 6px 12px var(--shadow-inset-dark),
    inset -6px -6px 12px var(--shadow-inset-light);
}

.neuro-button:active {
  box-shadow:
    inset 8px 8px 16px var(--shadow-inset-dark),
    inset -8px -8px 16px var(--shadow-inset-light);
}

.neuro-button-primary {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  box-shadow:
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light),
    inset 0 0 0 rgba(255, 255, 255, 0.1);
}

.neuro-button-primary:hover {
  background: linear-gradient(135deg, var(--brand-green-light), var(--brand-green));
  box-shadow:
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light),
    0 0 30px rgba(76, 175, 80, 0.3);
}

.neuro-button-accent {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
}

.neuro-button-accent:hover {
  background: linear-gradient(135deg, var(--brand-orange-light), var(--brand-orange));
  box-shadow:
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light),
    0 0 30px rgba(255, 111, 0, 0.3);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.header.scrolled {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-logo-image {
  height: 45px;
  width: 45px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(76, 175, 80, 0.3));
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-orange));
  transform: translateX(-50%);
  transition: var(--transition-normal);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 80%;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
  z-index: 1001;
  position: relative;
}

.nav-burger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-normal);
  display: block;
}

/* Mobile Menu */
@media (max-width: 968px) {
  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: calc(100vh - 80px);
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--spacing-lg);
    gap: var(--spacing-md);
    align-items: flex-start;
    transition: right 0.3s ease-in-out;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    display: block;
  }

  .nav-burger {
    display: flex;
  }

  .nav-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .nav-burger.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: url('../images/agrotech-satelite-1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(10, 14, 39, 0.92) 0%,
      rgba(10, 14, 39, 0.85) 40%,
      rgba(76, 175, 80, 0.15) 100%);
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%,
      rgba(255, 111, 0, 0.12) 0%,
      transparent 60%);
  z-index: 2;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {

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

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: var(--radius-full);
  padding: var(--spacing-xs) var(--spacing-md);
  color: var(--brand-green-light);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--spacing-md);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.hero h1 {
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
}

.hero-description {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  flex-wrap: wrap;
  width: 100%;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  letter-spacing: 0.05em;
}

.hero-stat-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  background: var(--dark-bg-secondary);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.3), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-badge {
  display: inline-block;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: var(--radius-full);
  padding: var(--spacing-xs) var(--spacing-md);
  color: var(--brand-green-light);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
}

.section-title {
  margin-bottom: var(--spacing-sm);
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

@media (min-width: 769px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow:
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-orange));
  transform: translateX(-100%);
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow:
    12px 12px 24px var(--shadow-dark),
    -12px -12px 24px var(--shadow-light),
    0 0 40px rgba(76, 175, 80, 0.1);
  border-color: rgba(76, 175, 80, 0.3);
}

.feature-card:hover::before {
  transform: translateX(0);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  box-shadow:
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
  overflow: hidden;
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card:nth-child(even) .feature-icon {
  background: linear-gradient(135deg, rgba(255, 111, 0, 0.15), rgba(255, 111, 0, 0.05));
  border-color: rgba(255, 111, 0, 0.2);
}

.feature-title {
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
  background: var(--dark-bg);
}

.products-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-lg);
}

.product-card {
  background: var(--dark-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    12px 12px 24px var(--shadow-dark),
    -12px -12px 24px var(--shadow-light);
  transition: var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow:
    16px 16px 32px var(--shadow-dark),
    -16px -16px 32px var(--shadow-light),
    0 0 60px rgba(76, 175, 80, 0.15);
}

.product-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(255, 111, 0, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-image:hover img {
  transform: scale(1.05);
}

.product-content {
  padding: var(--spacing-lg);
}

.product-badge {
  display: inline-block;
  background: rgba(76, 175, 80, 0.2);
  color: var(--brand-green-light);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
}

.product-title {
  margin-bottom: var(--spacing-sm);
}

.product-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.product-features {
  list-style: none;
  margin-bottom: var(--spacing-md);
}

.product-features li {
  padding: var(--spacing-xs) 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.product-features li::before {
  content: '✓';
  color: var(--brand-green);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  background: linear-gradient(135deg, var(--dark-bg-secondary), var(--dark-bg-tertiary));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.stat-card {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  box-shadow:
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  width: 140px;
  height: 140px;
  margin: 0 auto var(--spacing-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--neuro-shadow);
}

.stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 50%, rgba(76, 175, 80, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(255, 111, 0, 0.15) 0%, transparent 50%);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  background: var(--dark-card);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow:
    12px 12px 24px var(--shadow-dark),
    -12px -12px 24px var(--shadow-light);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-title {
  margin-bottom: var(--spacing-md);
}

.cta-description {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  font-size: 1.2rem;
}

.footer-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.footer-links a:hover {
  color: var(--brand-green-light);
  transform: translateX(5px);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: var(--dark-card);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
  transition: var(--transition-normal);
  color: var(--text-primary);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social a:hover {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-orange));
  box-shadow:
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light),
    0 0 20px rgba(76, 175, 80, 0.3);
  transform: translateY(-3px);
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--spacing-md);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll Reveal - fallback seguro: visible sin JS */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease-out;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
}

html.js .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
  .products-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-xl: 3rem;
    --spacing-lg: 2rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .cta-content {
    padding: var(--spacing-lg);
  }

  /* Satellite gallery: bigger images on mobile */
  .satellite-gallery {
    grid-template-columns: 1fr !important;
    max-width: 340px !important;
    gap: var(--spacing-lg) !important;
  }
  .satellite-gallery .neuro-card {
    padding: var(--spacing-lg, 1.5rem);
  }
  .satellite-gallery img {
    max-width: 100% !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .neuro-button {
    width: 100%;
    justify-content: center;
  }

  .feature-card,
  .product-card,
  .stat-card {
    padding: var(--spacing-md);
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mb-1 {
  margin-bottom: var(--spacing-xs);
}

.mb-2 {
  margin-bottom: var(--spacing-sm);
}

.mb-3 {
  margin-bottom: var(--spacing-md);
}

.mb-4 {
  margin-bottom: var(--spacing-lg);
}

.mb-5 {
  margin-bottom: var(--spacing-xl);
}

.mt-1 {
  margin-top: var(--spacing-xs);
}

.mt-2 {
  margin-top: var(--spacing-sm);
}

.mt-3 {
  margin-top: var(--spacing-md);
}

.mt-4 {
  margin-top: var(--spacing-lg);
}

.mt-5 {
  margin-top: var(--spacing-xl);
}

/* ============================================
   LOADING & ANIMATIONS
   ============================================ */
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--brand-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-orange));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow:
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light),
    0 0 20px rgba(76, 175, 80, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow:
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light),
    0 0 30px rgba(76, 175, 80, 0.5);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* ============================================
   RESPONSIVE - ADDITIONAL MOBILE OPTIMIZATIONS
   ============================================ */

/* Historical Report Section - 3 Column Grid */
@media (max-width: 900px) {
  .neuro-card [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* Hero Buttons - Stack on Mobile */
@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .neuro-button {
    width: 100%;
    min-height: 48px;
  }

  .hero-stat-value {
    font-size: 2rem;
  }

  .hero-stat-label {
    font-size: 0.8rem;
  }
}

/* Products Grid - Stack on Mobile */
@media (max-width: 768px) {
  .products-showcase {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 250px;
  }
}

/* Touch Targets - Minimum 44px for accessibility */
.neuro-button,
.nav-links a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Improve readability on mobile */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }
}

/* ============================================
   CTA REDESIGN - SPLIT LAYOUT
   ============================================ */
.cta-content {
  display: flex;
  align-items: stretch;
  text-align: left;
  padding: 0;
  max-width: 1100px;
  overflow: hidden;
  position: relative;
  background: var(--dark-card);
}

.cta-image-wrapper {
  flex: 0 0 50%;
  /* Equal 50/50 split for better balance */
  position: relative;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(255, 111, 0, 0.1));
  min-height: 400px;
  display: flex;
  align-items: center;
  /* Anchor to bottom */
  justify-content: center;
  overflow: hidden;
}

.cta-image-wrapper img {
  width: 85%;
  height: auto;
  /* Taller to fill vertical space */
  max-height: 90%;
  object-fit: contain;
  object-position: center center;
  /* Anchor exactly to bottom */
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.cta-image-wrapper:hover img {
  transform: scale(1.05);
  /* Subtle zoom effect on hover */
}

.cta-text-content {
  flex: 1;
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.cta-title {
  margin-bottom: var(--spacing-md);
  font-size: 2.5rem;
}

.cta-buttons {
  justify-content: flex-start;
  gap: var(--spacing-md);
  display: flex;
  flex-wrap: wrap;
}

/* Responsive styles for CTA */
@media (max-width: 900px) {
  .cta-content {
    flex-direction: column;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    /* Remove padding to let image go edge-to-edge if needed */
    padding: 0;
    overflow: hidden;
  }

  .cta-image-wrapper {
    flex: none;
    width: 100%;
    /* Allow height to adjust to content */
    height: auto;
    /* Balanced padding */
    padding: var(--spacing-md) var(--spacing-sm) var(--spacing-lg);
    /* Center the image using flexbox */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .cta-image-wrapper img {
    /* Full width of the container */
    width: 100%;
    /* Auto height to maintain aspect ratio */
    height: auto;
    /* Significantly larger max height */
    max-height: 480px;
    /* Center the image */
    object-position: center center;
    object-fit: contain;
    margin: 0 auto;
  }

  .cta-text-content {
    padding: var(--spacing-lg);
  }

  .cta-buttons {
    justify-content: center;
  }
}

/* ============================================
   BLOG CARD COMPONENT (Shared)
   ============================================ */
.blog-card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
  transition: var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 24px var(--shadow-dark), -12px -12px 24px var(--shadow-light);
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  color: var(--brand-green);
  font-size: 0.85rem;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
  color: var(--text-primary);
}

.blog-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.blog-link {
  color: var(--brand-green-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ============================================
   BLOG CONTENT LAYOUT (Zigzag)
   ============================================ */
.blog-intro {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xl);
  font-weight: 500;
  border-left: 4px solid var(--brand-green);
  padding-left: var(--spacing-md);
}

.blog-section-title {
  font-size: 2rem;
  color: var(--brand-green);
  margin: var(--spacing-xl) 0 var(--spacing-lg);
  text-align: center;
}

.blog-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.blog-row.reverse {
  flex-direction: row-reverse;
}

.blog-col-image {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}

.blog-col-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-col-image img:hover {
  transform: scale(1.02);
}

.blog-col-text {
  flex: 1;
}

.blog-col-text p {
  margin-bottom: var(--spacing-md);
}

/* Image caption styling */
.image-caption {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: var(--spacing-xs);
  font-style: italic;
}

@media (max-width: 900px) {

  .blog-row,
  .blog-row.reverse {
    flex-direction: column;
  }

  .blog-col-image,
  .blog-col-text {
    width: 100%;
    flex: none;
  }

  .blog-col-image {
    margin-bottom: var(--spacing-md);
  }
}

.blog-link:hover {
  color: var(--brand-green);
  gap: 8px;
}
/* QUICK-WIN-5 — pricing bullet glyph */
.neuro-card li .check {
  color: var(--brand-green);
  font-weight: 700;
  margin-right: 0.5rem;
  display: inline-block;
  width: 1ch;
}
