/* ==========================================================================
   Nimbus Earth & Sentinel CSS Design System
   Inspired by EOS.com: Ultra-Minimalist, High-Tech, Space-Agriculture Theme
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary:   hsl(220 20% 5%);
  --bg-secondary: hsl(220 18% 7%);
  --bg-tertiary:  hsl(220 15% 11%);
  --text-primary: hsl(0 0% 97%);
  --text-secondary: hsl(220 8% 56%);
  --text-muted: hsl(220 8% 30%);
  
  /* Brand Accent Colors */
  --accent: #40c4ff;              /* Primary sky-blue accent */
  --accent-rgb: 64, 196, 255;
  --accent-blue: #2979ff;         /* Sentinel-1 Radar / Soil Moisture */
  --accent-blue-rgb: 41, 121, 255;
  --accent-emerald: #00b0ff;      /* Open-Meteo / Weather */
  --accent-emerald-rgb: 0, 176, 255;

  /* Glassmorphism Styles */
  --glass-bg: rgba(6, 8, 18, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.2);
  --glass-glow-blue: rgba(41, 121, 255, 0.15);
  --glass-glow-accent: rgba(64, 196, 255, 0.15);
  
  /* Font Families */
  --font-tech: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Global Constants */
  --header-height: 70px;
  --sidebar-width: 320px;
  --transition-normal: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base Styles & Resets
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow: hidden; /* Main window has no default scroll; handled by views */
  -webkit-font-smoothing: antialiased;
}

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

button {
  background: none;
  border: none;
  outline: none;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

/* Custom Scrollbar for modern tech design */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==========================================================================
   Live Twinkling Starfield Canvas
   ========================================================================== */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* ==========================================================================
   Global Layout Container Styling
   ========================================================================== */
.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 4rem;
  position: relative;
  z-index: 2;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   Header Styles (Global Navigation)
   ========================================================================== */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: hsl(220 20% 5% / 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-normal);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 2px;
}
.logo-mark {
  height: 26px;
  width: auto;
  flex-shrink: 0;
}
.logo span {
  color: var(--text-secondary);
  font-weight: 400;
}
.logo a:hover {
  text-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Premium Tech CTA Buttons */
.cta-button {
  background: var(--bg-primary);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.6rem 1.4rem;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 15px rgba(64, 196, 255, 0.4);
}

/* Pulsing effect */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(64, 196, 255, 0.3); }
  70% { box-shadow: 0 0 0 8px rgba(64, 196, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(64, 196, 255, 0); }
}

.pulse {
  animation: pulseGlow 2.5s 3;
}

.cta-button:disabled,
.cta-button[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   Portal Page Scroll Snap Container
   ========================================================================== */
.portal-wrapper {
  width: 100%;
  height: 100dvh;
  overflow-y: scroll;
  scroll-behavior: smooth;
  position: relative;
  z-index: 1;
}

.portal-slide {
  width: 100%;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Common Background Media Setup */
.bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  filter: brightness(0.5) contrast(1.05);
  will-change: transform;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6) contrast(1.05);
  opacity: 0;
  transition: opacity 1.4s ease;
}

.bg-video.loaded {
  opacity: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 30%, var(--bg-primary) 100%);
  z-index: 2;
}

/* Per-element scroll-reveal — JS adds .visible when element enters viewport */
.fade-in-up {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0s),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0s);
}

/* Directional variants (desktop only — overridden to vertical on mobile) */
.fade-in-up.reveal-left  { transform: translateX(-36px); }
.fade-in-up.reveal-right { transform: translateX(36px); }

.fade-in-up.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .fade-in-up.reveal-left,
  .fade-in-up.reveal-right {
    transform: translateY(42px);
  }
}

/* ==========================================================================
   Side Navigation Dot Indicators
   ========================================================================== */
.side-navigation {
  position: fixed;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
}

.side-navigation ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.side-navigation a {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-muted);
  border: 1px solid transparent;
  transition: var(--transition-normal);
}

