/* D&H Technologies - Main Stylesheet (Cohere Style) */
@import url('./variables.css');
@import url('./components.css');

/* Base Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  width: 100%;
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
  /* Scaled down slightly for "Calm" feel */
  font-weight: 500;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
}

h3 {
  font-size: 24px;
  font-weight: 500;
}

p {
  color: var(--text-secondary);
  font-size: 18px;
  /* Readable, enterprise size */
  margin-bottom: 24px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

img {
  max-width: 100%;
  height: auto;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

/* Layout */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

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

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

/* Header */
.site-header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gray-100);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.logo {
  height: auto;
  display: flex;
  align-items: center;
}

.logo img {
  height: 90px;
  width: auto;
}

/* Navigation */
.nav-desktop {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover {
  color: var(--black);
}

.nav-link::after,
.nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-item:hover::after,
.nav-item.active::after {
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Dark Theme Navigation (for industries, company, security, contact pages) */
.nav-item {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.2s ease;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item:hover,
.nav-item.active {
  color: var(--black);
}

/* Dropdown Navigation */
.dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 220px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1000;
  pointer-events: none;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: var(--gray-50);
  color: var(--black);
}

/* Header CTA Button */
.header-cta {
  margin-left: 16px;
}

/* Dark Theme Header (for pages with bg-black body) */
body.bg-black .site-header {
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.bg-black .site-header .logo {
  color: var(--white);
}

body.bg-black .site-header .nav-item {
  color: rgba(255, 255, 255, 0.7);
}

body.bg-black .site-header .nav-item:hover,
body.bg-black .site-header .nav-item.active {
  color: var(--white);
}

body.bg-black .site-header .nav-link,
body.bg-black .site-header .nav-link-signin {
  color: rgba(255, 255, 255, 0.7);
}

body.bg-black .site-header .nav-link:hover,
body.bg-black .site-header .nav-link.active,
body.bg-black .site-header .nav-link-signin:hover {
  color: var(--white);
}

body.bg-black .site-header .btn-primary {
  background-color: var(--white);
  color: var(--black);
  border-color: var(--white);
}

body.bg-black .site-header .btn-primary:hover {
  background-color: var(--gray-100);
  color: var(--black);
}

body.bg-black .nav-link::after,
body.bg-black .nav-item::after {
  background: var(--white);
}

body.bg-black .site-header .dropdown-menu {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.1);
}

body.bg-black .site-header .dropdown-item {
  color: rgba(255, 255, 255, 0.7);
}

body.bg-black .site-header .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

body.bg-black .site-header .mobile-menu-btn span,
body.bg-black .site-header .hamburger-line {
  background-color: var(--white);
}

/* Full Mobile Menu (Dark Theme Pages) */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
}

.mobile-menu-close:hover {
  color: var(--black);
}

.mobile-nav {
  padding: 24px;
}

.mobile-nav-item {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-dropdown {
  border-bottom: 1px solid var(--gray-100);
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.mobile-dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.mobile-dropdown-content {
  display: none;
  padding-bottom: 16px;
}

.mobile-dropdown-content.active {
  display: block;
}

.mobile-dropdown-item {
  display: block;
  padding: 10px 0 10px 16px;
  font-size: 16px;
  color: var(--text-secondary);
}

.mobile-dropdown-item:hover {
  color: var(--black);
}

.mobile-menu-cta {
  padding: 24px;
  border-top: 1px solid var(--gray-100);
}

/* Logo Icon for Dark Theme Pages */
.logo-icon {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}

/* Footer */
.site-footer {
  padding: 32px 0 24px;
  border-top: 1px solid var(--gray-100);
  background: var(--white);
}

/* Utility */
.grid {
  display: grid;
}

.flex {
  display: flex;
}

.hidden {
  display: none;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 16px;
}

.gap-8 {
  gap: 32px;
}

.gap-12 {
  gap: 48px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-8 {
  margin-bottom: 32px;
}

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

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: 1fr 1fr;
  }

  .md\:grid-cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Additional Utilities for Trust Bar */
.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.justify-items-center {
  justify-items: center;
}

.opacity-70 {
  opacity: 0.7;
}

.h-8 {
  height: 32px;
}

.h-10 {
  height: 40px;
}

.h-12 {
  height: 48px;
}

.grayscale {
  filter: grayscale(100%);
}

.hover\:grayscale-0:hover {
  filter: grayscale(0);
}

.trust-logo {
  height: 32px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-swiper:hover .trust-logo {
  opacity: 0.5;
}

.trust-logo:hover {
  filter: grayscale(0);
  opacity: 1 !important;
  transform: scale(1.05);
}



/* Flex Utilities */
.justify-center {
  justify-content: center;
}

.gap-6 {
  gap: 24px;
}

.bg-brand {
  background-color: var(--brand-blue);
}

.text-white {
  color: var(--white);
}


/* Margin Utilities */
.mb-12 {
  margin-bottom: 48px;
}

.mb-20 {
  margin-bottom: 80px;
}

.mt-8 {
  margin-top: 32px;
}

.mt-custom-hero-img {
  margin-top: 30px;
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
  color: white !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.swiper-pagination-bullet-active {
  background: white !important;
}

.industry-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 400px;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.industry-card .overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background 0.4s ease;
}

.industry-card:hover .overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.15) 100%);
}

.industry-card h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transform: translateY(0.5rem);
  transition: transform 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.industry-card p {
  color: #e5e7eb;
  /* Gray-200 */
  font-size: 0.875rem;
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.industry-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* Professional Form Styles (Cohere-inspired) */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--black);
  background-color: var(--white);
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: #b0b0b0;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 1px var(--black);
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

/* Optional Details divider styling */
.form-divider {
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
  margin-top: 2rem;
}

.form-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

/* Specific Page Heros */
.hero-tech {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
}

.hero-tech-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-tech-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.hero-tech .container {
  position: relative;
  z-index: 2;
}

/* Homepage Hero Carousel */
.hero-swiper {
  width: 100%;
  height: 650px;
}

.hero-swiper .hero-content {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-swiper .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-swiper .hero-content {
  position: relative;
  z-index: 10;
  color: white;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero-section .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 2;
}

.hero-section .hero-content {
  position: relative;
  z-index: 10;
  color: white;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.hero-swiper:hover .swiper-button-next,
.hero-swiper:hover .swiper-button-prev {
  opacity: 1;
}


.tech-card-visual {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.5s ease;
}

.card:hover .tech-card-visual {
  transform: scale(1.02);
}

/* ========================================
   ENTERPRISE ENHANCEMENTS
   ======================================== */

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  font-weight: 500;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

/* Enhanced Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line,
.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background-color: var(--black);
  transition: all 0.3s ease;
  margin: 3px 0;
  display: block;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1),
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2),
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3),
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  overflow-y: auto;
}

.nav-mobile[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-mobile-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-mobile-link {
  display: block;
  padding: 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: 8px;
  transition: background-color 0.2s;
}

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

.nav-mobile-link.active {
  background-color: var(--gray-50);
  color: var(--black);
}

.nav-mobile-actions {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-full {
  width: 100%;
  text-align: center;
}

@media (max-width: 1024px) {

  .nav-desktop,
  .nav-right {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

/* Header Scroll Effects */
.site-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
}

body.bg-black .site-header.scrolled {
  background: rgba(0, 0, 0, 0.98);
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.05);
}

/* Hero Section Enhancements */
.hero-section {
  position: relative;
  width: 100%;
  height: clamp(600px, 80vh, 800px);
  margin-top: 0;
  /* Align with header overlay */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--white);
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 40px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 32px;
}

/* Trust Section */
.trust-section {
  padding: 60px 0;
}

.trust-section .section-label {
  color: var(--text-secondary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 32px;
}

/* Card Enhancements */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.card-icon {
  margin-bottom: 20px;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--black);
}

.card-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  transition: gap 0.2s ease;
}

