/* STING Design System - Base Styles */

/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
  /* Brand Colors */
  --sting-yellow: #eab308;
  --sting-yellow-hover: #d97706;
  --sting-yellow-active: #b45309;
  
  /* Background Colors */
  --bg-main: #0f1419;
  --bg-card: #1a1f2e;
  --bg-elevated: #252d3d;
  --bg-sidebar: #e2e8f0;
  --bg-darker: #080b0f;
  
  /* Text Colors */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --text-disabled: #64748b;
  
  /* Semantic Colors */
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-warning: #f59e0b;
  --color-info: #06b6d4;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Body */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background with vignette effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Glass Effects */
.glass-subtle {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-medium {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-ultra {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Typography */
h1 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--spacing-sm);
}

h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: var(--spacing-xs);
}

h5 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: var(--spacing-xs);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
}

a {
  color: var(--sting-yellow);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--sting-yellow-hover);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 1;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--spacing-md) 0;
  transition: var(--transition);
}

header.glass-header {
  background: rgba(15, 20, 25, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Main Content */
main {
  padding-top: 100px;
  min-height: calc(100vh - 200px);
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: var(--spacing-xl) 0;
  position: relative;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--sting-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 16px 32px;
  background: var(--sting-yellow);
  color: var(--bg-main);
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  border: 2px solid var(--sting-yellow);
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(234, 179, 8, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.cta-button:hover {
  background: var(--sting-yellow-hover);
  border-color: var(--sting-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(234, 179, 8, 0.4);
  color: var(--bg-main);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:active {
  background: var(--sting-yellow-active);
  border-color: var(--sting-yellow-active);
  transform: translateY(0);
}

/* Cards */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sting-yellow), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.1),
    0 16px 32px rgba(0, 0, 0, 0.15);
  border-color: rgba(234, 179, 8, 0.3);
}

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

/* Footer */
footer {
  margin-top: var(--spacing-xl);
  padding: var(--spacing-lg) 0;
  text-align: center;
  color: var(--text-tertiary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

/* Content */
.content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-lg) 0;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5 {
  margin-top: var(--spacing-md);
}

.content ul,
.content ol {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
}

/* Navigation Links */
.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sting-yellow);
  transition: width var(--transition);
}

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

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

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  main {
    padding-top: 80px;
  }
}

/* ============================================
   MODERN TEASER SITE ENHANCEMENTS
   ============================================ */

/* Hero Container with Animated Background */
.hero-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -70px;
  padding-top: 70px;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hexagon-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hexagon {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--sting-yellow);
  opacity: 0.03;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  animation: float-hexagon 20s infinite linear;
}

@keyframes float-hexagon {
  0% { transform: translateY(100vh) rotate(0deg); }
  100% { transform: translateY(-100vh) rotate(360deg); }
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg-main) 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  padding: var(--spacing-xl);
}

.hero-card {
  text-align: center;
  padding: var(--spacing-xl) !important;
  border-radius: 32px !important;
}

.hero-title {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(135deg, var(--sting-yellow) 0%, #fbbf24 50%, var(--sting-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

/* Content Wrapper */
.content-wrapper {
  position: relative;
  background: var(--bg-main);
  padding: var(--spacing-xl) 0;
}

.markdown-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.markdown-content h1 {
  font-size: 48px;
  font-weight: 800;
  margin: var(--spacing-xl) 0 var(--spacing-lg);
  text-align: center;
}

.markdown-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin: var(--spacing-xl) 0 var(--spacing-md);
  color: var(--text-primary);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.markdown-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--sting-yellow);
  border-radius: 2px;
}

.markdown-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin: var(--spacing-md) 0 var(--spacing-sm);
  color: var(--text-primary);
}

/* Process Flow */
.process-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.process-flow h3 {
  color: var(--sting-yellow);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

/* Industry Grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.industry-grid > div {
  background: rgba(51, 65, 85, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 16px;
  padding: var(--spacing-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-grid > div:hover {
  transform: translateY(-4px);
  background: rgba(51, 65, 85, 0.8);
  border-color: var(--sting-yellow);
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.2);
}

/* Security Pillars */
.security-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-sm);
  margin: var(--spacing-lg) 0;
  text-align: center;
}

