/* ══════════════════════════════════════════════════════════════════════════════
   LANDING PAGE STYLES - LIGHT THEME WITH COOLER COLORS
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ──────────────────────────────────────────────────────────── */
:root {
  /* Ocean Blue Palette */
  --primary: #2563eb;
  /* Bright Blue */
  --primary-dark: #1e40af;
  /* Deep Ocean */
  --primary-light: #eff6ff;
  /* Soft Blue */
  --secondary: #0ea5e9;
  /* Sky Blue */
  --secondary-dark: #0284c7;
  /* Dark Sky */
  --accent: #3b82f6;
  /* Core Accent Blue */
  --accent-light: #dbeafe;
  /* Light Blue Bg */

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Typography */
  --font-primary: 'Nunito Sans', sans-serif;
  --font-heading: 'Nunito Sans', sans-serif;

  /* Spacing */
  --container-width: 1080px;
  --section-padding: 90px;

  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 5px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 9px 14px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 18px 23px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 23px 45px -11px rgba(0, 0, 0, 0.25);

  --transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Global Styles (Performance Optimized) ──────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  /* Enable hardware acceleration for smooth scrolling */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lenis Recommended Bases */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: var(--font-primary);
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

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

section {
  padding: var(--section-padding) 0;
  position: relative;
  /* Only add will-change when animating, not by default */
  contain: layout style paint;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Prevent layout shift during image loading */
  content-visibility: auto;
}

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

/* ── Performance & Accessibility ────────────────────────────────────────────── */
/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Content visibility for off-screen sections (performance boost) */
.solutions,
.features-dark,
.show-case,
.portal-section {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

/* ── Custom Scrollbar ───────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-300);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 10px;
  border: 2px solid var(--gray-50);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* ── Custom Cursor ──────────────────────────────────────────────────────────── */
.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 10000;
  transition: opacity 0.3s, transform 0.15s;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-outline {
  width: 29px;
  height: 29px;
  border: 2px solid var(--primary);
  opacity: 0.5;
  transition: width 0.3s, height 0.3s, opacity 0.3s, border-color 0.3s;
}

body.cursor-hover .cursor-dot {
  width: 11px;
  height: 11px;
  background: var(--secondary);
}

body.cursor-hover .cursor-outline {
  width: 43px;
  height: 43px;
  border-color: var(--secondary);
  opacity: 0.8;
}

@media (max-width: 691px) {

  .cursor-dot,
  .cursor-outline {
    display: none;
  }
}

/* ── Navigation ─────────────────────────────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  /* Higher than overlay */
  /* background: rgba(255, 255, 255, 0.01); */
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  padding: 25px 0;
  /* Increased from 18px */
}

/* Allow navbar elements to push further to the edges */
.navbar .container {
  max-width: 1260px;
}

@media (max-width: 691px) {
  .navbar {
    padding: 14px 0;
  }
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  padding: 11px 0;
  /* Increased from 9px */
}

@media (min-width: 692px) {
  .navbar.scrolled {
    width: calc(100% - 58px);
    max-width: 1260px;
    top: 18px;
    border-radius: 90px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow:
      0 4px 27px rgba(0, 0, 0, 0.05),
      0 9px 36px rgba(0, 0, 0, 0.03);
    margin: 0 auto;
  }
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  /* Reduced from 29px to push items further out */
}

.logo-img {
  height: 43px;
  /* Increased from 32px */
  width: auto;
  transition: var(--transition);
}

@media (max-width: 691px) {
  .logo-img {
    height: 32px;
  }
}

.navbar.scrolled .logo-img {
  height: 36px;
  /* Increased from 29px */
}

@media (max-width: 691px) {
  .navbar.scrolled .logo-img {
    height: 29px;
  }
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 11px;
  /* Increased from 7px */
  background: rgba(241, 245, 249, 0.5);
  padding: 7px;
  /* Increased from 5px */
  border-radius: 90px;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.navbar:not(.scrolled) .nav-links {
  background: White;
  border-color: transparent;
}

.nav-link {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-600);
  padding: 9px 22px;
  border-radius: 90px;
  transition: all 0.3s ease;
  position: relative;
}

@media (max-width: 691px) {
  .nav-link {
    font-size: 13px;
    padding: 7px 18px;
  }
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.8);
}

.nav-link.active {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 4px 11px rgba(37, 99, 235, 0.2);
}

.nav-link::after {
  display: none;
  /* Removed old underline */
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}

.mobile-actions {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 11px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  padding: 9px;
  border-radius: 11px;
  transition: var(--transition);
  z-index: 1100;
}

