/* XTREAM Instruments - Custom CSS */
/* Design System Implementation */

/* CSS Variables - Design System */
:root {
  /* Colors */
  --primary: #1b3145;         /* Primary brand color */
  --primary-light: #2a4a6a;   /* Lighter shade for hover states */
  --primary-dark: #122537;    /* Darker shade for emphasis */
  --secondary: #f5f8fa;       /* Subtle section backgrounds */
  --background: #FFFFFF;      /* Base surface */
  --text-primary: #0F172A;    /* Slate 900 for strong readability */
  --text-secondary: #475569;  /* Slate 600 for body/secondary text */
  --accent: #EEF2FF;          /* Light indigo tint for borders/fills */
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  
  /* Animations (calmer micro‑interactions) */
  --transition-fast: 120ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --transition-normal: 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --transition-slow: 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
  
  /* Spinner */
  --spinner-size: 40px;
  --spinner-color: var(--primary);
  --spinner-bg: var(--accent);
  
  /* Spacing Scale (unchanged for layout stability) */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Breakpoints (unchanged to avoid layout shifts) */
  --bp-mobile: 768px;
  --bp-tablet: 1024px;
  --bp-desktop: 1200px;
  
  /* Transitions (kept consistent; last declaration wins) */
  --transition-fast: 120ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --transition-normal: 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --transition-slow: 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
  
  /* Shadows (refined, low-noise elevation for hardware catalogs) */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 2px 6px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 20px rgba(15, 23, 42, 0.10);
  --shadow-xl: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* ===== Responsive Navigation ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    height: 70px;
    padding: 0 20px;
    gap: 2rem;
}

/* Adjust desktop nav to push to the right */
.desktop-nav {
    display: flex;
    justify-self: end;
    gap: 30px;
}

/* Logo with 3D Flip Effect */
.logo {
    margin-right: auto;
    display: inline-block;
    perspective: 1000px;
    width: 180px;
    height: 60px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.logo-container {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
    transform-style: preserve-3d;
    will-change: transform;
}

.logo:hover .logo-container {
    transform: rotateY(180deg);
}

/* Logo Images */
.logo-main,
.logo-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    object-fit: contain;
    transition: all 0.3s ease;
    will-change: transform, opacity;
}

/* Position the back face */
.logo-hover {
    transform: rotateY(180deg);
}

/* Focus and active states for accessibility */
.logo:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Add a subtle scale effect on hover */
.logo:hover {
    transform: scale(1.02);
}

/* Smooth transition for the hover effect */
.logo {
    transition: transform 0.3s ease;
}

/* Ensure proper rendering in Safari */
@supports (-webkit-touch-callout: none) {
    .logo-container {
        transform-style: preserve-3d;
        -webkit-transform-style: preserve-3d;
    }
    
    .logo-main,
    .logo-hover {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 1.6rem;
    transition: color var(--transition-fast);
    position: relative;
    padding: 8px 0;
    letter-spacing: -0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width var(--transition-fast);
    border-radius: 1px;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

/* Active state */
.nav-link.active {
    color: var(--primary);
    font-weight: var(--font-weight-medium);
}

.nav-link.active::after {
    width: 100%;
    background-color: var(--primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
    margin-left: auto; /* Push to the right */
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    left: 0;
}

.hamburger::before {
    top: -8px;
    transform-origin: center;
}

.hamburger::after {
    bottom: -8px;
    transform-origin: center;
}

/* Active state for hamburger */
.mobile-menu-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary);
}

.mobile-menu-toggle.active .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--background);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: all var(--transition-normal);
    z-index: 999;
    padding: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.95);
    border-top: 1px solid var(--accent);
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.8rem;
    padding: 10px 20px;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background-color: var(--accent);
    color: var(--primary);
}