.security-pillars > div {
  padding: var(--spacing-md);
  background: rgba(51, 65, 85, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(100, 116, 139, 0.2);
}

/* Tables */
.markdown-content table,
.requirements-table table {
  width: 100%;
  margin: var(--spacing-lg) 0;
  border-collapse: collapse;
  background: rgba(51, 65, 85, 0.6);
  backdrop-filter: blur(16px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  table-layout: auto;
}

.requirements-section table {
  width: 100%;
  max-width: 100%;
}

.markdown-content th,
.requirements-table th {
  background: rgba(234, 179, 8, 0.2);
  color: var(--sting-yellow);
  font-weight: 600;
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: left;
  border-bottom: 2px solid var(--sting-yellow);
  white-space: nowrap;
}

.markdown-content td,
.requirements-table td {
  padding: var(--spacing-sm) var(--spacing-md);
  border-bottom: 1px solid rgba(100, 116, 139, 0.2);
  color: var(--text-secondary);
  vertical-align: top;
}

/* First column (Component) - narrower */
.requirements-table table td:first-child,
.requirements-table table th:first-child {
  width: 15%;
  font-weight: 600;
}

/* Second column (Minimum) - medium width */
.requirements-table table td:nth-child(2),
.requirements-table table th:nth-child(2) {
  width: 40%;
}

/* Third column (Recommended) - medium width */
.requirements-table table td:nth-child(3),
.requirements-table table th:nth-child(3) {
  width: 45%;
}

.markdown-content tr:hover {
  background: rgba(234, 179, 8, 0.05);
}

/* CTA Sections */
.cta-section {
  background: rgba(234, 179, 8, 0.1);
  border: 2px solid var(--sting-yellow);
  border-radius: 24px;
  padding: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

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

/* Blockquotes */
.markdown-content blockquote {
  border-left: 4px solid var(--sting-yellow);
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-md);
  background: rgba(51, 65, 85, 0.4);
  border-radius: 8px;
  font-style: italic;
}

.markdown-content blockquote p {
  margin-bottom: var(--spacing-sm);
}

/* Details/Summary (FAQ) */
.markdown-content details {
  background: rgba(51, 65, 85, 0.6);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 12px;
  margin: var(--spacing-sm) 0;
  padding: var(--spacing-sm);
  transition: all 0.3s ease;
}

.markdown-content details[open] {
  background: rgba(51, 65, 85, 0.8);
  border-color: var(--sting-yellow);
}

.markdown-content summary {
  cursor: pointer;
  padding: var(--spacing-xs);
  font-weight: 600;
  color: var(--text-primary);
}

.markdown-content summary:hover {
  color: var(--sting-yellow);
}

/* Code Blocks */
.markdown-content pre {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 8px;
  padding: var(--spacing-sm);
  overflow-x: auto;
  margin: var(--spacing-md) 0;
}

.markdown-content code {
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 14px;
  color: var(--sting-yellow);
}

/* Links in Markdown */
.markdown-content a {
  color: var(--sting-yellow);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.markdown-content a:hover {
  color: #fbbf24;
}

.markdown-content a[href^="http"]::after {
  content: " ↗";
  font-size: 0.8em;
  vertical-align: super;
}

/* Floating Elements */
.floating-bee {
  position: fixed;
  font-size: 32px;
  z-index: 100;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.1s ease-out;
}

.floating-hexagon {
  position: fixed;
  bottom: 40px;
  left: 40px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--sting-yellow), #fbbf24);
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  opacity: 0.1;
  animation: rotate 20s linear infinite;
}

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

/* Newsletter Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  margin: 15% auto;
  padding: var(--spacing-lg);
  width: 90%;
  max-width: 500px;
  border-radius: 24px;
  animation: slideIn 0.3s ease-out;
}

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

.close {
  position: absolute;
  right: var(--spacing-md);
  top: var(--spacing-md);
  font-size: 28px;
  font-weight: bold;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--sting-yellow);
}

.newsletter-form {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: var(--spacing-sm);
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 16px;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--sting-yellow);
  box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.2);
}

/* Fade In Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Footer CTA */
.footer-cta {
  text-align: center;
  padding: var(--spacing-xl);
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(234, 179, 8, 0.05));
  border-radius: 32px;
  margin: var(--spacing-xl) 0;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
  
  .markdown-content h1 {
    font-size: 36px;
  }
  
  .markdown-content h2 {
    font-size: 28px;
  }
  
  .industry-grid,
  .process-flow,
  .security-pillars {
    grid-template-columns: 1fr;
  }
  
  .floating-hexagon {
    width: 80px;
    height: 80px;
    bottom: 20px;
    left: 20px;
  }
  
  .floating-bee {
    font-size: 24px;
  }
  
  .cta-section {
    padding: var(--spacing-md);
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

/* Screenshot Placeholders */
.screenshot-placeholder {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(234, 179, 8, 0.05));
  border: 2px dashed var(--sting-yellow);
  border-radius: 16px;
  padding: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

.screenshot-placeholder::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(234, 179, 8, 0.03) 10px,
    rgba(234, 179, 8, 0.03) 20px
  );
  animation: slide 20s linear infinite;
}

@keyframes slide {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.screenshot-placeholder h4 {
  color: var(--sting-yellow);
  font-size: 20px;
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  position: relative;
  z-index: 1;
}

.screenshot-placeholder p {
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  position: relative;
  z-index: 1;
}

.screenshot-placeholder strong {
  color: var(--sting-yellow);
}

.screenshot-placeholder ul {
  list-style: none;
  padding-left: var(--spacing-md);
  margin: var(--spacing-xs) 0;
  position: relative;
  z-index: 1;
}

.screenshot-placeholder li {
  position: relative;
  padding-left: var(--spacing-md);
  margin: var(--spacing-xs) 0;
  color: var(--text-secondary);
}

.screenshot-placeholder li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--sting-yellow);
  font-weight: bold;
}

