/**
 * Virtual Performance Tool - Modern Professional Design
 * Designed for billion-dollar business appearance
 */

/* =========================================
   MODERN CSS VARIABLES & FOUNDATIONS
========================================= */
:root {
  /* Primary Aviation Colors - Darker Blue Theme */
  --vpt-primary: #15222b; /* Dark professional blue */
  --vpt-primary-light: #365870; /* Lighter blue for highlights */
  --vpt-primary-dark: #0f1a21; /* Darker blue for depth */
  --vpt-red: #91162b; /* Custom VPT red color */
  --vpt-red-light: #a91d32; /* Lighter red for hover states */
  --vpt-accent: #f59e0b; /* Aviation amber/gold */
  --vpt-accent-light: #fbbf24; /* Light amber */

  /* Subscription Badge Colors - Metallic Premium Palette */
  --vpt-subscription-lite: #64748b; /* Cool Gray - Professional entry level */
  --vpt-subscription-standard: #f59e0b; /* Amber Gold - Premium middle tier */
  --vpt-subscription-pro: #91162b; /* VPT Red - Premium flagship */

  /* Modern Grays */
  --vpt-gray-50: #f9fafb;
  --vpt-gray-100: #f3f4f6;
  --vpt-gray-200: #e5e7eb;
  --vpt-gray-300: #d1d5db;
  --vpt-gray-400: #9ca3af;
  --vpt-gray-500: #6b7280;
  --vpt-gray-600: #4b5563;
  --vpt-gray-700: #374151;
  --vpt-gray-800: #1f2937;
  --vpt-gray-900: #111827;

  /* Semantic Colors */
  --vpt-success: #10b981;
  --vpt-warning: #f59e0b;
  --vpt-error: #ef4444;
  --vpt-info: #3b82f6;
  --red-600: #dc2626;
  --green-600: #16a34a;

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-display: "Inter", system-ui, sans-serif;

  /* Spacing System */
  --space-xs: 0.25rem; /* 4px */
  --space-sm: 0.5rem; /* 8px */
  --space-md: 1rem; /* 16px */
  --space-lg: 1.5rem; /* 24px */
  --space-xl: 2rem; /* 32px */
  --space-2xl: 3rem; /* 48px */
  --space-3xl: 4rem; /* 64px */
  --space-4xl: 6rem; /* 96px */

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* =========================================
   CUSTOM SCROLLBAR STYLING
========================================= */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--vpt-gray-100);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--vpt-red);
  border-radius: 6px;
  border: 2px solid var(--vpt-gray-100);
  transition: background-color var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--vpt-red-light);
}

::-webkit-scrollbar-thumb:active {
  background: #7d1427; /* Slightly darker red for active state */
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--vpt-red) var(--vpt-gray-100);
}

/* =========================================
   RESET & BASE STYLES
========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Prevent horizontal overflow */
* {
  max-width: 100%;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--vpt-gray-800);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

/* =========================================
   MODERN HEADER DESIGN WITH GRADIENT
========================================= */
.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(
    135deg,
    var(--vpt-primary) 0%,
    var(--vpt-primary-dark) 50%,
    #0a0f14 100%
  );
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
  box-shadow: 0 4px 20px rgba(21, 34, 43, 0.15);
}

.modern-header.scrolled {
  background: linear-gradient(
    135deg,
    rgba(21, 34, 43, 0.95) 0%,
    rgba(15, 26, 33, 0.95) 50%,
    rgba(10, 15, 20, 0.95) 100%
  );
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(21, 34, 43, 0.3);
}

.modern-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xl);
  max-width: 1400px;
  margin: 0 auto;
  margin-bottom: 0;
}

.modern-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  color: white; /* White text for gradient header */
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.modern-logo:hover {
  transform: scale(1.05);
  color: white; /* Ensure color stays white on hover */
}

.modern-logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* VPT Custom Branding */
.vpt-brand {
  color: white;
  font-weight: bold;
  font-size: 20px;
  line-height: 0 !important;
}

#vpt-brand-full {
  display: block;
}

#vpt-brand-short {
  display: none;
}

/* Media queries for VPT branding */
@media (max-width: 1024px) {
  #vpt-brand-full {
    display: none;
  }
}

