/*
 * EPCOS Distributor Website - Ultimate Modern Professional Stylesheet
 * Complete redesign with elegant, modern aesthetics and professional appearance
 */

/* CSS Custom Properties (Variables) - Elegant Modern Palette */
:root {
  /* Color Palette - Modern Professional */
  --primary-navy: #0a2540;        /* Deep navy blue for primary elements */
  --secondary-blue: #1a73e8;     /* Vibrant blue for accents */
  --accent-teal: #00b894;        /* Teal for highlights and CTAs */
  --gold-accent: #d4af37;        /* Premium gold for special elements */
  --dark-gray: #2d3748;          /* Dark gray for text */
  --medium-gray: #718096;        /* Medium gray for secondary text */
  --light-gray: #e2e8f0;         /* Light gray for backgrounds */
  --soft-white: #f8fafc;         /* Soft white for content areas */
  --pure-white: #ffffff;         /* Pure white */
  --off-black: #1a202c;          /* Near black for primary text */

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'Fira Code', 'Monaco', 'Inconsolata', 'Courier New', monospace;

  /* Spacing System - Based on 8px rhythm */
  --space-xxs: 0.25rem;    /* 4px */
  --space-xs: 0.5rem;      /* 8px */
  --space-sm: 0.75rem;     /* 12px */
  --space-md: 1rem;        /* 16px */
  --space-lg: 1.5rem;      /* 24px */
  --space-xl: 2rem;        /* 32px */
  --space-xxl: 3rem;       /* 48px */
  --space-xxxl: 4rem;      /* 64px */

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-xxl: 24px;
  --radius-pill: 9999px;
  --radius-full: 50%;

  /* Shadows - Modern subtle shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.08);

  /* Container Max Width */
  --max-width: 1200px;

  /* Breakpoints */
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
}

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

/* Smooth scrolling for modern UX */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--off-black);
  background-color: var(--soft-white);
  overflow-x: hidden;
  position: relative;
}

/* Background pattern for extra elegance */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(at 47% 80%, hsla(210, 47%, 70%, 0.15) 0px, transparent 50%),
    radial-gradient(at 82% 65%, hsla(210, 47%, 70%, 0.1) 0px, transparent 50%),
    radial-gradient(at 21% 42%, hsla(210, 47%, 70%, 0.1) 0px, transparent 50%),
    radial-gradient(at 97% 93%, hsla(210, 47%, 70%, 0.05) 0px, transparent 50%),
    radial-gradient(at 11% 49%, hsla(210, 47%, 70%, 0.1) 0px, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

/* Container with max width and horizontal centering */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
}

/* 12-Column Grid System */
.grid-container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-lg);
  width: 100%;
}

/* Grid Span Classes */
.grid-span-1 { grid-column: span 1 / span 1; }
.grid-span-2 { grid-column: span 2 / span 2; }
.grid-span-3 { grid-column: span 3 / span 3; }
.grid-span-4 { grid-column: span 4 / span 4; }
.grid-span-5 { grid-column: span 5 / span 5; }
.grid-span-6 { grid-column: span 6 / span 6; }
.grid-span-7 { grid-column: span 7 / span 7; }
.grid-span-8 { grid-column: span 8 / span 8; }
.grid-span-9 { grid-column: span 9 / span 9; }
.grid-span-10 { grid-column: span 10 / span 10; }
.grid-span-11 { grid-column: span 11 / span 11; }
.grid-span-12 { grid-column: span 12 / span 12; }

/* Responsive Grid Classes */
@media (min-width: 768px) {
  .grid-span-md-1 { grid-column: span 1 / span 1; }
  .grid-span-md-2 { grid-column: span 2 / span 2; }
  .grid-span-md-3 { grid-column: span 3 / span 3; }
  .grid-span-md-4 { grid-column: span 4 / span 4; }
  .grid-span-md-5 { grid-column: span 5 / span 5; }
  .grid-span-md-6 { grid-column: span 6 / span 6; }
  .grid-span-md-7 { grid-column: span 7 / span 7; }
  .grid-span-md-8 { grid-column: span 8 / span 8; }
  .grid-span-md-9 { grid-column: span 9 / span 9; }
  .grid-span-md-10 { grid-column: span 10 / span 10; }
  .grid-span-md-11 { grid-column: span 11 / span 11; }
  .grid-span-md-12 { grid-column: span 12 / span 12; }
}