/* Screenshot placeholder hover effect */
.screenshot-placeholder:hover {
  border-color: #fbbf24;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(234, 179, 8, 0.08));
}

/* Actual screenshot styling */
.screenshot {
  margin: var(--spacing-xl) 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  position: relative;
}

.screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-caption {
  text-align: center;
  margin-top: var(--spacing-sm);
  color: var(--text-secondary);
  font-style: italic;
  font-size: 14px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  padding: var(--spacing-lg);
  border-radius: 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--sting-yellow);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.edition-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.edition-badge.ce {
  background: var(--bg-elevated);
  color: var(--text-secondary);
}

.edition-badge.pro {
  background: var(--sting-yellow);
  color: #000;
}

.edition-badge.enterprise {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
}

.edition-badge.plus {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
}

/* Cloud edition badges */
.edition-badge.cloud {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
}

.edition-badge.cloud-enterprise {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
}

/* Inline edition badges (used in feature cards) */
.feature-card .edition-badge,
h3 .edition-badge,
h4 .edition-badge {
  position: static;
  display: inline-block;
  transform: none;
  margin-left: 8px;
  vertical-align: middle;
  top: auto;
  left: auto;
}

.pricing-card h3 {
  font-size: 28px;
  margin: var(--spacing-sm) 0;
  color: var(--text-primary);
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--sting-yellow);
  margin: var(--spacing-sm) 0;
}

.price span {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
}

