/* CheckMet - Main Stylesheet
   Modern, professional styling for CheckMet Facial Recognition Attendance System
   Created: April 2025
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color palette - Professional & Accessible */
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --secondary: #059669;
  --secondary-dark: #047857;
  --success: #059669;
  --danger: #dc2626;
  --warning: #d97706;
  --info: #0284c7;
  
  /* Neutral colors - Enhanced contrast */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  
  /* Text colors for better readability */
  --text-primary: #0f172a;
  --text-secondary: #1e293b;
  --text-muted: #475569;
  --text-inverse: #ffffff;
  --text-light: #64748b;
  
  /* Typography */
  --font-sans: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  
  /* Typography scale */
  --text-xs: 0.75rem;   /* 12px */
  --text-sm: 0.875rem;  /* 14px */
  --text-base: 1rem;    /* 16px */
  --text-lg: 1.125rem;  /* 18px */
  --text-xl: 1.25rem;   /* 20px */
  --text-2xl: 1.5rem;   /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem;  /* 36px */
  --text-5xl: 3rem;     /* 48px */
  --text-6xl: 3.75rem;  /* 60px */
  
  /* Line heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  /* 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);
}

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
  background-color: var(--neutral-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}

.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  text-shadow: none;
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h2 {
  font-size: var(--text-4xl);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: var(--text-2xl);
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 500;
}

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

button, .btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  border: none;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

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

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.navbar-logo span {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 0.25rem;
}

.navbar-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.navbar-link {
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  line-height: 1;
}

.navbar-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 0px;
  text-decoration-thickness: 2px;
}

/* Button styles */
.btn-primary {
  background-color: var(--primary);
  color: var(--text-inverse);
  border: 2px solid var(--primary);
  font-weight: 700; /* Bolder text */
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.8); /* Stronger shadow + inner glow */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Text shadow for depth */
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px); /* Slightly more lift */
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.5);
  color: var(--text-inverse);
}

.btn-secondary {
  background-color: #ffffff; /* Solid white background */
  color: var(--primary); /* Primary blue text */
  border: 3px solid var(--primary); /* Thicker, solid border */
  font-weight: 700; /* Bolder text */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow */
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.4);
}

.btn-demo {
  color: var(--primary);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  margin-left: 1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.btn-demo:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

/* Dark theme mobile menu */
.dark-theme .mobile-menu-toggle {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.dark-theme .mobile-menu-toggle:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Header/Hero section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-inverse);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/pattern.svg');
  background-size: cover;
  opacity: 0.1;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 800px;
  color: var(--text-inverse);
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.6), 0 2px 5px rgba(0, 0, 0, 0.4); /* Stronger shadow */
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%); /* Brighter gradient */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin-bottom: 2.5rem;
  color: var(--text-inverse);
  font-weight: 600;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3); /* Stronger shadow */
  line-height: 1.6;
  opacity: 1; /* Fully opaque */
}

.hero-cta .btn-secondary {
  background-color: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
  font-weight: 700; /* Bolder text */
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.8); /* Stronger shadow + inner glow */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Text shadow for depth */
}

.hero-cta .btn-secondary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-inverse);
  transform: translateY(-3px); /* Slightly more lift */
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.5);
}

.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* Mobile grid layout for hero features */
@media (max-width: 992px) {
  .hero-features {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 100%;
    width: 100%;
  }
  
  .hero-feature:nth-child(1) { grid-column: 1; grid-row: 1; }
  .hero-feature:nth-child(2) { grid-column: 2; grid-row: 1; }
  .hero-feature:nth-child(3) { grid-column: 1; grid-row: 2; }
  .hero-feature:nth-child(4) { grid-column: 2; grid-row: 2; }
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 200px;
}

/* Mobile hero feature adjustments */
@media (max-width: 992px) {
  .hero-feature {
    max-width: none;
    padding: 1rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  
  .hero-feature-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
  }
  
  .hero-feature-text {
    font-size: 0.9rem;
    line-height: 1.4;
    flex-grow: 1;
    display: flex;
    align-items: center;
  }
  
  .hero-feature-icon {
    margin-bottom: 1rem;
    flex-shrink: 0;
  }
}

.hero-feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.hero-feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-inverse);
}

.hero-feature-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  text-align: center;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--text-inverse);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid var(--neutral-200);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-inverse);
  padding: 6rem 0 4rem;
  text-align: center;
}

.page-header-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-header-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-inverse);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-header-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-inverse);
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Pricing Section */
.pricing-toggle-section {
  padding: 1rem 0 2rem;
  text-align: center;
}

.pricing-toggle-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* This aligns the toggle with the Standard plan */
.pricing-toggle {
  grid-column: 1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  background-color: var(--neutral-100);
  border-radius: 30px;
  padding: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.pricing-toggle-option {
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--neutral-600);
  transition: all 0.3s ease;
  border-radius: 25px;
  user-select: none;
}

