/* ScanningAssist Modern Brand Design */

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

:root {
  /* Brand Colors */
  --brand-navy: #2f5aae;
  --brand-navy-dark: #1e3b73;
  --brand-navy-light: #4a6bb8;
  --brand-red: #be574b;
  --brand-red-dark: #a04539;
  --brand-red-light: #d46b5e;
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Spacing & Layout */
  --container-max: 1200px;
  --section-padding: 5rem 0;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 50;
  transition: all 0.2s ease;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 85px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-menu a {
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--brand-navy);
}

/* Dropdown Menu Styles */
.nav-menu li {
  position: relative;
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.dropdown-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
  margin: 0;
  list-style: none;
}

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

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: var(--gray-50);
  color: var(--brand-navy);
}

.nav-cta {
  background: var(--brand-red);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hero Section with Video Background */
.hero {
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.75) 0%, 
    rgba(30, 41, 59, 0.8) 50%,
    rgba(47, 90, 174, 0.85) 100%);
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-text {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-text {
    text-align: left;
  }
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subheading {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 520px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1024px) {
  .hero-subheading {
    margin-left: 0;
  }
}

@media (max-width: 1023px) {
  .hero-subheading {
    margin-left: auto;
    margin-right: auto;
  }
}

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

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--brand-red);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--brand-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: white;
  transform: translateY(-1px);
  backdrop-filter: blur(10px);
}

.trust-band {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  justify-content: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  flex-wrap: wrap;
}

.trust-band span {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.trust-band span:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .trust-band {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}


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

.device-mockup {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.device-mockup:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) scale(1.02);
}

/* Elite Dashboard Widget */
.elite-dashboard {
  max-width: 100%;
  position: relative;
}

.dashboard-gradient {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(248, 250, 252, 1) 100%);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.dashboard-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(47, 90, 174, 0.05) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.dashboard-gradient:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.35);
}

