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

:root {
  /* Colors matching the app - Dark Mode */
  --primary: #42a5f5;
  --primary-dark: #1976d2;
  --primary-light: #64b5f6;
  --secondary: #ab47bc;
  --success: #66bb6a;
  --error: #ef5350;
  --warning: #ffa726;
  --info: #29b6f6;
  
  /* Neutral colors - Dark Mode */
  --bg-primary: #0a0a0a;
  --bg-secondary: #151515;
  --bg-tertiary: #1e1e1e;
  --bg-elevated: #252525;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --border: #2a2a2a;
  
  /* Gradients - Enhanced for dark mode */
  --gradient-primary: linear-gradient(135deg, #00F078 0%, #42a5f5 50%, #667eea 100%);
  --gradient-success: linear-gradient(135deg, #0cebeb 0%, #20e3b2 100%);
  --gradient-quantum: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Shadows - Adjusted for dark mode */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(66, 165, 245, 0.15);
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: var(--spacing-sm) 0;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-image {
  height: 32px;
  width: auto;
}

.logo svg {
  color: var(--primary);
}

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

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
}

/* Language Switcher */
.language-switcher {
  position: relative;
  display: inline-block;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.language-btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--primary);
}

.language-btn svg {
  width: 18px;
  height: 18px;
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 160px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 1000;
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.lang-option:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.lang-option.active {
  color: var(--primary);
  background: rgba(66, 165, 245, 0.1);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-large {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

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

/* Hero Section */
.hero {
  padding: var(--spacing-3xl) 0;
  background: var(--gradient-hero);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(66, 165, 245, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: var(--spacing-lg);
}

.security-fortress {
  width: 300px;
  height: 300px;
  filter: drop-shadow(0 0 30px rgba(0, 240, 120, 0.4));
}

.shield-layer {
  animation: shieldPulse 3s ease-in-out infinite;
  transform-origin: center;
}

.layer-1 {
  animation-delay: 0s;
}

.layer-2 {
  animation-delay: 0.3s;
}

.layer-3 {
  animation-delay: 0.6s;
}

@keyframes shieldPulse {
  0%, 100% {
    opacity: 0.8;
    stroke-width: 4;
  }
  50% {
    opacity: 1;
    stroke-width: 5;
  }
}

.core-shield {
  animation: coreGlow 2s ease-in-out infinite alternate;
}

@keyframes coreGlow {
  from {
    fill: rgba(0, 240, 120, 0.05);
    filter: drop-shadow(0 0 10px rgba(0, 240, 120, 0.3));
  }
  to {
    fill: rgba(0, 240, 120, 0.15);
    filter: drop-shadow(0 0 20px rgba(0, 240, 120, 0.6));
  }
}

.quantum-lock {
  animation: lockShine 4s ease-in-out infinite;
}

@keyframes lockShine {
  0%, 100% {
    opacity: 0.9;
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(0, 240, 120, 0.8));
  }
}

.security-node {
  animation: nodePulse 2s ease-in-out infinite;
}

.security-node:nth-child(7) { animation-delay: 0s; }
.security-node:nth-child(8) { animation-delay: 0.2s; }
.security-node:nth-child(9) { animation-delay: 0.4s; }
.security-node:nth-child(10) { animation-delay: 0.6s; }
.security-node:nth-child(11) { animation-delay: 0.8s; }

@keyframes nodePulse {
  0%, 100% {
    r: 4;
    opacity: 0.8;
  }
  50% {
    r: 6;
    opacity: 1;
  }
}

.particle {
  animation: particleFloat 6s ease-in-out infinite;
}

.p1 { animation-delay: 0s; }
.p2 { animation-delay: 1s; }
.p3 { animation-delay: 2s; }
.p4 { animation-delay: 3s; }
.p5 { animation-delay: 4s; }
.p6 { animation-delay: 5s; }

@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.6;
  }
  25% {
    transform: translate(10px, -15px);
    opacity: 1;
  }
  50% {
    transform: translate(-5px, -30px);
    opacity: 0.4;
  }
  75% {
    transform: translate(-10px, -15px);
    opacity: 1;
  }
}

.security-indicators {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: flex-start;
}

.indicator {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.indicator.active .indicator-dot {
  background: linear-gradient(135deg, #00F078 0%, #42a5f5 50%, #667eea 100%);
  box-shadow: 0 0 10px rgba(0, 240, 120, 0.6);
  animation: statusPulse 2s ease-in-out infinite;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

@keyframes statusPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(0, 240, 120, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 240, 120, 1);
  }
}

.indicator-text {
  color: var(--text-primary);
  font-family: 'Courier New', monospace;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .hero-visual {
    display: none; /* Hide on mobile for cleaner look */
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 100px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: var(--spacing-md);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.hero-stats {
  display: flex;
  gap: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border);
}

.stat-value {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Trust Section */
.trust-section {
  padding: var(--spacing-xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
}

.trust-item svg {
  color: var(--primary);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(66, 165, 245, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

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

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

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.feature-icon.quantum {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  color: var(--primary);
}

.feature-icon.sharing {
  background: linear-gradient(135deg, rgba(2, 136, 209, 0.1) 0%, rgba(25, 118, 210, 0.1) 100%);
  color: var(--info);
}

.feature-icon.auth {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.1) 0%, rgba(56, 142, 60, 0.1) 100%);
  color: var(--success);
}

.feature-icon.privacy {
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(123, 31, 162, 0.1) 100%);
  color: var(--secondary);
}

.feature-icon.metadata {
  background: linear-gradient(135deg, rgba(237, 108, 2, 0.1) 0%, rgba(245, 124, 0, 0.1) 100%);
  color: var(--warning);
}

.feature-icon.paranoid {
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(229, 57, 53, 0.1) 100%);
  color: var(--error);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

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

.feature-tags {
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
}

.tag {
  padding: 0.25rem 0.75rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Security Section */
.security-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.security-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.security-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.1) 0%, rgba(56, 142, 60, 0.1) 100%);
  border-radius: 100px;
  color: var(--success);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: var(--spacing-md);
}

.security-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.security-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.security-features {
  margin-bottom: var(--spacing-xl);
}

.security-feature {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.security-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.1) 0%, rgba(56, 142, 60, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
}

.security-feature h4 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.security-feature p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.encryption-flow {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
}

.flow-step {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  background: var(--bg-tertiary);
  margin-bottom: var(--spacing-sm);
}

.flow-step.active {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border: 1px solid var(--primary);
}

.flow-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.flow-content {
  flex: 1;
}

.flow-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.flow-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.flow-icon {
  font-size: 1.5rem;
}

.flow-arrow {
  text-align: center;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Use Cases Section */
.use-cases-section {
  padding: var(--spacing-3xl) 0;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
}

.use-case-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  transition: all 0.3s;
}

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  background: var(--bg-elevated);
}

.use-case-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.use-case-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.use-case-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.use-case-example {
  padding: var(--spacing-md);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  font-size: 0.875rem;
  line-height: 1.5;
  border: 1px solid var(--border);
}

.use-case-example strong {
  color: var(--primary);
}

.use-case-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.benefit {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--success);
  font-weight: 600;
}

/* Comparison Section */
.comparison-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-secondary);
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
  padding: var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--bg-tertiary);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table .highlight-col {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.table-logo {
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
}

.check {
  color: var(--success);
  font-size: 1.5rem;
  font-weight: 700;
}

.cross {
  color: var(--error);
  font-size: 1.5rem;
  font-weight: 700;
}

.partial {
  color: var(--warning);
  font-size: 1.5rem;
  font-weight: 700;
}

.feature-detail {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.pricing-card {
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  background: var(--bg-elevated);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  background: var(--bg-elevated);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header {
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border);
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.price-period {
  font-size: 1rem;
  color: var(--text-secondary);
}

.pricing-annual {
  font-size: 0.875rem;
  color: var(--success);
  margin-top: var(--spacing-xs);
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--spacing-xl);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  font-size: 0.875rem;
}

.pricing-features svg {
  color: var(--success);
  flex-shrink: 0;
}

.pricing-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: var(--spacing-xl);
}

/* Self-Hosting Section */
.self-hosting-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.self-hosting-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.self-hosting-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  color: var(--primary);
  margin-bottom: var(--spacing-lg);
  border: 2px solid var(--border);
}