@media (max-width: 580px) {
  #vpt-brand-full {
    display: none;
  }

  .modern-logo-icon {
    display: block;
  }
}

/* Contact section mobile optimization */
@media (max-width: 600px) {
  .contact-grid {
    gap: 1rem;
    padding: 0 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .contact-form-wrapper,
  .contact-info-card {
    padding: 1rem;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .contact-form-wrapper .contact-form-row {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .contact-form-row {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  /* Center specific elements in contact section */
  .contact-form-title,
  .contact-info-title {
    text-align: center;
  }

  .contact-submit {
    margin: 0 auto;
    display: block;
  }

  .contact-social-title {
    text-align: center;
  }

  .contact-social-links {
    justify-content: center;
  }

  .contact-info-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    max-width: 100%;
    word-wrap: break-word;
  }

  .contact-info-icon {
    width: 35px;
    height: 35px;
  }

  .contact-info-value,
  .contact-info-link {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Fleet legend responsive design */
@media (max-width: 992px) {
  .legend-container {
    min-width: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 1.5rem !important;
    margin: 0 auto 1rem auto !important;
    box-sizing: border-box;
  }

  .legend-container .row {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .legend-container .col-5,
  .legend-container .col-7 {
    max-width: 100% !important;
    flex: none !important;
    margin-bottom: 1rem;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .legend-container .col-5 > *,
  .legend-container .col-7 > * {
    text-align: center !important;
  }
}

/* Pricing section responsive design */
@media (max-width: 992px) {
  .row .col-lg-4.col-md-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

.modern-nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  list-style: none;
  margin: 0;
}

.modern-nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9); /* White text for gradient header */
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.025em;
  transition: var(--transition-fast);
  position: relative;
}

.modern-nav-link:hover {
  color: white;
}

.modern-nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--vpt-red);
  transition: var(--transition-fast);
}

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

.modern-cta-button {
  background: var(--vpt-red);
  color: white;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.modern-cta-button:hover {
  background: var(--vpt-red-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: white;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white; /* White for gradient header */
  cursor: pointer;
}

/* =========================================
   MODERN HERO SECTION
========================================= */
.modern-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.modern-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.modern-hero-text h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--vpt-gray-900);
  margin-bottom: var(--space-lg);
  font-family: var(--font-display);
}

.modern-hero-text .highlight {
  color: var(--vpt-primary);
  position: relative;
}

.modern-hero-text .highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--vpt-red);
  border-radius: 2px;
}

.modern-hero-subtitle {
  font-size: 1.1rem;
  color: var(--vpt-gray-600);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

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

.modern-btn-primary {
  background: var(--vpt-red);
  color: white;
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.modern-btn-primary:hover {
  background: var(--vpt-red-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.modern-btn-secondary {
  background: transparent;
  color: var(--vpt-gray-700);
  padding: var(--space-md) var(--space-2xl);
  border: 2px solid var(--vpt-gray-300);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

.modern-btn-secondary:hover {
  border-color: var(--vpt-red);
  color: var(--vpt-red);
  transform: translateY(-2px);
}

.modern-btn-accent {
  background: linear-gradient(
    135deg,
    var(--vpt-accent),
    var(--vpt-accent-light)
  );
  color: white;
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  justify-content: center;
}

.modern-btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
  text-decoration: none;
}

.modern-hero-visual {
  position: relative;
}

.modern-hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-2xl, 24px);
  box-shadow: var(--shadow-xl, 0 4px 12px rgba(0, 0, 0, 0.3));
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.6s ease;
  backface-visibility: hidden;
  will-change: transform;
}

.modern-hero-image:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

/* =========================================
   MODERN APP DOWNLOAD SECTION
========================================= */
.modern-app-section {
  padding: var(--space-4xl) 0;
  background: white;
  text-align: center;
}

.modern-app-container {
  max-width: min(800px, 100vw);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  box-sizing: border-box;
}

.modern-app-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--vpt-gray-900);
  margin-bottom: var(--space-md);
}

.modern-app-subtitle {
  font-size: 1.25rem;
  color: var(--vpt-gray-600);
  margin-bottom: var(--space-2xl);
}

.modern-app-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.modern-app-demo-text {
  font-size: 1.1rem;
  color: var(--vpt-gray-600);
  text-align: center;
  font-weight: 500;
  margin-top: var(--space-lg);
}

.modern-app-badge {
  display: inline-block;
  transition: var(--transition-fast);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.modern-app-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.modern-app-badge img {
  height: 60px;
  width: auto;
  display: block;
}

/* =========================================
   MODERN STATISTICS SECTION
========================================= */
.modern-stats-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(
    135deg,
    var(--vpt-primary) 0%,
    var(--vpt-primary-dark) 100%
  );
  color: white;
}

.modern-stats-container {
  max-width: min(1400px, 100vw);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  box-sizing: border-box;
}

.modern-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.modern-stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center !important;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modern-stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.modern-stat-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: white;
  width: 100%;
  text-align: center;
}