.btn-link:hover {
  gap: 10px;
}

/* Industry Card Enhancements */
.industry-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 400px;
  cursor: pointer;
}

.industry-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.industry-card-title {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  transform: translateY(4px);
  transition: transform 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.industry-card-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s ease;
  margin-bottom: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.industry-card:hover .industry-card-title {
  transform: translateY(0);
}

.industry-card:hover .industry-card-text {
  opacity: 1;
  transform: translateY(0);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  border-top: 1px solid var(--gray-100);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.cta-text {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

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

.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--black);
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-outline-dark:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--black);
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: var(--black);
}

/* Enhanced Footer */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(140px, 1fr));
  gap: 24px;
  align-items: start;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 20px;
  }
}

.footer-brand {
  padding-right: 16px;
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-logo img {
  height: 56px;
  width: auto;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.social-link:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.footer-column {
  min-width: 0;
}

.footer-heading {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--black);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--black);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  margin-top: 24px;
  border-top: 1px solid var(--gray-100);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.footer-certifications {
  display: flex;
  gap: 8px;
}

.certification-badge {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Dark Theme Footer (for industries, company, security, contact pages) */
.footer-newsletter {
  background: var(--white);
  padding: 60px 40px;
  text-align: center;
}

.footer-newsletter-content {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 14px;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--brand-blue);
}

/* Legacy footer-links section style removed - was conflicting with .footer-links ul */

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 1024px) {
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-newsletter {
    padding: 40px 24px;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

.footer-column-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--black);
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--black);
}