.mobile-toggle span {
  width: 18px;
  height: 2px;
  background: var(--gray-700);
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 25px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
}

.btn-icon {
  width: 16px;
  height: 16px;
}

.btn-lg {
  padding: 13px 29px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 9px 18px rgba(15, 23, 42, 0.3);
}

.btn-primary-nav {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  padding: 9px 18px;
}

.btn-primary-nav:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  box-shadow: 0 4px 11px rgba(15, 23, 42, 0.3);
}

.btn-outline {
  background: rgba(6, 182, 212, 0.05);
  color: #0891b2;
  /* distinct cyan */
  border-color: rgba(6, 182, 212, 0.4);
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.15);
  color: #0e7490;
  border-color: #06b6d4;
  transform: translateY(-2px);
  box-shadow: 0 9px 18px rgba(6, 182, 212, 0.2);
}

.btn-outline-nav {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
  padding: 9px 18px;
}

.btn-outline-nav:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-product {
  background: var(--gray-100);
  color: var(--gray-700);
  border-color: var(--gray-200);
  width: 100%;
  justify-content: center;
}

.btn-product:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ── Hero Section ───────────────────────────────────────────────────────────── */
.hero {
  padding-top: 126px;
  padding-bottom: 108px;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/img/Hero_earth.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#vanta-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  mix-blend-mode: screen;
  /* Makes particles glow over background */
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {

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

  50% {
    transform: translate(27px, -27px) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 810px;
  margin: 0 auto;
}

.hero-content.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 45px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.6s ease;
}

.badge-icon {
  width: 14px;
  height: 14px;
  stroke: var(--primary-light);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 65px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 22px;
  animation: slideUp 0.8s ease;
}

.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero .highlight {
  color: var(--white);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.3);
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 100%;
  height: 11px;
  background: rgba(37, 99, 235, 0.2);
  z-index: -1;
  animation: expand 1s ease 0.5s both;
}

@keyframes expand {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.hero-description {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 36px;
  max-width: 585px;
  margin-inline: auto;
  animation: slideUp 1s ease;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 54px;
  flex-wrap: wrap;
  justify-content: center;
  animation: slideUp 1.2s ease;
}

.hero-stats {
  display: flex;
  gap: 54px;
  animation: slideUp 1.4s ease;
}

.hero-stats.centered {
  justify-content: center;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number::after {
  content: '+';
  margin-left: 4px;
}

.percentage::after {
  content: '%';
  margin-left: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--white);
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: fadeIn 1s ease;
}

.visual-img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--white);
  border-radius: 11px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  animation: floatBadge 3s infinite ease-in-out;
}

.floating-badge i {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
}

.badge-1 {
  top: 10%;
  right: -9px;
  animation-delay: 0s;
}

.badge-2 {
  top: 50%;
  left: -9px;
  animation-delay: 1s;
}

.badge-3 {
  bottom: 10%;
  right: -9px;
  animation-delay: 2s;
}

@keyframes floatBadge {

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

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

/* ── Section Headers ────────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 630px;
  margin: 0 auto 54px;
}

.section-badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 45px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-description {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── Solutions Section ──────────────────────────────────────────────────────── */
.solutions {
  background: var(--white);
  padding: 108px 0;
}

.section-header--minimal {
  margin-bottom: 54px;
}

.section-title--display {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.05em;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 450px;
}

.solutions-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(234px, auto);
  gap: 22px;
}

.bento-card {
  background: #fafafa;
  border: 1px solid #eeeeee;
  border-radius: 25px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.bento-card--image {
  background-repeat: no-repeat;
  background-position: center bottom;
  border: none;
}

.bento-card--wide.bento-card--image {
  background-size: cover;
  /* Maintain aspect ratio */
}

.bento-card--tall.bento-card--image {
  background-size: cover;
  /* Maintain aspect ratio */
}

.bento-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%); */
  z-index: 1;
}

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

.bento-card--wide {
  grid-column: span 2;
  justify-content: flex-start;
}

.bento-card--tall {
  grid-row: span 2;
  justify-content: flex-start;
}

.bento-tag {
  display: inline-flex;
  padding: 7px 18px;
  background: var(--primary-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  border-radius: 45px;
  margin-bottom: 22px;
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.05);
}

.bento-card--image .bento-tag {
  background: var(--primary);
  color: var(--white);
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 29px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}

.bento-card--image .bento-title {
  color: var(--gray-900);
}

.bento-text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.bento-card--image .bento-text {
  color: var(--gray-600);
}

