/* Base styles */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --bg-color: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --bg-alt: #f8fafc;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
header { background-color: var(--bg-color); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; }
nav { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; color: var(--primary); }
.logo img { height: 40px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a.nav-item { font-weight: 500; }
.nav-links a.nav-item:hover { color: var(--primary); }
.hamburger { display: none; cursor: pointer; font-size: 1.5rem; color: var(--text-main); }

/* Hero */
.hero { display: flex; align-items: center; gap: 40px; padding: 80px 0; }
.hero-content { flex: 1; }
.hero-image { flex: 1; display: flex; justify-content: center; }
.hero-image img { border-radius: 20px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); max-height: 500px; object-fit: contain; }
h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; color: #0f172a; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.btn { display: inline-block; background-color: var(--primary); color: white; padding: 12px 28px; border-radius: 8px; font-weight: 600; transition: background 0.3s; text-align: center; }
.btn:hover { background-color: var(--primary-hover); }

/* Features */
.features { background-color: var(--bg-alt); padding: 80px 0; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 50px; color: #0f172a; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); }
.feature-card h3 { margin-bottom: 15px; font-size: 1.25rem; }
.feature-card p { color: var(--text-muted); }

/* How to Use */
.how-to { padding: 80px 0; }
.step-list { list-style: none; counter-reset: my-awesome-counter; max-width: 600px; margin: 0 auto; }
.step-list li { counter-increment: my-awesome-counter; margin-bottom: 20px; padding-left: 50px; position: relative; font-size: 1.1rem; background: var(--bg-alt); padding: 20px 20px 20px 60px; border-radius: 8px; }
.step-list li::before { content: counter(my-awesome-counter); position: absolute; left: 15px; top: 18px; background: var(--primary); color: white; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.9rem; }

/* Content Pages */
.page-header { background: var(--bg-alt); padding: 60px 0; text-align: center; border-bottom: 1px solid var(--border-color); }
.page-header h1 { margin-bottom: 10px; font-size: 2.5rem; }
.page-content { padding: 60px 0; max-width: 800px; margin: 0 auto; }
.page-content h2 { margin: 30px 0 15px; color: #0f172a; }
.page-content p { margin-bottom: 15px; color: var(--text-muted); }
.page-content ul { margin-left: 20px; margin-bottom: 15px; color: var(--text-muted); }
.page-content li { margin-bottom: 8px; }
/* Docs Format */
.docs-format { padding: 60px 0; max-width: 900px; margin: 0 auto; }
.docs-format h1 { font-size: 2.5rem; margin-bottom: 30px; border-bottom: 2px solid var(--border-color); padding-bottom: 15px; color: #0f172a; }
.docs-format h2 { font-size: 1.8rem; margin: 40px 0 20px; color: #0f172a; }
.docs-format h3 { font-size: 1.4rem; margin: 30px 0 15px; color: #1e293b; }
.docs-format h4 { font-size: 1.15rem; margin: 25px 0 10px; color: #334155; }
.docs-format p { margin-bottom: 18px; color: var(--text-muted); line-height: 1.8; font-size: 1.05rem; }
.docs-format ul { margin-left: 20px; margin-bottom: 25px; color: var(--text-muted); }
.docs-format li { margin-bottom: 10px; line-height: 1.8; font-size: 1.05rem; }
.docs-format a { color: var(--primary); text-decoration: underline; font-weight: 500; }
.docs-format strong { color: #334155; }

/* Footer */
footer { background: #0f172a; color: white; padding: 50px 0 20px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 40px; }
.footer-col { flex: 1; min-width: 200px; }
.footer-col.brand { max-width: 300px; }
.footer-col h4 { margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #94a3b8; transition: color 0.3s; }
.footer-col a:hover { color: white; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #334155; color: #94a3b8; font-size: 0.9rem; }

/* Mobile Menu */
@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; padding: 40px 0; }
  .hero-buttons { justify-content: center; }
  h1 { font-size: 2.2rem; }
  .hamburger { display: block; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border-bottom: 1px solid var(--border-color); }
  .nav-links.active { display: flex; }
  .nav-links a { width: 100%; text-align: center; padding: 10px 0; }
  .hero-image img { max-height: 350px; }
}