.footer-bottom {
  background: var(--white);
  padding: 24px 0;
  border-top: 1px solid var(--gray-100);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

.footer-locations {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--black);
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner:not([hidden]) {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--black);
}

.cookie-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  max-width: 600px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-outline-sm {
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--black);
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-sm:hover {
  border-color: var(--black);
}

.btn-primary-sm {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary-sm:hover {
  background: var(--gray-900);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    padding: 0 24px;
  }

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

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.animate-fade-up {
  animation: fadeUp 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
  opacity: 0;
}

.delay-2 {
  animation-delay: 0.2s;
  opacity: 0;
}

.delay-3 {
  animation-delay: 0.3s;
  opacity: 0;
}

/* Scroll Animation Classes (triggered by JS) */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Light Gray Background */
.bg-light-gray {
  background-color: var(--gray-50);
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Engine Features List */
.engine-features {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-secondary);
  margin: 0;
}

.engine-features li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Architecture Placeholder */
.architecture-placeholder {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: 80px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-text {
  font-family: var(--font-mono);
  color: var(--gray-500);
  font-size: 14px;
}

.architecture-diagram {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: clamp(16px, 3vw, 28px);
  box-shadow: 0 18px 40px rgba(11, 58, 90, 0.08);
}

.diagram-svg {
  width: 100%;
  height: auto;
  display: block;
}

.diagram-node {
  fill: #ffffff;
  stroke: #d6dde6;
  stroke-width: 1.5;
}

.diagram-node.core {
  fill: #f2f7fb;
  stroke: #0b3a5a;
  stroke-width: 2;
}

.diagram-label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  fill: #0b3a5a;
}

.diagram-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  fill: #5a6b7c;
}

.diagram-line {
  stroke: #0b3a5a;
  stroke-width: 2;
  opacity: 0.7;
}

.diagram-pill {
  fill: #0b3a5a;
  opacity: 0.9;
}

.diagram-pill-text {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  fill: #ffffff;
}

@media (max-width: 768px) {
  .diagram-label {
    font-size: 14px;
  }

  .diagram-sub {
    font-size: 11px;
  }

  .diagram-pill-text {
    font-size: 12px;
  }
}

/* Visually Hidden (for accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Active nav link */
.nav-link.active {
  color: var(--black);
}

/* Hero Tech Section Fix */
.hero-tech {
  margin-top: var(--header-height);
}

/* Card padding utility */
.p-8 {
  padding: 32px;
}

/* Text sizing utilities */
.text-2xl {
  font-size: 1.5rem;
}

/* Launchpad Page Styles */
.launchpad-info {
  color: var(--white);
}

.launchpad-heading {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--white);
  margin-bottom: 24px;
}

.launchpad-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
}

.launchpad-subheading {
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
}

.launchpad-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.launchpad-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--white);
  margin-top: 2px;
}

.investment-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 24px;
}

.investment-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.investment-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

.launchpad-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.required {
  color: #ef4444;
}

.form-hint {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 6px;
  text-align: right;
}

.mt-8 {
  margin-top: 32px;
}

/* Large Grid Columns */
@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Grid Columns */
@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Items Start */
.items-start {
  align-items: flex-start;
}

/* Gap 16 */
.gap-16 {
  gap: 64px;
}

/* Page Hero (for internal pages) */
.page-hero {
  margin-top: var(--header-height);
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #001a2c 100%);
  text-align: center;
}

