/* ZenoAuth Website - Brand Aligned Design */
/* Based on ZenoAuth Brand Style Guide - Navy + Teal */

:root {
  /* Primary Brand Colors - Navy */
  --zeno-navy: #0f172a;
  --zeno-navy-light: #1e293b;
  --zeno-navy-dark: #020617;

  /* Accent - Deep Teal (Security & Trust) */
  --zeno-teal: #0d9488;
  --zeno-teal-light: #14b8a6;
  --zeno-teal-dark: #0f766e;
  --zeno-teal-50: #f0fdfa;
  --zeno-teal-100: #ccfbf1;

  /* Legacy variable mapping for backward compatibility */
  --primary-color: var(--zeno-navy);
  --secondary-color: var(--zeno-navy-light);
  --background-color: var(--zeno-navy-dark);
  --surface-color: var(--zeno-navy-light);
  --accent-primary: var(--zeno-teal);
  --accent-secondary: var(--zeno-teal-light);
  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  --accent-error: #ef4444;
  --accent-info: #3b82f6;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Slate Neutrals */
  --zeno-slate-50: #f8fafc;
  --zeno-slate-100: #f1f5f9;
  --zeno-slate-200: #e2e8f0;
  --zeno-slate-300: #cbd5e1;
  --zeno-slate-400: #94a3b8;
  --zeno-slate-500: #64748b;
  --zeno-slate-600: #475569;
  --zeno-slate-700: #334155;
  --zeno-slate-800: #1e293b;
  --zeno-slate-900: #0f172a;

  /* Modern Shadows - Teal glow */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(13, 148, 136, 0.3);
  --shadow-teal: 0 4px 20px rgba(13, 148, 136, 0.25);

  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-code: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;

  /* Spacing System */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3rem;
  --space-4xl: 4rem;
  --space-5xl: 5rem;
  --space-6xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Gradients - Teal based */
  --gradient-primary: linear-gradient(135deg, var(--zeno-teal) 0%, var(--zeno-teal-dark) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--zeno-navy) 0%, var(--zeno-navy-light) 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-hero: linear-gradient(135deg, var(--zeno-navy-dark) 0%, var(--zeno-navy) 50%, var(--zeno-navy-dark) 100%);

  /* Additional accent colors for variety */
  --accent-cyan: var(--zeno-teal-light);
  --accent-gold: #fbbf24;
}

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

*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: var(--background-color);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 80% at 50% -20%, rgba(13, 148, 136, 0.12), transparent),
    radial-gradient(ellipse 80% 80% at 80% 60%, rgba(20, 184, 166, 0.08), transparent),
    radial-gradient(ellipse 80% 80% at 20% 80%, rgba(15, 118, 110, 0.08), transparent);
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--zeno-teal-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h2 { 
  font-size: clamp(2rem, 4vw, 3rem); 
  font-weight: 700;
}
h3 { 
  font-size: clamp(1.5rem, 3vw, 2.25rem); 
  font-weight: 600;
}
h4 { 
  font-size: clamp(1.25rem, 2.5vw, 1.75rem); 
  font-weight: 600;
}
h5 { 
  font-size: clamp(1.125rem, 2vw, 1.5rem); 
  font-weight: 600;
}
h6 { 
  font-size: clamp(1rem, 1.5vw, 1.25rem); 
  font-weight: 600;
}

p {
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

a:hover {
  color: var(--accent-secondary);
}

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

/* Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-6xl) 0;
  position: relative;
}

.section-alt {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Header & Navigation */
.header {
  background: rgba(15, 17, 23, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(15, 17, 23, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.025em;
  transition: all 0.2s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 48px;
  width: 48px;
  margin-right: var(--space-md);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.logo:hover img {
  box-shadow: var(--shadow-glow);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-2xl);
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  position: relative;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--glass-bg);
}

.nav-links a:hover::before,
.nav-links a.active::before {
  transform: translateX(-50%) scaleX(1);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
  line-height: 1;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  min-height: 48px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btn:hover::before {
  opacity: 0.1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
  border: 1px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
  color: white;
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--gradient-success);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), 0 0 20px rgba(16, 185, 129, 0.3);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-primary);
  backdrop-filter: blur(10px);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  background: var(--glass-bg);
  color: var(--text-primary);
  border-color: var(--glass-border);
}

/* Button sizes */
.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.875rem;
  min-height: 40px;
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.125rem;
  min-height: 56px;
}

/* Hero Section */
.hero {
  background: var(--gradient-hero);
  color: var(--text-primary);
  padding: 12rem 0 8rem 0;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(13, 148, 136, 0.1), transparent 70%),
    radial-gradient(ellipse 60% 60% at 0% 70%, rgba(20, 184, 166, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 60% at 100% 70%, rgba(15, 118, 110, 0.08), transparent 70%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" opacity="0.1"><defs><pattern id="hero-grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hero-grid)"/></svg>');
  z-index: 1;
}

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

