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

:root {
  --bg-primary: #020617;
  --bg-secondary: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent-color: #3b82f6;
  --accent-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --border-color: rgba(255, 255, 255, 0.1);
  --success: #10b981;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand {
  font-family: 'Outfit', sans-serif;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

header .brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

header nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

header nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

header nav a:hover, header nav a.active {
  color: var(--text-primary);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Layout */
main {
  padding-top: 100px;
  min-height: calc(100vh - 80px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px auto;
}

/* Grid Cards */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Documentation Content (Help) */
.docs-header {
  text-align: center;
  padding: 60px 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.docs-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.docs-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 50px;
  padding-bottom: 60px;
}

.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 15px;
}

.sidebar a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.2s;
  display: block;
  border-left: 2px solid transparent;
  padding-left: 10px;
}

.sidebar a:hover, .sidebar a.active {
  color: var(--accent-color);
  border-left-color: var(--accent-color);
}

.doc-section {
  margin-bottom: 60px;
}

.doc-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--accent-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.doc-section h3 {
  font-size: 1.3rem;
  margin: 25px 0 10px 0;
  color: var(--text-primary);
}

.doc-section p {
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.doc-section ul {
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.doc-section li {
  margin-bottom: 8px;
}

.feature-box {
  background: rgba(59, 130, 246, 0.05);
  border-left: 4px solid var(--accent-color);
  padding: 15px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
}

.feature-box h4 {
  margin-bottom: 8px;
  color: var(--text-primary);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 20px;
  text-align: center;
  color: var(--text-secondary);
  background: var(--bg-secondary);
}

@media (max-width: 768px) {
  .docs-content {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  header nav {
    display: none;
  }
}