@media (max-width: 893px) {
  .solutions-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 691px) {
  .section-title--display {
    font-size: 32px;
  }

  .solutions-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-card--wide {
    grid-column: span 1;
  }

  .bento-card--tall {
    grid-row: span 1;
  }

  .bento-card {
    padding: 29px;
  }

  .bento-card--image {
    background-image: none !important;
  }
}

/* ── Features Dark Section ─────────────────────────────────────────────────── */
.features-dark {
  background: #0a0a0a;
  padding: 90px 0;
  color: var(--white);
}

.section-header--dark {
  margin-bottom: 36px;
}

.section-header--dark .section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 11px;
}

.section-header--dark .section-title--display {
  color: var(--white);
  font-size: 43px;
  max-width: 630px;
  letter-spacing: -0.02em;
}

.section-header--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  margin-top: 11px;
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(216px, auto);
  gap: 2px;
  /* Unique Flush Grid Spacing */
  background: rgba(255, 255, 255, 0.05);
  /* Grid line color */
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: 13px;
  overflow: hidden;
}

.f-card {
  background: #0d0d0d;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.f-card--main {
  grid-column: span 2;
  background: linear-gradient(135deg, #0d0d0d 0%, #151515 100%);
  justify-content: flex-start;
}

.f-card--wide {
  grid-column: span 2;
  justify-content: flex-start;
}

.f-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.f-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

@media (max-width: 922px) {
  .features-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 691px) {
  .section-header--dark .section-title--display {
    font-size: 31px;
  }

  .features-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    border-radius: 11px;
  }

  .f-card--main,
  .f-card--wide {
    grid-column: span 1;
  }

  .f-card {
    padding: 27px;
  }
}

/* ── Product Showcase Section ─────────────────────────────────────────────── */
.show-case {
  background: #0f172a;
  padding: 108px 0;
  overflow: hidden;
}

.show-case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
}

.header-left {
  text-align: left;
}

.show-case-tag {
  display: inline-block;
  padding: 7px 29px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 45px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}

.show-case-title {
  color: var(--white);
  font-size: 50px;
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.show-case-title .fw-semibold {
  font-weight: 600;
}

.show-case .container {
  max-width: 1260px;
}

.products-carousel-container {
  position: relative;
  padding: 0 36px;
}

.products-carousel-track {
  display: flex;
  gap: 29px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 18px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
  will-change: scroll-position;
  scroll-padding: 0 36px;
}

.products-carousel-track::-webkit-scrollbar {
  display: none;
}

.product-card-showcase {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 396px;
  scroll-snap-align: center;
  transition: transform 0.4s ease;
}

.product-image-showcase {
  width: 100%;
  aspect-ratio: 15/10;
  border-radius: 25px;
  overflow: hidden;
  margin-bottom: 29px;
  background: #111;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.product-image-showcase img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-showcase:hover .product-image-showcase img {
  transform: scale(1.08);
}

.product-content-showcase {
  color: var(--white);
  text-align: center;
  padding: 0 18px;
}

.product-subtitle-showcase {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 9px;
}

.product-title-showcase {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spec-item i {
  width: 13px;
  height: 13px;
  stroke: var(--primary);
}

.carousel-controls {
  display: flex;
  gap: 14px;
  margin-bottom: 9px;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--white);
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.carousel-btn i {
  width: 22px;
  height: 22px;
}

@media (max-width: 922px) {
  .product-card {
    flex: 0 0 calc(50% - 14px);
  }
}

@media (max-width: 691px) {
  .show-case-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 29px;
    margin-bottom: 36px;
  }

  .show-case-title {
    font-size: 32px;
  }

  .products-carousel-container {
    padding: 0;
  }

  .product-card {
    flex: 0 0 85%;
  }

  .carousel-controls {
    display: flex;
    gap: 11px;
  }

  .carousel-btn {
    width: 43px;
    height: 43px;
  }
}

/* ── CTA Section ────────────────────────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 43px;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 11px;
}

.cta-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* ── Contact Portal (Stark Minimalist) ────────────────────────────────────── */
.portal-section {
  background: #000;
  padding: 144px 54px 54px;
  color: var(--white);
  text-align: center;
}

.portal-header {
  max-width: 720px;
  margin: 0 auto 72px;
}

.portal-tag {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}

.portal-title {
  font-size: 90px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin-bottom: 29px;
}

.portal-title .accent-text {
  background: linear-gradient(to right, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.portal-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  font-weight: 400;
}

.portal-form {
  max-width: 630px;
  margin: 0 auto 54px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.portal-field {
  position: relative;
}

.portal-field input,
.portal-field select,
.portal-field textarea {
  width: 100%;
  padding: 11px 0;
  background: transparent !important;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  font-size: 16px;
  transition: all 0.4s ease;
  font-family: inherit;
}

/* Fix browser autofill background */
.portal-field input:-webkit-autofill,
.portal-field input:-webkit-autofill:hover,
.portal-field input:-webkit-autofill:focus,
.portal-field textarea:-webkit-autofill,
.portal-field textarea:-webkit-autofill:hover,
.portal-field textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0px 900px #000 inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

.portal-field select {
  cursor: pointer;
  appearance: none;
}

.portal-field select option {
  background: #000;
  color: #fff;
}

.portal-field textarea {
  resize: none;
  min-height: 43px;
  overflow: hidden;
}

.portal-field input:focus,
.portal-field select:focus,
.portal-field textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.portal-field input::placeholder,
.portal-field select::placeholder,
.portal-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.portal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 22px 54px;
  background: var(--white);
  color: black;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  margin: 18px auto 0;
}

.portal-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-4px);
}