/* Active state for mobile menu button */
.mobile-menu-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        height: 60px;
        padding: 0 15px;
        grid-template-columns: auto 1fr auto; /* Added for logo and menu button */
        gap: 1rem;
    }
    
    /* Mobile logo adjustments */
    .logo {
        margin: 0;
        padding: 0;
        width: 120px;
        height: 40px; /* Fixed height to match navbar */
        display: flex;
        align-items: center;
        perspective: none;
    }
    
    /* Hide hover logo in mobile */
    .logo-hover {
        display: none !important;
    }
    
    /* Disable animations on mobile */
    .logo-container {
        transform: none !important;
        transition: none !important;
    }
    
    .logo-main {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: left center;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: flex;
    }
    
    .navbar {
        padding: 0 15px;
        position: relative;
    }
    
    /* Ensure proper spacing between logo and menu button */
    .logo {
        margin-right: auto;
    }
    
    /* Smooth transition for mobile menu */
    .mobile-nav {
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        opacity: 0;
        pointer-events: none;
    }
    
    .mobile-nav.active {
        opacity: 1;
        pointer-events: auto;
    }

    /* Mobile Navigation Links */
    .mobile-nav-link {
        padding: 12px 24px;
        font-size: 1.8rem;
        color: var(--text-primary);
        text-decoration: none;
        transition: all var(--transition-fast);
        border-radius: 6px;
        width: calc(100% - 48px);
        text-align: center;
        font-weight: var(--font-weight-medium);
        margin: 0 var(--space-md);
    }

    .mobile-nav-link:hover,
    .mobile-nav-link:focus {
        color: var(--primary);
        background-color: var(--accent);
        transform: translateY(-1px);
    }

    .mobile-nav-link.active {
        color: var(--primary);
        background-color: var(--accent);
        font-weight: var(--font-weight-medium);
    }
}

/* Add padding to body when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Adjust main content to account for fixed header */
main {
    margin-top: 70px;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-family);
  font-size: 1.8rem; /* 28.8px - Even larger base size */
  line-height: 1.8;
  color: var(--text-primary);
  background-color: var(--background);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

/* Set minimum font size for all text */
* {
  font-size: inherit;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Base text elements */
p, li, span, a, label, .form-label, .input-label {
  font-size: 1.5rem; /* 24px - Standard base size */
  line-height: 1.7;
}

/* Small text */
small, .text-small, .text-muted {
  font-size: 1.3rem !important; /* 20.8px */
  line-height: 1.6;
}

/* Form elements and buttons */
input, textarea, select, button, .btn {
  font-size: 1.6rem !important; /* 25.6px */
  line-height: 1.5;
}

/* Navigation */
.nav-link, .footer-link {
  font-size: 1.4rem !important; /* 22.4px */
}

/* Navigation and footer links */
.nav-link, .footer-link {
  font-size: 1.4rem !important; /* 22.4px - Standardized */
}

/* Form labels */
label, .form-label, .input-label {
  font-size: 1.4rem !important; /* 22.4px - Increased from 1rem */
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

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

/* Override Milligram defaults */
body, h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

p {
  font-weight: var(--font-weight-regular);
}

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

a:hover {
  color: var(--primary-dark);
}

/* Container and Layout */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.hero-container {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 140px 20px 120px;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999; /* Ensure header is below mobile menu */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  /* Add bottom blur effect */
  overflow: hidden;
}

/* Add a subtle bottom border that appears on scroll */
.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    rgba(0, 0, 0, 0) 0%, 
    rgba(0, 0, 0, 0.1) 50%, 
    rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header.scrolled::after {
  opacity: 1;
}

/* Add a subtle white glow at the bottom */
.header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header.scrolled::before {
  opacity: 1;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: relative;
}

/* Logo Styles */
.nav-logo {
  position: relative;
  z-index: 100;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-text {
  font-size: 2.4rem; /* 38.4px - Increased from 2.2rem */
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  position: relative;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
  line-height: 1;
}

.logo-link:hover .logo-text {
  transform: scale(1.02);
  letter-spacing: -0.01em;
}

/* Add subtle shine effect on the text */
.logo-text::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20px;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(30deg);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.logo-link:hover .logo-text::after {
  left: 120%;
  opacity: 0.3;
  transition-delay: 0.1s;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-lg);
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--space-sm) var(--space-md);
  transition: all 0.3s ease;
  overflow: hidden;
}

.nav-link span:first-child {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.nav-link .nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

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

.nav-link:hover .nav-indicator,
.nav-link.active .nav-indicator {
  transform: translateY(0);
  opacity: 1;
}

/* CTA Button in Nav */
.nav-cta {
  margin-left: var(--space-lg);
}

.nav-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.25rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--primary);
  color: white;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(67, 56, 202, 0.1), 0 2px 4px -1px rgba(67, 56, 202, 0.06);
}