.modern-stat-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-sm);
  color: white;
  width: 100%;
  text-align: center;
}

.modern-stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  width: 100%;
  text-align: center;
}

/* Statistics Loading and Animation States */
.modern-stat-number.stat-loading {
  opacity: 0.6;
  position: relative;
}

.modern-stat-number.stat-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--vpt-accent);
  animation: stat-loading-spin 1s linear infinite;
}

.modern-stat-number.stat-updating {
  color: var(--vpt-accent);
  transition: all 0.3s ease;
}

.modern-stat-number.stat-loaded {
  color: white;
  transition: all 0.3s ease;
}

.modern-stat-number.stat-error {
  color: var(--vpt-error);
  opacity: 0.8;
}

@keyframes stat-loading-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* PureCounter animation enhancements */
.purecounter {
  transition: all 0.3s ease;
}

.purecounter.modern-stat-number {
  font-feature-settings: "tnum" 1; /* Use tabular numbers for better alignment */
  letter-spacing: -0.02em;
}

/* =========================================
   MODERN SECTION STYLES
========================================= */
.modern-section {
  padding: var(--space-4xl) 0;
}

.modern-section-container {
  max-width: min(1400px, 100vw);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  box-sizing: border-box;
}

.modern-section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.modern-section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--vpt-gray-900);
  margin-bottom: var(--space-md);
  position: relative;
}

.modern-section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--vpt-red);
  border-radius: 50px;
  clip-path: ellipse(100% 50% at center);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

.modern-section-subtitle {
  font-size: 1.25rem;
  color: var(--vpt-gray-600);
  max-width: 700px;
  margin: 0 auto;
}

/* =========================================
   MODERN QUESTION SECTION
========================================= */
.modern-question-section {
  padding: var(--space-4xl) 0;
  background: var(--vpt-gray-50);
  text-align: center;
}

.modern-question {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600; /* Reduced from 800 to fix "too bold" issue */
  color: var(--vpt-primary-dark);
  margin-bottom: var(--space-2xl);
  line-height: 1.2;
}

.modern-description {
  font-size: 1.5rem;
  color: var(--vpt-gray-700);
  margin-bottom: var(--space-lg);
}

.modern-sub-description {
  font-size: 1.25rem;
  color: var(--vpt-gray-600);
}

/* =========================================
   MODERN FOOTER
========================================= */
.modern-footer {
  background: var(--vpt-gray-900);
  color: white;
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.modern-footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.modern-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-4xl);
  margin-bottom: var(--space-4xl);
}

.modern-footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.modern-footer-brand img {
  width: 50px;
  height: 50px;
}

.modern-footer-brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.modern-footer-description {
  color: var(--vpt-gray-400);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.modern-footer-social {
  display: flex;
  gap: var(--space-md);
}

.modern-footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--vpt-gray-800);
  color: var(--vpt-gray-400);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 1.2rem;
}

.modern-footer-social-link:hover {
  background: var(--vpt-primary);
  color: white;
}