.page-hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.page-hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Industry Tiles (for industries page grid) */
.industry-tile {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 320px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.industry-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.industry-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.industry-tile-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.industry-tile-title {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.industry-tile-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Large 3-column grid */
@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   DARK THEME PAGE STYLES
   ======================================== */

/* Button Sage (for dark theme pages) */
.btn-sage {
  background-color: var(--brand-blue);
  color: var(--white);
  border: 1px solid var(--brand-blue);
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-sage:hover {
  background-color: #002444;
  border-color: #002444;
}

/* Link Sage */
.link-sage {
  color: var(--brand-blue);
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.link-sage:hover {
  opacity: 0.8;
}

/* Dark Theme Form Styles */
.form-label-dark {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.form-input-dark,
.form-select-dark,
.form-textarea-dark {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-input-dark::placeholder,
.form-textarea-dark::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input-dark:hover,
.form-select-dark:hover,
.form-textarea-dark:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.form-input-dark:focus,
.form-select-dark:focus,
.form-textarea-dark:focus {
  outline: none;
  border-color: var(--brand-blue);
  background-color: rgba(255, 255, 255, 0.15);
}

.form-select-dark {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.form-textarea-dark {
  min-height: 120px;
  resize: vertical;
}

/* Page Content Wrapper - accounts for fixed header */
.page-content {
  margin-top: var(--header-height);
}

/* Dark page hero sections */
.dark-page-hero {
  padding: 80px 0 60px;
  background-color: var(--black);
  text-align: center;
}

/* Newsletter success state */
.newsletter-success {
  display: none;
}

.newsletter-success.show {
  display: block;
}

/* ========================================
   FOOTER POLISH
   ======================================== */

/* Compact footer for legal pages */
.footer-compact .footer-links {
  background: var(--white);
  padding: 48px 0;
  border-top: 1px solid var(--gray-100);
}

.footer-compact .footer-bottom {
  background: var(--white);
  padding: 20px 0;
}

/* Print Styles */
@media print {

  .site-header,
  .site-footer,
  .cookie-banner,
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    text-decoration: underline;
  }

  .hero-section {
    margin-top: 0;
    height: auto;
    min-height: 200px;
  }
}

/* ========================================
   POLISH REFINEMENTS
   ======================================== */

/* Placeholder Links - Disabled appearance */
a[href="#"]:not(.btn):not(.social-link) {
  cursor: default;
  opacity: 0.6;
}

a[href="#"]:not(.btn):not(.social-link):hover {
  opacity: 0.6;
  color: inherit;
}

/* Enhanced Swiper Navigation */
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.swiper-button-next,
.swiper-button-prev {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  color: var(--black) !important;
  background: var(--white) !important;
  border: 1px solid var(--gray-200) !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer;
  z-index: 10;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--brand-blue) !important;
  color: var(--white) !important;
  border-color: var(--brand-blue) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
  transform: translateY(-2px);
}

.swiper-button-next:active,
.swiper-button-prev:active {
  transform: translateY(0) scale(0.95);
}

.swiper-button-disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}


/* Enhanced Swiper Pagination */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 5px;
  background: white !important;
}

/* Industry Swiper specific pagination */
.industry-swiper .swiper-pagination-bullet {
  background: var(--gray-300);
}

.industry-swiper .swiper-pagination-bullet-active {
  background: var(--black) !important;
}


/* Enhanced Card Styles */
.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), #0066a4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Refined Button Interactions */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
  letter-spacing: 0.01em;
}

/* Link Arrow Animation */
.btn-link span,
.btn-outline span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn-link:hover span,
.btn-outline:hover span {
  transform: translateX(4px);
}

/* Enhanced Industry Cards */
.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.industry-card:hover::after {
  transform: scaleX(1);
}

/* Refined CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--gray-50) 0%, #e8f4f8 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 50, 87, 0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 50, 87, 0.02) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

/* Enhanced Cookie Banner */
.cookie-banner {
  border-top: 1px solid var(--gray-100);
}

.cookie-banner:not([hidden]) {
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

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

.cookie-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cookie-desc {
  font-size: 13px;
  line-height: 1.5;
}

/* Enhanced Footer */
.site-footer {
  position: relative;
}

.footer-heading {
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--brand-blue);
}

.footer-links a {
  position: relative;
  display: inline-block;
}

.footer-links a:not([href="#"])::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.3s ease;
}

.footer-links a:not([href="#"]):hover::after {
  width: 100%;
}

.social-link {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 50, 87, 0.15);
}

.certification-badge {
  transition: all 0.2s ease;
}

.certification-badge:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* Mobile Navigation Enhancement */
.nav-mobile {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.98);
}

.nav-mobile-link {
  position: relative;
  overflow: hidden;
}

.nav-mobile-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--brand-blue);
  border-radius: 0 2px 2px 0;
  transition: height 0.2s ease;
}

.nav-mobile-link:hover::before,
.nav-mobile-link.active::before {
  height: 60%;
}