.nav-cta .cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(67, 56, 202, 0.15), 0 4px 6px -2px rgba(67, 56, 202, 0.1);
  background: var(--primary-dark);
}

.nav-cta .cta-button svg {
  transition: transform 0.3s ease;
}

.nav-cta .cta-button:hover svg {
  transform: translateX(3px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-menu-btn span:not(:last-child) {
  margin-bottom: 5px;
}

.mobile-menu-btn span:nth-child(1) {
  transform: translateY(0) rotate(0);
}

.mobile-menu-btn span:nth-child(2) {
  opacity: 1;
  transform: scaleX(1);
}

.mobile-menu-btn span:nth-child(3) {
  transform: translateY(0) rotate(0);
}

.mobile-menu-btn span.active:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--primary);
}

.mobile-menu-btn span.active:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn span.active:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--primary);
}

/* Mobile Menu */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 90%;
    height: 100vh;
    padding: 6rem 2rem 2rem;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001; /* Higher than header z-index */
    overflow-y: auto;
  }

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

  .nav-overlay {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000; /* Just below the menu but above header */
  }

  .nav-menu.active + .nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-link {
    padding: 1rem 0;
    font-size: 1.1rem;
  }

  .nav-cta {
    margin: 1.5rem 0 0;
    width: 100%;
  }

  .nav-cta .cta-button {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.5rem;
  }

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

/* Small mobile */
@media (max-width: 480px) {
  .header-container {
    padding: 0 1rem;
  }
  
  .logo-text {
    font-size: 2rem; /* 32px - Increased from 1.5rem */
  }
  
  .logo-dot {
    width: 6px;
    height: 6px;
  }
}

/* CTA Button Styles */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  border-radius: 6px;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.cta-button.primary {
  background: var(--primary);
  color: white;
}

.cta-button.primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cta-button.secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.cta-button.secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.cta-button:not(.secondary) {
  background: var(--primary);
  color: white;
}

.cta-button:not(.secondary):hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
@keyframes shooting {
  0% {
    transform: translateX(0) translateY(0) scale(0);
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateX(1200px) translateY(-400px) scale(1.2);
    opacity: 0;
  }
}

@keyframes shooting-short {
  0% {
    transform: translateX(0) translateY(0) scale(0);
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  40% {
    opacity: 0.8;
    transform: translateX(500px) translateY(-100px) scale(0.8);
  }
  60% {
    opacity: 0;
    transform: translateX(600px) translateY(-120px) scale(0.8);
  }
  100% {
    transform: translateX(600px) translateY(-120px) scale(0.8);
    opacity: 0;
  }
}

/* Base star styles */
.shooting-star {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--primary);
  pointer-events: none;
  box-shadow: 
    0 0 2px 1px var(--primary),
    0 0 4px 2px rgba(27, 49, 69, 0.5);
  z-index: 1;
  opacity: 0;
  animation-fill-mode: both;
}

/* Full journey stars */
.shooting-star.full-journey {
  animation: shooting var(--duration, 18s) linear var(--delay, 0s) infinite;
}

/* Short journey stars */
.shooting-star.short-journey {
  animation: shooting-short var(--duration, 12s) linear var(--delay, 0s) infinite;
  opacity: 0.8; /* Slightly more subtle */
}

.shooting-star::before {
  content: '';
  position: absolute;
  top: 1px;
  left: -100px;
  width: 100px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--primary),
    var(--primary) 2px,
    transparent 2px,
    transparent 4px
  );
  transform-origin: right center;
  animation: pixelTail 0.15s steps(4, end) infinite;
  will-change: transform, opacity;
}

