/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0a0f1e;
  --ink-soft: #374151;
  --ink-muted: #6b7280;
  --accent: #4f46e5;
  --accent-light: #ede9fe;
  --accent-2: #f59e0b;
  --white: #ffffff;
  --off-white: #f8fafc;
  --border: #e5e7eb;
  --dark-bg: #0a0f1e;
  --dark-card: #111827;
  --radius: 14px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.logo-dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}

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

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  background: var(--accent);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 8px;
  transition: opacity 0.15s;
}

.nav-cta:hover { opacity: 0.85; }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  margin-left: auto;
  color: var(--ink);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px;
  gap: 16px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.mobile-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600 !important;
}

/* ── HERO ── */
.hero {
  background: var(--dark-bg);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79,70,229,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-2);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-accent {
  background: linear-gradient(135deg, #818cf8, #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: #9ca3af;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 10px;
  transition: opacity 0.15s, transform 0.15s;
  display: inline-block;
}

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

.btn-ghost {
  color: #e5e7eb;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.15s;
  display: inline-block;
}

.btn-ghost:hover { background: rgba(255,255,255,0.06); }

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px 40px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 0;
}

.stat { text-align: center; padding: 0 28px; }
.stat-num { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--white); }
.stat-label { display: block; font-size: 12px; color: #6b7280; margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.08); }

/* ── SECTIONS ── */
.section { padding: 80px 24px; }
.section-dark { background: var(--dark-bg); }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-tag.light {
  color: #a5b4fc;
  background: rgba(79,70,229,0.12);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.section-title.light { color: var(--white); }

/* ── EXAM CARDS ── */
.exams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.exam-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.exam-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.exam-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.exam-11 .exam-badge { background: #dbeafe; color: #1d4ed8; }
.exam-12 .exam-badge { background: #dcfce7; color: #15803d; }
.exam-jee .exam-badge { background: #fef3c7; color: #b45309; }
.exam-neet .exam-badge { background: #fce7f3; color: #be185d; }

.exam-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.exam-card p { font-size: 13px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 14px; }

.exam-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.exam-subjects span {
  font-size: 11px;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 99px;
  color: var(--ink-soft);
}

.exam-link { font-size: 13px; font-weight: 600; color: var(--accent); }
.exam-link:hover { text-decoration: underline; }

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature {
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.06);
}

.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature h3 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.feature p { font-size: 13px; color: #6b7280; line-height: 1.65; }

/* ── STEPS ── */
.steps { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }

.step {
  flex: 1;
  min-width: 200px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--ink-muted); line-height: 1.65; }
.step-arrow { font-size: 24px; color: var(--border); margin-top: 40px; flex-shrink: 0; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  padding: 72px 24px;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.cta-banner .btn-primary { background: var(--white); color: var(--accent); }

/* ── FOOTER ── */
.footer {
  background: var(--dark-bg);
  padding: 60px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand { flex: 1; min-width: 200px; }
.footer-brand .logo { font-size: 20px; margin-bottom: 12px; display: block; color: var(--white); }
.footer-brand p { font-size: 13px; color: #6b7280; line-height: 1.65; max-width: 240px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.footer-col a { font-size: 13px; color: #6b7280; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding: 20px 0; }
.footer-bottom p { font-size: 12px; color: #4b5563; }

/* ── NOTES PAGE ── */
.page-hero {
  background: var(--dark-bg);
  padding: 72px 24px 56px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p { font-size: 16px; color: #9ca3af; max-width: 480px; margin: 0 auto; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }

.tab {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.tab.active, .tab:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.note-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.note-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }

.note-subject { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }

.note-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.note-card h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.note-card p { font-size: 12px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 16px; }
.note-footer { display: flex; align-items: center; justify-content: space-between; }
.note-price { font-size: 16px; font-weight: 700; color: var(--ink); }
.note-price span { font-size: 12px; font-weight: 400; color: var(--ink-muted); }

.btn-buy {
  font-size: 12px;
  font-weight: 600;
  background: var(--accent);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 8px;
  transition: opacity 0.15s;
}

.btn-buy:hover { opacity: 0.85; }

/* ── ABOUT PAGE ── */
.about-hero {
  background: var(--dark-bg);
  padding: 80px 24px;
  text-align: center;
}

.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.about-hero p { font-size: 17px; color: #9ca3af; max-width: 560px; margin: 0 auto; line-height: 1.7; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.about-text h2 { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--ink); margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--ink-muted); line-height: 1.75; margin-bottom: 14px; }

.about-visual {
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  color: white;
}

.about-visual h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.about-visual p { font-size: 14px; opacity: 0.75; }

/* ── CONTACT PAGE ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 13px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-submit:hover { opacity: 0.85; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
}

.contact-item h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.contact-item p { font-size: 13px; color: var(--ink-muted); }
.contact-item a { font-size: 14px; font-weight: 600; color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .hero { padding: 72px 20px 56px; }
  .hero-stats { padding: 16px 20px; }
  .stat { padding: 0 16px; }
  .step-arrow { display: none; }
  .steps { flex-direction: column; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 28px; }
}