/* Image Loading Transitions */
.hero-bg,
.industry-card-img,
.tech-card-visual {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-bg[src],
.industry-card-img[src],
.tech-card-visual[src] {
  opacity: 1;
}

/* Trust Logo Enhancement */
.trust-logo {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Section Label Polish */
.section-label {
  position: relative;
  display: inline-block;
}

/* Hero Content Polish */
.hero-content {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title {
  letter-spacing: -0.02em;
}

.hero-subtitle {
  letter-spacing: 0.01em;
}

/* Navigation Polish */
.nav-link {
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--brand-blue);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
  opacity: 0;
}

/* Section Header Polish */
.section-header {
  position: relative;
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-subtitle {
  letter-spacing: 0.01em;
}

/* Form Input Polish */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  box-shadow: 0 0 0 3px rgba(0, 50, 87, 0.1);
}

/* Scroll Progress Indicator (optional enhancement) */
.scroll-progress {
  position: fixed;
  top: var(--header-height);
  left: 0;
  height: 2px;
  background: var(--brand-blue);
  z-index: 999;
  transform-origin: left;
  transition: transform 0.1s linear;
}

/* Selection Color */
::selection {
  background: rgba(0, 50, 87, 0.15);
  color: inherit;
}

::-moz-selection {
  background: rgba(0, 50, 87, 0.15);
  color: inherit;
}

/* Smooth scrollbar (webkit) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

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

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

/* Loading skeleton animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Improved icon sizing in cards */
.card-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

/* ========================================
   SOPHISTICATED COMPANY HERO
   ======================================== */

.company-hero {
  position: relative;
  padding: 60px 0 50px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Base gradient background - Deep Violet to Indigo */
.company-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg,
      #0f0a1a 0%,
      #1a0f2e 12%,
      #2d1b4e 26%,
      #4c3575 40%,
      #5b3d8a 52%,
      #4338ca 65%,
      #3730a3 78%,
      #1e1b4b 90%,
      #0f0a1a 100%);
  background-size: 300% 300%;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 50% 100%;
  }

  50% {
    background-position: 100% 50%;
  }

  75% {
    background-position: 50% 0%;
  }
}

/* Layered gradient overlay for depth */
.company-hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 20%, rgba(139, 92, 246, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(67, 56, 202, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(91, 61, 138, 0.2) 0%, transparent 50%),
    linear-gradient(160deg, rgba(139, 92, 246, 0.1) 0%, transparent 35%, transparent 65%, rgba(15, 10, 26, 0.5) 100%);
}

/* Subtle mesh/grid pattern */
.company-hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 70%);
  opacity: 0.4;
}

/* Glowing orbs for depth - more colorful */
.company-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.company-hero-glow-1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, rgba(99, 102, 241, 0.25) 40%, transparent 70%);
  top: -120px;
  right: -80px;
  animation: float1 12s ease-in-out infinite;
}

.company-hero-glow-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(67, 56, 202, 0.45) 0%, rgba(91, 61, 138, 0.2) 50%, transparent 70%);
  bottom: -80px;
  left: -40px;
  animation: float2 15s ease-in-out infinite;
}

@keyframes float1 {

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

  50% {
    transform: translate(-20px, 15px) scale(1.03);
    opacity: 1;
  }
}

@keyframes float2 {

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

  50% {
    transform: translate(15px, -10px) scale(1.02);
    opacity: 0.9;
  }
}

/* Hero text styling */
.company-hero-title {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.02em;
}

.company-hero-subtitle {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.01em;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .company-hero-bg {
    animation: none;
    background-position: 50% 50%;
  }

  .company-hero-glow-1,
  .company-hero-glow-2 {
    animation: none;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .company-hero {
    padding: 50px 0 40px;
    min-height: 220px;
  }

  .company-hero-glow-1 {
    width: 200px;
    height: 200px;
    top: -80px;
    right: -60px;
  }

  .company-hero-glow-2 {
    width: 180px;
    height: 180px;
    bottom: -60px;
    left: -50px;
  }

  .company-hero-mesh {
    background-size: 35px 35px;
  }
}

/* ========================================
   SOPHISTICATED SOLUTIONS HERO
   ======================================== */

.solutions-hero {
  position: relative;
  padding: 120px 0 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Base gradient background - Deep Violet to Indigo */
.solutions-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg,
      #0f0a1a 0%,
      #1a0f2e 10%,
      #2d1b4e 24%,
      #4c3575 38%,
      #5b3d8a 48%,
      #4f46e5 58%,
      #4338ca 70%,
      #312e81 82%,
      #1e1b4b 92%,
      #0f0a1a 100%);
  background-size: 300% 300%;
  animation: solutionsGradientShift 18s ease infinite;
}

@keyframes solutionsGradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  33% {
    background-position: 100% 25%;
  }

  66% {
    background-position: 50% 100%;
  }
}

/* Layered gradient overlay for depth */
.solutions-hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 15% 25%, rgba(139, 92, 246, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 85% 20%, rgba(99, 102, 241, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 65% 45% at 80% 85%, rgba(67, 56, 202, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 35% 35% at 5% 85%, rgba(91, 61, 138, 0.22) 0%, transparent 50%),
    linear-gradient(155deg, rgba(139, 92, 246, 0.1) 0%, transparent 35%, transparent 65%, rgba(15, 10, 26, 0.5) 100%);
}

/* Subtle mesh/grid pattern */
.solutions-hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 25%, transparent 70%);
  opacity: 0.35;
}