@keyframes pixelTail {
  0% {
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    transform: scaleX(0.9);
    opacity: 0.7;
  }
  100% {
    transform: scaleX(0.8);
    opacity: 0.5;
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--background) 100%);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  
  /* Add subtle background pattern */
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 10%),
      radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 10%);
    pointer-events: none;
  }
  
  @media (max-width: 768px) {
    min-height: 90vh;
    min-height: 90dvh;
    padding: var(--space-2xl) 0;
  }
}

.hero-title {
  font-size: 4.5rem; /* 72px */
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--gray-900);
  letter-spacing: -0.04em;
  margin-top: 0;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-lg);
  
  /* Add gradient text effect */
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
  /* Responsive font size */
  @media (max-width: 1024px) {
    font-size: 3.5rem;
  }
  
  @media (max-width: 768px) {
    font-size: 2.75rem;
    line-height: 1.15;
  }
  
  @media (max-width: 480px) {
    font-size: 2.25rem;
    padding: 0 var(--space-md);
  }
}

.hero-subtitle {
  font-size: 1.8rem; /* 28.8px */
  color: var(--gray-700);
  margin-bottom: 3.5rem;
  max-width: 800px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  
  /* Responsive font size */
  @media (max-width: 1024px) {
    font-size: 1.6rem;
    max-width: 700px;
  }
  
  @media (max-width: 768px) {
    font-size: 1.4rem;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 3rem;
  }
  
  @media (max-width: 480px) {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    padding: 0 var(--space-md);
  }
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  
  .cta-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    
    &:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }
    
    &:active {
      transform: translateY(0);
    }
  }
  
  @media (max-width: 480px) {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 var(--space-md);
    
    .cta-button {
      width: 100%;
      max-width: 280px;
    }
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: 3.6rem; /* 57.6px */
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  /* Base font size for mobile */
  :root {
    --font-size-base: 1.5rem; /* 24px */
  }
  
  body {
    font-size: var(--font-size-base);
    line-height: 1.7;
  }
  
  /* Section titles */
  .section-title {
    font-size: 2.8rem; /* 44.8px */
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }
  
  /* Section subtitles */
  .section-subtitle {
    font-size: 1.6rem; /* 25.6px */
    line-height: 1.6;
  }
  
  /* Buttons and form elements for mobile */
  .btn, button, input, textarea, select {
    font-size: 1.6rem !important;
    padding: 1.2rem 2rem;
    min-height: 60px;
    border-radius: 8px;
    margin: 0.5rem 0;
  }
  
  /* Navigation for mobile */
  .nav-link {
    font-size: 1.5rem !important;
    padding: 1rem 1.5rem !important;
    margin: 0.25rem 0;
  }
  
  /* Small text for mobile */
  small, .text-small, .text-muted {
    font-size: 1.3rem !important;
    line-height: 1.6;
  }
  
  /* Adjust hero section for mobile */
  .hero-title {
    font-size: 2.8rem !important;
    line-height: 1.15;
  }
  
  .hero-subtitle {
    font-size: 1.4rem !important;
    margin-bottom: 2.5rem;
  }
  
  /* Headings for mobile */
  h1 { font-size: 3.2rem !important; }
  h2 { font-size: 2.8rem !important; }
  h3 { font-size: 2.4rem !important; }
  h4 { font-size: 2rem !important; }
  h5 { font-size: 1.8rem !important; }
  h6 { font-size: 1.6rem !important; }
}

.section-subtitle {
  font-size: 1.8rem; /* 28.8px - Larger subtitles */
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  font-weight: 400;
}

/* Products Section */
.products {
  padding: var(--space-3xl) 0;
  background: var(--background);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.product-card {
  background: var(--background);
  border-radius: 12px;
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--accent);
}

.product-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.product-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.product-icon svg {
  width: 100%;
  height: 100%;
}

.product-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.product-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.product-link {
  color: var(--primary);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: color var(--transition-fast);
}

.product-link:hover {
  color: var(--primary-dark);
}

.product-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.product-link:hover::after {
  transform: translateX(4px);
}