.dashboard-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.dashboard-icon {
  width: 4rem;
  height: 4rem;
  background: var(--brand-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 25px rgba(190, 87, 75, 0.3);
  flex-shrink: 0;
}

.dashboard-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.dashboard-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.dashboard-subtitle {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.safety-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.metric-card {
  background: rgba(47, 90, 174, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(47, 90, 174, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.metric-card:hover {
  background: rgba(47, 90, 174, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(47, 90, 174, 0.15);
}

.metric-value {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.metric-value.safety-green {
  color: #10b981;
}

.metric-value.incident-blue {
  color: #3b82f6;
}

.metric-value.response-purple {
  color: #8b5cf6;
}

.metric-value.compliance-orange {
  color: #0ea5e9;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonial-quote {
  text-align: center;
  position: relative;
  z-index: 2;
}

.testimonial-quote p {
  font-size: 0.875rem;
  color: var(--gray-700);
  font-style: italic;
  line-height: 1.5;
}

/* Mobile optimizations for elite dashboard */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    padding: 6rem 0 3rem;
    position: relative;
  }
  
  .hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      radial-gradient(circle at 20% 30%, rgba(47, 90, 174, 0.8) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(190, 87, 75, 0.6) 0%, transparent 50%),
      linear-gradient(135deg, 
        #0f1419 0%, 
        #1e2a35 25%, 
        #2d3e50 50%, 
        #34495e 75%, 
        #2c3e50 100%);
    z-index: 1;
  }
  
  .hero-video-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      repeating-linear-gradient(
        90deg,
        transparent,
        transparent 98px,
        rgba(255, 255, 255, 0.02) 100px
      ),
      repeating-linear-gradient(
        0deg,
        transparent,
        transparent 98px,
        rgba(255, 255, 255, 0.02) 100px
      );
    animation: grid-move 20s linear infinite;
  }
  
  .hero-video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      conic-gradient(from 0deg at 30% 40%, transparent 0deg, rgba(47, 90, 174, 0.1) 60deg, transparent 120deg),
      conic-gradient(from 180deg at 70% 60%, transparent 0deg, rgba(190, 87, 75, 0.08) 60deg, transparent 120deg);
    animation: rotate 30s linear infinite;
  }
  
  @keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
  }
  
  .hero-video-background video {
    display: none;
  }
  
  .hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
  }
  
  .hero-content {
    position: relative;
    z-index: 10;
  }
  
  .hero-headline {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .hero-subheading {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  
  .trust-band {
    display: none;
  }
  
  .btn-ghost {
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
  }
  
  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
  }
  
  .dashboard-gradient {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
  }
  
  .safety-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .metric-card {
    padding: 1rem;
  }
  
  .metric-value {
    font-size: 1.5rem;
  }
  
  .dashboard-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 5rem 0 2rem;
  }
  
  .hero-headline {
    font-size: 2rem;
  }
  
  .hero-subheading {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .dashboard-gradient {
    padding: 1rem;
  }
  
  .safety-metrics {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .testimonial-quote p {
    font-size: 0.8rem;
  }
}

/* Stats Band - Enhanced */
.stats {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(47, 90, 174, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(190, 87, 75, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.stats .container {
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-navy), #64748b);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.stat:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.stat:nth-child(1)::before {
  background: linear-gradient(90deg, #475569, #334155);
}

.stat:nth-child(2)::before {
  background: linear-gradient(90deg, #0ea5e9, #0284c7);
}

.stat:nth-child(3)::before {
  background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.stat:nth-child(4)::before {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.stat-number {
  display: block;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  letter-spacing: -0.02em;
}

.stat:nth-child(1) .stat-number {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat:nth-child(2) .stat-number {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat:nth-child(3) .stat-number {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat:nth-child(4) .stat-number {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray-700);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  line-height: 1.2;
}

/* Floating particles effect */
.stat::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 15%;
  width: 8px;
  height: 8px;
  background: rgba(47, 90, 174, 0.2);
  border-radius: 50%;
  animation: float 3s ease-in-out infinite;
}

.stat:nth-child(2)::after {
  top: 15%;
  right: 20%;
  background: rgba(190, 87, 75, 0.2);
  animation-delay: 0.5s;
}

.stat:nth-child(3)::after {
  top: 25%;
  right: 10%;
  background: rgba(139, 92, 246, 0.2);
  animation-delay: 1s;
}

.stat:nth-child(4)::after {
  top: 18%;
  right: 25%;
  background: rgba(245, 158, 11, 0.2);
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-10px) scale(1.2);
    opacity: 0.3;
  }
}

/* Mobile optimizations for stats */
@media (max-width: 768px) {
  .stats {
    padding: 3rem 0;
  }
  
  .stats-grid {
    gap: 1.5rem;
  }
  
  .stat {
    padding: 2rem 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .stat-label {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    gap: 1rem;
  }
  
  .info-item {
    padding: 0.875rem;
    gap: 0.625rem;
  }
  
  .info-item h4 {
    font-size: 0.95rem;
  }
  
  .info-item p {
    font-size: 0.8rem;
    line-height: 1.2;
  }
  
  .email-text {
    font-size: 0.7rem !important;
    letter-spacing: -0.02em;
  }
  
  .info-icon {
    width: 36px;
    height: 36px;
  }
  
  .info-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* Creative Section Divider */
.section-divider {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
  text-align: center;
}

.divider-content {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--brand-navy) 50%, transparent 100%);
}

.divider-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-red) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1rem;
  color: white;
  animation: rotate-pulse 4s ease-in-out infinite;
}

.divider-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

@keyframes rotate-pulse {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
}

.divider-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Feature Sections - Clean Rebuild */
.feature-section {
  padding: 80px 0;
  position: relative;
  display: none;
}

.feature-section.enhanced-feature {
  display: none;
}

.feature-section:nth-child(even) {
  background: #f8fafc;
}

.feature-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-red) 100%);
  color: white;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.title-highlight {
  background: linear-gradient(135deg, var(--brand-red) 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-metrics {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.feature-metrics .metric-item {
  text-align: center;
}

.feature-metrics .metric-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.25rem;
}

.feature-metrics .metric-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Center button when it's the only element */
.feature-actions:has(#watchDemoBtn:only-child) {
  justify-content: center;
}

@media (max-width: 768px) {
  .feature-actions {
    justify-content: center;
  }
}

/* Watch Demo Button Enhancements - Red Styling */
#watchDemoBtn {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(190, 87, 75, 0.3);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 48px;
  width: 100%;
}

#watchDemoBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(190, 87, 75, 0.4);
  background: linear-gradient(135deg, var(--brand-red-dark) 0%, #8b3a2f 100%);
}

#watchDemoBtn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(190, 87, 75, 0.3);
}

/* Add subtle animation */
#watchDemoBtn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

#watchDemoBtn:hover::before {
  left: 100%;
}

/* Desktop specific styles */
@media (min-width: 769px) {
  #watchDemoBtn {
    width: auto;
    min-width: 200px;
    max-width: 280px;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
  }
  
  .feature-actions {
    justify-content: flex-start;
  }
}

.feature-link {
  color: var(--brand-navy);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.feature-link:hover {
  color: var(--brand-red);
  transform: translateX(3px);
}

.image-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: white;
  padding: 15px;
}

.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(47, 90, 174, 0.9);
  color: white;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.tech-icon {
  animation: bounce 2s infinite;
}

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

/* Mobile optimizations for enhanced features */
@media (max-width: 768px) {
  .feature-metrics {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .feature-actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
  }
  
  .feature-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
  }
  
  .feature-actions .feature-link {
    margin-top: 0.5rem;
    font-size: 0.95rem;
  }
  
  .bg-circle {
    width: 100px;
    height: 100px;
  }
  
  .divider-content {
    max-width: 250px;
  }
}

/* Platform Showcase - Creative Video Section */
.platform-showcase {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, var(--gray-50) 100%);
  position: relative;
  overflow: hidden;
}

