/* CSS Variables */
:root {
  --brand-blue: #3b82f6;
  --brand-blue-dark: #1e40af;
  --brand-light: #f8fafc;
  --text-dark: #0f172a;
  --text-gray: #64748b;
  --success: #06d6a0;
  --warning: #fbbf24;
  --danger: #ef4444;
  --border: rgba(148, 163, 184, 0.3);
  
  /* Enhanced glassmorphic variables for better contrast */
  --glass-bg: rgba(255, 255, 255, 0.35);
  --glass-bg-light: rgba(255, 255, 255, 0.25);
  --glass-bg-subtle: rgba(255, 255, 255, 0.15);
  --glass-bg-dark: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-border-light: rgba(255, 255, 255, 0.4);
  --glass-border-subtle: rgba(255, 255, 255, 0.25);
  --glass-border-dark: rgba(0, 0, 0, 0.1);
  
  /* Enhanced shadows for better depth */
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 64px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  
  --gradient-primary: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 25%, #cbd5e1 75%, #94a3b8 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
  --gradient-glass-border: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 100%);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--gradient-primary);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Modern Background Elements */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(6, 214, 160, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Clean Modern Header */
.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.95) 0%,
      rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  min-height: 70px;
}

.modern-header.header-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

.modern-header.header-visible {
  transform: translateY(0);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

/* Clean Header Logo and Branding */
.header-logo-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.header-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: all 0.3s ease;
}

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

.header-company-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.header-company-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.2;
}

.header-tagline {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin: 0;
  font-weight: 500;
}



/* Clean Website Link */
.header-website-link .company-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.header-website-link .company-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

/* Remove old nav-links and header-cta-link styles - navigation now only in content-nav */

/* Hero Section Styles */
.hero-section {
  background: linear-gradient(135deg, 
    #0f172a 0%,        /* Deep navy */
    #1e3a8a 25%,       /* Royal blue */
    #3b82f6 75%,       /* Bright blue */
    #60a5fa 100%);     /* Light blue */
  color: white;
  padding: 120px 0 80px; /* Top padding for fixed header */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero background effects */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.08) 2px, transparent 2px);
  background-size: 100px 100px, 150px 150px, 80px 80px;
  animation: gentleFloat 20s linear infinite;
  pointer-events: none;
  opacity: 0.6;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(59, 130, 246, 0.1) 25%,
    transparent 50%,
    rgba(99, 102, 241, 0.08) 75%,
    transparent 100%
  );
  animation: modernShift 15s ease-in-out infinite;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: heroFadeIn 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-badge img {
  height: 18px;
  width: auto;
}

