/* ==========================================================================
   EV Flow Marketing Site - Styles
   Premium Nordic Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-primary: #0A84FF;
  --color-primary-dark: #0066CC;
  --color-primary-light: #3D9EFF;
  --color-secondary: #1A1D23;
  --color-accent: #00D4AA;
  --color-accent-light: #00F5C4;

  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-light: #FAFBFC;
  --bg-muted: #F5F7FA;
  --bg-dark: #0D1117;
  --bg-dark-elevated: #161B22;

  /* Text */
  --text-heading: #0F172A;
  --text-body: #475569;
  --text-muted: #94A3B8;
  --text-light: #FFFFFF;
  --text-light-muted: rgba(255, 255, 255, 0.7);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0A84FF 0%, #0066CC 100%);
  --gradient-accent: linear-gradient(135deg, #00D4AA 0%, #00B894 100%);
  --gradient-dark: linear-gradient(180deg, #0D1117 0%, #161B22 100%);
  --gradient-hero: linear-gradient(135deg, rgba(10, 132, 255, 0.08) 0%, rgba(0, 212, 170, 0.05) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 40px rgba(10, 132, 255, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.75rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-slower: 500ms ease;

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-tooltip: 400;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

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

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

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

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

h4 {
  font-size: var(--font-size-xl);
}

p {
  margin-bottom: var(--space-4);
}

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

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

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

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-lg {
  max-width: 1400px;
}

.container-sm {
  max-width: 800px;
}

.section {
  padding: var(--space-24) 0;
}

.section-lg {
  padding: var(--space-32) 0;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.grid {
  display: grid;
}

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

.grid-3 {
  grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 767px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: 500;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: var(--shadow-md), 0 0 0 0 rgba(10, 132, 255, 0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-heading);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: var(--bg-light);
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-body);
}

.btn-ghost:hover {
  background: var(--bg-muted);
  color: var(--text-heading);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--text-light);
}

.btn-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.btn-dark:hover {
  background: var(--bg-dark-elevated);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

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

.card-dark {
  background: var(--bg-dark-elevated);
  color: var(--text-light);
}

.card-bordered {
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
}

.card-bordered:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.card-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-heading);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-heading);
  background: var(--bg-muted);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-dropdown-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

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

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

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

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.nav-dropdown-item:hover {
  background: var(--bg-muted);
}

.nav-dropdown-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.nav-dropdown-content h4 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: 2px;
}

.nav-dropdown-content p {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin: 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

.nav-mobile-toggle:hover {
  background: var(--bg-muted);
}

@media (max-width: 767px) {
  .nav-links, .nav-cta .btn-ghost {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-white);
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  z-index: var(--z-modal);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-menu-link {
  padding: var(--space-4);
  font-size: var(--font-size-lg);
  font-weight: 500;
  border-radius: var(--radius-md);
}

.mobile-menu-link:hover {
  background: var(--bg-muted);
}

.mobile-menu-cta {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Subtle grid pattern for tech feel */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 132, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 132, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.5;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(10, 132, 255, 0.1));
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--color-accent);
}

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

.hero h1 {
  margin-bottom: var(--space-6);
}

.hero-description {
  font-size: var(--font-size-lg);
  color: var(--text-body);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--text-body);
}

.hero-feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 212, 170, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual {
  position: relative;
  transform: perspective(1000px) rotateY(-3deg);
  transform-style: preserve-3d;
}

/* Glow effect behind dashboard */
.hero-visual::before {
  content: '';
  position: absolute;
  top: -5%;
  left: -5%;
  right: -5%;
  bottom: -5%;
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.15), rgba(0, 212, 170, 0.1));
  border-radius: var(--radius-2xl);
  filter: blur(50px);
  z-index: -1;
}

.hero-dashboard {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2), 0 0 40px rgba(10, 132, 255, 0.1);
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  transform: scale(1.05);
}

/* Dashboard Sidebar */
.hero-dashboard-sidebar {
  width: 48px;
  background: var(--bg-dark);
  padding: var(--space-3) var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
}

.hero-sidebar-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-sidebar-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.hero-sidebar-icon.active {
  background: var(--color-primary);
  color: var(--text-light);
}

