/* Custom Design Tokens and Variables */
:root {
  --bg-primary: #060913;
  --bg-secondary: #0c1020;
  --color-accent: #6366f1; /* Neon Indigo */
  --color-success: #00FFA3; /* Neon Mint/Green */
  --color-alert: #ff4a5a;
  
  --text-primary: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --glass-bg: rgba(13, 20, 38, 0.45);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-highlight: rgba(255, 255, 255, 0.02);
  
  --glow-success: 0 0 25px rgba(0, 255, 163, 0.35);
  --glow-accent: 0 0 25px rgba(99, 102, 241, 0.25);
  
  --font-sans: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-lg: 20px;
  --border-radius-md: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  background-image: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
                    radial-gradient(circle at 90% 80%, rgba(0, 255, 163, 0.03) 0%, transparent 50%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(6, 9, 19, 0.7);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #fff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

.btn-download-sm {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  color: var(--text-primary) !important;
}

.btn-download-sm:hover {
  background: var(--text-primary);
  color: var(--bg-primary) !important;
}

/* Hero Section */
.hero-section {
  padding: 160px 24px 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge {
  align-self: flex-start;
  padding: 6px 12px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--color-success);
  color: var(--bg-primary);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  box-shadow: var(--glow-success);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 255, 163, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* Glassmorphism Mockup */
.preview-container {
  display: flex;
  justify-content: center;
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.glass::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--glass-highlight) 0%, transparent 100%);
  pointer-events: none;
}

.preview-mockup {
  width: 100%;
  max-width: 420px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.mockup-header {
  height: 35px;
  background: rgba(6, 9, 19, 0.5);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 6px;
  border-bottom: 1px solid var(--glass-border);
}

.window-dot-red, .window-dot-yellow, .window-dot-green {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-dot-red { background: #ff5f56; }
.window-dot-yellow { background: #ffbd2e; }
.window-dot-green { background: #27c93f; }

.mockup-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 500;
}

.mockup-body {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mockup-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
}

.pulse-ring-green {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 255, 163, 0.1);
  border: 2px solid var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-success);
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 10px rgba(0, 255, 163, 0.2); }
  100% { transform: scale(1.06); box-shadow: 0 0 25px rgba(0, 255, 163, 0.5); }
}

.power-icon {
  color: var(--color-success);
  font-size: 24px;
}

.status-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-success);
}

.status-timer {
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.server-label {
  font-size: 12px;
  color: var(--text-dim);
}

.ports-container {
  display: flex;
  gap: 12px;
}

.port-chip {
  flex: 1;
  padding: 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.mockup-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}

.mockup-stat-item {
  display: flex;
  flex-direction: column;
}

.mockup-stat-item span {
  font-size: 11px;
  color: var(--text-dim);
}

.mockup-stat-item strong {
  font-size: 16px;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

/* Features Grid */
.section-features {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
}

.section-header p {
  color: var(--text-muted);
  margin-top: 8px;
}

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

.feature-card {
  padding: 32px;
  border-radius: var(--border-radius-lg);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Low-End Optimization Section */
.section-optimization {
  padding: 80px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.opt-container {
  max-width: 1000px;
  margin: 0 auto;
}

.opt-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.opt-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.opt-item {
  display: flex;
  gap: 16px;
}

.opt-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 255, 163, 0.15);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.opt-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.opt-item p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Requirements Table */
.section-requirements {
  max-width: 800px;
  margin: 80px auto;
  padding: 40px;
  border-radius: var(--border-radius-lg);
}

.section-requirements h2 {
  font-size: 28px;
  margin-bottom: 24px;
  text-align: center;
}

.req-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.req-table th, .req-table td {
  padding: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.req-table th {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 14px;
}

.req-table td {
  font-size: 15px;
}

/* Call to Action */
.section-cta {
  padding: 40px 24px 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-card {
  padding: 56px 24px;
  text-align: center;
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.cta-card h2 {
  font-size: 36px;
  font-weight: 700;
}

.cta-card p {
  color: var(--text-muted);
  max-width: 600px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-dim);
  font-size: 13px;
}

/* Responsive Queries */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .badge {
    align-self: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 40px;
  }
}