.hero-main {
  text-align: left;
  animation: heroFadeIn 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.hero-title { 
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: titleRevealNew 2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  opacity: 0;
  animation: subtitleFadeIn 1.5s ease 1s forwards;
}



/* Responsive Design for Clean Header */
@media (max-width: 768px) {
  .modern-header {
    min-height: 60px;
  }
  
  .header-container {
    padding: 0.75rem 1rem;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .header-logo-brand {
    gap: 0.75rem;
  }
  
  .header-logo-img {
    height: 40px;
  }
  
  .header-company-name {
    font-size: 1rem;
  }
  
  .header-tagline {
    font-size: 0.8rem;
  }
  
  .header-website-link .company-link {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .hero-section {
    padding: 120px 0 60px; /* Reduced top padding for smaller header */
  }
  
  .content-nav {
    top: 60px; /* Reduced header height */
  }
}

/* Legacy header styles removed - now using hero-section */

/* Simplified info cards */
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-item i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  display: block;
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  animation: actionsFadeIn 1.5s ease 1.5s both;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button.primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
}

.cta-button.primary:hover {
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Hero Sidebar Styles */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: stretch;
}

.migration-status,
.hero-support {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.migration-status:hover,
.hero-support:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.status-header,
.support-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.status-header h3,
.support-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.status-header i,
.support-header i {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
}

.status-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.status-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border-left: 3px solid transparent;
}

.status-item.current {
  border-left-color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
}

.status-item.upcoming {
  border-left-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.status-date {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
}

.status-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.support-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.support-phone,
.support-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-phone:hover,
.support-form:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.support-phone i,
.support-form i {
  color: #10b981;
  font-size: 1rem;
}

/* New animations */
@keyframes gentleFloat {
  0%, 100% { 
    transform: translateX(0) translateY(0);
  }
  25% { 
    transform: translateX(10px) translateY(-10px);
  }
  50% { 
    transform: translateX(-5px) translateY(-20px);
  }
  75% { 
    transform: translateX(15px) translateY(-5px);
  }
}

@keyframes modernShift {
  0%, 100% {
    transform: translateX(-20%) translateY(-10%) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: translateX(-10%) translateY(-15%) rotate(2deg);
    opacity: 0.6;
  }
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleRevealNew {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes subtitleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes actionsFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced responsive design for Hero */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-main {
    text-align: center;
  }
  
  .hero-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-sidebar {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-section { 
    padding: 140px 0 60px;
  }
  
  .hero-content {
    padding: 0 1rem;
    gap: 2.5rem;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 1rem 1.5rem;
  }
  
  .feature-item {
    padding: 1.25rem;
    text-align: center;
  }
  
  .migration-status,
  .hero-support {
    padding: 1.25rem;
  }
  
  .nav-container { 
    justify-content: center;
    gap: 0.25rem;
  }
  
  nav a {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .card-content { 
    padding: 1.5rem; 
  }
  
  .card-header {
    padding: 1.5rem 1.5rem 0.75rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Reduce background animations on mobile */
  .hero-section::before {
    opacity: 0.4;
    animation-duration: 25s;
  }
  
  .hero-section::after {
    animation-duration: 18s;
  }
}

@media (max-width: 640px) {
  .hero-content {
    gap: 2rem;
  }
  
  .hero-badge {
    padding: 0.6rem 1.25rem;
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: clamp(0.95rem, 5vw, 1.1rem);
    margin-bottom: 1.5rem;
  }
  
  .hero-features {
    margin: 1.5rem 0;
  }
  
  .feature-item {
    padding: 1rem;
  }
  
  .feature-item i {
    font-size: 1.5rem;
  }
  
  .cta-button {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* Legacy navigation styles removed - navigation now in header */

/* Content Navigation Styles */
.content-nav {
  background: var(--gradient-glass);
  backdrop-filter: blur(25px);
  padding: 1rem;
  border-bottom: 2px solid var(--glass-border-light);
  position: sticky;
  top: 80px; /* Account for fixed header */
  z-index: 100;
  box-shadow: 
    var(--shadow),
    var(--shadow-inner);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-nav.nav-at-top {
  top: 0;
  box-shadow: 
    var(--shadow-lg),
    var(--shadow-inner);
}

.content-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.content-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg-light);
  border: 1.5px solid var(--glass-border-subtle);
  backdrop-filter: blur(15px);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.content-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.content-nav a:hover, .content-nav a.active {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: white;
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 8px 25px rgba(59, 130, 246, 0.3),
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.content-nav a:focus {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: white;
}

/* Responsive styles for content navigation */
@media (max-width: 768px) {
  .content-nav {
    top: 100px; /* Account for larger mobile header */
  }
  
  .content-nav.nav-at-top {
    top: 0;
    background: var(--gradient-glass);
    backdrop-filter: blur(25px);
  }
  
  .content-nav-container { 
    justify-content: center;
    gap: 0.25rem;
  }
  
  .content-nav a {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  
  /* Ensure smooth header transitions on mobile */
  .modern-header {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* Card Styles */
.card {
  background: var(--gradient-glass);
  backdrop-filter: blur(25px);
  border-radius: 2rem;
  box-shadow: 
    var(--shadow-lg),
    var(--shadow-inner),
    0 0 0 1px var(--glass-border-dark);
  overflow: hidden;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  animation: fadeInUp 0.8s ease forwards;
  margin-bottom: 0; /* Ensure no extra margins */
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-glass-border);
  border-radius: 2rem;
  padding: 2px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.card::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
    var(--shadow-xl),
    var(--shadow-inner),
    0 0 0 1px var(--glass-border-dark),
    0 0 40px rgba(59, 130, 246, 0.15);
  border-color: var(--glass-border);
}

.card-header {
  padding: 2rem 2rem 1rem;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.95), 
    rgba(99, 102, 241, 0.9));
  color: white;
  position: relative;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border-light);
}

.card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.card-header h2 {
  font-size: 1.75rem;
  margin: 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-header .icon {
  font-size: 1.5rem;
  opacity: 0.95;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.card-content {
  padding: 2rem;
  background: var(--glass-bg-subtle);
  backdrop-filter: blur(15px);
  position: relative;
}

/* Form Styles */
.support-request-form {
  background: var(--gradient-glass);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(20px);
  border: 2px solid var(--glass-border-light);
  margin-bottom: 2rem;
  box-shadow: 
    var(--shadow),
    var(--shadow-inner);
  position: relative;
}

.support-request-form::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--glass-border-subtle);
  border-radius: 0.75rem;
  background: var(--glass-bg-light);
  backdrop-filter: blur(15px);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: inherit;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: var(--glass-bg);
  box-shadow: 
    0 0 0 3px rgba(59, 130, 246, 0.1),
    0 4px 15px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Button Styles */
.submit-btn,
.reset-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(15px);
  min-width: 150px;
  justify-content: center;
}

.submit-btn {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

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

.reset-btn {
  background: var(--glass-bg);
  color: var(--text-gray);
  border: 1px solid var(--glass-border-light);
}

.reset-btn:hover {
  background: var(--glass-bg-light);
  transform: translateY(-1px);
  color: var(--text-dark);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cloudFloat {
  0%, 100% { 
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }
  25% { 
    transform: translateX(30px) translateY(-15px) scale(1.02);
    opacity: 0.8;
  }
  50% { 
    transform: translateX(-20px) translateY(-25px) scale(0.98);
    opacity: 0.9;
  }
  75% { 
    transform: translateX(25px) translateY(-10px) scale(1.01);
    opacity: 0.85;
  }
}

@keyframes gentleShimmer {
  0% { 
    transform: translateX(-100%) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% { 
    transform: translateX(0%) rotate(2deg);
    opacity: 0.7;
  }
  90% {
    opacity: 1;
  }
  100% { 
    transform: translateX(100%) rotate(0deg);
    opacity: 0;
  }
}

/* Accessibility Styles */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--brand-blue);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 100;
  transition: top 0.3s;
}

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

.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;
}

/* Header Layout Styles - Updated to match actual HTML structure */
.header-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  max-width: 1200px;
  width: 100%;
}

.info-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.15) 100%);
  backdrop-filter: blur(20px);
  padding: 1.75rem 1.5rem;
  border-radius: 1.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
}

.info-card:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.18) 100%);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.3;
}

.info-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

/* Content Grid Styles */
.content-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  gap: 3rem;
}

/* Hero Logo Section Styles */
.hero-logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  animation: slideRight 1s ease 1.3s both;
  margin-top: 2rem;
}