.pricing-toggle-option.active {
  color: var(--primary);
  font-weight: 600;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  margin: 0 0.5rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--neutral-300);
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.save-badge {
  background-color: var(--success);
  color: white;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  margin-left: 0.5rem;
  font-weight: 600;
}

/* Pricing Plans */
.pricing-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-plan {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--neutral-200);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-plan:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.pricing-plan.highlighted {
  border: 2px solid var(--primary);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.pricing-plan-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
}

.pricing-plan-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--neutral-200);
}

.pricing-plan-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pricing-plan-subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.pricing-plan-price {
  margin-bottom: 1rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pricing-period {
  color: var(--text-muted);
  font-size: 1rem;
}

.pricing-plan-employees {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-weight: 400;
  line-height: 1.6;
  font-size: 0.875rem;
}

.pricing-plan-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pricing-plan-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.pricing-plan-features {
  padding: 2rem;
  flex: 1;
}

.pricing-features-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

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

.pricing-feature {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 400;
}

.pricing-feature i {
  margin-right: 0.5rem;
  color: var(--primary);
  font-size: 1rem;
}

.pricing-feature.inactive {
  color: var(--text-light);
}

.pricing-feature.inactive i {
  color: var(--neutral-400);
}

/* Footer Styles */
.footer {
  background-color: var(--neutral-900);
  color: var(--text-inverse);
  padding: 3rem 0 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.footer-logo {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer p {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-column-title {
  color: var(--text-inverse);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-column-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 2px;
}

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

.footer-link {
  margin-bottom: 0.75rem;
}

.footer-link a {
  color: var(--text-inverse);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-link a:hover {
  color: var(--text-inverse);
  transform: translateX(5px);
  display: inline-block;
}

.footer-link a::before {
  content: '→';
  position: absolute;
  left: -0.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateX(-10px);
}

.footer-link a:hover::before {
  opacity: 1;
  transform: translateX(0);
  color: var(--primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer-copyright {
  color: var(--neutral-500);
  margin: 1rem 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.footer-legal-link {
  color: var(--neutral-500);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Responsive footer adjustments */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

/* Demo Request Page Styles */
.demo-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.demo-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNmZmZmZmYiPjxwYXRoIGQ9Ik0wIDB2MTQwaDEyODBWMEgweiIvPjwvZz48L3N2Zz4=');
  background-size: 100% 100px;
  background-repeat: no-repeat;
  background-position: bottom;
  opacity: 0.1;
  z-index: 0;
}

.demo-request {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.demo-request-content {
  padding-right: 2rem;
}

.demo-request-content h2 {
  margin-bottom: 1.25rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--neutral-900);
  font-size: 1.75rem;
  line-height: 1.3;
}

.demo-request-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--neutral-700);
  margin-bottom: 2rem;
}

.demo-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.demo-benefit {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background-color: white;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--neutral-200);
}

.demo-benefit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.demo-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  font-size: 1.25rem;
  border-radius: var(--radius-md);
}

.demo-benefit-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--neutral-900);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.demo-benefit-content p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--neutral-600);
  margin-bottom: 0;
}

.demo-testimonial {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  position: relative;
}

.demo-testimonial::before {
  content: '\201C';
  font-size: 5rem;
  font-family: Georgia, serif;
  position: absolute;
  top: -1.5rem;
  left: 1rem;
  color: var(--primary-light);
  opacity: 0.4;
}

.demo-testimonial-text {
  font-size: 1.05rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--neutral-800);
  margin-bottom: 1.25rem;
}

.demo-testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.demo-testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.demo-testimonial-name {
  font-weight: 600;
  color: var(--neutral-900);
  margin: 0;
  font-size: 1rem;
}

.demo-testimonial-position {
  color: var(--neutral-600);
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
}

.demo-request-form {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--neutral-200);
}

.form-container {
  padding: 2rem;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--neutral-900);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.form-subtitle {
  color: var(--neutral-600);
  margin-bottom: 1.75rem;
  font-size: 0.9375rem;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

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

.form-group label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--neutral-700);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}

.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error {
  border-color: var(--error);
  background-color: rgba(var(--error-rgb), 0.05);
}

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

.contact-form select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.form-submit {
  margin-top: 1rem;
}

.form-submit button {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.form-submit button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
}

.form-submit button i {
  font-size: 1.125rem;
}

.form-success {
  text-align: center;
  padding: 2rem 1rem;
}

.form-success-icon {
  font-size: 3rem;
  color: var(--success);
  margin-bottom: 1.5rem;
  animation: scaleUp 0.5s ease;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--neutral-900);
}

.form-success p {
  color: var(--neutral-600);
}

