/* ============================================
   AndAction Landing Page — Command Center Aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Core palette */
  --navy-900: #0A0F1C;
  --navy-800: #0F172A;
  --navy-700: #1E293B;
  --navy-600: #334155;
  --navy-500: #475569;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --white: #F8FAFC;

  /* Accent */
  --blue: #3B82F6;
  --blue-light: #60A5FA;
  --blue-dark: #2563EB;
  --blue-glow: rgba(59, 130, 246, 0.35);

  /* Alarm severity */
  --critical: #EF4444;
  --critical-glow: rgba(239, 68, 68, 0.4);
  --warning: #F59E0B;
  --warning-glow: rgba(245, 158, 11, 0.4);
  --info: #3B82F6;
  --info-glow: rgba(59, 130, 246, 0.4);
  --success: #22C55E;
  --success-glow: rgba(34, 197, 94, 0.4);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container-max: 1200px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--slate-300);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

a {
  color: var(--blue-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--white);
}

/* ============================================
   Utility
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--blue);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--slate-400);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 0;
  background: rgba(10, 15, 28, 0.8);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(59, 130, 246, 0.08);
  transition: background 0.3s, border-color 0.3s;
}

.nav.scrolled {
  background: rgba(10, 15, 28, 0.95);
  border-bottom-color: rgba(59, 130, 246, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

.nav-logo .logo-bracket {
  color: var(--blue);
  font-family: var(--font-mono);
  font-weight: 400;
}

.nav-logo .logo-action {
  color: var(--blue-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-400);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--navy-600);
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.lang-toggle button {
  background: transparent;
  border: none;
  color: var(--slate-400);
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.lang-toggle button.active {
  background: var(--blue);
  color: var(--white);
}

.lang-toggle button:hover:not(.active) {
  color: var(--white);
  background: var(--navy-700);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 0 20px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
  background: var(--blue-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 0 30px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--slate-300);
  border: 1px solid var(--navy-600);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue-light);
  background: rgba(59, 130, 246, 0.05);
}

.btn-large {
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  border-radius: 10px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
}

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

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--blue-glow), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(239, 68, 68, 0.06), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(245, 158, 11, 0.04), transparent);
  pointer-events: none;
}

/* Grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  margin-left: calc((100vw - 1200px) / 2);
}

@media (max-width: 1200px) {
  .hero-content {
    margin-left: 0;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  animation: fadeSlideUp 0.8s var(--ease-out) both;
}

.hero-badge .pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-badge.development-badge {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--warning);
}

.hero-icon {
  margin: 0;
}

.hero-icon img {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
  animation: fadeSlideUp 0.8s var(--ease-out) both;
}

.hero-icon {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .hero-icon img {
    width: 80px;
    height: 80px;
  }

  .hero-icon {
    margin-bottom: 1rem;
  }
}

.hero-status {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.25rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--navy-600);
  border-radius: 10px;
  width: fit-content;
}

.status-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.status-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
}

.status-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-300);
}

.status-item.demo-available .status-value {
  color: var(--success);
}

@media (max-width: 768px) {
  .hero-status {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.1s both;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--slate-400);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 540px;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--navy-700);
  animation: fadeSlideUp 0.8s var(--ease-out) 0.4s both;
}

.hero-stat {
  position: relative;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-top: 0.25rem;
}

/* Live alarm indicators in hero */
.hero-alarms {
  position: absolute;
  right: clamp(2rem, 5vw, 5rem);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 2;
  animation: fadeSlideRight 1s var(--ease-out) 0.5s both;
}

.hero-alarms .hero-badge {
  position: absolute;
  top: -300px;
  right: 0;
}

.alarm-card {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--navy-600);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.alarm-card:hover {
  transform: translateX(-4px);
}

.alarm-card.severity-critical {
  border-left: 3px solid var(--critical);
}

.alarm-card.severity-critical:hover {
  border-color: var(--critical);
  box-shadow: 0 0 20px var(--critical-glow);
}

.alarm-card.severity-warning {
  border-left: 3px solid var(--warning);
}

.alarm-card.severity-warning:hover {
  border-color: var(--warning);
  box-shadow: 0 0 20px var(--warning-glow);
}

.alarm-card.severity-info {
  border-left: 3px solid var(--blue);
}

.alarm-card.severity-info:hover {
  border-color: var(--blue);
  box-shadow: 0 0 20px var(--info-glow);
}

.alarm-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.severity-critical .alarm-indicator {
  background: var(--critical);
  box-shadow: 0 0 12px var(--critical-glow);
  animation: pulse-critical 2s ease-in-out infinite;
}

.severity-warning .alarm-indicator {
  background: var(--warning);
  box-shadow: 0 0 12px var(--warning-glow);
  animation: pulse-warning 3s ease-in-out infinite 0.5s;
}