.edition-tagline {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.who-for {
  background: rgba(30, 41, 59, 0.5);
  border-radius: 12px;
  padding: var(--spacing-sm);
  margin: var(--spacing-md) 0;
  text-align: left;
}

.who-for strong {
  color: var(--sting-yellow);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.who-for p {
  margin-top: var(--spacing-xs);
  font-size: 14px;
  color: var(--text-secondary);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
  text-align: left;
}

.feature-list li {
  padding: var(--spacing-xs) 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.support-tier {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: 12px;
  padding: var(--spacing-sm);
  margin: var(--spacing-md) 0;
  text-align: left;
}

.support-tier strong {
  color: var(--sting-yellow);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: var(--spacing-xs);
}

.support-tier ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.support-tier li {
  padding: 4px 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.support-feature {
  color: var(--sting-yellow);
  font-weight: 600;
  margin-top: var(--spacing-xs);
}

.edition-cta {
  display: inline-block;
  width: 100%;
  padding: 16px 32px;
  background: transparent;
  border: 2px solid var(--sting-yellow);
  color: var(--sting-yellow);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(234, 179, 8, 0.3);
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.edition-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.edition-cta:hover {
  background: var(--sting-yellow);
  color: var(--bg-main);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(234, 179, 8, 0.4);
}

.edition-cta:hover::before {
  left: 100%;
}

.edition-cta:active {
  background: var(--sting-yellow-active);
  transform: translateY(0);
}

.edition-cta.primary {
  background: var(--sting-yellow);
  color: var(--bg-main);
}

.edition-cta.primary:hover {
  background: var(--sting-yellow-hover);
  border-color: var(--sting-yellow-hover);
  color: var(--bg-main);
}

.pricing-comparison {
  text-align: center;
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  background: rgba(234, 179, 8, 0.1);
  border-radius: 12px;
}

.pricing-comparison a {
  color: var(--sting-yellow);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: var(--spacing-xl) auto;
  }
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.stat-card {
  padding: var(--spacing-lg);
  text-align: center;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--sting-yellow);
  box-shadow: 0 12px 24px rgba(234, 179, 8, 0.2);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--sting-yellow);
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.stat-detail {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
}

/* Market Stats */
.market-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  text-align: center;
}

.market-stats p {
  padding: var(--spacing-md);
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 12px;
  margin: 0;
}

.market-stats strong {
  display: block;
  font-size: 36px;
  color: var(--sting-yellow);
  margin-bottom: var(--spacing-xs);
}

/* ============================================
   NEW CARD-BASED LAYOUT STYLES
   ============================================ */

/* Section Cards */
.section-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: var(--spacing-xl);
  margin: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sting-yellow), transparent);
  opacity: 0.6;
}

/* Feature Cards */
.feature-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: var(--spacing-lg);
  margin: var(--spacing-md) 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(234, 179, 8, 0.4);
  box-shadow: 0 12px 24px rgba(234, 179, 8, 0.2);
}

.feature-card h3 {
  color: var(--sting-yellow);
  margin-bottom: var(--spacing-sm);
}

/* Accordion Styles */
.accordion {
  margin: var(--spacing-md) 0;
}

.accordion-item {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: rgba(234, 179, 8, 0.3);
}

.accordion-header {
  padding: var(--spacing-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  color: var(--sting-yellow);
  background: rgba(234, 179, 8, 0.05);
}

.accordion-header::after {
  content: '+';
  font-size: 24px;
  color: var(--sting-yellow);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 var(--spacing-md);
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  padding: 0 var(--spacing-md) var(--spacing-md);
}

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

.icon-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: var(--spacing-md);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--sting-yellow);
  box-shadow: 0 12px 24px rgba(234, 179, 8, 0.3);
}

.icon-card .icon {
  font-size: 48px;
  margin-bottom: var(--spacing-sm);
  display: block;
}

.icon-card h4 {
  color: var(--sting-yellow);
  margin-bottom: var(--spacing-xs);
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: 24px;
  padding: var(--spacing-lg);
  margin: var(--spacing-md) 0;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 120px;
  color: var(--sting-yellow);
  opacity: 0.1;
  font-family: Georgia, serif;
}

.testimonial-card blockquote {
  border: none;
  background: none;
  padding: 0;
  margin: 0 0 var(--spacing-md);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author strong {
  color: var(--sting-yellow);
  font-size: 16px;
}

.testimonial-author em {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Screenshot Gallery */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-xl) 0;
}