.hero-dashboard-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-dashboard-header-left {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero-dashboard-header-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero-dashboard-search {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-dashboard-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

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

.hero-dashboard-dot:nth-child(1) { background: #FF5F56; }
.hero-dashboard-dot:nth-child(2) { background: #FFBD2E; }
.hero-dashboard-dot:nth-child(3) { background: #27CA40; }

.hero-dashboard-content {
  padding: var(--space-4);
  min-height: auto;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

/* Stats Grid - 4 cards (2x2) */
.hero-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.hero-stat {
  padding: var(--space-3);
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-1);
}

.hero-stat-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.hero-stat-status.online {
  background: var(--color-accent);
  box-shadow: 0 0 4px var(--color-accent);
}

.hero-stat-status.warning {
  background: #FFBD2E;
  box-shadow: 0 0 4px #FFBD2E;
}

.hero-stat-status.offline {
  background: #FF5F56;
  box-shadow: 0 0 4px #FF5F56;
}

.hero-stat-value {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-stat-change {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: var(--space-1);
}

.hero-stat-change.positive {
  color: var(--color-accent);
}

/* Chart with labels */
.hero-dashboard-chart {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-3);
}

.hero-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.hero-chart-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-chart-legend {
  display: flex;
  gap: var(--space-2);
}

.hero-legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 9px;
  color: var(--text-muted);
}

.hero-legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.hero-chart-container {
  display: flex;
  gap: var(--space-2);
  height: 100px;
}

.hero-chart-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 8px;
  color: var(--text-muted);
  text-align: right;
  padding: var(--space-1) 0;
}

.hero-chart-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  padding-bottom: var(--space-4);
}

.hero-chart-bar {
  flex: 1;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  min-height: 8px;
  animation: growBar 1s ease-out forwards;
  opacity: 0;
  transform-origin: bottom;
}

.hero-chart-x-axis {
  display: flex;
  justify-content: space-around;
  font-size: 8px;
  color: var(--text-muted);
  position: absolute;
  bottom: var(--space-3);
  left: 30px;
  right: var(--space-3);
}

/* Station list preview */
.hero-dashboard-stations {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
}

.hero-stations-header {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-station-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) 0;
  font-size: 10px;
}

.hero-station-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-station-status.online {
  background: var(--color-accent);
}

.hero-station-status.idle {
  background: var(--text-muted);
}

.hero-station-name {
  font-weight: 500;
  color: var(--text-heading);
}

.hero-station-info {
  color: var(--text-muted);
  margin-left: auto;
}

@keyframes growBar {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.hero-floating-card {
  position: absolute;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
  z-index: 10;
}

.hero-floating-card-1 {
  top: 8%;
  left: -60px;
  animation-delay: 0s;
}

.hero-floating-card-2 {
  bottom: 20%;
  right: -60px;
  animation-delay: 2s;
}

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

.hero-floating-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(10, 132, 255, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.hero-floating-card h4 {
  font-size: var(--font-size-sm);
  margin-bottom: 2px;
}

.hero-floating-card p {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin: 0;
}

/* Hero Trust Stats */
.hero-trust {
  margin-top: var(--space-10);
}

.hero-trust-stats {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
}

.trust-value {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--text-heading);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--text-heading);
  background-clip: unset;
}

.trust-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    gap: var(--space-8);
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-cta, .hero-features {
    justify-content: flex-start;
  }

  .hero-visual {
    display: block;
    transform: perspective(1000px) rotateY(-2deg);
  }

  .hero-dashboard {
    transform: scale(0.95);
  }

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

  .hero-trust-stats {
    justify-content: center;
    gap: var(--space-8);
  }

  .trust-stat {
    padding: var(--space-3) var(--space-4);
  }
}

@media (max-width: 767px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-cta, .hero-features {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .trust-value {
    font-size: var(--font-size-2xl);
  }

  .trust-label {
    font-size: var(--font-size-xs);
  }
}

/* --------------------------------------------------------------------------
   Showcase Section
   -------------------------------------------------------------------------- */
.showcase {
  padding: var(--space-16) 0;
  background: var(--bg-light);
}

.showcase-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

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

/* --------------------------------------------------------------------------
   Problem/Solution Section
   -------------------------------------------------------------------------- */
.problem-solution {
  background: var(--bg-light);
}

.problem-solution-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-16);
}

.problem-solution-header h2 {
  margin-bottom: var(--space-4);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-8);
  align-items: stretch;
}

.comparison-card {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
}

.comparison-before {
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.comparison-after {
  background: var(--gradient-primary);
  color: var(--text-light);
}

.comparison-label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.comparison-before .comparison-label {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
}

.comparison-after .comparison-label {
  background: rgba(255, 255, 255, 0.2);
}

.comparison-card h3 {
  margin-bottom: var(--space-6);
}

.comparison-after h3 {
  color: var(--text-light);
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.comparison-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-before .comparison-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

.comparison-after .comparison-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
}

.comparison-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

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

  .comparison-arrow {
    transform: rotate(90deg);
    padding: var(--space-4) 0;
  }
}

