/* LiftLink Marketing Website Styles */
/* Dark/Blue SaaS Theme with Light Mode Support */

:root {
  /* Background Colors - Dark Mode (default) */
  --bg-primary: #020617;
  --bg-secondary: #050816;
  --bg-tertiary: #111827;
  --bg-card: #0f172a;
  --bg-card-hover: #1e293b;
  
  /* Accent Colors */
  --accent-cyan: #22d3ee;
  --accent-blue: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-purple: #818cf8;
  
  /* Text Colors - Dark Mode */
  --text-primary: #f8fafc;
  --text-secondary: #e5e7eb;
  --text-muted: #9ca3af;
  --text-dark: #1f2937;
  
  /* Gradients - Dark Mode */
  --gradient-hero: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e1b4b 100%);
  --gradient-accent: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
  --gradient-card: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, rgba(34, 211, 238, 0.05) 100%);
  
  /* Header background */
  --header-bg: rgba(2, 6, 23, 0.9);
  --border-color: rgba(255, 255, 255, 0.1);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Container */
  --container-max: 1280px;
  --container-padding: 1.5rem;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--text-muted);
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  display: flex;
  gap: var(--spacing-sm);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0a0f1a;
  padding: 100px var(--spacing-lg) var(--spacing-lg);
  flex-direction: column;
  gap: var(--spacing-md);
  z-index: 99999;
  overflow-y: auto;
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mobile-nav.active {
  display: flex;
  visibility: visible;
  opacity: 1;
}