.self-hosting-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.self-hosting-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.self-hosting-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.self-hosting-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.self-hosting-feature:hover {
  background: var(--bg-elevated);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.self-hosting-feature svg {
  color: var(--success);
  flex-shrink: 0;
}

.self-hosting-cta {
  margin-top: var(--spacing-xl);
}

.self-hosting-note {
  margin-top: var(--spacing-md);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* FAQ Section */
.faq-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-primary);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: var(--spacing-lg);
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  transition: all 0.3s;
}

.faq-item:hover {
  background: var(--bg-elevated);
  border-color: var(--primary);
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--primary);
}

.faq-answer {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

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

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.cta-title .gradient-text {
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
}

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

.cta-section .btn-outline {
  border-color: white;
  color: white;
}

.cta-section .btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* Footer */
.footer {
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.footer-tagline {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: white;
  color: var(--primary);
  transition: all 0.2s;
}

.footer-social a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.footer-title {
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .security-content {
    grid-template-columns: 1fr;
  }
  
  .comparison-table {
    font-size: 0.875rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    flex-direction: column;
    padding: var(--spacing-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 999;
    border-bottom: 1px solid var(--border);
  }

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

  .nav-links a {
    padding: var(--spacing-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s;
  }

  .nav-links a:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
  }

  .nav-links .btn {
    margin-top: var(--spacing-sm);
    justify-content: center;
  }
  
  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .language-switcher {
    order: -1; /* Move language switcher to the left on mobile */
  }

  .language-dropdown {
    right: auto;
    left: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .features-grid,
  .use-cases-grid,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .cta-title {
    font-size: 2rem;
  }
}

/* Newsletter Section */
.newsletter-section {
  padding: var(--spacing-4xl) 0;
  background: linear-gradient(135deg, rgba(66, 165, 245, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  border-top: 1px solid var(--border-color);
}

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

.newsletter-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
}

.newsletter-form {
  margin-top: var(--spacing-xl);
}

.form-group {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  align-items: stretch;
}

.newsletter-input {
  flex: 1;
  padding: 0.875rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-family);
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(0, 240, 120, 0.1);
}

.newsletter-input::placeholder {
  color: var(--text-tertiary);
}

.newsletter-btn {
  white-space: nowrap;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  min-width: 160px;
  position: relative;
}

.newsletter-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.spinner {
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.form-message {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  text-align: center;
  display: none;
  margin-top: var(--spacing-md);
}

.form-message.success {
  display: block;
  background: rgba(0, 240, 120, 0.15);
  color: var(--primary);
  border: 1px solid rgba(0, 240, 120, 0.4);
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--bg-elevated);
  margin: auto;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalFadeIn 0.3s ease-out;
}

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

.close-modal {
  color: var(--text-secondary);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--text-primary);
  text-decoration: none;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.modal-subtitle {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(66, 165, 245, 0.2);
}

.form-status {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(102, 187, 106, 0.1);
  color: var(--success);
  border: 1px solid rgba(102, 187, 106, 0.2);
}

.form-status.error {
  display: block;
  background-color: rgba(239, 83, 80, 0.1);
  color: var(--error);
  border: 1px solid rgba(239, 83, 80, 0.2);
}