.modern-footer-section h4 {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

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

.modern-footer-links li {
  margin-bottom: var(--space-sm);
}

.modern-footer-links a {
  color: var(--vpt-gray-400);
  text-decoration: none;
  transition: var(--transition-fast);
}

.modern-footer-links a:hover {
  color: white;
}

.modern-footer-apps {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.modern-footer-app-badge {
  display: inline-block;
  transition: var(--transition-fast);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.modern-footer-app-badge:hover {
  transform: translateY(-2px);
}

.modern-footer-app-badge img {
  height: 60px !important;
  width: 180px !important;
  display: block;
  object-fit: contain;
}

.modern-footer-bottom {
  border-top: 1px solid var(--vpt-gray-800);
  padding-top: var(--space-2xl);
  text-align: center;
  color: var(--vpt-gray-400);
}

/* Footer specificity overrides to prevent conflicts with legacy styles */
.modern-footer .fa-brands {
  width: auto !important;
  height: auto !important;
  background: none !important;
  color: inherit !important;
  border-radius: 0 !important;
  margin: 0 !important;
  vertical-align: unset !important;
  position: static !important;
  transform: none !important;
}

.modern-footer .fa-brands::before {
  position: static !important;
  transform: none !important;
}

/* Ensure modern footer description text has proper spacing */
.modern-footer-description {
  word-spacing: normal !important;
  letter-spacing: normal !important;
}

/* Ensure modern footer bottom text is properly centered */
.modern-footer-bottom p {
  text-align: center !important;
  margin: 0 auto !important;
}

/* =========================================
   MODERN COMPARISON TABLE SECTION
========================================= */
.modern-comparison-section {
  padding: var(--space-4xl) 0;
  background: white;
}

.modern-comparison-table {
  max-width: min(900px, 100vw);
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--vpt-gray-200);
  box-sizing: border-box;
}

.modern-comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.modern-comparison-table thead tr {
  background: var(--vpt-gray-50);
}

.modern-comparison-table th {
  padding: var(--space-lg);
  text-align: left;
  font-weight: 700;
  color: var(--vpt-gray-900);
  border-bottom: 2px solid var(--vpt-gray-200);
  font-size: 1rem;
}

.modern-comparison-table th:nth-child(2),
.modern-comparison-table th:nth-child(3) {
  text-align: center;
}

.modern-comparison-table th:nth-child(3) {
  color: var(--vpt-primary);
}

.modern-comparison-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--vpt-gray-100);
  color: var(--vpt-gray-700);
}

.modern-comparison-table td:nth-child(2),
.modern-comparison-table td:nth-child(3) {
  text-align: center;
  font-size: 1.2rem;
}

.modern-comparison-table tbody tr:hover {
  background: var(--vpt-gray-50);
}

.modern-comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* Color coding for checkmarks and X marks */
.modern-comparison-table .text-red-600 {
  color: #dc2626;
}

.modern-comparison-table .text-green-600 {
  color: #16a34a;
}

/* =========================================
   RESPONSIVE DESIGN - ENHANCED
========================================= */
@media (max-width: 1200px) {
  .modern-nav {
    padding: var(--space-md) var(--space-lg);
  }

  .modern-section-container,
  .modern-app-container,
  .modern-stats-container,
  .modern-footer-content {
    padding: 0 var(--space-lg);
  }
}