/* Partners Section */
.partners {
  padding: var(--space-3xl) 0;
  background: var(--secondary);
  position: relative;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.partner-logo {
  background: white;
  border-radius: 12px;
  padding: var(--space-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: white;
  background-image: none;
}

.partner-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 1;
  border-radius: 10px;
}

.partner-img {
  height: 60px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: grayscale(100%) contrast(1.1);
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* Specific adjustments for each logo */
.partner-img.honeywell {
  height: 50px;
  filter: grayscale(100%) contrast(1.3);
}

.partner-img.danfoss {
  height: 55px;
  filter: grayscale(100%) contrast(1.2);
}

.partner-img.sensata {
  height: 60px;
  filter: grayscale(100%) contrast(1.1);
}

.partner-logo:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo:hover .partner-img {
  filter: grayscale(0%) contrast(1);
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .partners-grid {
    gap: var(--space-lg);
    padding: 0 var(--space-md);
  }
  
  .partner-logo {
    width: 160px;
    height: 100px;
  }
  
  .partner-img {
    height: 50px;
    max-width: 140px;
  }
  
  .partner-img.honeywell { height: 42px; }
  .partner-img.danfoss { height: 46px; }
  .partner-img.sensata { height: 50px; }
}

/* About Section */
.about {
  padding: var(--space-3xl) 0;
  background: var(--background);
  position: relative;
  overflow: hidden;
  line-height: 1.8;
  color: var(--text-secondary);
  border-radius: 24px;
  margin: 2rem auto;
  max-width: 1400px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.05);
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, 
    #1b3145 0%, 
    #1f3a52 50%, 
    #1b3145 100%);
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
}

.about-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 800px;
}

.about-intro p {
  margin-bottom: 1.5rem;
}

.about-intro strong {
  color: var(--text-primary);
  font-weight: 600;
}

.product-portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.product-portfolio li {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-weight: 500;
  color: #4b5563;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.product-portfolio li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  border-color: #e0e7ff;
  background: white;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.feature-item {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.feature-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
}

.feature-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #4f46e5, #8b5cf6);
  border-radius: 3px;
}

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

.feature-list-item {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

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

.feature-list-item strong {
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-list-item p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.leadership-highlight {
  background: rgba(79, 70, 229, 0.03);
  border-left: 4px solid #4f46e5;
  padding: 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
}

.leadership-highlight p {
  margin: 0 0 1rem 0;
  color: #4b5563;
}

.leadership-highlight p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .about-content {
    padding: 0 3rem;
    gap: 5rem;
  }
  
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .about-intro {
    font-size: 1.2rem;
  }
}

.about-visual {
  width: 100%;
  margin: 8rem 0 3rem;
  padding-top: 4rem;
  display: flex;
  justify-content: center;
}

.image-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto 0;
  padding: 1rem;
}

.image-grid img {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Lazy loading styles */
.image-grid img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-grid img.loaded {
  opacity: 1;
}

.image-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  margin: 1rem 0;
}

.product-image {
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  transition: transform 0.4s ease;
  display: block;
  margin: 0 auto;
}

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

/* Microinteractions */
@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes subtlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.image-item:nth-child(1) {
  animation: subtleFloat 6s ease-in-out infinite;
}

.image-item:nth-child(2) {
  animation: subtleFloat 6s ease-in-out infinite 1.5s;
}

.image-item:nth-child(3) {
  animation: subtleFloat 6s ease-in-out infinite 0.5s;
}

.image-item:nth-child(4) {
  animation: subtleFloat 6s ease-in-out infinite 2s;
}

/* Hover effects */
.image-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

.image-item:hover .product-image {
  transform: scale(1.05);
  animation: subtlePulse 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-visual {
    flex: 1;
    margin-top: 0;
    padding-top: 1rem;
  }
  
  .image-grid {
    gap: 4rem;
    padding: 0 1rem;
    max-width: 800px;
  }
  
  .image-item {
    max-height: 200px;
  }
}

@media (min-width: 1024px) {
  .image-grid {
    gap: 5rem;
    padding: 1rem 2rem;
    max-width: 900px;
  }
  
  .image-item {
    max-height: 220px;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .about-visual {
    padding: 1rem 0;
  }
  
  .image-grid {
    max-width: 95%;
    gap: 3rem;
  }
  
  .image-item {
    max-height: 150px;
  }
}

.about-intro {
  margin-bottom: var(--space-2xl);
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-intro p {
  margin-bottom: 1.2em;
  color: var(--text-secondary);
}

.product-portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0 0.5rem;
  padding: 0 1rem;
}

.product-portfolio li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
  font-weight: 500;
}