.hero h1 {
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--zeno-teal-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: var(--space-xl);
  color: var(--accent-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  margin-bottom: var(--space-2xl);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-2xl);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-6xl);
  padding: var(--space-2xl);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
}

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

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--zeno-teal-light);
  font-family: var(--font-heading);
  margin-bottom: var(--space-xs);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
  margin-top: var(--space-5xl);
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  padding: var(--space-2xl);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.feature-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  border-radius: inherit;
  z-index: -1;
  opacity: 0.5;
  filter: blur(8px);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}

.feature-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

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

.feature-list li {
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  padding-left: var(--space-lg);
  position: relative;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-success);
  font-weight: 700;
  font-size: 1rem;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-xl);
  border: 1px solid var(--glass-border);
  position: relative;
}

.comparison-table::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-lg) var(--space-xl);
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

.comparison-table th {
  background: rgba(13, 148, 136, 0.1);
  color: var(--text-primary);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.comparison-table .highlight {
  background: rgba(13, 148, 136, 0.05);
  border-left: 3px solid var(--accent-primary);
  color: var(--text-primary);
}

.comparison-table .highlight th,
.comparison-table .highlight td {
  color: var(--text-primary);
  font-weight: 600;
}

.comparison-table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: none;
}

.checkmark {
  color: var(--accent-success);
  font-weight: 700;
  font-size: 1.1em;
}

.crossmark {
  color: #ef4444;
  font-weight: 700;
  font-size: 1.1em;
}

.comparison-table strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* Code Blocks */
.code-block {
  background: var(--surface-color);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: var(--space-xl);
  margin-top: var(--space-lg);
  border-radius: var(--radius-xl);
  font-family: var(--font-code);
  font-size: 0.9rem;
  line-height: 1.6;
  overflow-x: auto;
  position: relative;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Code block with title wrapper */
.code-block-wrapper {
  position: relative;
  margin: var(--space-xl) 0;
}

.code-block-wrapper .code-block-title {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.code-block-wrapper .code-block {
  margin-top: 0;
}

/* Legacy support for data-title attribute */
.code-block::before {
  content: attr(data-title);
  position: absolute;
  top: -16px;
  left: 0;
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.025em;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.code-block pre {
  margin: 0;
  color: inherit;
}

.code-block .token.comment {
  color: var(--text-muted);
}

.code-block .token.string {
  color: var(--accent-success);
}

.code-block .token.keyword {
  color: var(--accent-primary);
}

.code-block .token.function {
  color: var(--accent-secondary);
}

/* Clean spacing for code blocks with titles */
.code-block[data-title]:not([data-title=""]) {
  margin-top: var(--space-xl);
}

/* Architecture Diagram */
.architecture-diagram {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  padding: var(--space-2xl);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-code);
  font-size: 0.95rem;
  line-height: 1.5;
  overflow-x: auto;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  position: relative;
}

.architecture-diagram::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.architecture-diagram pre {
  margin: 0;
  color: var(--text-secondary);
  white-space: pre;
  font-size: inherit;
}

.architecture-diagram strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-5xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--zeno-teal-light);
  font-family: var(--font-heading);
  display: block;
  margin-bottom: var(--space-sm);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: var(--space-xs);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: var(--space-3xl) 0 var(--space-xl) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h4 {
  color: white;
  margin-bottom: var(--space-md);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: var(--space-xs);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-lg);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .nav-links {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comparison-table {
    font-size: 0.875rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .hero {
    padding: 6rem 0 4rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation & Interactions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Accessibility */
.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;
}

/* Focus States */
.btn:focus,
.nav-links a:focus {
  outline: 2px solid var(--zeno-teal);
  outline-offset: 2px;
}

/* Form Elements */
.form-input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-size: 0.875rem;
  border: 1px solid var(--zeno-slate-600);
  border-radius: var(--radius-md);
  background: var(--zeno-navy);
  color: var(--text-primary);
  transition: all 0.15s ease;
  font-family: inherit;
}

.form-input:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--zeno-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--zeno-slate-400);
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-helper {
  font-size: 0.75rem;
  color: var(--zeno-slate-500);
  margin-top: var(--space-xs);
}

.form-error {
  font-size: 0.75rem;
  color: var(--accent-error);
  margin-top: var(--space-xs);
}

.form-input.error {
  border-color: var(--accent-error);
}

.form-input.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.badge-default {
  background: var(--zeno-slate-700);
  color: var(--zeno-slate-300);
}

.badge-primary {
  background: var(--zeno-teal-100);
  color: var(--zeno-teal-dark);
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
}

.badge-warning {
  background: #fef3c7;
  color: #92400e;
}

.badge-error {
  background: #fee2e2;
  color: #991b1b;
}

.badge-info {
  background: #dbeafe;
  color: #1e40af;
}

/* Status Indicators */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.online { background: var(--accent-success); }
.status-dot.offline { background: var(--zeno-slate-400); }
.status-dot.warning { background: var(--accent-warning); }
.status-dot.error { background: var(--accent-error); }

/* Print Styles */
@media print {
  .header, .footer, .hero-cta {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
}