/* --------------------------------------------------------------------------
   Effekttariffer Section
   -------------------------------------------------------------------------- */
.effekttariffer {
  background: var(--bg-muted);
}

.effekttariffer-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(10, 132, 255, 0.1);
  color: var(--color-primary);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.effekttariffer-content {
  display: grid;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Load Curve Diagram */
.load-curve-diagram {
  margin: 1rem 0;
}

.load-curve-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.load-curve-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}

.load-curve-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-body);
}

.load-curve-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.load-curve-label {
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.load-curve-label.bad {
  color: #ef4444;
}

.load-curve-label.good {
  color: #10b981;
}

.load-curve-before {
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.load-curve-after {
  border: 1px solid rgba(16, 185, 129, 0.2);
}

@media (max-width: 640px) {
  .load-curve-comparison {
    grid-template-columns: 1fr;
  }
}

.effekttariffer-explanation h3,
.effekttariffer-solution h3,
.effekttariffer-features h4 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.effekttariffer-explanation p,
.effekttariffer-solution p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.effekttariffer-explanation p:last-child,
.effekttariffer-solution p:last-child {
  margin-bottom: 0;
}

.effekttariffer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.effekttariffer-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.effekttariffer-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 199, 89, 0.15);
  color: var(--color-accent);
  border-radius: 50%;
}

.effekttariffer-list li span:last-child {
  color: var(--text-body);
  line-height: 1.6;
}

.effekttariffer-list li strong {
  color: var(--text-heading);
}

.effekttariffer-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.effekttariffer-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Cost Comparison Section */
.cost-comparison {
  margin: 2rem 0;
}

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

.cost-comparison-header h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--text-heading);
}

.cost-comparison-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cost-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.cost-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cost-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.cost-card-bad {
  border: 2px solid rgba(239, 68, 68, 0.2);
}

.cost-card-good {
  border: 2px solid rgba(16, 185, 129, 0.25);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, var(--bg-light) 100%);
}

.cost-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

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

.cost-card-icon-bad {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.cost-card-icon-good {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.cost-card-header h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-heading);
}

.cost-card-visual {
  margin: 1rem 0;
}