.showcase-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.float-element {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(47, 90, 174, 0.1) 0%, rgba(190, 87, 75, 0.1) 100%);
  animation: float-slow 8s ease-in-out infinite;
}

.float-element:nth-child(2) {
  animation-delay: 2s;
  background: linear-gradient(135deg, rgba(190, 87, 75, 0.1) 0%, rgba(47, 90, 174, 0.1) 100%);
}

.float-element:nth-child(3) {
  animation-delay: 4s;
  background: linear-gradient(135deg, rgba(47, 90, 174, 0.08) 0%, rgba(190, 87, 75, 0.08) 100%);
}

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.3;
  }
}

.showcase-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--brand-red) 0%, #d97706 100%);
  color: white;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(190, 87, 75, 0.3);
}

.showcase-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.showcase-title .highlight {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.showcase-description {
  font-size: 1.2rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.video-showcase {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.video-frame {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.video-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15);
}

.video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.video-controls {
  display: flex;
  gap: 0.5rem;
}

.control-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control-dot.red {
  background: #dc2626;
}

.control-dot.yellow {
  background: #64748b;
}

.control-dot.green {
  background: #10b981;
}

.video-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
}

.video-content {
  position: relative;
}

.video-content video {
  width: 100%;
  height: auto;
  display: block;
}

.video-overlay-info {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.info-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.badge-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(47, 90, 174, 0.1);
  transition: all 0.3s ease;
  width: 100%;
}

.feature-highlight:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(5px);
  box-shadow: 0 10px 25px rgba(47, 90, 174, 0.1);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-red) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Mobile optimizations */
@media (max-width: 1024px) {
  .video-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .showcase-features {
    flex-direction: row;
    overflow-x: auto;
    padding: 0 1rem;
  }
  
  .feature-highlight {
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .platform-showcase {
    padding: 3rem 0;
  }
  
  .showcase-header {
    margin-bottom: 3rem;
  }
  
  .showcase-features {
    flex-direction: column;
    padding: 0;
    gap: 1.5rem;
  }
  
  .feature-highlight {
    min-width: auto;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 1.25rem;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(47, 90, 174, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }
  
  .feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
  }
  
  .feature-icon svg {
    width: 1.4rem;
    height: 1.4rem;
  }
  
  .feature-content {
    flex: 1;
  }
  
  .feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
  }
  
  .feature-content p {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--gray-600);
    margin: 0;
  }
}
  
  .video-header {
    padding: 0.75rem 1rem;
  }
  
  .video-title {
    font-size: 0.8rem;
  }
}

/* Feature Content Layout */
.feature-section .feature-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 992px) {
  .feature-section .feature-content {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  
  .feature-section:nth-child(even) .feature-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .feature-section:nth-child(even) .feature-text {
    order: 2;
  }
  
  .feature-section:nth-child(even) .feature-image {
    order: 1;
  }
}

/* Text Content */
.feature-text {
  text-align: center;
}

@media (min-width: 992px) {
  .feature-text {
    text-align: left;
  }
}

.feature-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 20px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .feature-title {
    font-size: 2rem;
  }
}

.feature-description {
  font-size: 1.125rem;
  color: #4a5568;
  margin-bottom: 25px;
  line-height: 1.6;
}

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

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.5;
}