.migration-logo {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.15) 100%);
  backdrop-filter: blur(20px);
  padding: 2.25rem 1.75rem;
  border-radius: 1.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  position: relative;
  min-height: 180px;
}

.migration-logo::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
}

.migration-logo:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.18) 100%);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.migration-logo img {
  display: block;
  margin: 0 auto 1.25rem;
  width: 180px !important;
  height: auto !important;
  min-width: 180px;
  max-width: 180px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  flex-shrink: 0;
}

.migration-logo p {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: linear-gradient(135deg, 
    rgba(6, 214, 160, 0.25) 0%,
    rgba(5, 150, 105, 0.18) 100%);
  padding: 0.75rem 1.25rem;
  border-radius: 1.25rem;
  border: 1.5px solid rgba(6, 214, 160, 0.45);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(15px);
  box-shadow: 
    0 4px 16px rgba(6, 214, 160, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  min-height: 44px;
  justify-self: center;
}

/* Form and Grid Styles */
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

/* Progress Bar Styles */
.progress-container {
  background: var(--gradient-glass);
  backdrop-filter: blur(25px);
  border-radius: 1rem;
  padding: 1rem 2rem;
  margin: 2rem auto 0;
  max-width: 1200px;
  width: calc(100% - 2rem);
  border: 2px solid var(--glass-border-light);
  position: relative;
  overflow: hidden;
  box-shadow: 
    var(--shadow),
    var(--shadow-inner);
}

.progress-container::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.progress-bar {
  height: 8px;
  background: linear-gradient(90deg, var(--brand-blue), var(--warning));
  border-radius: 4px;
  width: 75%;
  transition: width 2s ease;
  margin-bottom: 0.5rem;
  box-shadow: 
    0 2px 8px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.progress-text {
  text-align: center;
  font-weight: 600;
  color: var(--text-dark);
}

/* Additional Form Styles */
.form-status {
  padding: 1rem;
  border-radius: 0.75rem;
  margin-top: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-status.loading {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--brand-blue);
}

.form-status.success {
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.1), rgba(5, 150, 105, 0.05));
  border: 1px solid rgba(6, 214, 160, 0.2);
  color: var(--success);
}