.side-navigation a:hover {
  background-color: var(--text-primary);
  transform: scale(1.2);
}

.side-navigation a.active {
  background-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transform: scale(1.4);
}

/* ==========================================================================
   Glassmorphism Card Components
   ========================================================================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: var(--transition-normal);
}

.glass-card {
  cursor: pointer;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 40px rgba(41, 121, 255, 0.15);
  transform: translateY(-6px) scale(1.02);
}

/* ==========================================================================
   Slide 1: Hero Section
   ========================================================================== */
.hero-slide {
  background-color: var(--bg-primary);
  background-image: url('assets/hero-bg.webp');
  background-size: cover;
  background-position: center;
  height: 100svh;
  min-height: unset;
}

/* Subtle separator between sections */
.portal-slide:not(.hero-slide) {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: calc(100svh - 2 * var(--header-height));
  margin-top: var(--header-height);
  text-align: center;
}

.hero-top-info {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-top: 1rem;
}

.tech-tag {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.hero-wordmark {
  font-family: var(--font-tech);
  font-size: 7vw;
  font-weight: 700;
  letter-spacing: 12px;
  line-height: 0.95;
  color: var(--text-primary);
}

@keyframes shimmerPass {
  0%,  38%  { background-position: 100% center; } /* hold — accent off left,  text white */
  62%, 100% { background-position:   0% center; } /* hold — accent off right, text white */
}

.hero-product-name {
  font-family: var(--font-tech);
  font-size: 7vw;
  font-weight: 700;
  letter-spacing: 12px;
  line-height: 0.95;
  background: linear-gradient(
    90deg,
    var(--text-primary) 0%,
    var(--text-primary) 38%,
    var(--accent) 50%,
    var(--text-primary) 62%,
    var(--text-primary) 100%
  );
  background-size: 300% auto;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerPass 18s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-product-name {
    animation: none;
    background: none;
    -webkit-text-fill-color: var(--text-primary);
    color: var(--text-primary);
  }
  .fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: center;
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: var(--transition-normal);
}

.cta-ghost:hover {
  color: var(--text-primary);
  border-color: var(--glass-border);
}

.hero-subtitle {
  font-family: var(--font-tech);
  font-size: 1.1rem;
  letter-spacing: 6px;
  color: var(--text-secondary);
  margin: 1.5rem 0;
  text-transform: uppercase;
}

.scroll-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  color: var(--text-secondary);
  cursor: pointer;
}

.scroll-prompt:hover {
  color: var(--text-primary);
}

.mouse-icon {
  width: 20px;
  height: 35px;
  border: 1.5px solid var(--text-secondary);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 3px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 18px; }
}

/* ==========================================================================
   Slide 2: Mission & Vision
   ========================================================================== */
.flex-column-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: calc(var(--header-height) + 5rem) 0 8rem;
  gap: 2.5rem;
}

.section-title {
  font-family: var(--font-tech);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 2px;
  text-align: center;
}

.section-title.left-align {
  text-align: left;
}

.mission-card {
  max-width: 860px;
  width: 100%;
}

.mission-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1.5rem;
}

.mission-section-header {
  font-family: var(--font-tech);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  flex: 1;
}

.mission-section-header.highlight-text {
  text-align: right;
  font-weight: 700;
  color: var(--text-primary);
}

.vertical-divider {
  width: 1px;
  height: 35px;
  background: var(--glass-border);
  margin: 0 2rem;
}

.mission-body-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.slide-footer {
  position: absolute;
  bottom: 3rem;
  left: 4rem;
}

.footer-link {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--text-secondary);
  border-bottom: 1px solid transparent;
}

.footer-link:hover {
  color: var(--text-primary);
  border-bottom: 1px solid var(--text-primary);
}

/* ==========================================================================
   Slide 3: Sector Focus Overview — Showcase Layout
   ========================================================================== */
.sector-showcase {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 4rem;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 8rem;
}

.sector-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.data-source-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.data-source-chip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(6, 8, 18, 0.65);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-normal);
}

