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

:root {
  --bg: #05070d;
  --bg-card: #0d1117;
  --bg-card-hover: #131824;
  --border: #1e2a3a;
  --border-hover: #2d3f57;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --text-dim: #484f58;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-dim: rgba(59, 130, 246, 0.15);
  --success: #3fb950;
  --warning: #d29922;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  --radius: 12px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: 'JetBrains Mono', monospace; }
.text-accent { color: var(--accent-light); }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(5, 7, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 700; color: var(--text); text-decoration: none;
}
.logo-icon { font-size: 22px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 14px;
  font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* Language Toggle */
.nav-right {
  display: flex; align-items: center; gap: 12px;
}
.lang-toggle {
  background: transparent; border: 1px solid var(--border);
  border-radius: 6px; padding: 6px 12px; cursor: pointer;
  color: var(--text-muted); font-size: 13px; font-weight: 500;
  font-family: inherit; transition: all 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.lang-toggle:hover {
  border-color: var(--accent); color: var(--accent-light);
  background: var(--accent-dim);
}
.lang-toggle .lang-label { white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 8px; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
}
.btn-primary {
  background: var(--accent); color: white; padding: 10px 20px;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text); padding: 10px 20px;
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--border-hover); background: var(--bg-card); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.15), transparent),
    var(--bg);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; color: var(--text-muted); margin-bottom: 24px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: 56px; font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px; color: var(--text-muted);
  max-width: 600px; margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 64px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 640px; margin: 0 auto;
}
.stat { text-align: center; }
.stat-value { display: block; font-size: 36px; font-weight: 700; color: var(--text); }
.stat-label { display: block; font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-card); }
.section-title {
  font-size: 36px; font-weight: 700; text-align: center;
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.section-sub {
  font-size: 16px; color: var(--text-muted); text-align: center;
  margin-bottom: 56px;
}

/* Features */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: all 0.3s;
}
.feature-card:hover {
  background: var(--bg-card-hover); border-color: var(--border-hover);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 32px; margin-bottom: 16px;
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim); border-radius: 12px;
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* New Feature Styles */
.section-label {
  text-align: center; font-size: 13px; font-weight: 600;
  color: var(--accent-light); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 8px;
}
.feature-highlight { border-color: var(--accent); }
.feature-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  color: var(--accent-light); background: var(--accent-dim);
  padding: 2px 10px; border-radius: 100px; margin-bottom: 12px;
}
.feature-list { list-style: none; margin-top: 12px; }
.feature-list li {
  font-size: 13px; color: var(--text-muted);
  padding: 4px 0 4px 20px; position: relative;
}
.feature-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--success); font-weight: 600;
}

/* Flow Section */
.flow-grid {
  display: flex; align-items: stretch; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.flow-step {
  flex: 1; min-width: 200px; max-width: 260px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
}
.flow-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; margin: 0 auto 16px;
}
.flow-step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.flow-step p { font-size: 13px; color: var(--text-muted); }
.flow-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--text-dim); min-width: 40px;
}
@media (max-width: 768px) {
  .flow-arrow { display: none; }
  .flow-step { max-width: 100%; }
}

/* Metrics Section */
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.metric-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 20px; text-align: center;
}
.metric-value {
  font-size: 36px; font-weight: 700; margin-bottom: 4px;
}
.metric-value.success { color: var(--success); }
.metric-value.warning { color: var(--warning); }
.metric-label { font-size: 13px; color: var(--text-muted); }
.metrics-disclaimer {
  text-align: center; font-size: 12px; color: var(--text-dim);
  margin-top: 20px;
}
@media (max-width: 768px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; }
}

/* Safety Layers */
.safety-layers {
  display: flex; flex-direction: column; gap: 12px; max-width: 700px;
  margin: 0 auto;
}
.safety-layer {
  display: flex; align-items: center; gap: 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
}
.safety-level {
  width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0;
  background: var(--accent-dim); border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: var(--accent-light);
}
.safety-content h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.safety-content p { font-size: 13px; color: var(--text-muted); }

/* Pricing */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: start;
}
.pricing-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  position: relative; transition: all 0.3s;
}
.pricing-card:hover { border-color: var(--border-hover); }
.pricing-featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white;
  padding: 4px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.pricing-header { text-align: center; margin-bottom: 24px; }
.pricing-header h3 { font-size: 16px; font-weight: 600; color: var(--text-muted); margin-bottom: 16px; }
.price { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.currency { font-size: 20px; color: var(--text-muted); }
.amount { font-size: 48px; font-weight: 700; letter-spacing: -0.02em; }
.period { font-size: 14px; color: var(--text-muted); }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  padding: 8px 0; font-size: 14px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-note {
  text-align: center; color: var(--text-dim); font-size: 13px; margin-top: 32px;
}

/* FAQ */
.faq-list { max-width: 640px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px; cursor: pointer;
  font-weight: 600; font-size: 15px;
  list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%); font-size: 20px; color: var(--text-muted);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  padding: 0 24px 20px; font-size: 14px; color: var(--text-muted);
}

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  text-align: center;
}
.contact-icon { font-size: 32px; margin-bottom: 16px; }
.contact-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--text-muted); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-card);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-col h4 {
  font-size: 14px; font-weight: 600; margin-bottom: 16px; color: var(--text);
}
.footer-col p { font-size: 13px; color: var(--text-muted); }
.footer-col a {
  display: block; color: var(--text-muted); text-decoration: none;
  font-size: 13px; padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-disclaimer {
  border-top: 1px solid var(--border); padding-top: 32px; margin-bottom: 32px;
}
.footer-disclaimer p {
  font-size: 12px; color: var(--text-dim); margin-bottom: 12px;
  line-height: 1.7;
}
.footer-bottom {
  text-align: center; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 13px; color: var(--text-dim); }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-value { font-size: 28px; }
}