.mobile-nav .nav-link {
  padding: var(--spacing-md);
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: block;
  color: #ffffff;
  text-decoration: none;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link:active {
  background: rgba(34, 211, 238, 0.15);
  color: #22d3ee;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--text-dark);
  box-shadow: var(--shadow-md), 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}

.btn-outline:hover {
  background: rgba(34, 211, 238, 0.1);
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background-color: #0a1628;
  background-size: contain;
  background-position: right calc(50% + 30px);
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  bottom: 0;
  background: linear-gradient(90deg, #0a1628 0%, #0a1628 60%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--accent-purple);
  margin-bottom: var(--spacing-md);
}

.hero-title {
  margin-bottom: var(--spacing-md);
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

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

.hero-image {
  width: 100%;
  max-width: 650px;
  height: auto;
  object-fit: contain;
  transform: scale(1.1);
  transform-origin: center center;
}

/* Mobile Hero Image - shown above text on mobile */
.hero-image-mobile {
  display: none;
}

@media (max-width: 1024px) {
  .hero-image-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 0;
  }
  
  .hero-image-mobile img {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
  }
  
  .hero {
    background-image: none !important;
    min-height: auto;
    padding-top: calc(72px + 2rem);
    padding-bottom: 3rem;
  }
  
  .hero::before {
    display: none;
  }
  
  .hero-inner {
    flex-direction: column;
    text-align: left;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: flex-start;
  }
}

/* Dashboard Mock */
.dashboard-mock {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--spacing-md);
}

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

.dashboard-dot.red { background: #ef4444; }
.dashboard-dot.yellow { background: #eab308; }
.dashboard-dot.green { background: #22c55e; }

.dashboard-title {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-left: auto;
}

.job-cards {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.job-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border-left: 3px solid;
}

.job-card.en-route { border-color: var(--accent-blue); }
.job-card.in-progress { border-color: #f59e0b; }
.job-card.completed { border-color: #22c55e; }

.job-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.job-card.en-route .job-icon { background: rgba(56, 189, 248, 0.2); }
.job-card.in-progress .job-icon { background: rgba(245, 158, 11, 0.2); }
.job-card.completed .job-icon { background: rgba(34, 197, 94, 0.2); }

.job-info h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.job-info p {
  font-size: 0.8125rem;
}

.job-status {
  margin-left: auto;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.job-card.en-route .job-status { background: rgba(56, 189, 248, 0.2); color: var(--accent-blue); }
.job-card.in-progress .job-status { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.job-card.completed .job-status { background: rgba(34, 197, 94, 0.2); color: #22c55e; }

/* Device Mockups - Phone & Tablet */
.device-mockups {
  display: flex;
  align-items: flex-end;
  gap: -40px;
  position: relative;
}

.phone-mock {
  width: 220px;
  height: 440px;
  background: #1a1a2e;
  border-radius: 32px;
  padding: 8px;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(99, 102, 241, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
  transform: translateX(20px);
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1e3a5f 0%, #0f172a 100%);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-size: 11px;
  color: var(--text-primary);
}

.phone-time {
  font-weight: 600;
}

.phone-title {
  font-weight: 500;
  font-size: 13px;
}

.phone-signal {
  font-size: 10px;
}

.map-view {
  flex: 1;
  position: relative;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 50%, #1e3a5f 100%);
  margin: 8px;
  border-radius: 12px;
  overflow: hidden;
}

.map-background {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.map-road {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
}

.map-road.road-h {
  height: 8px;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.map-road.road-v {
  width: 8px;
  height: 100%;
  left: 40%;
}

.map-road.road-d {
  width: 120%;
  height: 6px;
  top: 30%;
  left: -10%;
  transform: rotate(-25deg);
}

.engineer-pin {
  position: absolute;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-avatar {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.pin-pulse {
  position: absolute;
  width: 36px;
  height: 36px;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.pin-1 { top: 20%; left: 25%; }
.pin-2 { top: 35%; left: 60%; animation-delay: 0.5s; }
.pin-3 { top: 55%; left: 35%; animation-delay: 1s; }
.pin-4 { top: 70%; left: 70%; animation-delay: 1.5s; }

.pin-2 .pin-pulse { animation-delay: 0.5s; }
.pin-3 .pin-pulse { animation-delay: 1s; }
.pin-4 .pin-pulse { animation-delay: 1.5s; }

.location-marker {
  position: absolute;
  top: 45%;
  left: 48%;
  width: 24px;
  height: 24px;
  color: #ef4444;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.radius-circle {
  position: absolute;
  top: 35%;
  left: 38%;
  width: 50px;
  height: 50px;
  border: 2px dashed rgba(34, 211, 238, 0.5);
  border-radius: 50%;
}

.map-label {
  position: absolute;
  bottom: 40%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}

.phone-cta {
  margin: 8px 12px 16px;
  padding: 10px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Tablet Mockup */
.tablet-mock {
  width: 300px;
  height: 380px;
  background: #1a1a2e;
  border-radius: 20px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 40px rgba(99, 102, 241, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
  transform: translateX(-20px) translateY(-20px);
}

.tablet-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tablet-tabs {
  display: flex;
  gap: 4px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tablet-tabs .tab {
  padding: 6px 12px;
  font-size: 10px;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.tablet-tabs .tab.active {
  background: rgba(99, 102, 241, 0.2);
  color: var(--accent-purple);
}

.tablet-content {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 10px;
}

.stat-card h5,
.analytics-section h5,
.engineers-list h5 {
  font-size: 10px;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-weight: 600;
}

.stat-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 9px;
  color: var(--text-muted);
}

.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-cyan));
  border-radius: 3px;
}

.analytics-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 10px;
}

.chart-placeholder {
  height: 40px;
}

.mini-chart {
  width: 100%;
  height: 100%;
}

.engineers-list {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 10px;
  flex: 1;
}

.engineer-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.engineer-row:last-child {
  border-bottom: none;
}

.engineer-avatar {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.engineer-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.engineer-name {
  font-size: 9px;
  color: var(--text-primary);
}

.engineer-rating {
  font-size: 8px;
}

.service-section {
  padding: 6px 10px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 6px;
  text-align: center;
}

.service-label {
  font-size: 9px;
  color: var(--accent-purple);
  font-weight: 500;
}

/* Responsive adjustments for device mockups */
@media (max-width: 1024px) {
  .device-mockups {
    transform: scale(0.85);
    transform-origin: top left;
  }
}

@media (max-width: 768px) {
  .device-mockups {
    display: none;
  }
}

/* Sections */
.section {
  padding: var(--spacing-3xl) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-2xl);
}

.section-header p {
  margin-top: var(--spacing-sm);
  font-size: 1.125rem;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.05);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, #06b6d4);
  opacity: 0.8;
}

.card:hover {
  border-color: rgba(34, 211, 238, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.15), 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.15);
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  margin: 0 auto var(--spacing-md);
}

.card h3 {
  margin-bottom: var(--spacing-sm);
}

.card p {
  font-size: 0.9375rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  counter-reset: step;
}

.step {
  position: relative;
  padding: var(--spacing-lg);
  padding-top: calc(var(--spacing-lg) + 24px);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.05);
  transition: all var(--transition-normal);
  margin-top: 20px;
}

.step::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, #06b6d4);
  opacity: 0.8;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.step:hover {
  border-color: rgba(34, 211, 238, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.15);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0a0f1a;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
  z-index: 2;
  font-size: 0.875rem;
}

.step h4 {
  margin-bottom: var(--spacing-xs);
  padding-top: var(--spacing-xs);
}

/* Features Strip */
.features-strip {
  padding: var(--spacing-lg) 0;
  position: relative;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  font-weight: 500;
}

.feature-item svg {
  color: #22d3ee;
  width: 16px;
  height: 16px;
}

.feature-item::after {
  content: '•';
  color: rgba(34, 211, 238, 0.4);
  margin-left: var(--spacing-md);
}

.feature-item:last-child::after {
  display: none;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8));
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  text-align: center;
  border: 1px solid rgba(34, 211, 238, 0.25);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.1);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
}

.cta-section h2 {
  margin-bottom: var(--spacing-sm);
  color: #ffffff;
}

.cta-section p {
  margin-bottom: var(--spacing-lg);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
}

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

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--spacing-2xl);
}

.footer-brand p {
  margin-top: var(--spacing-sm);
  max-width: 300px;
}

.footer-column h4 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-link {
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
  display: flex;
  gap: var(--spacing-md);
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

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

/* Page Hero (smaller) */
.page-hero {
  padding: calc(72px + var(--spacing-3xl)) 0 var(--spacing-2xl);
  background: #0a0f1a;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

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

@media (max-width: 768px) {
  .page-hero-content {
    text-align: left;
    margin: 0;
  }
  
  .section-header {
    text-align: left;
  }
  
  .card {
    text-align: left;
  }
  
  .card-icon {
    margin: 0 0 var(--spacing-md) 0;
  }
  
  .benefit-item {
    text-align: left;
  }
  
  .cta-section {
    text-align: left;
  }
  
  .cta-buttons {
    justify-content: flex-start;
  }
}

.page-hero h1 {
  margin-bottom: var(--spacing-md);
}

.page-hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

/* Benefits List */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.benefit-item svg {
  color: var(--accent-cyan);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-item span {
  color: var(--text-secondary);
}

/* Lightning Icon for Own Your Workflow */
.lightning-icon {
  color: #fbbf24;
  font-size: 1.1em;
  margin-right: 0.25rem;
}

/* Workflow Benefits - Icon Style */
.workflow-benefits .benefit-icon {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
  text-align: center;
}

.workflow-benefits .benefit-icon-svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Add more space between content and visual */
.hero-inner {
  gap: 4rem;
}

@media (min-width: 768px) {
  .hero-inner {
    gap: 6rem;
  }
}

/* Dashboard Mock with Cyan Glow */
.hero-visual .dashboard-mock {
  box-shadow: 
    var(--shadow-xl),
    0 0 80px rgba(34, 211, 238, 0.4),
    0 0 150px rgba(34, 211, 238, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(34, 211, 238, 0.5);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
}

/* Enhanced job cards with cyan glow borders */
.hero-visual .job-card {
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-left: 3px solid var(--accent-cyan);
  background: rgba(34, 211, 238, 0.05);
}

.hero-visual .job-card.en-route { 
  border-left-color: var(--accent-cyan); 
}

/* Decorative Star Element */
.decorative-star {
  position: absolute;
  bottom: -60px;
  right: 0;
  font-size: 3rem;
  color: rgba(148, 163, 184, 0.5);
  opacity: 0.6;
}

/* Dark Portfolio Mock Styling */
.dark-portfolio-mock {
  background: #0f172a !important;
  border: 1px solid rgba(34, 211, 238, 0.4) !important;
  border-radius: 1rem !important;
  box-shadow: 0 0 80px rgba(34, 211, 238, 0.25), 0 0 40px rgba(34, 211, 238, 0.2), 0 0 20px rgba(34, 211, 238, 0.15), inset 0 0 60px rgba(34, 211, 238, 0.05) !important;
}

.dark-portfolio-mock .portfolio-header {
  border-bottom: 1px solid rgba(34, 211, 238, 0.2);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.dark-portfolio-mock .portfolio-stat .number {
  color: #ffffff !important;
  font-weight: 700;
}

.dark-portfolio-mock .portfolio-stat .label {
  color: rgba(255, 255, 255, 0.6) !important;
}

.dark-site-row {
  background: rgba(30, 41, 59, 0.8) !important;
  border: 1px solid rgba(51, 65, 85, 0.5) !important;
  border-radius: 0.5rem;
}

.dark-site-row .site-info h4 {
  color: #ffffff !important;
}

.dark-site-row .site-info p {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* =============================================
   PLATFORM PAGE STYLES
   ============================================= */

/* Platform Hero */
.platform-hero {
  padding: 6rem 0 4rem;
  text-align: center;
  background: #0a0f1a !important;
}

.platform-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 50px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #22d3ee;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.lightning-icon {
  font-size: 1.125rem;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
}

.platform-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.platform-hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* Feature Pillars Grid */
.platform-features {
  padding: 4rem 0;
}

.feature-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .feature-pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .platform-hero h1 {
    font-size: 2rem;
  }
}

/* Feature Pillar Card */
.feature-pillar-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22d3ee, #06b6d4, #22d3ee);
  opacity: 1;
}

.feature-pillar-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.08) 0%, transparent 100%);
  pointer-events: none;
}

.feature-pillar-card:hover {
  border-color: rgba(34, 211, 238, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.2), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
  position: relative;
  z-index: 1;
}

.pillar-icon svg {
  width: 28px;
  height: 28px;
  color: #22d3ee;
}

.feature-pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  border: none;
  padding: 0;
}

.pillar-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pillar-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.feature-dot {
  width: 6px;
  height: 6px;
  background: #22d3ee;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Comparison Section */
.comparison-section {
  padding: 5rem 0;
}

.comparison-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .comparison-cards {
    grid-template-columns: 1fr;
  }
}

.comparison-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8));
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(51, 65, 85, 0.5);
  position: relative;
  overflow: hidden;
}

.before-card {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.08);
}

.before-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

.after-card {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 50px rgba(34, 211, 238, 0.15), 0 0 100px rgba(34, 211, 238, 0.05);
}

.after-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22d3ee, #06b6d4);
}