.data-source-chip .chip-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.02);
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.data-source-chip .chip-icon svg {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
  transition: var(--transition-normal);
}

.chip-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.chip-title {
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.chip-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.data-source-chip.hover-glow-blue:hover {
  border-color: var(--accent-blue);
  background: rgba(41, 121, 255, 0.04);
  box-shadow: 0 6px 20px rgba(41, 121, 255, 0.2);
  transform: translateY(-3px) scale(1.02);
}
.data-source-chip.hover-glow-blue:hover .chip-icon {
  border-color: var(--accent-blue);
  box-shadow: 0 0 12px rgba(41, 121, 255, 0.3);
}
.data-source-chip.hover-glow-blue:hover .chip-icon svg { color: var(--accent-blue); }

.data-source-chip.hover-glow-green:hover {
  border-color: var(--accent);
  background: rgba(64, 196, 255, 0.04);
  box-shadow: 0 6px 20px rgba(64, 196, 255, 0.2);
  transform: translateY(-3px) scale(1.02);
}
.data-source-chip.hover-glow-green:hover .chip-icon {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(64, 196, 255, 0.3);
}
.data-source-chip.hover-glow-green:hover .chip-icon svg { color: var(--accent); }

.data-source-chip.hover-glow-emerald:hover {
  border-color: var(--accent-emerald);
  background: rgba(0, 176, 255, 0.04);
  box-shadow: 0 6px 20px rgba(0, 176, 255, 0.2);
  transform: translateY(-3px) scale(1.02);
}
.data-source-chip.hover-glow-emerald:hover .chip-icon {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 12px rgba(0, 176, 255, 0.3);
}
.data-source-chip.hover-glow-emerald:hover .chip-icon svg { color: var(--accent-emerald); }

.sector-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Shared screenshot frame style */
.app-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 64px rgba(0, 0, 0, 0.7);
}

/* Stacked map screenshots with hover-expand */
.map-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.map-stack-img {
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
  cursor: default;
  position: relative;
}

.map-stack:hover .map-stack-img {
  opacity: 0.55;
}

.map-stack .map-stack-img:hover {
  transform: scale(1.04);
  opacity: 1;
  z-index: 2;
  box-shadow:
    0 0 0 1px rgba(64, 196, 255, 0.3),
    0 32px 80px rgba(0, 0, 0, 0.85);
}

/* Glass text-protection panel behind features slide left-col text */
.features-text-group {
  background: hsl(220 20% 4% / 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

/* Dashboard screenshot in features slide — capped to keep left col compact */
.features-screenshot {
  border-radius: 8px;
  max-height: 280px;
  object-fit: cover;
  object-position: top;
}

/* Management Hub screenshot sits above the features list card */
.mgmt-screenshot {
  margin-bottom: 1rem;
  border-radius: 8px;
  max-height: 260px;
  object-fit: cover;
  object-position: top;
}

/* Keep the old sector-grid for reference (unused, safe to remove later) */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  width: 100%;
  max-width: 1200px;
  margin-top: 1.5rem;
}

.sector-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  height: 100%;
  position: relative;
}

/* Card subtitle line */
.card-subtitle {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  margin-top: -0.6rem;
}

.card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.02);
  transition: var(--transition-normal);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--text-secondary);
  transition: var(--transition-normal);
}

.card-title {
  font-family: var(--font-tech);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Sector Hover States */
.hover-glow-blue:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 12px 40px rgba(41, 121, 255, 0.2);
  background: rgba(41, 121, 255, 0.03);
  transform: translateY(-6px) scale(1.02);
}
.hover-glow-blue:hover .card-icon {
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(41, 121, 255, 0.3);
}
.hover-glow-blue:hover .card-icon svg {
  color: var(--accent-blue);
}

.hover-glow-green:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(64, 196, 255, 0.2);
  background: rgba(64, 196, 255, 0.03);
  transform: translateY(-6px) scale(1.02);
}
.hover-glow-green:hover .card-icon {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(64, 196, 255, 0.3);
}
.hover-glow-green:hover .card-icon svg {
  color: var(--accent);
}