@keyframes scaleUp {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Privacy notes */
.form-privacy {
  font-size: 0.8125rem;
  color: var(--neutral-500);
  margin-top: 1.5rem;
  text-align: center;
}

.form-privacy a {
  color: var(--primary);
  text-decoration: none;
}

/* Responsive for demo page */
@media (max-width: 992px) {
  .demo-request {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .demo-request-content {
    padding-right: 0;
  }
}

@media (max-width: 576px) {
  .demo-benefit {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .demo-benefit-icon {
    margin-bottom: 1rem;
  }
  
  .demo-testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  
  .form-container {
    padding: 1.5rem;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.97) 50%, rgba(239, 246, 255, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: 1px solid rgba(37, 99, 235, 0.15);
    border-bottom: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 8px 32px rgba(35, 91, 211, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    padding: 1rem 1.25rem;
    border-radius: 0 0 18px 18px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .navbar-links.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar-link {
    margin: 0.25rem 0;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .navbar-link:hover {
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, rgba(59, 130, 246, 0.9) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
  }

  .navbar-link.active {
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  }

  .btn-demo {
    display: block !important;
    margin: 1rem auto 0.5rem;
    width: calc(100% - 3rem);
    align-self: center;
    background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
    color: white;
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
  }

  .btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.4);
    color: white;
  }

  .navbar-logo {
    color: var(--primary) !important;
  }

  .navbar-logo span {
    color: var(--primary) !important;
  }

  .mobile-menu-toggle {
    display: block;
    color: white;
    background: rgba(37, 99, 235, 0.9);
    border: 1px solid rgba(37, 99, 235, 0.3);
    font-size: 1.5rem;
    padding: 0.875rem;
  }

  .mobile-menu-toggle:hover {
    background: rgba(37, 99, 235, 1);
    color: white;
    transform: scale(1.05);
  }

  .mobile-menu-toggle.active {
    background: rgba(220, 38, 38, 0.9);
    border-color: rgba(220, 38, 38, 0.3);
    transform: rotate(90deg);
  }

  /* Hamburger animation */
  .mobile-menu-toggle i {
    transition: all 0.3s ease;
    display: block;
  }

  .mobile-menu-toggle.active .fa-bars {
    display: none;
  }

  .mobile-menu-toggle.active::after {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: block;
  }

  /* Dark theme adjustments */
  .dark-theme .mobile-menu-toggle {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.3);
  }

  .dark-theme .mobile-menu-toggle:hover {
    background: rgba(30, 41, 59, 1);
    border-color: rgba(148, 163, 184, 0.5);
  }

  .dark-theme .mobile-menu-toggle.active {
    background: rgba(220, 38, 38, 0.9);
    border-color: rgba(220, 38, 38, 0.3);
  }

  .hero-container {
    flex-direction: column-reverse;
  }
}

/* How it works section */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  position: relative;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

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

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
}

.step-description {
  color: var(--neutral-600);
}

/* Testimonials */
.testimonials {
  background: var(--neutral-100);
  padding: 5rem 0;
}

.testimonial {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--neutral-700);
  position: relative;
}

.testimonial-text::before {
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.1em;
  vertical-align: -0.4em;
  color: var(--primary);
  opacity: 0.3;
}

.testimonial-text::after {
  content: close-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-left: 0.1em;
  vertical-align: -0.4em;
  color: var(--primary);
  opacity: 0.3;
}

.testimonial-author {
  font-weight: 600;
  color: var(--neutral-800);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--neutral-500);
}