.after-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.06) 0%, transparent 100%);
  pointer-events: none;
}

.comparison-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-icon svg {
  width: 20px;
  height: 20px;
}

.before-icon {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.before-icon svg {
  color: #ef4444;
}

.after-icon {
  background: rgba(34, 211, 238, 0.2);
  color: #22d3ee;
}

.after-icon svg {
  color: #22d3ee;
}

.comparison-card-header h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.comparison-items {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.x-icon {
  color: #ef4444;
  font-weight: 600;
  flex-shrink: 0;
  width: 16px;
}

.check-icon {
  color: #22d3ee;
  font-weight: 600;
  flex-shrink: 0;
  width: 16px;
}

/* Platform CTA */
.platform-cta {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8)) !important;
  border: 1px solid rgba(34, 211, 238, 0.3) !important;
  box-shadow: 0 0 80px rgba(34, 211, 238, 0.15), 0 0 120px rgba(34, 211, 238, 0.08) !important;
  position: relative;
  overflow: hidden;
}

.platform-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
}

.platform-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: var(--spacing-md);
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 var(--spacing-md) var(--spacing-md);
}

/* Feature Groups */
.feature-group {
  margin-bottom: var(--spacing-2xl);
}

.feature-group h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-group h3 svg {
  color: var(--accent-cyan);
}