/* Glowing orbs */
.solutions-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
}

.solutions-hero-glow-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, rgba(99, 102, 241, 0.25) 45%, transparent 70%);
  top: -100px;
  right: -60px;
  animation: solutionsFloat1 14s ease-in-out infinite;
}

.solutions-hero-glow-2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.45) 0%, rgba(67, 56, 202, 0.2) 50%, transparent 70%);
  bottom: -70px;
  left: -30px;
  animation: solutionsFloat2 16s ease-in-out infinite;
}

@keyframes solutionsFloat1 {

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

  50% {
    transform: translate(-15px, 12px) scale(1.04);
    opacity: 0.95;
  }
}

@keyframes solutionsFloat2 {

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

  50% {
    transform: translate(12px, -8px) scale(1.02);
    opacity: 0.85;
  }
}

/* Hero text styling */
.solutions-hero-title {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.02em;
}

.solutions-hero-subtitle {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.01em;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .solutions-hero-bg {
    animation: none;
    background-position: 50% 50%;
  }

  .solutions-hero-glow-1,
  .solutions-hero-glow-2 {
    animation: none;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .solutions-hero {
    padding: 100px 0 32px;
  }

  .solutions-hero-glow-1 {
    width: 180px;
    height: 180px;
    top: -70px;
    right: -50px;
  }

  .solutions-hero-glow-2 {
    width: 160px;
    height: 160px;
    bottom: -55px;
    left: -40px;
  }

  .solutions-hero-mesh {
    background-size: 30px 30px;
  }
}

/* ========================================
   CONTACT HERO
   ======================================== */

.contact-hero {
  position: relative;
  padding: 120px 0 60px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Base gradient background - Deep Violet to Indigo */
.contact-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg,
      #0f0a1a 0%,
      #1a0f2e 10%,
      #2d1b4e 24%,
      #4c3575 38%,
      #5b3d8a 50%,
      #4338ca 62%,
      #3730a3 75%,
      #1e1b4b 88%,
      #0f0a1a 100%);
  background-size: 300% 300%;
  animation: contactGradientShift 20s ease infinite;
}

@keyframes contactGradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 100% 25%;
  }

  50% {
    background-position: 100% 75%;
  }

  75% {
    background-position: 0% 100%;
  }
}

/* Layered gradient overlay for depth */
.contact-hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(139, 92, 246, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 70% 45% at 90% 85%, rgba(67, 56, 202, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 5% 75%, rgba(91, 61, 138, 0.2) 0%, transparent 50%),
    linear-gradient(160deg, rgba(139, 92, 246, 0.1) 0%, transparent 35%, transparent 65%, rgba(15, 10, 26, 0.5) 100%);
}

/* Subtle mesh/grid pattern */
.contact-hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  opacity: 0.4;
}

/* Glowing orbs */
.contact-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.contact-hero-glow-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, rgba(99, 102, 241, 0.25) 40%, transparent 70%);
  top: -100px;
  right: -60px;
  animation: contactFloat1 16s ease-in-out infinite;
}

.contact-hero-glow-2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(67, 56, 202, 0.45) 0%, rgba(91, 61, 138, 0.2) 45%, transparent 70%);
  bottom: -70px;
  left: -30px;
  animation: contactFloat2 18s ease-in-out infinite;
}

@keyframes contactFloat1 {

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

  50% {
    transform: translate(-12px, 10px) scale(1.03);
    opacity: 0.9;
  }
}

@keyframes contactFloat2 {

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

  50% {
    transform: translate(10px, -6px) scale(1.02);
    opacity: 0.8;
  }
}

/* Hero text styling */
.contact-hero-title {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.02em;
}

.contact-hero-subtitle {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.01em;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .contact-hero-bg {
    animation: none;
    background-position: 50% 50%;
  }

  .contact-hero-glow-1,
  .contact-hero-glow-2 {
    animation: none;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .contact-hero {
    padding: 100px 0 50px;
    min-height: 260px;
  }

  .contact-hero-glow-1 {
    width: 180px;
    height: 180px;
    top: -70px;
    right: -50px;
  }

  .contact-hero-glow-2 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: -35px;
  }

  .contact-hero-mesh {
    background-size: 28px 28px;
  }
}

/* ========================================
   CONTACT FORM STYLES
   ======================================== */

.contact-form-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(248, 250, 252, 1) 50%,
      rgba(241, 245, 249, 1) 100%);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.contact-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--gray-400);
}