/* CTA section */
.cta {
  background: linear-gradient(45deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.cta-text {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.cta-button {
  background-color: white;
  color: var(--primary);
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background-color: var(--neutral-50);
}

/* Forms */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.form-select {
  appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23475569" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

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

.form-button {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  font-size: 1rem;
}

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

/* Footer */
.footer {
  background-color: var(--neutral-900);
  color: var(--text-inverse);
  padding: 3rem 0 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  display: block;
}

.footer-column-title {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 0.75rem;
}

.footer-link a {
  color: var(--neutral-400);
  transition: color 0.3s ease;
}

.footer-link a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  color: var(--neutral-400);
  transition: color 0.3s ease;
  font-size: 1.25rem;
}

.footer-social-link:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--neutral-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-link {
  font-size: 0.875rem;
  color: var(--neutral-400);
  transition: color 0.3s ease;
}

.footer-legal-link:hover {
  color: white;
}

/* Responsive styles */
/* Large tablets and small desktops */
@media (max-width: 1200px) {
  .hero-container {
    padding: 0 1rem;
  }
  
  .section-container {
    padding: 0 1rem;
  }
  
  .navbar-container {
    padding: 0 1rem;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .hero {
    padding: 4rem 0 3rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-image-container {
    order: 2;
    margin-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .hero-image {
    width: 90%;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }
  
  .hero-features {
    order: 3;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
    margin-top: 4rem;
    width: 100%;
    clear: both;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .pricing-plans {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .cta-container {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-image {
    margin-top: 2rem;
  }
  
  .cta-stats {
    justify-content: center;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .navbar {
    background-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
  }
  
  .navbar-container {
    padding: 0 1rem;
  }
  
  .navbar-logo {
    color: var(--primary) !important;
    font-size: 1.25rem;
  }
  
  .navbar-logo span {
    color: var(--primary) !important;
  }

  /* Ensure mobile menu elements are visible */
  .navbar-links .theme-toggle {
    display: block !important;
    margin: 0.5rem 0;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--primary);
  }

  .navbar-links .btn-demo {
    display: block !important;
    margin: 0.75rem 0 0.5rem;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white !important;
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
    order: 999;
  }

  .navbar-links .btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.4);
    color: white;
  }
  
  .hero-image-container {
    margin-top: 2rem;
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: 100vw;
  }
  
  .hero-image {
    width: 100%;
    max-width: 90vw;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(1.0);
    margin-bottom: 3rem;
  }
  
  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.97) 50%, rgba(239, 246, 255, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: 1px solid rgba(37, 99, 235, 0.15);
    border-bottom: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border-radius: 0 0 18px 18px;
  }

  /* Dark theme mobile menu */
  .dark-theme .navbar-links {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.97) 50%, rgba(51, 65, 85, 0.98) 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(148, 163, 184, 0.1);
  }

  .dark-theme .navbar-logo {
    color: var(--primary) !important;
  }

  .dark-theme .navbar-logo span {
    color: var(--primary) !important;
  }

  .dark-theme .navbar-link {
    color: var(--text-color);
  }

  .dark-theme .navbar-link:hover {
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, rgba(59, 130, 246, 0.9) 100%);
  }

  .dark-theme .navbar-link.active {
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  }
  
  .navbar-links.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .navbar-link {
    margin: 0.25rem 0;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .navbar-link:hover {
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, rgba(59, 130, 246, 0.9) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
  }

  .navbar-link.active {
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  }
  
  /* Remove duplicate btn-demo rules - handled in 768px media query */
  
  
  .hero {
    padding: 3rem 0 2rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-features {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 0.75rem;
    margin-top: 4rem;
    clear: both;
  }
  
  .hero-feature {
    max-width: none;
    padding: 0.75rem;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .demo-request {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .demo-request-content {
    padding-right: 0;
  }
  
  .demo-benefits {
    gap: 1rem;
  }
  
  .demo-benefit {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 1rem;
  }
  
  .demo-benefit-icon {
    margin-bottom: 1rem;
  }
  
  .contact-options {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .office-locations {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-text {
    font-size: 1rem;
  }
  
  .cta-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-legal {
    justify-content: center;
  }
  
  .table-responsive {
    overflow-x: auto;
  }
  
  .feature-table {
    min-width: 600px;
  }
  
  .pricing-toggle-container {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  
  .faq-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .integration-categories {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .integration-category {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .navbar-container {
    padding: 0 0.75rem;
  }
  
  .hero {
    padding: 2rem 0 1.5rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero-image {
    width: 100%;
    max-width: 85vw;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: scale(1.0);
    margin-bottom: 3rem;
  }
  
  .hero-features {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
    margin-top: 4rem;
    clear: both;
  }
  
  .hero-feature {
    padding: 0.5rem;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .hero-feature-title {
    font-size: 1rem;
  }
  
  .hero-feature-text {
    font-size: 0.8rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-container {
    padding: 0 0.75rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  .feature-card {
    padding: 1.25rem;
  }
  
  .feature-title {
    font-size: 1.1rem;
  }
  
  .feature-description {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 0.9rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .cta-text {
    font-size: 0.9rem;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .form-container {
    padding: 1.5rem;
  }
  
  .demo-testimonial-author {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .integrations-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .integration-card {
    padding: 1rem;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.6rem;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
  }
  
  .hero-image {
    width: 100%;
    max-width: 80vw;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    transform: scale(1.0);
    margin-bottom: 3rem;
  }
  
  
  .page-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  .navbar-container {
    padding: 0 0.5rem;
  }
  
  .section-container {
    padding: 0 0.5rem;
  }
  
  .form-container {
    padding: 1rem;
  }
}

/* Additional responsive utilities */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-responsive table {
  min-width: 600px;
  width: 100%;
}

/* Process steps responsive */
@media (max-width: 768px) {
  .demo-process,
  .process-step {
    display: block;
  }
  
  .process-step {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-md);
  }
  
  .process-step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .process-step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--neutral-900);
  }
  
  .process-step-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
  }
}

/* Animation classes */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s ease forwards;
}

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

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

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

/* Utility classes */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-white { color: white; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