.feature-bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-sm);
}

.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: var(--spacing-sm);
  background: var(--bg-card);
  border-radius: var(--radius-md);
}

.feature-bullet svg {
  color: var(--accent-indigo);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Comparison Grid */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.comparison-column {
  padding: var(--spacing-lg);
  border-radius: var(--radius-xl);
}

.comparison-column.before {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.comparison-column.after {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.comparison-column h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--spacing-md);
}

.comparison-column.before h4 { color: #ef4444; }
.comparison-column.after h4 { color: #22c55e; }

.comparison-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comparison-column li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.comparison-column li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-column.before li svg { color: #ef4444; }
.comparison-column.after li svg { color: #22c55e; }

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.team-card {
  text-align: center;
  padding: var(--spacing-lg);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.05);
  transition: all var(--transition-normal);
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, #06b6d4);
  opacity: 0.8;
}

.team-card:hover {
  border-color: rgba(34, 211, 238, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.15);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto var(--spacing-md);
}

.team-card h4 {
  margin-bottom: 0.25rem;
}

.team-card .role {
  color: var(--accent-cyan);
  font-size: 0.875rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.value-card {
  text-align: center;
  padding: var(--spacing-lg);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.05);
  transition: all var(--transition-normal);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, #06b6d4);
  opacity: 0.8;
}

.value-card:hover {
  border-color: rgba(34, 211, 238, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.15);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto var(--spacing-md);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.15);
  position: relative;
  z-index: 1;
}

/* Story Card */
.story-card {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-xl);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.08);
}

.story-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
}