.hover-glow-emerald:hover {
  border-color: var(--accent-emerald);
  box-shadow: 0 12px 40px rgba(0, 176, 255, 0.2);
  background: rgba(0, 176, 255, 0.03);
  transform: translateY(-6px) scale(1.02);
}
.hover-glow-emerald:hover .card-icon {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 15px rgba(0, 176, 255, 0.3);
}
.hover-glow-emerald:hover .card-icon svg {
  color: var(--accent-emerald);
}

/* Featured agriculture card slightly accented */
.featured-card {
  border-color: rgba(64, 196, 255, 0.25);
  background: rgba(64, 196, 255, 0.01);
  transform: scale(1.03);
}
.featured-card .card-icon {
  border-color: rgba(64, 196, 255, 0.4);
}
.featured-card .card-icon svg {
  color: var(--accent);
}
.featured-card .card-title {
  color: var(--text-primary);
}
.featured-card .card-footer-link {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--accent);
  margin-top: auto;
  padding-top: 2rem;
  text-transform: uppercase;
}

/* ==========================================================================
   Slide 4: Current Features
   ========================================================================== */
.features-slide .bg-media {
  background-position: left center;
}

.features-slide .two-column {
  align-items: start;
}

.roadmap-slide .col-left {
  background: rgba(6, 8, 18, 0.70);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1.75rem;
}

.two-column {
  display: grid;
  grid-template-columns: 5fr 5fr;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-height) + 5rem) 0 8rem;
  gap: 4rem;
}

.section-subtitle {
  font-family: var(--font-tech);
  font-size: 0.95rem;
  letter-spacing: 3px;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  max-width: 480px;
}

.features-list-card {
  padding: 1.5rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-normal);
}

.feature-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.feature-num {
  font-family: var(--font-tech);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--accent);
  opacity: 0.8;
  position: relative;
  top: -2px;
}

.feature-text h4 {
  font-family: var(--font-tech);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  transition: var(--transition-normal);
}

.feature-text p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.feature-item:hover h4 {
  color: var(--accent);
  transform: translateX(4px);
}

/* ==========================================================================
   Slide 5: Future Expansion Roadmap
   ========================================================================== */

/* Override two-column for roadmap: narrow left text, wide 2×2 card grid */
.roadmap-slide .two-column {
  grid-template-columns: 3fr 7fr;
  align-items: center;
}

.roadmap-text-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.roadmap-title {
  font-family: var(--font-tech);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
  text-align: left;
}

.roadmap-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  width: 100%;
}

.roadmap-card {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.roadmap-card.full-width {
  grid-column: span 2;
}

.roadmap-date {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-left: 2px solid var(--text-muted);
  padding-left: 0.75rem;
}

.roadmap-card:hover .roadmap-date {
  border-left-color: var(--accent);
}
#card-roadmap-aquaculture:hover .roadmap-date { border-left-color: var(--accent-blue); }
#card-roadmap-forestry:hover .roadmap-date { border-left-color: var(--accent-emerald); }

.roadmap-card h4 {
  font-family: var(--font-tech);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-primary);
}

.roadmap-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Slide 6: Summary & Next Steps
   ========================================================================== */
.section-subtitle-large {
  font-family: var(--font-tech);
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--text-secondary);
  max-width: 800px;
  text-align: center;
  margin-top: -1rem;
  line-height: 1.7;
}

.summary-slide .glass-card {
  background: rgba(6, 8, 18, 0.63);
}

.summary-card {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.summary-body {
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.8;
  color: var(--text-secondary);
}

.company-trust {
  font-size: 0.75rem;
  text-align: center;
  color: var(--text-secondary);
  opacity: 0.55;
  letter-spacing: 0.5px;
  margin-top: -1rem;
}

/* ==========================================================================
   Slide 6: Pricing
   ========================================================================== */
.pricing-slide .glass-card {
  background: rgba(6, 8, 18, 0.63);
}

.pricing-card {
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem 2rem;
}

.pricing-gem-badge {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent);
  border: 1px solid rgba(64, 196, 255, 0.35);
  border-radius: 3px;
  padding: 0.3rem 0.9rem;
  text-transform: uppercase;
}