.feature-list li::before {
  content: '✓';
  color: #be574b;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Image Content */
.feature-image {
  max-width: 500px;
  margin: 0 auto;
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


/* Security Section */
.security {
  padding: var(--section-padding);
  background: var(--gray-900);
  color: white;
  text-align: center;
}

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

.security-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.security-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.security-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.security-icon {
  width: 60px;
  height: 60px;
  background: var(--brand-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

.security-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.security-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  padding: var(--section-padding);
  background: var(--gray-50);
  text-align: center;
}

.testimonials-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: left;
}

.testimonial-quote {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.testimonial-title {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* Services Section */
.services-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.services-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(47, 90, 174, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(190, 87, 75, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, var(--brand-navy) 0%, #1e2a35 50%, var(--brand-navy-dark) 100%);
}

.services-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 20, 25, 0.2);
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.services-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(47, 90, 174, 0.1) 0%, rgba(190, 87, 75, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(47, 90, 174, 0.3);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(47, 90, 174, 0.2);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2f5aae, #be574b);
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(47, 90, 174, 0.3);
}

.service-icon svg {
  width: 40px;
  height: 40px;
  color: white;
  fill: white;
  stroke: white;
}

.service-icon-large svg {
  width: 48px;
  height: 48px;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(47, 90, 174, 0.4);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.service-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* Animation for service cards */
.service-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.service-card.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .services-section {
    padding: 3rem 0;
  }
  
  .services-header {
    margin-bottom: 3rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 72px;
    height: 72px;
  }
  
  .service-icon svg {
    width: 36px;
    height: 36px;
  }
  
  .service-icon-large svg {
    width: 42px;
    height: 42px;
  }
}

/* Deployment Flexibility */
.deployment-flexibility {
  padding: var(--section-padding);
  background: var(--gray-50);
  position: relative;
}

.deployment-content {
  max-width: 1200px;
  margin: 0 auto;
}

.deployment-header {
  text-align: center;
  margin-bottom: 4rem;
}

.deployment-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-red) 100%);
  color: white;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.deployment-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.deployment-title .highlight {
  color: var(--brand-blue);
}

.deployment-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.deployment-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .deployment-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .deployment-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.deployment-option {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
}

.deployment-option:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue);
}

.option-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.option-icon {
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-icon svg {
  width: 32px;
  height: 32px;
  color: white;
  fill: white;
  stroke: white;
}

.deployment-option:hover .option-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(47, 90, 174, 0.3);
}

.option-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.option-description {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.option-features li {
  color: var(--gray-700);
  font-size: 0.9rem;
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.option-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: 600;
}

.deployment-cta {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.cta-text {
  font-size: 1.05rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.deployment-cta .btn {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

/* Animation for deployment options */
.deployment-option {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.deployment-option.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .deployment-flexibility {
    padding: 3rem 0;
  }
  
  .deployment-header {
    margin-bottom: 3rem;
  }
  
  .deployment-option {
    padding: 1.5rem;
  }
  
  .option-icon {
    width: 50px;
    height: 50px;
  }
  
  .option-icon svg {
    width: 28px;
    height: 28px;
  }
}

/* Contact Form */
.contact-form {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #0f1419 0%, #1e2a35 100%);
  position: relative;
  overflow: hidden;
}

.contact-form::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 100 100"><defs><pattern id="waves" width="50" height="20" patternUnits="userSpaceOnUse"><path d="M0 10c12.5-5 12.5-5 25 0s12.5 5 25 0 12.5-5 25 0" stroke="%23ffffff" stroke-width="0.5" fill="none" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>') repeat;
  pointer-events: none;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.contact-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.98) !important;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  backdrop-filter: blur(25px);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18), 0 12px 24px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.4s ease;
  transform: translateY(0);
  min-height: 140px;
}

.info-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25), 0 15px 30px rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 1) !important;
  border-color: rgba(255, 255, 255, 0.6);
}

.info-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  flex-shrink: 0;
  box-shadow: 0 6px 15px rgba(14, 165, 233, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.info-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0.15;
  transform: scale(1.3);
  z-index: -1;
}

.info-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(14, 165, 233, 0.5);
}

.info-icon svg {
  width: 2rem;
  height: 2rem;
  color: white !important;
  stroke: white !important;
  fill: none !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.info-item h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937 !important;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  line-height: 1.3;
}

.info-item p {
  color: #4b5563 !important;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.info-content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.info-content h4 {
  margin: 0 0 0.25rem 0;
}

.info-content p {
  white-space: normal;
  word-break: break-word;
}

.email-text {
  font-size: 0.85rem !important;
  word-break: break-all !important;
  overflow-wrap: anywhere !important;
  hyphens: manual !important;
  max-width: 100% !important;
  display: block !important;
}

.contact-form-container {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(47, 90, 174, 0.1);
}

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

/* Custom Captcha */
.captcha-container {
  margin: 2rem 0;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
  overflow: hidden;
}

.captcha-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: white;
  position: relative;
}

.captcha-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.captcha-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

.captcha-content {
  padding: 1.5rem;
}

.captcha-challenge {
  text-align: center;
}