.story-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

.story-icon svg {
  width: 28px;
  height: 28px;
  color: #22d3ee;
}

.story-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.story-card p:last-child {
  margin-bottom: 0;
}

.story-card strong {
  color: #22d3ee;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: start;
}

.contact-info h3 {
  margin-bottom: var(--spacing-md);
}

.contact-info p {
  margin-bottom: var(--spacing-lg);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.15);
}

.contact-method-icon svg {
  color: var(--accent-cyan);
  width: 24px;
  height: 24px;
}

.contact-method-text h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.125rem;
}

.contact-method-text p {
  font-size: 0.875rem;
}

.contact-form {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, #06b6d4);
  opacity: 0.8;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.form-error {
  color: #ef4444;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.form-success {
  text-align: center;
  padding: var(--spacing-lg);
}

.form-success svg {
  color: #22c55e;
  width: 64px;
  height: 64px;
  margin-bottom: var(--spacing-md);
}

.form-success h3 {
  margin-bottom: var(--spacing-sm);
}

/* Portfolio Mock */
.portfolio-mock {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-stats {
  display: flex;
  gap: var(--spacing-lg);
}

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

.portfolio-stat .number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.portfolio-stat .label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.portfolio-sites {
  padding: var(--spacing-md);
}

.site-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-xs);
}

.site-row:last-child {
  margin-bottom: 0;
}

.site-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-info {
  flex: 1;
}

.site-info h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.125rem;
}

.site-info p {
  font-size: 0.8125rem;
}