@media (max-width: 1024px) {
  .modern-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }

  .modern-hero-cta {
    justify-content: center;
  }

  .modern-footer-grid {
    grid-template-columns: 2fr 1.5fr;
    grid-template-rows: auto auto;
    gap: var(--space-2xl);
  }

  /* Rearrange footer sections for 1024px */
  .modern-footer-grid > div:nth-child(1) {
    /* Brand section */
    order: 1;
    grid-column: 1;
    grid-row: 1;
  }

  .modern-footer-grid > div:nth-child(2) {
    /* Quick Access */
    order: 2;
    grid-column: 2;
    grid-row: 1;
  }

  .modern-footer-grid > div:nth-child(3) {
    /* Legal */
    order: 4;
    grid-column: 2;
    grid-row: 2;
  }

  .modern-footer-grid > div:nth-child(4) {
    /* App Downloads */
    order: 3;
    grid-column: 1;
    grid-row: 2;
  }

  .modern-section-container #contact > div {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .modern-header {
    overflow: visible !important;
  }

  .modern-nav {
    overflow: visible !important;
    position: relative;
  }

  .modern-nav-links {
    display: none;
    position: fixed;
    top: 55px;
    left: 0;
    right: 0;
    background: linear-gradient(
      135deg,
      rgba(21, 34, 43, 0.9) 0%,
      rgba(15, 26, 33, 0.9) 50%,
      rgba(8, 12, 16, 0.93) 100%
    );
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-sm) var(--space-xl) var(--space-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-top: none;
    z-index: 1001;
  }

  .modern-nav-links.show {
    display: flex;
  }

  /* Prevent body scroll when mobile menu is open */
  body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  .modern-nav-link {
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .modern-nav-link:last-child {
    border-bottom: none;
  }

  .mobile-menu-toggle {
    display: block;
    z-index: 1001;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .modern-nav {
    padding: var(--space-md);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .modern-hero {
    padding-top: 100px;
    min-height: 90vh;
  }

  .modern-hero-content {
    padding: 0 var(--space-lg);
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

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

  .modern-hero-cta {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .modern-btn-primary,
  .modern-btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .modern-section-container,
  .modern-app-container,
  .modern-stats-container,
  .modern-footer-content {
    padding: 0 var(--space-lg);
  }

  .modern-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .modern-stat-card {
    padding: var(--space-md);
  }

  .modern-stat-icon {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    width: 100%;
    text-align: center;
  }

  .modern-comparison-table {
    margin: 0 var(--space-md);
    font-size: 0.9rem;
  }

  .modern-comparison-table th,
  .modern-comparison-table td {
    padding: var(--space-sm) var(--space-md);
  }

  .modern-news-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .modern-stat-number {
    font-size: 1.5rem;
    width: 100%;
    text-align: center;
  }

  .modern-stat-label {
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
  }

  .modern-footer-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    gap: var(--space-xl);
    text-align: center;
  }

  /* Footer section ordering for mobile */
  .modern-footer-grid > div:nth-child(1) {
    /* Brand section */
    order: 1 !important;
    grid-column: unset !important;
    grid-row: unset !important;
  }

  .modern-footer-grid > div:nth-child(2) {
    /* Quick Access */
    order: 3 !important;
    grid-column: unset !important;
    grid-row: unset !important;
  }

  .modern-footer-grid > div:nth-child(3) {
    /* Legal */
    order: 4 !important;
    grid-column: unset !important;
    grid-row: unset !important;
  }

  .modern-footer-grid > div:nth-child(4) {
    /* App Downloads */
    order: 2 !important;
    grid-column: unset !important;
    grid-row: unset !important;
  }

  /* Center footer elements on mobile */
  .modern-footer-brand {
    justify-content: center;
  }

  .modern-footer-apps {
    justify-content: center;
    align-items: center;
  }

  .modern-footer-social {
    justify-content: center;
  }

  .modern-app-badges {
    flex-direction: column;
    align-items: center;
  }

  .modern-app-badge img {
    height: 50px;
  }

  /* Team section responsive */
  .modern-section-container #team > div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Features section responsive */
  .modern-section-container #features > div:last-child {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Contact form responsive */
  .modern-section-container
    #contact
    > div
    > div:first-child
    form
    > div:first-child {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .modern-hero-text h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .modern-question {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .modern-section-title {
    font-size: 1.5rem;
  }

  .modern-hero-subtitle {
    font-size: 1rem;
  }

  .modern-description {
    font-size: 1.1rem;
  }

  .modern-sub-description {
    font-size: 1rem;
  }

  .modern-btn-primary,
  .modern-btn-secondary {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.95rem;
  }

  .modern-nav {
    padding: var(--space-sm) var(--space-md);
  }

  .modern-logo {
    font-size: 1.1rem;
  }

  .modern-logo-icon {
    width: 35px;
    height: 35px;
  }

  .modern-section-container,
  .modern-app-container,
  .modern-stats-container,
  .modern-footer-content {
    padding: 0 var(--space-md);
  }

  .modern-section {
    padding: var(--space-3xl) 0;
  }

  .modern-app-section,
  .modern-stats-section,
  .modern-question-section {
    padding: var(--space-3xl) 0;
  }

  .modern-stat-card {
    padding: var(--space-xl);
  }

  .modern-stat-number {
    font-size: 2rem;
    width: 100%;
    text-align: center;
  }
}

/* Fix for very small screens */
@media (max-width: 360px) {
  .modern-nav {
    padding: var(--space-sm);
  }

  .modern-logo {
    font-size: 1rem;
  }

  .modern-logo-icon {
    width: 30px;
    height: 30px;
  }

  .modern-hero-text h1 {
    font-size: 1.5rem;
  }

  .modern-question {
    font-size: 1.5rem;
  }

  .modern-section-container,
  .modern-app-container,
  .modern-stats-container,
  .modern-footer-content {
    padding: 0 var(--space-sm);
  }
}

/* Fix header overflow on small screens */
.modern-header {
  overflow-x: hidden;
}

.modern-nav {
  width: 100%;
  overflow-x: hidden;
}

.modern-logo {
  min-width: 0;
  flex-shrink: 1;
}

.modern-logo-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* Ensure app badges are visible in footer */
.modern-footer-app-badge img {
  filter: brightness(0.9);
  transition: var(--transition-fast);
}

.modern-footer-app-badge:hover img {
  filter: brightness(1);
}

/* Ensure uniform app badge sizes */
.modern-app-badge img,
.modern-footer-app-badge img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .modern-app-badge img {
    height: 50px;
  }

  .modern-footer-app-badge img {
    height: 50px !important;
    width: 150px !important;
  }
}

/* =========================================
   UTILITY CLASSES
========================================= */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

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

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

.hidden {
  display: none;
}
.visible {
  display: block;
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* =========================================
   PROFESSIONAL PUNCH LINE SECTION
========================================= */
.modern-punchline-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(
    135deg,
    var(--vpt-gray-900) 0%,
    var(--vpt-primary-dark) 50%,
    var(--vpt-gray-900) 100%
  );
  position: relative;
  overflow: hidden;
}

.modern-punchline-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.05"><path d="M0,50 Q250,0 500,50 T1000,50 L1000,100 L0,100 Z"/></svg>');
  background-size: 100% 100%;
}

.modern-punchline-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  text-align: center;
  position: relative;
  z-index: 2;
}

.modern-punchline-text {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
  line-height: 1.2;
  position: relative;
}

/* =========================================
   MODERN NEWS & UPDATES SECTION
========================================= */
.modern-news-section {
  margin-top: var(--space-4xl);
}

.modern-news-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--vpt-primary-dark);
  margin-bottom: var(--space-2xl);
  text-align: center;
  position: relative;
}

