:root {
  --ink: #14181f;
  --ink-soft: #4a5264;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --border: #e7e9ef;
  --primary: #d62828;
  --primary-dark: #a81f1f;
  --accent: #1a2a6c;
  --yt-red: #ff0000;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(20, 24, 31, 0.08);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', 'Noto Sans Devanagari', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.hi { font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0 0 12px; font-weight: 700; }

h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.nav a:hover { color: var(--ink); }

.nav-cta { display: inline-flex; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(214, 40, 40, 0.28);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover { border-color: var(--ink); }

.btn-yt {
  background: var(--yt-red);
  color: #fff;
}

.btn-yt:hover { background: #cc0000; }

/* Hero */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at 15% 20%, rgba(214, 40, 40, 0.08), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(26, 42, 108, 0.08), transparent 45%),
    var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.hero-inner { max-width: 780px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.15;
  color: var(--ink);
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 18px 0 32px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-lede {
  color: var(--ink-soft);
  max-width: 620px;
  font-size: 1.02rem;
  margin-bottom: 36px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.feature-card h3 { font-size: 1.05rem; }
.feature-card p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* Videos */
.video-grid { margin-bottom: 28px; }

.video-card {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 720px;
}

.video-embed { position: relative; width: 100%; padding-top: 56.25%; }

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin: 10px 0 0;
}

/* Notes */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.note-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.note-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.note-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent);
  background: rgba(26, 42, 108, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

.note-card h3 { font-size: 1.05rem; margin: 0; }

.note-cta {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.notes-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.notes-note code {
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.85em;
}

/* Contact */
.contact-inner { text-align: center; }
.contact-inner .section-lede { margin-left: auto; margin-right: auto; }

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
}

.social-link:hover { border-color: var(--ink); }

/* Footer */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 720px) {
  .nav { display: none; }
  .hero { padding: 72px 0 56px; }
  .section { padding: 56px 0; }
}