.screenshot-item {
  background: var(--bg-darker);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
  border-color: var(--sting-yellow);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-info {
  padding: var(--spacing-md);
}

.screenshot-info h4 {
  color: var(--sting-yellow);
  margin-bottom: var(--spacing-xs);
}

/* Message Cards */
.message-card {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(234, 179, 8, 0.05));
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 16px;
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
  position: relative;
  overflow: hidden;
}

.message-card.info {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(6, 182, 212, 0.05));
  border-color: rgba(6, 182, 212, 0.3);
}

.message-card.success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
  border-color: rgba(16, 185, 129, 0.3);
}

.message-card.warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
  border-color: rgba(245, 158, 11, 0.3);
}

/* Button Group */
.button-group {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin: var(--spacing-md) 0;
}

.button-group .cta-button {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

/* Metric Cards */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-sm);
  margin: var(--spacing-lg) 0;
}

.metric-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: var(--spacing-md);
  text-align: center;
  transition: all 0.3s ease;
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  border-color: var(--sting-yellow);
}

.metric-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--sting-yellow);
  line-height: 1;
}

.metric-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: var(--spacing-xs);
}

/* Tab Container */
.tab-container {
  margin: var(--spacing-xl) 0;
}

.tab-buttons {
  display: flex;
  gap: var(--spacing-xs);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--spacing-lg);
}

.tab-button {
  padding: var(--spacing-sm) var(--spacing-md);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.tab-button:hover {
  color: var(--text-primary);
}

.tab-button.active {
  color: var(--sting-yellow);
  border-bottom-color: var(--sting-yellow);
}

.tab-content {
  display: none;
}

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

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--sting-yellow), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-lg);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--spacing-lg) - 6px);
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--sting-yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg-main);
}

.timeline-content {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: var(--spacing-md);
}

.timeline-date {
  color: var(--sting-yellow);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

/* Install Command Wrapper */
.install-command-wrapper {
  position: relative;
  max-width: 800px;
  margin: var(--spacing-lg) auto;
  background: var(--bg-card);
  border: 2px solid var(--sting-yellow);
  border-radius: 12px;
  padding: var(--spacing-md);
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.2);
}

.install-command {
  background: var(--bg-darker);
  border-radius: 8px;
  padding: var(--spacing-md);
  margin: 0;
  overflow-x: auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  line-height: 1.5;
  color: var(--sting-yellow);
  border: 1px solid rgba(234, 179, 8, 0.3);
  -webkit-overflow-scrolling: touch;
}

.install-command code {
  font-family: 'Courier New', Courier, monospace;
  background: none;
  padding: 0;
  color: inherit;
  word-break: break-all;
  white-space: pre-wrap;
}

.copy-install-btn {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: linear-gradient(135deg, var(--sting-yellow), #fbbf24);
  color: var(--bg-main);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.3);
  z-index: 10;
}

.copy-install-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.5);
}

.copy-install-btn:active {
  transform: translateY(0);
}

.install-details {
  max-width: 700px;
  margin: var(--spacing-lg) auto;
  text-align: left;
}

.install-details ul {
  list-style: none;
  padding: 0;
}

.install-details li {
  margin-bottom: var(--spacing-xs);
  line-height: 1.6;
}

/* Center install section container but keep content left-aligned */
#install {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#install > h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

/* System requirements section */
.requirements-section {
  width: 100%;
  margin: var(--spacing-xl) 0;
}

.requirements-section p {
  margin-bottom: var(--spacing-md);
  font-size: 18px;
}

.requirements-section table,
.requirements-table table {
  width: 100%;
  margin: 0;
}

@media (max-width: 768px) {
  .install-command-wrapper {
    padding: var(--spacing-sm);
  }

  .install-command {
    font-size: 12px;
    padding: var(--spacing-sm);
  }

  .copy-install-btn {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: 100%;
    margin-top: var(--spacing-sm);
  }
}