.modern-news-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--vpt-accent);
  border-radius: 2px;
}

.modern-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.modern-news-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--vpt-gray-200);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.modern-news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--vpt-red);
}

.modern-news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.modern-news-card:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(145, 22, 43, 0.15);
  border-radius: var(--radius-xl);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modern-news-date {
  color: var(--vpt-primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.modern-news-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vpt-gray-900);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.modern-news-card p {
  color: var(--vpt-gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.modern-news-link {
  color: var(--vpt-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.modern-news-link:hover {
  color: var(--vpt-red);
}

/* =========================================
   ENHANCED RESPONSIVE DESIGN FOR LARGE SCREENS
========================================= */

/* Enhanced container widths for larger screens */
@media (min-width: 1600px) {
  .modern-nav,
  .modern-hero-content,
  .modern-section-container,
  .modern-app-container {
    max-width: min(1600px, 100vw);
  }

  .modern-hero-content {
    gap: var(--space-4xl);
  }

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

  .modern-hero-subtitle {
    font-size: 1.4rem;
  }

  .modern-section-title {
    font-size: 3rem;
  }

  .modern-section-subtitle {
    font-size: 1.3rem;
  }

  /* Enhanced grid layouts for wide screens */
  .modern-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
  }

  .modern-news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }

  .modern-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
  }
}

/* Ultra-wide screen support */
@media (min-width: 2000px) {
  .modern-nav,
  .modern-hero-content,
  .modern-section-container,
  .modern-app-container {
    max-width: 1800px;
  }

  .modern-hero-text h1 {
    font-size: 4rem;
  }
}

.ipad-frame {
  aspect-ratio: 820 / 600;
  width: 100%;
  max-width: 820px;
  background-color: #111;
  border-radius: 40px;
  padding: 2.5%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  border: 6px solid #3a3a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  cursor: pointer;
}

/* Screen glance effect overlay */
.ipad-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3) 50%,
    transparent
  );
  border-radius: 20px;
  transition: left 0.8s ease;
  z-index: 2;
  pointer-events: none;
}

.ipad-frame:hover::before {
  left: 100%;
}

/* The screen image itself - completely minimal */
.ipad-screen {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: contain;
  object-position: center;
}