.site-status {
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.site-status.compliant {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.site-status.due-soon {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.site-status.overdue {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-cta {
    display: flex;
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .nav-cta .btn {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .portfolio-header {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .site-row {
    flex-wrap: wrap;
  }
  
  .site-status {
    margin-left: auto;
  }
}

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

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-primary);
  z-index: 100;
  position: relative;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-indigo);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.theme-toggle .sun-icon {
  display: block;
}

.theme-toggle .moon-icon {
  display: none;
}

/* Light Mode Styles */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  
  --text-primary: #0f172a;
  --text-secondary: #1e293b;
  --text-muted: #475569;
  --text-dark: #0f172a;
  
  --gradient-hero: linear-gradient(135deg, #ffffff 0%, #f1f5f9 50%, #e0f2fe 100%);
  --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
  --gradient-card: linear-gradient(180deg, rgba(59, 130, 246, 0.03) 0%, rgba(14, 165, 233, 0.01) 100%);
  
  --header-bg: rgba(255, 255, 255, 0.95);
  --border-color: #e2e8f0;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.12);
  
  --accent-cyan: #06b6d4;
  --accent-blue: #0ea5e9;
  --accent-indigo: #3b82f6;
  --accent-purple: #6366f1;
}

/* Hero section needs light text even in light mode due to dark background image */
[data-theme="light"] .hero {
  background-color: #0f172a;
}

[data-theme="light"] .hero h1,
[data-theme="light"] .hero-title {
  color: #f8fafc;
}

[data-theme="light"] .hero-description {
  color: #cbd5e1;
}

[data-theme="light"] .hero-badge {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
}

[data-theme="light"] .hero .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f8fafc;
}

[data-theme="light"] .hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Page hero sections in light mode - these have light backgrounds */
[data-theme="light"] .page-hero h1 {
  color: #0f172a;
}

[data-theme="light"] .page-hero p {
  color: #475569;
}

[data-theme="light"] .page-hero .hero-content h1 {
  color: #0f172a;
}

[data-theme="light"] .page-hero .hero-description {
  color: #475569;
}

[data-theme="light"] .page-hero .benefit-item {
  color: #1e293b;
}

[data-theme="light"] .page-hero .btn-secondary {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.15);
  color: #0f172a;
}

[data-theme="light"] .page-hero .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle .sun-icon {
  display: none;
}

[data-theme="light"] .theme-toggle .moon-icon {
  display: block;
}

[data-theme="light"] .header {
  background: var(--header-bg);
  border-bottom-color: var(--border-color);
}

[data-theme="light"] .btn-secondary {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .card {
  border-color: var(--border-color);
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .card:hover {
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .dashboard-mock,
[data-theme="light"] .portfolio-mock {
  border-color: var(--border-color);
  box-shadow: var(--shadow-xl);
}

[data-theme="light"] .job-card {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .faq-item {
  border-color: var(--border-color);
}

[data-theme="light"] .faq-question:hover {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .contact-form {
  border-color: var(--border-color);
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}

[data-theme="light"] .footer {
  background: var(--bg-secondary);
  border-top-color: var(--border-color);
}

[data-theme="light"] .features-strip {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.05) 0%, rgba(34, 211, 238, 0.05) 100%);
}

[data-theme="light"] .step {
  border-color: var(--border-color);
}

[data-theme="light"] .cta-section {
  border-color: var(--border-color);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(34, 211, 238, 0.02) 100%);
}

[data-theme="light"] .site-row {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .comparison-column.before {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.15);
}

[data-theme="light"] .comparison-column.after {
  background: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.15);
}

[data-theme="light"] .team-card {
  border-color: var(--border-color);
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .feature-bullet {
  background: rgba(0, 0, 0, 0.02);
}

/* Ensure all section headings and text are readable in light mode */
[data-theme="light"] .section h2,
[data-theme="light"] .section-header h2 {
  color: #0f172a;
}

[data-theme="light"] .section p,
[data-theme="light"] .section-header p {
  color: #475569;
}

[data-theme="light"] .card h3 {
  color: #0f172a;
}

[data-theme="light"] .card p {
  color: #475569;
}

[data-theme="light"] .step h4 {
  color: #0f172a;
}

[data-theme="light"] .step p {
  color: #475569;
}

[data-theme="light"] .cta-section h2 {
  color: #0f172a;
}

[data-theme="light"] .cta-section p {
  color: #475569;
}

[data-theme="light"] .feature-group h3 {
  color: #0f172a;
}

[data-theme="light"] .feature-group p,
[data-theme="light"] .feature-group li {
  color: #475569;
}

[data-theme="light"] .value-card h3 {
  color: #0f172a;
}

[data-theme="light"] .value-card p {
  color: #475569;
}

[data-theme="light"] .team-card h4 {
  color: #0f172a;
}

[data-theme="light"] .team-card p {
  color: #475569;
}

[data-theme="light"] .faq-question h4 {
  color: #0f172a;
}

[data-theme="light"] .faq-answer p {
  color: #475569;
}

[data-theme="light"] .footer h4 {
  color: #0f172a;
}

[data-theme="light"] .footer p,
[data-theme="light"] .footer-link {
  color: #475569;
}

[data-theme="light"] .footer-link:hover {
  color: #0f172a;
}

[data-theme="light"] .features-strip .feature-item {
  color: #0f172a;
}

[data-theme="light"] .contact-info h3 {
  color: #0f172a;
}

[data-theme="light"] .contact-info p {
  color: #475569;
}

[data-theme="light"] .form-group label {
  color: #0f172a;
}

[data-theme="light"] .comparison-column h4 {
  color: #0f172a;
}

[data-theme="light"] .comparison-column li {
  color: #475569;
}

/* ==================== DARK SECTION STYLES FOR ENGINEERS PAGE ==================== */

/* Dark Section Base */
.dark-section {
  background: var(--bg-primary) !important;
}

/* Dark Steps */
.dark-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.dark-step {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.05);
}

.dark-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, #06b6d4);
  opacity: 0.8;
}

.dark-step:hover {
  border-color: rgba(34, 211, 238, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.15);
}

.dark-step h4 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.dark-step p {
  color: var(--text-secondary);
}

/* Dark Cards */
.dark-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8)) !important;
  border: 1px solid rgba(34, 211, 238, 0.3) !important;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.08);
}

.dark-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, #06b6d4);
  opacity: 0.8;
}