.portal-btn i {
  width: 18px;
  height: 18px;
}

.portal-footer {
  padding-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.portal-links {
  display: flex;
  justify-content: center;
  gap: 36px;
}

.portal-link {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 9px;
}

.portal-link i {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

.portal-link:hover {
  color: var(--white);
}

.portal-link:hover i {
  color: var(--primary);
}

@media (max-width: 922px) {
  .portal-title {
    font-size: 54px;
  }
}

@media (max-width: 691px) {
  .portal-section {
    padding: 90px 0;
  }

  .portal-title {
    font-size: 40px;
  }

  .input-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .portal-links {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 54px 0 22px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 43px;
  margin-bottom: 43px;
  padding-bottom: 43px;
  border-bottom: 1px solid var(--gray-800);
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 14px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-400);
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray-400);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-500);
}

.heart-icon {
  width: 13px;
  height: 13px;
  stroke: #ef4444;
  fill: #ef4444;
  display: inline-block;
  vertical-align: middle;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {

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

  10%,
  30% {
    transform: scale(1.1);
  }

  20%,
  40% {
    transform: scale(1);
  }
}

/* ── Animations ─────────────────────────────────────────────────────────────── */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(27px);
  }

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

[data-animate] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
  opacity: 1;
}

[data-animate="fade-up"].animated {
  animation: slideUp 0.6s ease forwards;
}

[data-animate="fade-left"].animated {
  animation: slideLeft 0.8s ease forwards;
}

[data-animate="fade-right"].animated {
  animation: slideRight 0.8s ease forwards;
}

[data-animate="zoom-in"].animated {
  animation: zoomIn 0.6s ease forwards;
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(45px);
  }

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

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-45px);
  }

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

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── Responsive Design ──────────────────────────────────────────────────────── */
@media (max-width: 922px) {
  :root {
    --section-padding: 72px;
  }

  .hero-content,
  .features-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 43px;
  }

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

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 43px;
  }

  .section-title {
    font-size: 32px;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    width: 100%;
    justify-content: center;
  }

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

@media (max-width: 691px) {
  :root {
    --section-padding: 54px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 234px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 72px 0 36px;
    /* Removed horizontal padding to use full width for links */
    gap: 0;
    z-index: 1080;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid var(--gray-200);
    border-radius: 0;
    /* No radius */
    box-shadow: none;
    /* No shadow */
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-link {
    width: 100%;
    padding: 14px 22px;
    font-size: 14px;
    border-radius: 0;
    /* Sharp corners */
    border-bottom: 1px solid var(--gray-100);
    font-weight: 500;
  }

  .nav-link:hover {
    background: var(--gray-50);
  }

  .nav-link.active {
    background: var(--gray-100);
    color: var(--primary);
    box-shadow: none;
    border-left: 4px solid var(--primary);
    padding-left: 18px;
    /* Compensate for border */
  }

  .nav-actions {
    display: none;
  }

  .mobile-actions {
    display: flex;
    flex-direction: column;
    padding: 22px;
    gap: 11px;
  }

  .mobile-actions .btn {
    border-radius: 4px;
    /* Minimal radius or 0 if they want strictly 0 */
  }

  .mobile-toggle {
    display: flex;
    border-radius: 4px;
  }

  .hero {
    padding-top: 90px;
    padding-bottom: 54px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 22px;
  }

  .section-title {
    font-size: 29px;
  }

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

  .solution-card {
    padding: 29px 22px;
  }

  .cta-title {
    font-size: 29px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 29px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }
}

@media (max-width: 432px) {
  .hero-title {
    font-size: 25px;
  }

  .section-title {
    font-size: 25px;
  }

  .stat-number {
    font-size: 25px;
  }

  .contact-form-wrapper {
    padding: 22px;
  }
}