/* Automatic glance animation */
@keyframes screen-glance {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.ipad-frame.auto-glance::before {
  animation: screen-glance 3s ease-in-out;
}

/* High-DPI display optimizations for crisp images */

/* =========================================
   ADDITIONAL STYLES FROM INLINE CSS
========================================= */

/* Image optimizations */
.ipad-screen-optimized {
  image-rendering: -webkit-optimize-contrast;
}

/* Comparison Table Styles */
.comparison-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table thead tr {
  background: var(--vpt-gray-50);
}

.comparison-table th {
  padding: 1.5rem;
  font-weight: 700;
  color: var(--vpt-gray-900);
  border-bottom: 2px solid var(--vpt-gray-200);
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table th:not(:first-child) {
  text-align: center;
}

.comparison-table th.vpt-header {
  color: var(--vpt-primary);
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--vpt-gray-100);
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.comparison-table td {
  padding: 1rem 1.5rem;
  color: var(--vpt-gray-700);
}

.comparison-table td.text-center {
  text-align: center;
}

.comparison-table td.text-red {
  color: var(--red-600);
}

.comparison-table td.text-green {
  color: var(--green-600);
}

/* Small descriptive text under icons */
.comparison-table td small {
  display: block;
  font-size: 0.75rem;
  color: var(--vpt-gray-500);
  margin-top: 0.25rem;
  line-height: 1.2;
}

/* Comparison disclaimer styling */
.comparison-disclaimer {
  text-align: center;
  margin: 2rem auto 1rem;
  max-width: 600px;
  padding: 0 1rem;
}

.comparison-disclaimer .disclaimer-text {
  margin: 0;
  color: var(--vpt-gray-500);
  font-size: 0.8rem;
  line-height: 1.4;
  padding: 0.75rem 1.25rem;
  background: var(--vpt-gray-50);
  border-radius: 0.5rem;
  border-left: 3px solid var(--vpt-gray-300);
}

.comparison-disclaimer .disclaimer-text em {
  font-style: italic;
  color: var(--vpt-gray-600);
}

/* Comparison section call-to-action */
.comparison-cta {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem 0;
}

/* Section background variations */
.section-bg-gray {
  background: var(--vpt-gray-50);
}

/* Video section wrapper */
.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Partners section specific spacing */
#partners .modern-section-header {
  margin-bottom: 1rem; /* Significantly reduced from 6rem to 1rem */
}

/* Comparison section specific spacing */
#comparison .modern-section-header {
  margin-bottom: 1rem; /* Significantly reduced from 6rem to 1rem */
}

/* Testimonials section specific spacing */
#testimonials .modern-section-header {
  margin-bottom: 1rem; /* Significantly reduced from 6rem to 1rem */
}

/* News section specific spacing */
#news .modern-section-header {
  margin-bottom: 2rem; /* Balanced spacing between subtitle and cards */
}

/* Team section specific spacing */
#team .modern-section-header {
  margin-bottom: 2rem; /* Balanced spacing between subtitle and cards */
}

/* Contact section specific spacing */
#contact .modern-section-header {
  margin-bottom: 2rem; /* Balanced spacing between subtitle and content */
}

/* Partners grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
  padding: 2rem 0;
}

.partner-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 200px;
  transition: all 0.3s ease;
  border: 1px solid var(--vpt-gray-100);
}

/* Partner Link Specific Styling */
.partner-link.partner-card {
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
}

.partner-link.partner-card:hover,
.partner-link.partner-card:focus,
.partner-link.partner-card:visited,
.partner-link.partner-card:active {
  text-decoration: none !important;
  color: inherit;
}

.partner-logo {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.3s ease;
}

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

.partner-name {
  font-weight: 600;
  color: var(--vpt-gray-700);
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.3;
}

.partner-card:hover .partner-name {
  color: var(--vpt-primary);
}

/* Responsive partners grid */
@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem 0;
  }

  .partner-card {
    min-height: 120px;
    padding: 1.5rem 1rem;
  }

  .partner-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 0.75rem;
  }

  .partner-name {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .partner-card {
    max-width: 180px;
    margin: 0 auto;
  }
}

/* Team grid layout */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--vpt-gray-900);
}