.dark-card:hover {
  border-color: rgba(34, 211, 238, 0.5) !important;
  transform: translateY(-4px);
  box-shadow: 0 0 50px rgba(34, 211, 238, 0.2);
}

.dark-card h3 {
  color: var(--text-primary) !important;
  position: relative;
  z-index: 1;
}

.dark-card p {
  color: var(--text-secondary) !important;
  position: relative;
  z-index: 1;
}

/* Dark FAQ */
.dark-faq-item {
  background: var(--bg-card) !important;
  border: 1px solid rgba(34, 211, 238, 0.2) !important;
}

.dark-faq-item .faq-question {
  color: var(--text-primary);
}

.dark-faq-item .faq-question:hover {
  background: rgba(34, 211, 238, 0.05);
}

.dark-faq-item .faq-answer p {
  color: var(--text-secondary);
}

/* Dark CTA */
.dark-cta {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%) !important;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: var(--radius-2xl);
  padding: 3rem;
}

.dark-cta h2 {
  color: var(--text-primary) !important;
}

.dark-cta p {
  color: var(--text-secondary) !important;
}

/* Light mode overrides for dark sections - keep them dark */
[data-theme="light"] .dark-section {
  background: var(--bg-primary) !important;
}

[data-theme="light"] .dark-step {
  background: var(--bg-card);
  border-color: rgba(34, 211, 238, 0.2);
}

[data-theme="light"] .dark-step h4 {
  color: var(--text-primary);
}

[data-theme="light"] .dark-step p {
  color: var(--text-secondary);
}

[data-theme="light"] .dark-card {
  background: var(--bg-card) !important;
}

[data-theme="light"] .dark-card h3 {
  color: var(--text-primary) !important;
}

[data-theme="light"] .dark-card p {
  color: var(--text-secondary) !important;
}

[data-theme="light"] .dark-faq-item {
  background: var(--bg-card) !important;
}

[data-theme="light"] .dark-faq-item .faq-question {
  color: var(--text-primary);
}

[data-theme="light"] .dark-faq-item .faq-answer p {
  color: var(--text-secondary);
}

[data-theme="light"] .dark-cta {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%) !important;
}

[data-theme="light"] .dark-cta h2 {
  color: var(--text-primary) !important;
}

[data-theme="light"] .dark-cta p {
  color: var(--text-secondary) !important;
}

[data-theme="light"] .dark-section .section-header h2 {
  color: var(--text-primary);
}

[data-theme="light"] .dark-section .section-header p {
  color: var(--text-secondary);
}

/* Section title center class */
.section-title-center {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-subtitle-center {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile Centering Styles */
@media (max-width: 768px) {
  .section-header {
    text-align: center;
  }
  
  .section-title-center {
    text-align: center;
  }
  
  .hero-content h2 {
    text-align: center;
  }
  
  .section-header h2,
  .section-header p {
    text-align: center;
  }
  
  .page-hero-content {
    text-align: center;
  }
  
  .page-hero-content h1,
  .page-hero-content p {
    text-align: center;
  }
  
  /* Footer mobile improvements */
  .footer {
    text-align: center;
  }
  
  .footer-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-column h4 {
    text-align: center;
    margin-bottom: 1rem;
    color: #22d3ee;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
  
  .footer-platform {
    display: none;
  }
  
  .footer-company,
  .footer-support {
    text-align: center;
  }
  
  /* Hide stats on mobile (About page) */
  .stats-grid {
    display: none;
  }
  
  /* Story card centering */
  .story-card {
    text-align: center;
  }
  
  /* Values and Team centering */
  .values-grid,
  .team-grid {
    text-align: center;
  }
  
  /* Contact page centering */
  .contact-info {
    text-align: center;
  }
  
  .contact-info h3 {
    text-align: center;
  }
  
  .contact-methods {
    align-items: center;
  }
  
  .contact-method {
    justify-content: center;
  }
  
  /* Benefits list mobile styling */
  .benefits-list {
    text-align: left;
  }
  
  .benefit-item {
    justify-content: flex-start;
  }
  
  /* Portfolio section mobile improvements */
  .hero-content {
    text-align: center;
  }
  
  .hero-content .benefits-list {
    text-align: left;
  }
  
  /* FAQ section mobile centering */
  .faq-section h2,
  .dark-section h2 {
    text-align: center;
  }
}

