/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0f;
  color: #e0e0e0;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: #00c853; text-decoration: none; transition: color 0.2s; }
a:hover { color: #00e676; }
code, pre { font-family: 'JetBrains Mono', 'Fira Code', monospace; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar .logo { font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: -0.5px; }
.navbar .logo span { color: #00c853; }
.nav-links { list-style: none; display: flex; gap: 32px; align-items: center; }
.nav-links a { color: #999; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #00c853; }
.nav-cta {
  background: #00c853; color: #0a0a0f !important;
  padding: 8px 20px; border-radius: 8px; font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: #00e676; color: #0a0a0f !important; transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #e0e0e0; border-radius: 2px; transition: 0.3s; }

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,200,83,0.08) 0%, transparent 60%);
}
.hero h1 {
  font-size: 3.2rem; font-weight: 800; letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 40%, #00c853);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 16px;
}
.hero p { font-size: 1.15rem; color: #999; max-width: 650px; margin: 0 auto 32px; }
.hero .subtitle { font-size: 0.9rem; color: #666; margin-top: -8px; margin-bottom: 40px; }
.hero .subtitle code { background: #1a1a2e; padding: 2px 8px; border-radius: 4px; color: #00c853; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 14px 36px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: all 0.25s; border: none;
}
.btn-primary { background: #00c853; color: #0a0a0f; }
.btn-primary:hover { background: #00e676; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,200,83,0.25); }
.btn-outline { background: transparent; color: #00c853; border: 1.5px solid #00c853; }
.btn-outline:hover { background: rgba(0,200,83,0.1); transform: translateY(-2px); }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-title { font-size: 2rem; font-weight: 700; margin-bottom: 12px; color: #fff; text-align: center; }
.section-subtitle { text-align: center; color: #888; font-size: 1rem; margin-bottom: 56px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-title.left { text-align: left; }
.section-subtitle.left { text-align: left; margin-left: 0; }

/* ===== Feature Cards ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #111118; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 36px 28px; transition: all 0.3s;
}
.feature-card:hover { border-color: rgba(0,200,83,0.2); transform: translateY(-4px); }
.feature-card .icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: #888; line-height: 1.7; }

/* ===== Steps ===== */
.steps { counter-reset: step; max-width: 700px; margin: 0 auto; }
.step {
  counter-increment: step; display: flex; gap: 20px; margin-bottom: 36px; position: relative;
}
.step:not(:last-child)::after {
  content: ''; position: absolute; left: 20px; top: 52px; bottom: -36px;
  width: 2px; background: rgba(0,200,83,0.15);
}
.step-number {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,200,83,0.1); border: 1px solid rgba(0,200,83,0.3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: #00c853;
}
.step-body h4 { font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.step-body p { font-size: 0.9rem; color: #888; }

/* ===== Code blocks ===== */
pre {
  background: #111118; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 20px 24px; overflow-x: auto;
  margin: 20px 0; position: relative;
}
pre code { font-size: 0.85rem; color: #c9d1d9; line-height: 1.7; }
.copy-btn {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  color: #888; padding: 4px 12px; border-radius: 6px; font-size: 0.75rem;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.copy-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ===== Info boxes ===== */
.info-box {
  background: rgba(0,200,83,0.06); border-left: 3px solid #00c853;
  border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 20px 0;
}
.info-box.warning { border-left-color: #ffa726; background: rgba(255,167,38,0.06); }
.info-box.error { border-left-color: #ef5350; background: rgba(239,83,80,0.06); }
.info-box h4 { font-size: 0.9rem; font-weight: 600; color: #00c853; margin-bottom: 4px; }
.info-box.warning h4 { color: #ffa726; }
.info-box.error h4 { color: #ef5350; }
.info-box p { font-size: 0.85rem; color: #aaa; }

/* ===== Tables ===== */
table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  background: #111118; border-radius: 12px; overflow: hidden;
}
th, td { padding: 12px 16px; text-align: left; font-size: 0.85rem; }
th { background: rgba(255,255,255,0.04); color: #999; font-weight: 600; }
td { border-bottom: 1px solid rgba(255,255,255,0.04); color: #ccc; }
tr:last-child td { border-bottom: none; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: 40px; }
.pricing-card {
  background: #111118; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 36px 28px; text-align: center;
}
.pricing-card.featured {
  border-color: rgba(0,200,83,0.3); position: relative;
  background: linear-gradient(180deg, rgba(0,200,83,0.04) 0%, #111118 100%);
}
.pricing-card.featured::before {
  content: 'Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #00c853; color: #0a0a0f; font-size: 0.75rem; font-weight: 700;
  padding: 4px 16px; border-radius: 20px;
}
.pricing-card h3 { font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.pricing-card .price { font-size: 2.5rem; font-weight: 800; color: #00c853; margin: 16px 0; }
.pricing-card .price span { font-size: 1rem; color: #666; font-weight: 400; }
.pricing-card ul { list-style: none; text-align: left; margin: 24px 0; }
.pricing-card ul li { padding: 8px 0; font-size: 0.85rem; color: #999; }
.pricing-card ul li::before { content: '\2713 '; color: #00c853; font-weight: 700; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; max-width: 800px; margin: 40px auto; }
.contact-card {
  background: #111118; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 32px 24px; text-align: center; transition: all 0.3s;
}
.contact-card:hover { border-color: rgba(0,200,83,0.2); transform: translateY(-4px); }
.contact-card .icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.contact-card p { font-size: 0.85rem; color: #888; margin-bottom: 16px; }

/* ===== Stats cards (reusable) ===== */
.sc { background: #111118; border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 18px 14px; text-align: center; }
.sc .v { font-size: 1.3rem; font-weight: 700; color: #00c853; }
.sc .l { font-size: 0.72rem; color: #888; margin-top: 3px; }

/* ===== Footer ===== */
.footer { text-align: center; padding: 48px 24px 24px; border-top: 1px solid rgba(255,255,255,0.04); color: #555; font-size: 0.8rem; }
.footer .disclaimer { font-size: 0.5rem; color: rgba(85,85,85,0.25); margin-top: 16px; line-height: 1.3; max-width: 500px; margin-left: auto; margin-right: auto; user-select: none; }

/* ===== Page Header ===== */
.page-header { padding: 130px 0 50px; text-align: center; }
.page-header h1 { font-size: 2.5rem; font-weight: 800; color: #fff; }
.page-header p { color: #888; max-width: 550px; margin: 8px auto 0; }

/* ===== Content sections ===== */
.content-section { padding: 0 0 60px; }
.content-section h2 { font-size: 1.5rem; font-weight: 700; color: #fff; margin: 40px 0 12px; }
.content-section h3 { font-size: 1.15rem; font-weight: 600; color: #e0e0e0; margin: 28px 0 8px; }
.content-section p { font-size: 0.92rem; color: #999; margin-bottom: 12px; line-height: 1.8; }
.content-section ul, .content-section ol { padding-left: 24px; margin-bottom: 16px; }
.content-section li { font-size: 0.9rem; color: #999; margin-bottom: 6px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 120px 0 60px; }
  .page-header h1 { font-size: 1.8rem; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,10,15,0.98); flex-direction: column; padding: 20px 24px;
    gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 1.8rem; }
}