.pricing-plan-name {
  font-family: var(--font-tech);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-primary);
  text-align: center;
}

.pricing-plan-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: center;
  max-width: 440px;
}

.pricing-features {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.25rem 0;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-checkout-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.3px;
}

.pricing-login-link {
  font-size: 0.82rem;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  border-bottom: 1px solid transparent;
  transition: var(--transition-normal);
  margin-top: -0.5rem;
}

.pricing-login-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

/* Large Desktop screens */
@media (max-width: 1440px) {
  .container {
    padding: 0 3rem;
  }
}

/* Tablet Layout (Landscape & Portrait) */
@media (max-width: 1024px) {
  :root {
    --header-height: 60px;
  }

  .global-header {
    height: 60px;
  }
  .header-container {
    padding: 0 2rem;
  }
  .nav-links {
    display: none;
  }
  #btn-launch-sentinel {
    display: none;
  }

  .container {
    padding: 0 2rem;
  }

  /* Sections Layout */
  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 6rem;
  }

  .sector-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 6rem;
  }

  .sector-visual {
    justify-content: center;
  }

  .section-desc {
    max-width: 100%;
  }

  .roadmap-slide .two-column {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 6rem;
  }
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .roadmap-card.full-width {
    grid-column: span 2;
  }
  .features-text-group {
    padding: 1.25rem;
  }
}

/* Mobile Screens */
@media (max-width: 768px) {
  .side-navigation {
    display: none;
  }

  .hero-wordmark,
  .hero-product-name {
    font-size: 11vw;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 3px;
  }

  .section-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .glass-card {
    padding: 1.8rem;
  }

  .mission-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .mission-section-header.highlight-text {
    text-align: left;
  }
  .vertical-divider {
    display: none;
  }

  .slide-footer {
    left: 2rem;
    bottom: 2rem;
  }

  .features-list-card {
    padding: 1rem;
  }
  .feature-item {
    gap: 1rem;
  }

  /* Hide management hub screenshot on mobile — saves ~260px */
  .mgmt-screenshot {
    display: none;
  }

  .features-screenshot {
    max-height: 140px;
    object-fit: cover;
    object-position: top;
  }

  /* Roadmap: single column on small screens */
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .roadmap-card.full-width {
    grid-column: span 1;
  }

  /* Tighter horizontal padding on small phones */
  .container {
    padding: 0 1.25rem;
  }

  /* Reduce flex-column-center padding and gap on mobile */
  .flex-column-center {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3.5rem;
    gap: 1.5rem;
  }

  /* Reduce two-column and sector-showcase vertical padding on mobile */
  .two-column,
  .sector-showcase {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 3.5rem;
    gap: 1.5rem;
  }
  .roadmap-slide .two-column {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 3.5rem;
  }

  /* Tighter tracking on the large subtitle — 3px letter-spacing overflows on narrow screens */
  .section-subtitle-large {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  /* letter-spacing clamping for narrow viewports */
  .hero-wordmark,
  .hero-product-name {
    letter-spacing: clamp(4px, 2vw, 12px);
  }

  /* Tighter subtitle tracking on small screens */
  .section-subtitle {
    letter-spacing: 2px;
  }

  /* Slightly smaller mission body text for readability */
  .mission-body-text {
    font-size: 1rem;
    line-height: 1.75;
  }

  /* Remove expensive backdrop-filter blur on mobile — use solid bg instead */
  .glass-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(6, 8, 18, 0.92);
  }
  .data-source-chip {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(6, 8, 18, 0.88);
  }
}