.contact-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 44px;
}

.contact-textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-submit-btn:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 50%, #3730a3 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

/* Contact Info Cards */
.contact-info-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(248, 250, 252, 1) 50%,
      rgba(241, 245, 249, 1) 100%);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.08);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366f1;
  flex-shrink: 0;
}

/* Mobile adjustments for form */
@media (max-width: 768px) {
  .contact-form-card {
    padding: 28px 24px;
  }

  .contact-info-card {
    padding: 24px 20px;
  }
}

/* ========================================
   SOPHISTICATED PRODUCTS HERO
   ======================================== */

.products-hero {
  position: relative;
  padding: 100px 0 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Base gradient background - Deep Violet to Indigo */
.products-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      #0f0a1a 0%,
      #1a0f2e 12%,
      #2d1b4e 28%,
      #4c3575 42%,
      #5b3d8a 50%,
      #4338ca 62%,
      #3730a3 75%,
      #1e1b4b 88%,
      #0f0a1a 100%);
  background-size: 300% 300%;
  animation: productsGradientShift 20s ease infinite;
}

@keyframes productsGradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 100% 25%;
  }

  50% {
    background-position: 100% 75%;
  }

  75% {
    background-position: 0% 100%;
  }
}

/* Layered gradient overlay for depth */
.products-hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(99, 102, 241, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 70% 45% at 90% 85%, rgba(67, 56, 202, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 5% 75%, rgba(91, 61, 138, 0.2) 0%, transparent 50%),
    linear-gradient(160deg, rgba(139, 92, 246, 0.08) 0%, transparent 35%, transparent 65%, rgba(15, 10, 26, 0.5) 100%);
}

/* Subtle mesh/grid pattern */
.products-hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  opacity: 0.4;
}

/* Glowing orbs */
.products-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.products-hero-glow-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, rgba(99, 102, 241, 0.25) 40%, transparent 70%);
  top: -100px;
  right: -60px;
  animation: productsFloat1 16s ease-in-out infinite;
}

.products-hero-glow-2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(67, 56, 202, 0.45) 0%, rgba(91, 61, 138, 0.2) 45%, transparent 70%);
  bottom: -70px;
  left: -30px;
  animation: productsFloat2 18s ease-in-out infinite;
}

@keyframes productsFloat1 {

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

  50% {
    transform: translate(-12px, 10px) scale(1.03);
    opacity: 0.9;
  }
}

@keyframes productsFloat2 {

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

  50% {
    transform: translate(10px, -6px) scale(1.02);
    opacity: 0.8;
  }
}

/* Hero text styling */
.products-hero-title {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.02em;
}

.products-hero-subtitle {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.01em;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .products-hero-bg {
    animation: none;
    background-position: 50% 50%;
  }

  .products-hero-glow-1,
  .products-hero-glow-2 {
    animation: none;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .products-hero {
    padding: 88px 0 28px;
  }

  .products-hero-glow-1 {
    width: 170px;
    height: 170px;
    top: -60px;
    right: -45px;
  }

  .products-hero-glow-2 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: -35px;
  }

  .products-hero-mesh {
    background-size: 28px 28px;
  }
}

/* ========================================
   ENGINE CARDS
   ======================================== */

.engine-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.engine-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg,
      rgba(0, 50, 87, 0.02) 0%,
      transparent 40%,
      transparent 60%,
      rgba(0, 50, 87, 0.015) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.engine-card:hover::after {
  opacity: 1;
}

.engine-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.engine-card-inner {
  display: flex;
  flex-direction: column;
}

.engine-card-reverse .engine-card-inner {
  display: flex;
  flex-direction: column;
}

.engine-card-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  flex: 1;
}

.engine-card-number {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.7;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
}

.engine-card-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  background: rgba(0, 50, 87, 0.06);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  width: fit-content;
}

.engine-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.engine-card-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.engine-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.engine-card-features li {
  font-size: 0.82rem;
  color: var(--gray-700);
  padding-left: 16px;
  position: relative;
  line-height: 1.35;
}

.engine-card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  background: var(--brand-blue);
  border-radius: 50%;
}

.engine-card-visual {
  position: relative;
  overflow: hidden;
  height: 240px;
  order: -1;
}

.engine-card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 50, 87, 0.08) 0%,
      transparent 40%,
      transparent 60%,
      rgba(0, 50, 87, 0.05) 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.engine-card:hover .engine-card-visual::before {
  opacity: 0.3;
}

.engine-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.engine-card:hover .engine-card-visual img {
  transform: scale(1.05);
}

/* Accent bar on hover */
.engine-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
  z-index: 1;
}