.form-status.error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

.form-status.warning {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: var(--warning);
}

/* Radio Button Styles */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border-light);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.radio-option:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand-blue);
}

.radio-option input[type="radio"] {
  margin: 0;
  width: auto;
  height: auto;
}

.radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid var(--glass-border-light);
  border-radius: 50%;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

/* Utility Classes */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--glass-bg-light);
  border-radius: 0.75rem;
  border: 1.5px solid var(--glass-border-subtle);
  backdrop-filter: blur(15px);
  box-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.checklist li:hover {
  transform: translateY(-1px);
  border-color: var(--glass-border-light);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.check-icon {
  color: var(--success);
  font-size: 1.2rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--gradient-glass);
  border-radius: 1rem;
  border: 2px solid var(--glass-border-subtle);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}

.benefit-item::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.benefit-item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--glass-border-light);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.benefit-item h3 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 700;
}

.benefit-item p {
  color: var(--text-gray);
  margin: 0;
  font-size: 0.9rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
  counter-reset: step-counter;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gradient-glass);
  border-radius: 1rem;
  border: 1.5px solid var(--glass-border-subtle);
  backdrop-filter: blur(15px);
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 
    0 3px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 
    0 3px 10px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.step:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-light);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.step-content {
  flex: 1;
}

.info-box {
  background: var(--gradient-glass);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1.5px solid var(--glass-border-subtle);
  backdrop-filter: blur(15px);
  transition: all 0.3s ease;
  box-shadow: 
    0 3px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
}

.info-box::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.info-box:hover {
  transform: translateY(-1px);
  border-color: var(--glass-border-light);
  box-shadow: 
    0 5px 18px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.info-box h4 {
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--glass-bg-light);
  border-radius: 1rem;
  border: 1px solid var(--glass-border-light);
  text-align: center;
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Additional Animation Keyframes */
@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.9;
  }
}

/* Clean up - removed unused header animation keyframes */

/* Breathing animation for the website link */
@keyframes breathe {
  0%, 100% {
    transform: translateY(-3px) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.02);
  }
}

/* Footer Styles */
footer {
  margin-top: 4rem;
  background: var(--gradient-glass);
  backdrop-filter: blur(25px);
  border-top: 2px solid var(--glass-border-light);
  position: relative;
  overflow: hidden;
  box-shadow: 
    var(--shadow-lg),
    var(--shadow-inner);
}

footer::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem 1.5rem;
  color: var(--text-dark);
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section {
  background: var(--glass-bg-light);
  backdrop-filter: blur(15px);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1.5px solid var(--glass-border-subtle);
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.footer-section:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-light);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

.footer-section p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-subtle);
  border-radius: 0.75rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.footer-links a:hover {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: white;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-subtle);
  border-radius: 0.75rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.footer-contact-item:hover {
  background: var(--glass-bg-light);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-1px);
}