@media (min-width: 992px) {
  .grid-span-lg-1 { grid-column: span 1 / span 1; }
  .grid-span-lg-2 { grid-column: span 2 / span 2; }
  .grid-span-lg-3 { grid-column: span 3 / span 3; }
  .grid-span-lg-4 { grid-column: span 4 / span 4; }
  .grid-span-lg-5 { grid-column: span 5 / span 5; }
  .grid-span-lg-6 { grid-column: span 6 / span 6; }
  .grid-span-lg-7 { grid-column: span 7 / span 7; }
  .grid-span-lg-8 { grid-column: span 8 / span 8; }
  .grid-span-lg-9 { grid-column: span 9 / span 9; }
  .grid-span-lg-10 { grid-column: span 10 / span 10; }
  .grid-span-lg-11 { grid-column: span 11 / span 11; }
  .grid-span-lg-12 { grid-column: span 12 / span 12; }
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-navy);
  margin-bottom: var(--space-md);
  letter-spacing: -0.025em;
}

h1 {
  font-size: 2.5rem; /* 40px */
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2rem; /* 32px */
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.5rem; /* 24px */
  line-height: 1.25;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem; /* 20px */
  line-height: 1.3;
  font-weight: 600;
}

h5 {
  font-size: 1.125rem; /* 18px */
  line-height: 1.35;
  font-weight: 600;
}

h6 {
  font-size: 1rem; /* 16px */
  line-height: 1.4;
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
  font-size: 1rem; /* 16px */
  line-height: 1.7;
  color: var(--medium-gray);
}

.text-sm { font-size: 0.875rem; } /* 14px */
.text-base { font-size: 1rem; }   /* 16px */
.text-lg { font-size: 1.125rem; } /* 18px */
.text-xl { font-size: 1.25rem; }  /* 20px */
.text-2xl { font-size: 1.5rem; }  /* 24px */

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

.text-muted { color: var(--medium-gray); }
.text-primary { color: var(--primary-navy); }
.text-accent { color: var(--accent-teal); }
.text-gold { color: var(--gold-accent); }

/* Link Styles */
a {
  color: var(--secondary-blue);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--accent-teal);
  transform: translateY(-1px);
}

/* Button Styles - Elegant Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-width: 160px;
  gap: var(--space-sm);
  letter-spacing: -0.01em;
  font-family: var(--font-primary);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.btn span {
  position: relative;
  z-index: 2;
}

.btn:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-teal) 0%, #009e7d 100%);
  color: white;
  border: 1px solid rgba(0, 184, 148, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #009e7d 0%, var(--accent-teal) 100%);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-blue) 0%, #0d6efd 100%);
  color: white;
  border: 1px solid rgba(26, 115, 232, 0.2);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #0d6efd 0%, var(--secondary-blue) 100%);
}

.btn-outline {
  background: transparent;
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold-accent) 0%, #c5a62e 100%);
  color: var(--off-black);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #c5a62e 0%, var(--gold-accent) 100%);
}

/* Card Component - Modern Glassmorphism Effect */
.card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal), var(--gold-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

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

.card h3 {
  margin: 0 0 var(--space-md) 0;
  color: var(--primary-navy);
  position: relative;
  z-index: 2;
}

.card p {
  color: var(--medium-gray);
  position: relative;
  z-index: 2;
}

.card img {
  max-width: 100%;
  height: auto;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 2;
}

/* Header Styles - Elegant Navigation */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.sticky {
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.98);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--light-gray);
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo h1 a {
  color: var(--primary-navy);
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

.header-contact {
  display: flex;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.95rem;
  color: var(--dark-gray);
  transition: color 0.2s ease;
}

.contact-item:hover {
  color: var(--accent-teal);
}

.main-navigation {
  padding: var(--space-sm) 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: var(--space-xl);
  margin: 0;
  padding: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-sm) 0;
  display: block;
  position: relative;
  transition: color 0.3s ease;
  font-size: 1.05rem;
}

.nav-menu a:hover,
.nav-menu .current a {
  color: var(--accent-teal);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-teal);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  box-shadow: var(--shadow-xl);
  display: none;
  list-style: none;
  padding: var(--space-md) 0;
  border-radius: var(--radius-lg);
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 8px 20px;
  border-bottom: none;
}

.dropdown-menu a {
  font-size: 0.95rem;
  padding: 8px 0;
}

/* Hero Banner - Modern Gradient Design */
.hero-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
  color: white;
  padding: var(--space-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-xxl);
}

/* Abstract geometric background shapes */
.hero-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  z-index: 0;
}

.hero-banner::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  z-index: 0;
}

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