.engine-card:hover::before {
  transform: scaleY(1);
}

/* Tablet: 2 columns still */
@media (max-width: 1024px) {
  .engines-section {
    padding: 36px 0 40px;
  }

  .engines-grid {
    gap: 14px;
  }

  .engine-card-content {
    padding: 20px 24px;
  }

  .engine-card-title {
    font-size: 1.25rem;
  }

  .engine-card-visual {
    height: 160px;
  }
}

/* Mobile: Single column */
@media (max-width: 768px) {
  .engines-section {
    padding: 32px 0 36px;
  }

  .engines-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .engine-card-visual {
    height: 160px;
  }

  .engine-card-content {
    padding: 18px 20px;
  }

  .engine-card-number {
    top: 10px;
    left: 14px;
    font-size: 0.6rem;
  }

  .engine-card-label {
    font-size: 0.6rem;
    padding: 3px 8px;
    margin-bottom: 6px;
  }

  .engine-card-title {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }

  .engine-card-text {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .engine-card-features li {
    font-size: 0.78rem;
    gap: 8px;
  }
}

/* ========================================
   DEPLOYMENT GRID
   ======================================== */

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.deployment-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.deployment-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 8px 30px rgba(0, 50, 87, 0.1);
  transform: translateY(-3px);
}

.deployment-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 50, 87, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--brand-blue);
  transition: all 0.3s ease;
}

.deployment-icon svg {
  width: 28px;
  height: 28px;
}

.deployment-card:hover .deployment-icon {
  background: var(--brand-blue);
  color: var(--white);
}

.deployment-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.deployment-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .deployment-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .deployment-card {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 20px;
  }

  .deployment-icon {
    width: 48px;
    height: 48px;
    margin: 0;
    flex-shrink: 0;
  }

  .deployment-icon svg {
    width: 24px;
    height: 24px;
  }

  .deployment-title {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .deployment-text {
    font-size: 0.875rem;
  }

  .deployment-card>div:last-child {
    flex: 1;
  }
}

/* ========================================
   ENGINES SECTION - PREMIUM
   ======================================== */

.engines-section {
  padding: 40px 0 48px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.engines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ========================================
   DEPLOYMENT SECTION - PREMIUM
   ======================================== */

.deployment-section {
  padding: 48px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.deployment-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 0% 0%, rgba(0, 50, 87, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.deployment-header {
  text-align: center !important;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.deployment-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  text-align: center !important;
  width: 100%;
}

.deployment-header p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto;
  text-align: center !important;
}

.deployment-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.deployment-card-premium {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.deployment-card-premium:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.deployment-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #4338ca 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 50, 87, 0.3);
}

.deployment-card-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.deployment-card-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin: 0;
}

.deployment-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
}

@media (max-width: 1024px) {
  .deployment-grid-premium {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .deployment-card-premium {
    padding: 24px 20px;
  }
}

@media (max-width: 768px) {
  .deployment-section {
    padding: 48px 0;
  }

  .deployment-header h2 {
    font-size: 1.5rem;
  }

  .deployment-grid-premium {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .deployment-card-premium {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }

  .deployment-card-icon {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
  }

  .deployment-card-badge {
    top: 12px;
    right: 12px;
    font-size: 0.65rem;
    padding: 3px 8px;
  }
}

/* ========================================
   CTA SECTION - PREMIUM
   ======================================== */

.cta-section-premium {
  padding: 48px 24px;
  background: #ffffff;
  border-top: 1px solid var(--gray-100);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 50, 87, 0.2);
}

.btn-cta-primary:hover {
  background: #002a4a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 50, 87, 0.25);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: transparent;
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--gray-300);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  border-color: var(--black);
  background: var(--black);
  color: #ffffff;
}

@media (max-width: 768px) {
  .cta-section-premium {
    padding: 48px 20px;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    padding: 12px 24px;
  }
}

/* ========================================
   INTELLIGENCE LIFECYCLE
   ======================================== */

.lifecycle-section {
  padding: 100px 0;
  background: var(--gray-50);
  overflow: hidden;
}

.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 60px;
}

.lifecycle-item {
  position: relative;
  padding: 40px 30px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: all 0.4s ease;
  z-index: 1;
}

.lifecycle-item:hover {
  background: var(--gray-50);
  z-index: 2;
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.lifecycle-step {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-blue);
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
}

.lifecycle-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--brand-blue);
}

.lifecycle-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.lifecycle-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.lifecycle-arrow {
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  color: var(--gray-300);
}

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

  .lifecycle-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .lifecycle-grid {
    grid-template-columns: 1fr;
  }
}