.footer-contact-item i {
  color: var(--brand-blue);
  width: 16px;
  text-align: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-company-logo {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.footer-logo p {
  margin: 0;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--glass-border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright p {
  margin: 0;
  color: var(--text-gray);
  font-size: 0.85rem;
}

.footer-powered {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-powered > span {
  color: var(--text-gray);
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-tech-logos {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border-subtle);
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-gray);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: var(--glass-bg);
  border-color: var(--glass-border-light);
  color: var(--text-dark);
}

.tech-item img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .main-header,
  .content-nav,
  .header-logo-brand,
  .header-website-link .company-link {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  
  .main-header::before {
    animation: none !important;
    opacity: 0 !important;
  }
  
  .header-website-link .company-link::before {
    transition: none !important;
  }
  
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .main-header {
    background: rgba(255, 255, 255, 1) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-width: 3px;
    border-color: #000000;
  }
  
  .main-header::before {
    display: none !important;
  }
  
  .header-logo-brand {
    background: rgba(240, 240, 240, 1) !important;
    border-color: #000000 !important;
  }
  
  .header-company-name {
    color: #000000 !important;
    background: none !important;
    -webkit-text-fill-color: #000000 !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    text-shadow: none !important;
    filter: none !important;
  }
  
  .header-tagline {
    color: #333333 !important;
    text-shadow: none !important;
  }
  
  .header-website-link .company-link {
    background: rgba(59, 130, 246, 0.9) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    border-width: 2px !important;
    text-shadow: none !important;
  }
  
  .header-website-link .company-link::before {
    display: none !important;
  }
}

/* Enhanced mobile optimizations */
@media (max-width: 480px) {
  /* Very small screens - phones in portrait */
  .modern-header {
    min-height: 56px;
  }
  
  .header-container {
    padding: 0.5rem 0.75rem;
    gap: 0.75rem;
  }
  
  .header-logo-img {
    height: 36px;
  }
  
  .header-company-name {
    font-size: 0.9rem;
  }
  
  .header-tagline {
    font-size: 0.75rem;
  }
  
  .hero-section {
    padding: 100px 0 40px;
  }
  
  .hero-content {
    padding: 0 0.75rem;
    gap: 1.5rem;
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
    line-height: 1.1;
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: clamp(0.9rem, 4vw, 1rem);
    margin-bottom: 1rem;
  }
  
  .hero-badge {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .feature-item {
    padding: 0.875rem;
  }
  
  .feature-item h4 {
    font-size: 0.9rem;
  }
  
  .feature-item p {
    font-size: 0.8rem;
  }
  
  .cta-button {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  
  .content-nav {
    top: 56px;
    padding: 0.75rem 0.5rem;
  }
  
  .content-nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 0.75rem;
  }
  
  .card {
    border-radius: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .card-header {
    padding: 1.25rem 1rem 0.75rem;
  }
  
  .card-header h2 {
    font-size: 1.3rem;
  }
  
  .card-content {
    padding: 1.25rem;
  }
  
  /* Better touch targets */
  .support-phone,
  .support-form,
  .emergency-phone {
    min-height: 44px;
    padding: 0.75rem 1rem;
  }
  
  /* Enhanced table responsiveness */
  table {
    font-size: 0.8rem;
  }
  
  table th,
  table td {
    padding: 0.75rem 0.5rem !important;
  }
  
  /* Form optimizations for very small screens */
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .submit-btn,
  .reset-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    min-height: 44px;
  }
  
  /* Footer optimizations */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Touch-friendly improvements for all mobile devices */
@media (max-width: 768px) {
  /* Ensure all interactive elements are at least 44px tall */
  a, button, input, select, textarea, .radio-option {
    min-height: 44px;
  }
  
  /* Better spacing for touch interfaces */
  .radio-group {
    gap: 1rem;
  }
  
  .radio-option {
    padding: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .checklist li {
    padding: 1rem 0;
  }
  
  /* Improved table scrolling */
  table {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  /* Better image handling */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Enhanced grid layouts for mobile */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Better info boxes on mobile */
  .info-box {
    margin-bottom: 1rem;
    padding: 1.25rem;
  }
  
  /* Improved steps layout */
  .steps {
    gap: 1rem;
  }
  
  .step {
    padding: 1rem;
  }
}

/* Landscape phone optimizations */
@media (max-width: 896px) and (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    padding: 80px 0 30px;
  }
  
  .modern-header {
    min-height: 50px;
  }
  
  .header-container {
    padding: 0.5rem 1rem;
  }
  
  .content-nav {
    top: 50px;
    padding: 0.5rem;
  }
  
  .hero-content {
    gap: 1rem;
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 0.5rem;
  }
  
  .hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1rem);
    margin-bottom: 1rem;
  }
}

/* Mobile-responsive grid layouts for content sections */
@media (max-width: 768px) {
  /* Checklist and content grids that use 1fr 1fr should stack on mobile */
  .checklist-grid,
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Two-column grids with larger minimum widths should stack */
  div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  /* Support request form grid */
  .support-request-form div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Additional mobile enhancements for very small screens */
@media (max-width: 480px) {
  /* Force all complex grids to single column */
  div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  /* Adjust margins and padding in grid containers */
  div[style*="margin-bottom: 2rem"] {
    margin-bottom: 1.5rem !important;
  }
  
  div[style*="margin-bottom: 3rem"] {
    margin-bottom: 2rem !important;
  }
}

/* Mobile-specific improvements */
/* Phone number links styling for mobile */
a[href^="tel:"] {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

a[href^="tel:"]:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: scale(1.02);
}

/* Safe area padding for devices with notches */
@supports (padding: max(0px)) {
  .modern-header {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-top: max(0px, env(safe-area-inset-top));
  }
  
  .hero-content {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  
  .content-nav {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  
  .card-content {
    padding-left: max(2rem, calc(2rem + env(safe-area-inset-left)));
    padding-right: max(2rem, calc(2rem + env(safe-area-inset-right)));
  }
  
  footer {
    padding-left: max(2rem, calc(2rem + env(safe-area-inset-left)));
    padding-right: max(2rem, calc(2rem + env(safe-area-inset-right)));
    padding-bottom: max(2rem, calc(2rem + env(safe-area-inset-bottom)));
  }
}

/* Enhanced button styling for better touch targets */
@media (max-width: 768px) {
  /* Ensure all interactive elements are at least 44px tall */
  a, button, input, select, textarea, .radio-option {
    min-height: 44px;
  }
  
  .cta-button,
  .submit-btn,
  .reset-btn,
  .company-link {
    min-height: 48px;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  /* Improve tap target size for all clickable elements */
  .content-nav a,
  .footer-links a,
  .footer-contact-item {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
  }
  
  /* Better spacing for touch interfaces */
  .radio-group {
    gap: 1rem;
  }
  
  .radio-option {
    padding: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .checklist li {
    padding: 1rem 0;
  }
  
  /* Better spacing for mobile forms */
  .form-actions {
    gap: 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  
  .form-actions button {
    width: 100%;
    max-width: none;
  }
  
  /* Improved table scrolling */
  table {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  /* Better image handling */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Enhanced grid layouts for mobile */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Better info boxes on mobile */
  .info-box {
    margin-bottom: 1rem;
    padding: 1.25rem;
  }
  
  /* Improved steps layout */
  .steps {
    gap: 1rem;
  }
  
  .step {
    padding: 1rem;
  }
}

/* Dark mode considerations for mobile */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
  .card {
    border: 2px solid rgba(255, 255, 255, 0.1);
  }
  
  .card-content {
    background: rgba(0, 0, 0, 0.2);
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
  }
}

/* Mobile-responsive grid layouts for content sections */
@media (max-width: 768px) {
  /* Checklist and content grids that use 1fr 1fr should stack on mobile */
  .checklist-grid,
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Two-column grids with larger minimum widths should stack */
  div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  /* Support request form grid */
  .support-request-form div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Comprehensive mobile grid overrides for all sections */
@media (max-width: 768px) {
  /* All inline grid styles should stack on mobile */
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"],
  .benefits-grid[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Two-column grids with different ratios should stack */
  div[style*="grid-template-columns: 2fr 1fr"],
  div[style*="grid-template-columns: 1fr 2fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  /* Support request form grid */
  .support-request-form div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Ensure all checklist grids stack */
  .checklist-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Timeline table container needs proper mobile handling */
  div[style*="overflow-x: auto"] {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  
  /* Reduce excessive margins on mobile */
  div[style*="margin-bottom: 3rem"] {
    margin-bottom: 2rem !important;
  }
  
  div[style*="gap: 3rem"] {
    gap: 1.5rem !important;
  }
  
  /* Hero content special handling */
  .hero-content {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center;
  }
  
  /* Priority badge groups */
  .radio-group {
    gap: 0.75rem;
  }
  
  /* Info boxes in troubleshooting */
  .info-box {
    margin-bottom: 1rem;
    padding: 1rem;
  }
  
  /* Contact items need proper stacking */
  .contact-item {
    text-align: center;
    padding: 1.25rem;
  }
}

/* Mobile font size improvements for better readability */
@media (max-width: 480px) {
  /* Improve minimum font sizes for better mobile readability */
  body {
    font-size: 1rem;
  }
  
  /* Override small inline font sizes */
  div[style*="font-size: 0.9rem"],
  ul[style*="font-size: 0.9rem"],
  p[style*="font-size: 0.9rem"],
  a[style*="font-size: 0.9rem"] {
    font-size: 1rem !important;
  }
  
  /* Ensure headings are properly sized */
  h1 { font-size: clamp(1.8rem, 6vw, 2.5rem) !important; }
  h2 { font-size: clamp(1.4rem, 5vw, 1.8rem) !important; }
  h3 { font-size: clamp(1.2rem, 4vw, 1.4rem) !important; }
  h4 { font-size: clamp(1.1rem, 3vw, 1.2rem) !important; }
  
  /* Navigation should be readable */
  .content-nav a {
    font-size: 0.9rem !important;
    min-height: 48px;
  }
  
  /* Form labels and inputs */
  .form-group label {
    font-size: 1rem !important;
  }
  
  /* Button text */
  .cta-button,
  .submit-btn,
  .reset-btn {
    font-size: 1rem !important;
  }
  
  /* Footer text */
  .footer-section p,
  .footer-contact-item {
    font-size: 1rem !important;
  }
  
  /* List items in cards */
  .checklist li,
  .info-box ul li {
    font-size: 1rem !important;
  }
  
  /* Step content */
  .step-content {
    font-size: 1rem !important;
  }
}

@media (max-width: 768px) {
  /* Ensure good readability on tablets and larger phones */
  div[style*="font-size: 0.8rem"],
  div[style*="font-size: 0.85rem"] {
    font-size: 0.95rem !important;
  }
  
  /* Hero badge text */
  .hero-badge {
    font-size: 0.9rem !important;
  }
  
  /* Table text */
  table {
    font-size: 0.9rem !important;
  }
  
  table th,
  table td {
    padding: 1rem 0.75rem !important;
    line-height: 1.4;
  }
}

/* Mobile padding and spacing overrides */
@media (max-width: 768px) {
  /* Override large inline padding for tables */
  th[style*="padding: 1.5rem"],
  td[style*="padding: 1.5rem"] {
    padding: 0.75rem 0.5rem !important;
  }
  
  /* Reduce padding in info boxes and cards */
  div[style*="padding: 1.5rem"] {
    padding: 1rem !important;
  }
  
  /* Adjust margins for better mobile spacing */
  div[style*="margin-bottom: 2rem"] {
    margin-bottom: 1.5rem !important;
  }
  
  /* Emergency phone button needs proper mobile styling */
  .emergency-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 700;
  }
  
  /* Contact items should stack properly */
  .contact-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  /* Priority badge improvements */
  .priority-badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: inline-block;
    margin-left: 0.5rem;
  }
  
  .priority-badge.critical {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
  }
  
  .priority-badge.high {
    background: rgba(251, 191, 36, 0.2);
    color: var(--warning);
    border: 1px solid rgba(251, 191, 36, 0.3);
  }
  
  .priority-badge.medium {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
  }
  
  .priority-badge.low {
    background: rgba(6, 214, 160, 0.2);
    color: var(--success);
    border: 1px solid rgba(6, 214, 160, 0.3);
  }
}

@media (max-width: 480px) {
  /* Even more aggressive padding reduction for very small screens */
  th[style*="padding: 1.5rem"],
  td[style*="padding: 1.5rem"] {
    padding: 0.5rem 0.25rem !important;
    font-size: 0.9rem !important;
  }
  
  /* Reduce card padding significantly */
  div[style*="padding: 1.5rem"] {
    padding: 0.75rem !important;
  }
  
  /* Tighter margins */
  div[style*="margin-bottom: 2rem"] {
    margin-bottom: 1rem !important;
  }
  
  div[style*="margin-bottom: 1.5rem"] {
    margin-bottom: 1rem !important;
  }
  
  /* Make buttons stack better */
  .form-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .form-actions button {
    width: 100%;
    min-height: 48px;
  }
}

/* Form element mobile improvements */
@media (max-width: 768px) {
  /* Form grid should stack on mobile */
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  
  /* Ensure textarea is properly sized */
  textarea {
    min-height: 120px;
    resize: vertical;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* All form inputs should prevent iOS zoom */
  input[type="text"],
  input[type="email"], 
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important; /* Prevents zoom on iOS */
    min-height: 48px;
    padding: 0.75rem;
  }
  
  /* Radio buttons need better mobile spacing */
  .radio-option {
    padding: 1rem;
    min-height: 48px;
    border-radius: 0.75rem;
  }
  
  /* Form labels should be larger for mobile */
  .form-group label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  /* Request info section needs mobile styling */
  .request-info {
    margin-top: 2rem;
  }
  
  .request-info .info-box {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
  }
  
  .info-icon {
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .info-icon i {
    font-size: 2rem;
    color: var(--brand-blue);
  }
} 

/* Final mobile improvements for remaining sections */
@media (max-width: 768px) {
  /* Footer should stack properly */
  .footer-main {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-tech-logos {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* Glossary section improvements */
  div[style*="grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  /* Contact items in support section */
  div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Backup & data retention section */
  div[style*="margin-top: 3rem"] {
    margin-top: 2rem !important;
  }
  
  div[style*="padding: 2rem"] {
    padding: 1.25rem !important;
  }
  
  /* Support contact links should be touch-friendly */
  .contact-item a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
  }
  
  .contact-item a:hover {
    background: rgba(59, 130, 246, 0.1);
  }
}

@media (max-width: 480px) {
  /* Very small screen improvements */
  .footer-section {
    padding: 1rem;
  }
  
  .footer-content {
    padding: 2rem 0.75rem 1rem;
  }
  
  /* Contact icons should be larger on small screens */
  .contact-icon {
    font-size: 2.5rem !important;
    margin-bottom: 0.75rem;
  }
  
  /* Emergency phone button styling */
  .emergency-phone {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .emergency-phone:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-1px);
  }
  
  /* Ensure all buttons work well on small touch screens */
  .cta-button,
  .submit-btn,
  .reset-btn,
  .footer-links a,
  .footer-contact-item {
    min-height: 48px;
    touch-action: manipulation; /* Prevents double-tap zoom */
  }
  
  /* Progress bar mobile improvements */
  .progress-container {
    width: calc(100% - 1rem);
    margin: 1rem auto 0;
    padding: 0.75rem 1rem;
  }
  
  .progress-text {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

/* Landscape mobile optimizations */
@media (max-width: 896px) and (orientation: landscape) and (max-height: 500px) {
  /* Adjust for landscape phones */
  .content-nav {
    padding: 0.5rem;
  }
  
  .card-header {
    padding: 1rem 1.5rem 0.5rem;
  }
  
  .card-content {
    padding: 1rem 1.5rem;
  }
  
  /* Reduce vertical spacing in landscape */
  .hero-section {
    padding: 60px 0 30px;
  }
  
  .hero-content {
    gap: 1rem;
  }
}

/* High DPI mobile displays */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
  /* Ensure crisp text rendering on high DPI mobile screens */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Better icon rendering */
  i.fas, i.fab {
    -webkit-font-smoothing: antialiased;
  }
}