.captcha-question {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.captcha-sequence {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.captcha-options {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.captcha-option {
  min-width: 3rem;
  height: 3rem;
  background: white;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.5rem;
}

.captcha-option:hover {
  border-color: var(--brand-navy);
  background: rgba(47, 90, 174, 0.05);
  transform: scale(1.05);
}

.captcha-option.selected {
  border-color: var(--brand-navy);
  background: var(--brand-navy);
  color: white;
}

.captcha-verified {
  border-color: #10b981 !important;
}

.captcha-verified .captcha-header {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.loading-captcha {
  text-align: center;
  padding: 2rem;
  color: var(--gray-500);
  font-style: italic;
}

.captcha-error {
  text-align: center;
  padding: 2rem;
  color: #ef4444;
}

.puzzle-challenge {
  text-align: center;
}

.puzzle-question {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.puzzle-sequence {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.sequence-item {
  width: 3rem;
  height: 3rem;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  transition: all 0.2s ease;
}

.sequence-item.mystery {
  border-color: var(--brand-red);
  background: rgba(190, 87, 75, 0.1);
  color: var(--brand-red);
}

.puzzle-options {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.puzzle-option {
  width: 2.5rem;
  height: 2.5rem;
  background: white;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.puzzle-option:hover {
  border-color: var(--brand-navy);
  background: rgba(47, 90, 174, 0.05);
  transform: scale(1.05);
}

.puzzle-option.selected {
  border-color: var(--brand-navy);
  background: var(--brand-navy);
  color: white;
}

.puzzle-option.correct {
  border-color: #10b981;
  background: #10b981;
  color: white;
}

.captcha-hint {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-style: italic;
}

.captcha-success {
  text-align: center;
  padding: 2rem;
  color: #10b981;
}

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

.refresh-captcha {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.refresh-captcha:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(180deg);
}

.loading-captcha {
  padding: 2rem;
  text-align: center;
  color: var(--gray-500);
  font-style: italic;
}

.form-submit {
  width: 100%;
  padding: 1.25rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  border: none;
  color: white;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}\n\n.form-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(14, 165, 233, 0.4);
}

.form-submit:disabled {
  background: var(--gray-300);
  color: var(--gray-500);
  cursor: not-allowed;
  transform: none;
}

.form-submit:disabled:hover {
  background: var(--gray-300);
  transform: none;
  box-shadow: none;
}

/* Form Messages */
.form-message {
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  border-left: 4px solid;
  animation: slideDown 0.3s ease;
}

.form-message.success {
  background: #f0f9f4;
  color: #15803d;
  border-left-color: #22c55e;
}

.form-message.error {
  background: #fef2f2;
  color: #dc2626;
  border-left-color: #ef4444;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Success Popup Modal */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-overlay.hide {
  opacity: 0;
  visibility: hidden;
}

.success-popup {
  background: white;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 90%;
  transform: scale(0.7) translateY(50px);
  transition: all 0.3s ease;
}

.success-popup.show {
  transform: scale(1) translateY(0);
}

.popup-content {
  text-align: center;
  padding: 40px 30px;
}

.success-icon-large {
  font-size: 64px;
  margin-bottom: 20px;
  animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.popup-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.popup-message {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 30px;
}

.popup-btn {
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: white;
  min-width: 100px;
}

.popup-btn.primary:hover {
  background: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47, 90, 174, 0.3);
}

@media (max-width: 640px) {
  .success-popup {
    margin: 20px;
    max-width: none;
  }
  
  .popup-content {
    padding: 30px 24px;
  }
  
  .success-icon-large {
    font-size: 48px;
    margin-bottom: 16px;
  }
  
  .popup-title {
    font-size: 20px;
    margin-bottom: 14px;
  }
  
  .popup-message {
    font-size: 15px;
    margin-bottom: 24px;
  }
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video-modal.show {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  max-width: 90vw;
  max-height: 90vh;
  width: 1000px;
  overflow: hidden;
  transform: scale(0.7) translateY(50px);
  transition: all 0.3s ease;
}

.video-modal.show .video-modal-content {
  transform: scale(1) translateY(0);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: white;
}

.video-modal-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.video-modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

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

.video-container {
  position: relative;
  width: 100%;
  background: #000;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 70vh;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .video-modal-content {
    width: 95vw;
    max-width: 95vw;
    margin: 20px;
  }
  
  .video-modal-header {
    padding: 16px 20px;
  }
  
  .video-modal-title {
    font-size: 18px;
  }
  
  .video-modal-close {
    font-size: 28px;
    width: 36px;
    height: 36px;
  }
  
  .video-container video {
    max-height: 60vh;
  }
}

@media (max-width: 480px) {
  .video-modal-content {
    width: 98vw;
    margin: 10px;
    border-radius: 12px;
  }
  
  .video-modal-header {
    padding: 14px 16px;
  }
  
  .video-modal-title {
    font-size: 16px;
  }
  
  .video-container video {
    max-height: 50vh;
  }
}

/* Service Pages Styles */
.service-hero {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.service-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-navy);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.service-icon {
  font-size: 1.2rem;
}

.service-headline {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.service-subheading {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.service-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 500;
}

.service-actions {
  display: flex;
  gap: 1rem;
}

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

.service-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.service-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.service-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-highlight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--gray-800);
}

.highlight-icon {
  font-size: 1.2rem;
}

/* Service Features Section */
.service-features {
  padding: 4rem 0;
  background: white;
}

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

.feature-card {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: white;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--brand-navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Technical Section */
.service-tech {
  background: var(--gray-900);
  color: white;
  padding: 4rem 0;
}

.tech-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.tech-info p {
  font-size: 1.1rem;
  color: var(--gray-300);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.tech-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tech-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.tech-icon {
  font-size: 1.5rem;
  min-width: 40px;
}

.tech-feature h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: white;
}

.tech-feature p {
  color: var(--gray-400);
  margin: 0;
  font-size: 0.95rem;
}

.tech-dashboard {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--gray-900);
  box-shadow: var(--shadow-xl);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-100);
}

.dashboard-header h3 {
  font-size: 1.5rem;
  margin: 0;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-400);
}

.status-dot.active {
  background: #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.metric {
  text-align: center;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* Benefits Section */
.service-benefits {
  background: var(--gray-50);
  padding: 4rem 0;
}

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

.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

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

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.benefit-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Service Contact Section */
.service-contact {
  background: var(--brand-navy);
  color: white;
  padding: 4rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.contact-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.2rem;
  min-width: 24px;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), 0 15px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.4);
  width: 100%;
  transform: translateY(0);
  transition: all 0.4s ease;
  color: var(--gray-900);
  min-height: 650px;
}

.contact-form-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25), 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
}

.contact-form-container::before {
  content: 'Schedule Demo Today';
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.contact-form-container::after {
  content: 'Complete the form below and our aquatic safety experts will contact you within 24 hours.';
  display: block;
  font-size: 1.1rem;
  color: var(--gray-700);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  opacity: 0.9;
}

.contact-form-container h4 {
  color: var(--gray-900) !important;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.contact-form-container p {
  color: var(--gray-700) !important;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  text-align: center;
  opacity: 0.9;
  line-height: 1.6;
}

.contact-form-container label {
  color: var(--gray-800) !important;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: block;
  letter-spacing: 0.3px;
}

.contact-form-container input,
.contact-form-container textarea {
  color: var(--gray-900) !important;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  width: 100%;
  box-sizing: border-box;
  min-height: 56px;
}

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

.contact-form-container input:focus,
.contact-form-container textarea:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
  outline: none;
  background: rgba(255, 255, 255, 1);
}

.contact-form-container input::placeholder,
.contact-form-container textarea::placeholder {
  color: var(--gray-500) !important;
}

/* FORCE READABLE TEXT COLORS - HIGHEST PRIORITY */
section.contact-form .contact-info .info-item h4,
div.contact-info .info-item h4,
.contact-form .contact-info .info-item h4,
.contact-wrapper .contact-info .info-item h4,
.info-item h4 {
  color: #1f2937 !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

section.contact-form .contact-info .info-item p,
div.contact-info .info-item p,
.contact-form .contact-info .info-item p,
.contact-wrapper .contact-info .info-item p,
.info-item p {
  color: #374151 !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

/* Override any white text from parent containers */
section.contact-form,
.contact-form {
  color: inherit !important;
}

/* Modern Contact Section */
.contact-modern {
  position: relative;
  z-index: 1;
}

.contact-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(14, 165, 233, 0.5); }
  50% { box-shadow: 0 0 30px rgba(14, 165, 233, 0.8); }
}

.contact-title-modern {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-description {
  font-size: 1.25rem;
  color: #94a3b8;
  margin-bottom: 2rem;
}

.quick-contact-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.quick-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(10px);
}

.quick-contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(14, 165, 233, 0.5);
}

.quick-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.quick-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.quick-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.quick-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  word-break: break-word;
}