.hero-banner h1 {
  font-size: 3.5rem;
  margin-bottom: var(--space-lg);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-banner p {
  font-size: 1.5rem;
  margin-bottom: var(--space-xl);
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* CTA Module - Premium Call to Action */
.cta-module {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
  color: white;
  padding: var(--space-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: var(--space-xxxl) 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.cta-module::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -25%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  z-index: 0;
}

.cta-module::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  z-index: 0;
}

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

.cta-module h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-module p {
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  opacity: 0.9;
}

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

/* Product Detail Section */
.product-detail {
  padding: var(--space-xxxl) 0;
}

.product-overview {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

.product-image {
  grid-column: span 12;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  min-height: 400px;
  border: 1px solid var(--light-gray);
  backdrop-filter: blur(10px);
}

.product-specs {
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--light-gray);
  backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .product-image {
    grid-column: span 6 / span 6;
  }
  
  .product-specs {
    grid-column: span 6 / span 6;
  }
}

.product-specs h2 {
  color: var(--primary-navy);
  margin-top: 0;
  margin-bottom: var(--space-lg);
  position: relative;
}

.product-specs h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-teal);
  border-radius: var(--radius-full);
}

.product-specs ul {
  list-style: none;
  padding: 0;
  flex: 1;
  margin-bottom: var(--space-lg);
}

.product-specs li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.product-specs li strong {
  color: var(--primary-navy);
  margin-right: var(--space-sm);
}

.product-specs li:last-child {
  border-bottom: none;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: auto;
}

/* Parameters Table */
.parameters-table {
  margin: var(--space-xxxl) 0;
}

.table-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--light-gray);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

th, td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

th {
  background: rgba(10, 37, 64, 0.05);
  font-weight: 600;
  color: var(--primary-navy);
  position: sticky;
  top: 0;
}

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.5);
}

tbody tr:hover {
  background: rgba(26, 115, 232, 0.05);
}

/* Footer Styles */
.site-footer {
  background: var(--primary-navy);
  color: white;
  padding: var(--space-xxxl) 0 var(--space-xl);
  margin-top: var(--space-xxxl);
}

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

.footer-section h4 {
  color: var(--gold-accent);
  margin-bottom: var(--space-lg);
  font-size: 1.2rem;
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-accent);
  border-radius: var(--radius-full);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: var(--space-sm);
  color: #a0aec0;
}

.footer-section a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: block;
  padding: 4px 0;
}

.footer-section a:hover {
  color: var(--gold-accent);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
  color: #a0aec0;
  font-size: 0.9rem;
}

/* Floating Contact Button */
.floating-contact {
  position: fixed;
  right: var(--space-lg);
  bottom: var(--space-lg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-teal) 0%, #009e7d 100%);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  font-size: 1.2rem;
  border: 2px solid white;
}

.contact-item a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* Animations and Transitions */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

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

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

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

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

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

/* Responsive Design */
@media (max-width: 767px) {
  .container {
    padding: 0 var(--space-md);
  }

  .header-top {
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
  }

  .header-contact {
    flex-wrap: wrap;
    gap: var(--space-md);
    width: 100%;
    justify-content: center;
  }

  .nav-menu {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    margin-top: var(--space-xs);
  }

  .hero-banner h1 {
    font-size: 2.5rem;
  }

  .hero-banner p {
    font-size: 1.25rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: var(--space-md);
  }

  .cta-module h2 {
    font-size: 2rem;
  }

  .product-overview {
    grid-template-columns: 1fr;
  }

  .product-image, .product-specs {
    grid-column: span 12 !important;
  }

  .floating-contact {
    right: var(--space-md);
    bottom: var(--space-md);
  }

  .contact-item a {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.4rem; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .container {
    padding: 0 var(--space-lg);
  }

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

  .hero-banner h1 {
    font-size: 3rem;
  }

  .hero-cta {
    gap: var(--space-md);
  }
}

@media (min-width: 992px) {
  .container {
    padding: 0 var(--space-xl);
  }

  .header-contact {
    gap: var(--space-xxxl);
  }

  .nav-menu {
    gap: var(--space-xxxl);
  }

  .hero-banner h1 {
    font-size: 3.5rem;
  }

  .hero-banner p {
    font-size: 1.5rem;
  }
}

/* Accessibility enhancements */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
div[tabindex]:focus {
  outline: 3px solid var(--accent-teal);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-navy);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: var(--radius-md);
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 6px;
}

/* Utility Classes */
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-xxl { margin-top: var(--space-xxl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-xxl { margin-bottom: var(--space-xxl); }

.pd-sm { padding: var(--space-sm); }
.pd-md { padding: var(--space-md); }
.pd-lg { padding: var(--space-lg); }
.pd-xl { padding: var(--space-xl); }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-start; }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

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