.severity-info .alarm-indicator {
  background: var(--blue);
  box-shadow: 0 0 12px var(--info-glow);
  animation: pulse-info 4s ease-in-out infinite 1s;
}

.alarm-text {
  flex: 1;
}

.alarm-text-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.alarm-text-time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--slate-400);
}

.alarm-status {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.status-active {
  background: rgba(239, 68, 68, 0.15);
  color: var(--critical);
}

.status-ack {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

.status-resolved {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

/* ============================================
   Features Section
   ============================================ */
.features {
  padding: var(--section-pad) 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.8));
  border: 1px solid var(--navy-600);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--blue-glow);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue-light);
  transition: all 0.3s var(--ease-out);
}

.feature-card:hover .feature-icon {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 20px var(--blue-glow);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.6;
}

/* ============================================
   Lifecycle Section
   ============================================ */
.lifecycle {
  padding: var(--section-pad) 0;
  position: relative;
}

.lifecycle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(59, 130, 246, 0.05), transparent);
  pointer-events: none;
}

.lifecycle-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  position: relative;
}

.lifecycle-steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--critical), var(--warning), var(--blue), var(--success));
  opacity: 0.3;
}

.lifecycle-step {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.lifecycle-number {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.lifecycle-number-inner {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}

.step-trigger .lifecycle-number {
  background: rgba(239, 68, 68, 0.15);
  border: 2px solid rgba(239, 68, 68, 0.3);
}

.step-trigger .lifecycle-number-inner {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.step-notify .lifecycle-number {
  background: rgba(245, 158, 11, 0.15);
  border: 2px solid rgba(245, 158, 11, 0.3);
}

.step-notify .lifecycle-number-inner {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.step-acknowledge .lifecycle-number {
  background: rgba(59, 130, 246, 0.15);
  border: 2px solid rgba(59, 130, 246, 0.3);
}

.step-acknowledge .lifecycle-number-inner {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.step-resolve .lifecycle-number {
  background: rgba(34, 197, 94, 0.15);
  border: 2px solid rgba(34, 197, 94, 0.3);
}

.step-resolve .lifecycle-number-inner {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.lifecycle-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.lifecycle-step p {
  font-size: 0.85rem;
  color: var(--slate-400);
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}

/* ============================================
   Integrations Section
   ============================================ */
.integrations {
  padding: var(--section-pad) 0;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.integration-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-600);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.integration-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.integration-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.integration-logo svg {
  width: 100%;
  height: 100%;
}

.integration-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.integration-card p {
  font-size: 0.85rem;
  color: var(--slate-400);
  line-height: 1.6;
}

.integration-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-light);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-top: 1rem;
}

/* ============================================
   Platforms Section
   ============================================ */
.platforms {
  padding: var(--section-pad) 0;
  position: relative;
}

.platforms::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 50%, rgba(59, 130, 246, 0.04), transparent);
  pointer-events: none;
}

.platforms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.platform-card {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid var(--navy-600);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
}

.platform-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.platform-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--blue-glow), transparent 70%);
  opacity: 0.1;
  pointer-events: none;
}

.platform-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  margin-bottom: 1.25rem;
}

.platform-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.platform-card .platform-desc {
  font-size: 0.95rem;
  color: var(--slate-400);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.platform-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.platform-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--slate-300);
}

.platform-features li svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  padding: var(--section-pad) 0;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--navy-600);
  border-radius: 24px;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 0%, var(--blue-glow), transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}

.cta-box > * {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.cta-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--slate-400);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

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

.cta-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--slate-400);
}

.cta-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* ============================================
   System Overview Section
   ============================================ */
.system-overview {
  padding: var(--section-pad) 0;
  position: relative;
}

.system-overview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(59, 130, 246, 0.08), transparent);
  pointer-events: none;
}

.system-diagram {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.8));
  border: 1px solid var(--navy-600);
  border-radius: 20px;
  padding: 2rem;
  overflow: hidden;
  cursor: zoom-in;
  transition: all 0.35s var(--ease-out);
}

.system-diagram:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--blue-glow);
}

.system-diagram img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ============================================
   Screenshots Section
   ============================================ */
.screenshots {
  padding: var(--section-pad) 0;
  position: relative;
}

.screenshots::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(59, 130, 246, 0.05), transparent);
  pointer-events: none;
}

.screenshots-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.screenshot-card.mobile-screenshot .screenshot-image {
  aspect-ratio: 9/16;
  max-height: 500px;
}

.screenshot-card.mobile-screenshot .screenshot-image img {
  object-fit: contain;
  padding: 1rem;
}

.screenshot-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.8));
  border: 1px solid var(--navy-600);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
}

.screenshot-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--blue-glow);
}