/* Compact feature list items on mobile */
@media (max-width: 768px) {
  .feature-num {
    font-size: 1rem;
  }
  .feature-text h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }
  .feature-text p {
    font-size: 0.78rem;
    line-height: 1.5;
  }
  .feature-item {
    padding-bottom: 0.85rem;
  }
  .features-list {
    gap: 0.85rem;
  }

  /* Compact section description text */
  .section-desc {
    font-size: 0.92rem;
    margin-top: 0.85rem;
  }
  .features-text-group {
    padding: 1rem 0.9rem;
    margin-bottom: 0.5rem;
  }

  /* Compact roadmap typography and spacing */
  .roadmap-title {
    font-size: 1.25rem;
    letter-spacing: 1px;
  }
  .roadmap-desc {
    font-size: 0.82rem;
  }
  .roadmap-card {
    padding: 0.9rem;
    gap: 0.5rem;
  }
  .roadmap-slide .col-left {
    padding: 1.25rem 1rem;
  }
  .roadmap-text-block {
    gap: 0.6rem;
  }
}

/* Very Small Mobile (≤480px) — phones like iPhone SE */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .glass-card {
    padding: 1.25rem;
  }
  .section-title {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
  .flex-column-center {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 3rem;
    gap: 1.25rem;
  }
  .two-column,
  .sector-showcase {
    padding-top: calc(var(--header-height) + 1.25rem);
    padding-bottom: 3rem;
    gap: 1.25rem;
  }
  .roadmap-slide .two-column {
    padding-top: calc(var(--header-height) + 1.25rem);
    padding-bottom: 3rem;
  }
  .section-subtitle-large {
    font-size: 0.82rem;
    letter-spacing: 0.5px;
  }
  .mission-body-text {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Mobile Navigation Menu
   ========================================================================== */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 0.75rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.menu-toggle:hover {
  color: var(--text-primary);
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-nav-overlay {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100dvh - var(--header-height));
  background: hsl(220 20% 5% / 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem;
}

.mobile-nav-link {
  font-family: var(--font-tech);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-overlay {
    transition: none;
  }
}

/* ==========================================================================
   Language Toggle Button
   ========================================================================== */
.lang-toggle {
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--glass-border);
  border-radius: 2px;
  transition: var(--transition-normal);
  margin-right: 0.75rem;
}

.lang-toggle:hover {
  color: var(--text-primary);
  border-color: var(--glass-border-hover);
}

/* ==========================================================================
   RTL (Arabic) Overrides
   ========================================================================== */
[dir="rtl"] {
  --font-tech: 'Cairo', sans-serif;
  --font-body: 'Cairo', sans-serif;
}

/* Brand names stay in Space Grotesk — Latin-only identifiers */
[dir="rtl"] .logo-wordmark,
[dir="rtl"] .hero-wordmark,
[dir="rtl"] .hero-product-name {
  font-family: 'Space Grotesk', sans-serif;
}

[dir="rtl"] .section-title.left-align,
[dir="rtl"] .roadmap-title {
  text-align: right;
}

[dir="rtl"] .mission-section-header.highlight-text {
  text-align: left;
}

[dir="rtl"] .slide-footer {
  left: auto;
  right: 4rem;
}

[dir="rtl"] .roadmap-date {
  border-left: none;
  border-right: 2px solid var(--text-muted);
  padding-left: 0;
  padding-right: 0.75rem;
}

[dir="rtl"] .roadmap-card:hover .roadmap-date {
  border-right-color: var(--accent);
}

[dir="rtl"] .feature-item:hover h4 {
  transform: translateX(-4px);
}

[dir="rtl"] .cta-button::before {
  left: auto;
  right: -100%;
}

[dir="rtl"] .cta-button:hover::before {
  right: 100%;
}

[dir="rtl"] .lang-toggle {
  margin-right: 0;
  margin-left: 0.75rem;
}

@media (max-width: 768px) {
  [dir="rtl"] .slide-footer {
    left: auto;
    right: 2rem;
  }
  [dir="rtl"] .mission-section-header.highlight-text {
    text-align: right;
  }
}