.cost-curve-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.cost-card-numbers {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.cost-row-total {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.cost-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cost-value {
  font-weight: 600;
  font-size: 1rem;
}

.cost-value-bad {
  color: #ef4444;
}

.cost-value-good {
  color: #10b981;
}

.cost-value-large {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Savings Highlight */
.savings-highlight {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 16px;
  padding: 2rem;
  color: white;
  text-align: center;
}

.savings-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .savings-content {
    flex-direction: column;
    gap: 1rem;
  }
}

.savings-amount {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.savings-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

@media (max-width: 640px) {
  .savings-number {
    font-size: 2.5rem;
  }
}

.savings-unit {
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0.9;
}

.savings-text {
  text-align: left;
}

@media (max-width: 640px) {
  .savings-text {
    text-align: center;
  }
}

.savings-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.savings-percent {
  display: block;
  font-size: 0.95rem;
  opacity: 0.9;
}

.savings-note {
  font-size: 0.8rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Features Section (Tabbed)
   -------------------------------------------------------------------------- */
.features {
  background: var(--bg-white);
}

.features-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-12);
}

.features-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
  padding: var(--space-2);
  background: var(--bg-muted);
  border-radius: var(--radius-xl);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.features-tab {
  padding: var(--space-3) var(--space-5);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.features-tab:hover {
  color: var(--text-heading);
}

.features-tab.active {
  background: var(--bg-white);
  color: var(--text-heading);
  box-shadow: var(--shadow-sm);
}

.features-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.features-content.active {
  display: block;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.feature-card {
  padding: var(--space-8);
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(10, 132, 255, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.feature-card h4 {
  margin-bottom: var(--space-3);
}

.feature-card p {
  color: var(--text-body);
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .features-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: var(--space-2);
  }

  .features-tab {
    white-space: nowrap;
  }
}

/* --------------------------------------------------------------------------
   Social Proof / Testimonial Section
   -------------------------------------------------------------------------- */
.social-proof {
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.social-proof::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(10, 132, 255, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.social-proof-container {
  position: relative;
  z-index: 1;
}

.testimonial {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: var(--space-8);
  color: var(--text-light);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 600;
}

.testimonial-info h4 {
  color: var(--text-light);
  margin-bottom: 2px;
}

.testimonial-info p {
  color: var(--text-light-muted);
  margin: 0;
  font-size: var(--font-size-sm);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric {
  text-align: center;
}

.metric-value {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.metric-value span {
  color: var(--color-accent);
}

.metric-label {
  font-size: var(--font-size-sm);
  color: var(--text-light-muted);
}

@media (max-width: 767px) {
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* --------------------------------------------------------------------------
   Pricing Section
   -------------------------------------------------------------------------- */
.pricing {
  background: var(--bg-light);
}

.pricing-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-12);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

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

.pricing-card.popular {
  border: 2px solid var(--color-primary);
  position: relative;
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--text-light);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-tier {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
}

.pricing-amount {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1;
}

.pricing-unit {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.pricing-vat {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.pricing-card h3 {
  margin-bottom: var(--space-4);
}

.pricing-description {
  color: var(--text-body);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-features {
  flex: 1;
  margin-bottom: var(--space-8);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--font-size-sm);
}

.pricing-feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 212, 170, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-cta {
  width: 100%;
}

@media (max-width: 1023px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* --------------------------------------------------------------------------
   Security/Trust Section
   -------------------------------------------------------------------------- */
.security {
  background: var(--bg-white);
}

.security-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-12);
}

.security-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.security-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.security-badge:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

.security-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.security-badge h4 {
  font-size: var(--font-size-sm);
  margin-bottom: 2px;
}

.security-badge p {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin: 0;
}

.security-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.security-feature {
  text-align: center;
  padding: var(--space-6);
}

.security-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(10, 132, 255, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.security-feature h4 {
  margin-bottom: var(--space-2);
}

.security-feature p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 767px) {
  .security-features {
    grid-template-columns: 1fr;
  }

  .security-badges {
    flex-direction: column;
    align-items: stretch;
  }
}

/* --------------------------------------------------------------------------
   Property Showcase Section
   -------------------------------------------------------------------------- */
.property-showcase {
  padding: var(--space-12) 0;
  background: linear-gradient(to bottom, var(--bg-light), var(--bg-muted));
}

.property-showcase-content {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

.property-showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8) var(--space-6);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.property-showcase-text {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Final CTA Section
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact {
  background: var(--bg-muted);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: var(--space-6);
}

.contact-description {
  font-size: var(--font-size-lg);
  color: var(--text-body);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-benefit {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-body);
}

.contact-benefit svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg-white);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-base);
  font-family: var(--font-family);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.15);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

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

.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-4);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding-top: var(--space-16);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-description {
  font-size: var(--font-size-sm);
  color: var(--text-light-muted);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

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

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-muted);
  transition: all var(--transition-fast);
}

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

.footer-column h4 {
  color: var(--text-light);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) 0;
  font-size: var(--font-size-sm);
  color: var(--text-light-muted);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  color: var(--text-light-muted);
  transition: color var(--transition-fast);
}

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

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Tablet (iPad) Breakpoints - 768px to 1024px
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Ensure all sections are visible */
  .problem-solution,
  .features,
  .pricing,
  .security,
  .contact {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Ensure feature content tabs work */
  .features-content.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Navigation */
  .nav-container {
    padding: 0 var(--space-4);
  }

  .nav-links {
    display: flex;
    gap: 0;
  }

  .nav-link {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-xs);
  }

  .nav-cta {
    display: flex;
  }

  .nav-cta .btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
  }

  .nav-cta .btn-ghost {
    display: inline-flex;
  }

  .nav-mobile-toggle {
    display: none;
  }

  .nav-dropdown-menu {
    min-width: 220px;
  }

  /* Hero Section */
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: var(--space-12);
  }

  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    text-align: left;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-description {
    font-size: var(--font-size-sm);
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .hero-features {
    justify-content: flex-start;
  }

  .hero-visual {
    display: block !important;
    transform: perspective(1000px) rotateY(-2deg);
  }

  .hero-dashboard {
    transform: scale(0.85);
  }

  .hero-dashboard-content {
    min-height: 280px;
  }

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

  .hero-stat {
    padding: var(--space-2);
  }

  .hero-stat-value {
    font-size: var(--font-size-lg);
  }

  .hero-stat-label {
    font-size: 9px;
  }

  .hero-floating-card {
    display: none;
  }

  .hero-dashboard-sidebar {
    width: 36px;
    padding: var(--space-2);
  }

  .hero-sidebar-icon {
    width: 24px;
    height: 24px;
  }

  .hero-sidebar-icon svg {
    width: 14px;
    height: 14px;
  }

  .hero-dashboard-stations {
    display: none;
  }

  .hero-dashboard-chart {
    padding: var(--space-2);
  }

  .hero-chart-container {
    height: 80px;
  }

  .hero-trust-stats {
    gap: var(--space-6);
    justify-content: center;
  }

  .trust-stat {
    padding: var(--space-2) var(--space-4);
  }

  .trust-value {
    font-size: var(--font-size-2xl);
  }

  .trust-label {
    font-size: var(--font-size-xs);
  }

  /* Problem/Solution Section */
  .problem-solution-header {
    margin-bottom: var(--space-10);
  }

  .comparison-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .comparison-arrow {
    display: none;
  }

  .comparison-card {
    padding: var(--space-5);
  }

  .comparison-card h3 {
    font-size: var(--font-size-lg);
  }

  .comparison-item {
    font-size: var(--font-size-sm);
  }

  /* Features Section */
  .features-header {
    margin-bottom: var(--space-8);
  }

  .features-tabs {
    gap: var(--space-1);
    padding: var(--space-1);
    margin-bottom: var(--space-8);
  }

  .features-tab {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-xs);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .feature-card {
    padding: var(--space-5);
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-4);
  }

  .feature-card h4 {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-2);
  }

  .feature-card p {
    font-size: var(--font-size-xs);
  }

  /* Social Proof / Testimonial */
  .testimonial-quote {
    font-size: 1.25rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
  }

  .metric-value {
    font-size: 2rem;
  }

  /* Pricing Section */
  .pricing-header {
    margin-bottom: var(--space-8);
  }

  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
  }

  .pricing-card {
    padding: var(--space-4);
  }

  .pricing-card h3 {
    font-size: var(--font-size-base);
  }

  .pricing-amount {
    font-size: var(--font-size-4xl);
  }

  .pricing-description {
    font-size: var(--font-size-xs);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
  }

  .pricing-feature {
    font-size: var(--font-size-xs);
    margin-bottom: var(--space-2);
  }

  .pricing-features {
    margin-bottom: var(--space-5);
  }

  .pricing-cta {
    font-size: var(--font-size-sm);
    padding: var(--space-2) var(--space-4);
  }

  /* Security Section */
  .security-header {
    margin-bottom: var(--space-8);
  }

  .security-badges {
    gap: var(--space-3);
    margin-bottom: var(--space-8);
  }

  .security-badge {
    padding: var(--space-3) var(--space-4);
  }

  .security-badge h4 {
    font-size: var(--font-size-xs);
  }

  .security-features {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .security-feature {
    padding: var(--space-4);
  }

  .security-feature h4 {
    font-size: var(--font-size-sm);
  }

  .security-feature p {
    font-size: var(--font-size-xs);
  }

  /* Contact Section */
  .contact-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .contact-info {
    text-align: left;
  }

  .contact-info h2 {
    font-size: var(--font-size-2xl);
  }

  .contact-description {
    font-size: var(--font-size-base);
  }

  .contact-benefits {
    flex-direction: column;
    gap: var(--space-3);
  }

  .contact-form {
    padding: var(--space-5);
  }

  .form-group {
    margin-bottom: var(--space-4);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 2fr repeat(2, 1fr);
    gap: var(--space-6);
  }

  .footer-brand {
    grid-column: span 1;
    max-width: 100%;
    text-align: left;
  }

  .footer-logo {
    justify-content: flex-start;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-column {
    text-align: left;
  }

  .footer-links {
    align-items: flex-start;
  }

  .footer-column:nth-child(4),
  .footer-column:nth-child(5) {
    display: none;
  }
}

/* Tablet Portrait specific adjustments (768px - 834px) */
@media (min-width: 768px) and (max-width: 834px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-cta, .hero-features {
    justify-content: center;
  }

  .hero-visual {
    display: block !important;
    max-width: 500px;
    margin: var(--space-8) auto 0;
  }

  .hero-dashboard {
    transform: scale(1);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .comparison-arrow {
    display: flex;
    transform: rotate(90deg);
    padding: var(--space-2) 0;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .contact-info {
    text-align: center;
  }

  .contact-benefits {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .footer-brand {
    grid-column: span 2;
    text-align: center;
    margin-bottom: var(--space-4);
  }

  .footer-logo {
    justify-content: center;
  }

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

  .footer-column {
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-column:nth-child(4),
  .footer-column:nth-child(5) {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   Animations & Scroll Effects
   -------------------------------------------------------------------------- */
.fade-up {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.animated {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.animate-start {
  opacity: 0;
  transform: translateY(30px);
}

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

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

.visible {
  visibility: visible !important;
}

.invisible {
  visibility: hidden !important;
}