.screenshot-image {
  aspect-ratio: 16/10;
  background: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.screenshot-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.screenshot-card:hover .screenshot-image img {
  transform: scale(1.02);
}

.screenshot-image img {
  display: block;
}

/* Mobile screenshots - centered */
.screenshot-card.mobile-screenshot .screenshot-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-card.mobile-screenshot .screenshot-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.screenshot-caption {
  padding: 1.5rem;
}

.screenshot-caption h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.screenshot-caption p {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.5;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
  padding: var(--section-pad) 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.pricing-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.8));
  border: 1px solid var(--navy-600);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 30px var(--blue-glow);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 1rem;
  border-radius: 0 0 8px 8px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--navy-600);
}

.pricing-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.pricing-price .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--slate-400);
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--slate-400);
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: var(--slate-300);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.pricing-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  max-width: 800px;
}

.pricing-notice svg {
  width: 20px;
  height: 20px;
  color: var(--warning);
  flex-shrink: 0;
}

.pricing-notice p {
  font-size: 0.85rem;
  color: var(--slate-300);
  line-height: 1.5;
  margin: 0;
}

/* ============================================
   API Section
   ============================================ */
.api-section {
  padding: var(--section-pad) 0;
  position: relative;
}

.api-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(59, 130, 246, 0.05), transparent);
  pointer-events: none;
}

.api-showcase {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.api-description {
  font-size: 1.05rem;
  color: var(--slate-400);
  line-height: 1.7;
  max-width: 700px;
}

.integrations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.integration-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.integration-item span {
  font-size: 0.95rem;
  color: var(--slate-300);
  font-weight: 500;
}

.integration-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.integration-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  padding: var(--section-pad) 0;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(59, 130, 246, 0.05), transparent);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-methods {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  flex-shrink: 0;
}

.contact-details h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
  font-size: 0.9rem;
  color: var(--slate-400);
}

.contact-details a:hover {
  color: var(--blue-light);
}

.contact-form-wrapper {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--navy-600);
  border-radius: 20px;
  padding: 2.5rem;
}

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

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-300);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--navy-600);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' 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 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--navy-800);
  color: var(--white);
}

.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--blue);
}

.form-checkbox label {
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
}

.form-checkbox a {
  color: var(--blue-light);
}

.contact-form .btn {
  margin-top: 0.5rem;
}

/* ============================================
   Imprint Section
   ============================================ */
.imprint {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--navy-700);
}

.imprint-content {
  max-width: 800px;
}

.imprint-section {
  margin-bottom: 2.5rem;
}

.imprint-section:last-child {
  margin-bottom: 0;
}

.imprint-section h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.imprint-section h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-200);
  margin: 1.5rem 0 0.75rem;
}

.imprint-section p {
  font-size: 0.95rem;
  color: var(--slate-400);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.imprint-section strong {
  color: var(--slate-300);
}

.imprint-section a {
  color: var(--blue-light);
}

.imprint-section a:hover {
  color: var(--white);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  border-top: 1px solid var(--navy-700);
  padding: 3rem 0;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

.footer-logo .logo-bracket {
  color: var(--blue);
  font-family: var(--font-mono);
  font-weight: 400;
}

.footer-logo .logo-action {
  color: var(--blue-light);
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--slate-400);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--navy-500);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: var(--navy-500);
}

.footer-legal a {
  color: var(--navy-500);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--slate-400);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--slate-400);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--navy-600);
  border-radius: 100px;
}

.footer-badge svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

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

@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

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

@keyframes pulse-critical {
  0%, 100% { box-shadow: 0 0 4px var(--critical), 0 0 12px var(--critical-glow); }
  50% { box-shadow: 0 0 8px var(--critical), 0 0 24px var(--critical-glow); }
}

@keyframes pulse-warning {
  0%, 100% { box-shadow: 0 0 4px var(--warning), 0 0 12px var(--warning-glow); }
  50% { box-shadow: 0 0 8px var(--warning), 0 0 24px var(--warning-glow); }
}

@keyframes pulse-info {
  0%, 100% { box-shadow: 0 0 4px var(--blue), 0 0 12px var(--info-glow); }
  50% { box-shadow: 0 0 8px var(--blue), 0 0 24px var(--info-glow); }
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 28, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 2rem;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  cursor: default;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-caption {
  position: absolute;
  bottom: -3rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--slate-300);
  font-size: 1rem;
}

/* Make screenshot images clickable */
.screenshot-image {
  cursor: zoom-in;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-alarms {
    display: none;
  }

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

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

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

  .lifecycle-steps::before {
    display: none;
  }

  .platforms-grid {
    grid-template-columns: 1fr;
  }

  .screenshots-gallery {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 4rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .lifecycle-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .integrations-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

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

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 15, 28, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

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

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--slate-300);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--white);
}

.mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--slate-400);
  cursor: pointer;
  padding: 0.5rem;
}