.product-portfolio li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.feature-item {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-title {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--primary-light);
  font-weight: 700;
  letter-spacing: -0.3px;
}

.feature-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}

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

.feature-list-item {
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

.feature-list-item:hover {
  transform: translateX(5px);
}

.feature-list-item strong {
  display: block;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-list-item p {
  margin: 0.5rem 0 0;
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.6;
}

.leadership-highlight {
  background: rgba(37, 99, 235, 0.04);
  border-left: 3px solid var(--primary);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

.leadership-list {
  margin: 1rem 0 1rem 1.5rem;
  padding: 0;
}

.leadership-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.leadership-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.vision-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
  padding: 0;
  list-style: none;
}

.vision-list li {
  background: var(--background);
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.vision-list li:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.vision-list li::before {
  content: "✓";
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.8rem;
  font-size: 0.8em;
  font-weight: bold;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-item:last-child {
    grid-column: 1 / -1;
  }
  
  .vision-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-content {
    display: grid;
    order: 2;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .feature-item:last-child {
    grid-column: auto;
  }
  
  .vision-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-text {
  max-width: none;
}

.about-description, .feature-description {
  font-size: 1.5rem; /* 24px - Standardized */
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature-item h4 {
  color: var(--primary);
  font-weight: 800; /* Extra bold */
  margin-bottom: 2rem;
  font-size: 2.4rem; /* 38.4px - Larger feature headings */
  position: relative;
  padding-bottom: 0.5rem;
}

.feature-item h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.feature-item p,
.feature-item ul {
  color: var(--text-secondary);
  margin: 0 0 1.75rem 0;
  line-height: 1.8;
  font-size: 1.125rem; /* 18px */
}

.feature-list {
  list-style: none;
  padding-left: 1.2rem;
  margin: 0.5rem 0 1.5rem 0;
}

.feature-list li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
}

.feature-list li:before {
  content: '→';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.about-description {
  margin-bottom: 2rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

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

.visual-element {
  position: relative;
  width: 300px;
  height: 300px;
}

.geometric-pattern {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.pattern-circle,
.pattern-square,
.pattern-triangle {
  position: absolute;
  background: var(--primary);
  opacity: 0.1;
  animation-duration: 15s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pattern-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  top: 50px;
  left: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  animation-name: float-circle;
  box-shadow: 0 15px 35px rgba(67, 56, 202, 0.1);
}

.pattern-square {
  width: 100px;
  height: 100px;
  top: 0;
  right: 0;
  opacity: 0.15;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  animation-name: float-square;
  animation-delay: 1s;
  box-shadow: 0 10px 25px rgba(67, 56, 202, 0.1);
}

.pattern-triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 87px solid var(--primary);
  background: none;
  bottom: 0;
  left: 0;
  opacity: 0.12;
  animation-name: float-triangle;
  animation-delay: 0.5s;
  filter: drop-shadow(0 10px 20px rgba(67, 56, 202, 0.1));
}

@keyframes float-circle {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
    border-radius: 50%;
  }
  33% {
    transform: translateY(-20px) rotate(5deg) scale(1.05);
    border-radius: 40% 60% 70% 30% / 60% 30% 70% 40%;
  }
  66% {
    transform: translateY(10px) rotate(-5deg) scale(0.95);
    border-radius: 30% 70% 50% 50% / 50% 50% 50% 50%;
  }
}

@keyframes float-square {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
    border-radius: 8px;
  }
  50% {
    transform: translateY(-15px) rotate(5deg) scale(1.1);
    border-radius: 15px;
  }
}

@keyframes float-triangle {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.12;
  }
  50% {
    transform: translateY(-10px) rotate(10deg);
    opacity: 0.15;
  }
}

/* Add hover effects */
.geometric-pattern:hover .pattern-circle {
  animation-duration: 8s;
  opacity: 0.15;
}

.geometric-pattern:hover .pattern-square {
  animation-duration: 10s;
  opacity: 0.2;
}

.geometric-pattern:hover .pattern-triangle {
  animation-duration: 12s;
  opacity: 0.15;
}

/* Contact Section */
.contact {
  padding: var(--space-3xl) 0;
  background: var(--secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  margin-top: var(--space-2xl);
}

/* Form Response Styles */
.form-response {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.form-response p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.form-response .success {
  color: #059669;
  background-color: #D1FAE5;
  border: 1px solid #34D399;
}

.form-response .error {
  color: #DC2626;
  background-color: #FEE2E2;
  border: 1px solid #FCA5A5;
}

/* Form Styles */
.contact-form {
  background: var(--background);
  padding: var(--space-2xl);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--accent);
  border-radius: 6px;
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  background: var(--background);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.1);
}

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

.submit-btn, input[type="submit"], input[type="button"], button {
  width: 100%;
  padding: 1.2rem 2rem;
  font-size: 1.6rem; /* 25.6px - Increased from 1rem */
  min-height: 56px;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.form-response {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border-radius: 6px;
  display: none;
}

.form-response.success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #10B981;
  display: block;
}

.form-response.error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #EF4444;
  display: block;
}

/* Contact Section Layout */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: stretch;
  width: 100%;
}

.contact-form-container {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  height: 100%;
  min-height: 400px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.contact-info-section {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
}

/* Contact Info */
.contact-info {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  height: 100%;
  min-height: 400px;
}

.contact-info h3 {
  font-size: 2.4rem; /* 38.4px - Increased from 1.75rem */
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--accent);
  position: relative;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease;
}

.info-item:hover {
  transform: translateX(5px);
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
  color: var(--primary);
}

.info-icon svg {
  width: 20px;
  height: 20px;
}

.info-content h4 {
  font-size: 1.6rem; /* 25.6px - Increased from 1.2rem */
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
}

.info-content p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-info {
    padding: 1.5rem;
  }
  
  .info-item {
    margin-bottom: 1.25rem;
  }
  
  .info-icon {
    width: 38px;
    height: 38px;
  }
  
  .info-content h4 {
    font-size: 1.5rem; /* 24px - Increased from 1.1rem */
  }
  
  .info-content p {
    font-size: 1.4rem; /* 22.4px - Increased from 1rem */
  }
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: var(--background);
  padding: var(--space-xl) 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-copyright {
  color: #9CA3AF;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-link {
  color: #9CA3AF;
  transition: color var(--transition-fast);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .partners-grid {
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .partners-grid {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .section-container,
  .nav-container,
  .hero-container,
  .footer-container {
    padding: 0 var(--space-md);
  }
  
  .hero {
    padding: var(--space-2xl) 0;
  }
  
  .products,
  .partners,
  .about,
  .contact {
    padding: var(--space-2xl) 0;
  }
  
  .section-header {
    margin-bottom: var(--space-2xl);
  }
}

@media (max-width: 480px) {
  .partner-logo img {
    height: 40px;
  }
  
  .visual-element {
    width: 200px;
    height: 200px;
  }
  
  .pattern-circle {
    width: 120px;
    height: 120px;
    top: 40px;
    left: 40px;
  }
  
  .pattern-square {
    width: 60px;
    height: 60px;
  }
}

/* Animation preparation classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
}

/* Scroll animations */
.parallax-element {
  transform: translateZ(0);
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .product-card:hover {
    transform: none;
  }
  
  .cta-button:hover {
    transform: none;
  }
}

/* Form Success Message */
.form-success-message {
  text-align: center;
  padding: 2rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  margin-top: 1.5rem;
  display: none;
}

.form-success-message p {
  color: #166534;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.form-success-message .cta-button {
  margin: 0 auto;
  background-color: #16a34a;
}

.form-success-message .cta-button:hover {
  background-color: #15803d;
  transform: translateY(-2px);
}

/* Focus styles for accessibility */
.cta-button:focus,
.form-input:focus,
.form-textarea:focus,
.nav-link:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .product-card {
    border: 2px solid var(--text-primary);
  }
  
  .partner-logo {
    filter: none;
    opacity: 1;
  }
}