.contact-form-modern {
  max-width: 600px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: #94a3b8;
  font-size: 1rem;
}

/* Force reset all text colors in info items */
.contact-form .info-item,
.info-item {
  color: #1f2937 !important;
}

.contact-form .info-item h4,
.info-item h4 {
  color: #1f2937 !important;
}

.contact-form .info-item p,
.info-item p {
  color: #374151 !important;
}

.contact-form .info-item div,
.info-item div {
  color: inherit !important;
}

/* Nuclear option - reset everything */
[class*="contact"] .info-item h4 {
  color: #1f2937 !important;
}

[class*="contact"] .info-item p {
  color: #374151 !important;
}

/* Ensure icons are always visible */
.contact-info .info-icon,
.info-icon {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
}

.contact-info .info-icon svg,
.info-icon svg {
  color: white !important;
  stroke: white !important;
  fill: none !important;
}

/* Mobile Responsiveness for Service Pages */
@media (max-width: 768px) {
  .service-hero {
    padding: 6rem 0 3rem;
  }
  
  .service-hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .service-headline {
    font-size: 2.5rem;
  }
  
  .service-stats {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .service-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .tech-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .dashboard-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .service-headline {
    font-size: 2rem;
  }
  
  .service-stats {
    flex-direction: column;
    text-align: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Aquatic Safety Professional Styling */
.aquatic-hero {
  position: relative;
  background: #1a1a1a;
  color: white;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
}

.hero-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.aquatic-hero-content {
  position: relative;
  z-index: 3;
}

.hero-text-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.service-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-icon {
  font-size: 2.5rem !important;
  line-height: 1 !important;
  font-weight: bold !important;
  color: #0ea5e9 !important;
  display: inline-block !important;
  margin-right: 0.25rem !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  text-align: center !important;
  vertical-align: middle !important;
}

.aquatic-headline {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.highlight-text {
  background: linear-gradient(45deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.aquatic-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.hero-stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-desc {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
}

/* Core Features Modern Styling */
.core-features-section {
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
  color: white;
  padding: 3rem 0;
}

.features-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.feature-modern {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature-modern:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon-modern {
  margin-bottom: 2rem;
}

.feature-icon-modern img {
  width: 96px;
  height: 96px;
  filter: brightness(1.1);
}

.feature-title-modern {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.feature-desc-modern {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-300);
}

/* How It Works Section */
.how-it-works-section {
  background: var(--white);
  padding: 5rem 0;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-title-large {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 2rem;
}

.section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.features-showcase-grid {
  display: grid;
  gap: 3rem;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem 0;
}

.showcase-item:nth-child(even) {
  direction: rtl;
}

.showcase-item:nth-child(even) > * {
  direction: ltr;
}

.showcase-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.showcase-image img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.showcase-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-600);
}

/* Quote Section */
.quote-section {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
  padding: 4rem 0;
  text-align: center;
}

.quote-content {
  max-width: 600px;
  margin: 0 auto;
}

.quote-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 2rem;
}

.quote-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 3rem;
}

.quote-actions {
  display: flex;
  justify-content: center;
}

/* FAQ Section */
.faq-section {
  background: var(--white);
  padding: 4rem 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  padding: 2rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.faq-question {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.faq-answer {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-600);
}

/* Contact Section Override */
.service-contact {
  background: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 100%);
  position: relative;
}

.service-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(52, 211, 153, 0.1) 0%, transparent 50%);
}

/* Final Section Styling */
.final-section {
  background: var(--gray-900);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.final-content {
  max-width: 800px;
  margin: 0 auto;
}

.final-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.final-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.contact-info-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

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

.social-link:hover {
  background: var(--brand-red);
  transform: translateY(-2px);
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
  .aquatic-headline {
    font-size: 2.5rem;
  }
  
  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .features-grid-modern {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .showcase-item {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .showcase-item:nth-child(even) {
    direction: ltr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info-grid {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .features-grid-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .feature-modern {
    padding: 1.25rem 0.75rem;
  }
  
  .core-features-section {
    padding: 2.5rem 0;
  }
}

@media (max-width: 480px) {
  .aquatic-headline {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .section-title-large,
  .quote-title,
  .faq-title {
    font-size: 2rem;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .contact-form-container h4 {
    font-size: 1.5rem;
  }
}

/* Mobile optimizations for contact form */
@media (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-info {
    gap: 1rem;
  }
  
  .info-item {
    padding: 1rem;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }
  
  .info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }
  
  .info-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .info-content {
    flex: 1;
    min-width: 0;
  }
  
  .info-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }
  
  .info-item p {
    font-size: 0.85rem;
    line-height: 1.3;
  }
  
  .email-text {
    font-size: 0.75rem !important;
    letter-spacing: -0.01em;
  }
}

@media (max-width: 768px) {
  .contact-form {
    padding: 3rem 0;
  }
  
  .contact-header {
    margin-bottom: 2rem;
  }
  
  .contact-title {
    font-size: 2rem;
  }
  
  .contact-title-modern {
    font-size: 2rem;
  }
  
  .contact-description {
    font-size: 1rem;
  }
  
  .quick-contact-bar {
    flex-direction: column;
    gap: 1rem;
  }
  
  .quick-contact-item {
    width: 100%;
    justify-content: center;
  }
  
  .quick-value {
    font-size: 0.85rem;
  }
  
  .contact-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
  
  .contact-info {
    flex-direction: column;
    width: 100%;
  }
  
  .info-item {
    width: 100%;
    box-sizing: border-box;
  }
  
  .contact-form-container {
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .puzzle-sequence {
    gap: 0.25rem;
  }
  
  .sequence-item {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
  }
  
  .puzzle-options {
    gap: 0.25rem;
  }
  
  .puzzle-option {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: rgba(15, 23, 42, 0.98);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

.footer-logo img {
  height: 85px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

@media (max-width: 640px) {
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-compliance {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Consistent Button Styling - Red Theme */
.btn-primary {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(190, 87, 75, 0.3) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  min-height: 48px !important;
}

.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(190, 87, 75, 0.4) !important;
  background: linear-gradient(135deg, var(--brand-red-dark) 0%, #8b3a2f 100%) !important;
  color: white !important;
}

.btn-primary:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(190, 87, 75, 0.3) !important;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .logo {
    display: none;
  }

  .nav {
    justify-content: flex-end;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .feature-section {
    padding: 3rem 0;
  }

  .security,
  .testimonials,
  .pricing-cta {
    padding: 3rem 0;
  }
  
  /* Better mobile typography */
  h1 {
    font-size: 2.25rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.875rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  /* Improved mobile spacing */
  .container {
    padding: 0 1rem;
  }
  
  /* Better button spacing on mobile */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    min-height: 48px; /* Better touch targets */
  }
  
  /* Improved mobile navigation */
  .nav {
    height: 70px;
  }
  
  body {
    padding-top: 70px;
  }
}

/* Tablet improvements */
@media (min-width: 769px) and (max-width: 1024px) {
  .showcase-features {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 2rem auto 0;
  }
  
  .feature-highlight {
    padding: 1.5rem;
  }
  
  /* Better tablet button sizing */
  #watchDemoBtn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
  }
}

/* Large screen optimizations */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  
  .showcase-features {
    gap: 2rem;
  }
  
  .feature-highlight {
    padding: 2rem;
  }
  
  #watchDemoBtn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
  }
}
/* Schedule Modal Styles */
.schedule-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

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

.schedule-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.schedule-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.schedule-step {
  display: none;
}

.schedule-step.active {
  display: block;
}

.schedule-header {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 2rem;
  border-radius: 16px 16px 0 0;
  position: relative;
}

.schedule-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}

.schedule-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.schedule-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.schedule-subtitle {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}

.schedule-body {
  padding: 2rem;
}

.calendar-section {
  margin-bottom: 2rem;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calendar-nav {
  background: var(--gray-100);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.calendar-nav:hover {
  background: var(--gray-200);
}

.calendar-month {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.calendar-day-header {
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem;
  color: var(--gray-600);
}

.calendar-day {
  aspect-ratio: 1;
  border: 2px solid var(--gray-200);
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-day:hover:not(.disabled) {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
  transform: scale(1.05);
}

.calendar-day.selected {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
}

.calendar-day.disabled {
  background: var(--gray-50);
  color: var(--gray-400);
  cursor: not-allowed;
  border-color: var(--gray-100);
}

.calendar-day.other-month {
  visibility: hidden;
}

.timeslots-section {
  margin-bottom: 2rem;
}

.timeslots-title {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.timeslots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.timeslot {
  padding: 1rem;
  border: 2px solid var(--gray-200);
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  font-size: 0.95rem;
}

.timeslot:hover:not(.disabled) {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
  transform: translateY(-2px);
}

.timeslot.selected {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
}

.timeslot.disabled {
  background: var(--gray-50);
  color: var(--gray-400);
  cursor: not-allowed;
  border-color: var(--gray-100);
  opacity: 0.5;
  position: relative;
}

.timeslot.disabled::after {
  content: '✕';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: #ef4444;
}

.schedule-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
  border-radius: 0 0 16px 16px;
}

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

.schedule-form .form-group {
  margin-bottom: 1rem;
}

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

.schedule-form input,
.schedule-form select,
.schedule-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
}

.schedule-form input:focus,
.schedule-form select:focus,
.schedule-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.selected-datetime {
  background: rgba(59, 130, 246, 0.1);
  border-left: 4px solid #3b82f6;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.success-step {
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  margin: 0 auto 1.5rem;
}

.success-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.success-message {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.success-details {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: left;
  max-width: 400px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .schedule-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .schedule-header {
    padding: 1.5rem;
  }

  .schedule-title {
    font-size: 1.4rem;
  }

  .schedule-body {
    padding: 1.5rem;
  }

  .calendar-grid {
    gap: 0.25rem;
  }

  .calendar-day {
    font-size: 0.9rem;
  }

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

  .schedule-form .form-row {
    grid-template-columns: 1fr;
  }

  .schedule-footer {
    flex-direction: column;
  }
}