.team-role {
  color: var(--vpt-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.team-bio {
  color: var(--vpt-gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.team-tags {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-tag {
  background: var(--vpt-gray-100);
  color: var(--vpt-gray-700);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Team grid responsive */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

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

/* Testimonials Carousel */
.modern-testimonials-section {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-carousel {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border-radius: 1.5rem;
  background: white;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1),
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 3rem 2rem;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-quote {
  text-align: center;
  margin: 0;
}

.testimonial-quote p {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--vpt-gray-700);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-weight: 400;
  max-height: none;
  overflow: visible;
}

.testimonial-quote cite {
  font-size: 0.95rem;
  color: var(--vpt-primary);
  font-weight: 600;
  font-style: normal;
}

.testimonial-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--vpt-gray-300);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.indicator.active {
  background: var(--vpt-primary);
  transform: scale(1.2);
}

.indicator:hover {
  background: var(--vpt-primary);
  opacity: 0.7;
}

/* Responsive testimonials */
@media (max-width: 768px) {
  .testimonial-carousel {
    padding: 2rem 1.5rem;
    min-height: 300px;
  }

  .testimonial-slide {
    padding: 2rem 1.5rem;
  }

  .testimonial-quote p {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/* Testimonials mobile optimization */
@media (max-width: 664px) {
  .testimonial-carousel {
    padding: 1.5rem 1rem;
    min-height: 350px;
  }

  .testimonial-slide {
    padding: 1.5rem 1rem;
    height: auto;
    min-height: 320px;
  }

  .testimonial-quote p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .testimonial-quote cite {
    font-size: 0.85rem;
  }
}

/* Very small screens testimonials optimization */
@media (max-width: 520px) {
  .testimonial-carousel {
    padding: 1rem 0.75rem;
    min-height: 400px;
  }

  .testimonial-slide {
    padding: 1rem 0.75rem;
    height: auto;
    min-height: 370px;
  }

  .testimonial-quote p {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
  }

  .testimonial-quote cite {
    font-size: 0.75rem;
  }
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.video-modal.active {
  display: flex;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--vpt-primary);
  opacity: 0.9;
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  z-index: 10000;
  animation: modalSlideIn 0.3s ease-out;
}

.video-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.video-modal-close:hover {
  background: rgba(0, 0, 0, 1);
  transform: scale(1.1);
}

.video-modal-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  width: 100%;
}

.video-modal-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Modal animation */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Modal responsive */
@media (max-width: 768px) {
  .video-modal {
    padding: 1rem;
  }

  .video-modal-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Contact section layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}

.contact-form-wrapper {
  background: white;
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1),
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--vpt-gray-900);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-input {
  padding: 1rem;
  border: 2px solid var(--vpt-gray-200);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-family: var(--font-primary);
  transition: var(--transition-fast);
  background: white;
}

/* Placeholder styling for all inputs */
.contact-input::placeholder {
  color: var(--vpt-gray-500);
}

/* Select dropdown specific styling */
.contact-input select,
select.contact-input {
  color: var(--vpt-gray-500);
  cursor: pointer;
}

/* Style the selected option to be darker */
.contact-input option {
  color: var(--vpt-gray-900);
}

/* When a real option is selected, make text darker */
.contact-input:not([value=""]):not(:invalid) {
  color: var(--vpt-gray-900);
}

.contact-textarea {
  padding: 1rem;
  border: 2px solid var(--vpt-gray-200);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-family: var(--font-primary);
  resize: vertical;
  transition: var(--transition-fast);
  background: white;
  flex: 1;
}

.contact-submit {
  justify-self: start;
  margin-top: auto;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
}

.contact-info-card {
  background: var(--vpt-primary);
  color: white;
  padding: 2.5rem;
  border-radius: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-info-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-value {
  opacity: 0.9;
  margin: 0;
}

.contact-info-link {
  color: white;
  opacity: 0.9;
  text-decoration: none;
}

.contact-info-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
}

.contact-social-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-social-links {
  display: flex;
  gap: 1rem;
}

.contact-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vpt-gray-400);
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-social-link:hover {
  background: var(--vpt-primary);
  color: white;
}

/* Back to top button - specific positioning and style */
.back-to-top-fixed {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 999;
  box-sizing: border-box;
}
