:root {
  --bg: #f5f5f7;
  --bg-alt: #ffffff;
  --bg-alt-soft: #f9fafb;
  --bg-dark: #040816;
  --fg: #0f172a;
  --muted: #6b7280;
  --border-subtle: #e5e7eb;
  --border-strong: #d1d5db;
  --accent: #50207A;
  --accent-soft: #D6B9FC;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-pill: 999px;
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.3s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--fg);
}



.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt-soft);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.9rem, 3vw, 2.2rem);
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}



.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(245, 245, 247, 0.86);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #D6B9FC, #838CE5, #50207A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--muted);
  padding: 0.3rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width var(--transition-med);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.24rem;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}


.hero {
  padding: 4.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-left h1 {
  margin: 0.9rem 0 0.7rem;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
}

.accent-text {
  color: var(--accent);
}

.hero-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.meta-item {
  min-width: 9rem;
}

.meta-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.meta-value {
  font-size: 0.9rem;
}


.hero-right {
  display: flex;
  justify-content: flex-end;
}

.preview-frame {
  width: 100%;
  max-width: 420px;
  border-radius: 1.7rem;
  background: var(--bg-alt);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(209, 213, 219, 0.9);
  overflow: hidden;
}

.preview-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
}

.dots {
  display: flex;
  gap: 0.3rem;
}

.dots span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #e5e7eb;
}

.dots span:nth-child(1) {
  background: #f97373;
}
.dots span:nth-child(2) {
  background: #facc15;
}
.dots span:nth-child(3) {
  background: #838CE5;
}

.preview-title {
  font-size: 0.8rem;
  color: var(--muted);
}

.preview-body {
  padding: 1.1rem 1.15rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.preview-stat-row {
  display: flex;
  gap: 0.6rem;
}

.preview-stat {
  flex: 1;
  padding: 0.6rem 0.7rem;
  border-radius: 0.9rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.preview-stat-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.12rem;
}

.preview-stat-value {
  font-size: 1.05rem;
  font-weight: 600;
}


.preview-chart-bars span {
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(to top, #50207A, #838CE5);
  box-shadow: 0 0 16px rgba(80, 32, 122, 0.5);
  animation: chartPulse 3.4s ease-in-out infinite;
  transform-origin: center bottom;
}

.preview-chart-bars span:nth-child(1) {
  height: 14px;
  animation-delay: 0s;
}
.preview-chart-bars span:nth-child(2) {
  height: 22px;
  animation-delay: 0.15s;
}
.preview-chart-bars span:nth-child(3) {
  height: 34px;
  animation-delay: 0.3s;
}
.preview-chart-bars span:nth-child(4) {
  height: 46px;
  animation-delay: 0.45s;
}
.preview-chart-bars span:nth-child(5) {
  height: 60px;
  animation-delay: 0.6s;
}

.preview-caption {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast),
    box-shadow var(--transition-fast), transform var(--transition-fast),
    border-color var(--transition-fast);
  color: #111827;
  background: #e5e7eb;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: none;
}

.btn-primary:hover {
  background: #3a165a;
  box-shadow: none;
  transform: translateY(-1px);
}


.btn-ghost {
  background: #ffffff;
  border-color: #e5e7eb;
  color: #111827;
}

.btn-ghost:hover {
  border-color: var(--accent);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
}

.btn-disabled,
.btn-disabled:hover {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  border: 1px solid transparent;
}

.chip-soft {
  background: rgba(214, 185, 252, 0.25);
  color: var(--accent);
  border-color: #D6B9FC;
}

.chip-strong {
  background: var(--accent);
  color: #ffffff;
}

.chip-outline {
  background: #ffffff;
  color: var(--accent);
  border-color: #838CE5;
}


.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  border: 1px solid var(--border-subtle);
  color: var(--muted);
  background: #ffffff;
}

.pill-soft {
  background: #f9fafb;
}

.pill-soon {
  border-style: dashed;
}


.card {
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.7rem 1.6rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.card-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.card-body-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-list {
  margin: 1rem 0 1.2rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-list li + li {
  margin-top: 0.35rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}


.books-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


.note-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.4rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.note-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.note-list {
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.note-list li + li {
  margin-top: 0.3rem;
}


.downloads-section {
  background: #050816;
  color: #e5e7eb;
}

.downloads-section .section-header h2 {
  color: #f9fafb;
}

.downloads-section .section-header p {
  color: #9ca3af;
}

.downloads-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-card {
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.7rem 1.5rem;
  background: radial-gradient(circle at top left, rgba(80, 32, 122, 0.25), #020617);
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.download-header h3 {
  margin: 0.4rem 0 0.55rem;
}

.download-card p {
  margin: 0;
  color: #9ca3af;
  font-size: 0.92rem;
}

.download-actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.download-card .btn-ghost {
  background: transparent;
  border-color: rgba(75, 85, 99, 0.8);
  color: #e5e7eb;
}

.download-card .btn-ghost:hover {
  border-color: #D6B9FC;
}

.file-meta {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: #9ca3af;
}


.lead {
  color: var(--muted);
  font-size: 0.98rem;
}

.points {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

.point h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.point p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.author-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); 
  gap: 0.9rem;
  margin: 1.4rem 0 0.8rem;
}


.author-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: #D6B9FC;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.author-name {
  margin: 0;
  font-size: 0.98rem;
}

.author-role {
  margin: 0.05rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.small {
  font-size: 0.85rem;
  color: var(--muted);
}


.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.contact-label {
  display: inline-block;
  min-width: 4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-right: 0.4rem;
}

.cite-heading {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
}

.cite-block {
  display: block;
  padding: 0.8rem;
  border-radius: 0.9rem;
  background: #111827;
  color: #e5e7eb;
  font-size: 0.78rem;
  white-space: pre-wrap;
}


.site-footer {
  border-top: 1px solid #2f3339;
  background: #0d1117;
  padding: 1.1rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #9ca3af;
}


.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--fg);
}

[data-animate] {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in-left"] {
  transform: translateX(18px);
}

[data-animate="fade-in-left"].animated {
  transform: translateX(0);
}

[data-animate="fade-in-right"] {
  transform: translateX(-18px);
}

[data-animate="fade-in-right"].animated {
  transform: translateX(0);
}

@keyframes chartPulse {
  0%,
  100% {
    transform: scaleY(0.96) translateY(0);
    opacity: 0.8;
  }
  50% {
    transform: scaleY(1.06) translateY(-2px);
    opacity: 1;
  }
}


@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .hero-right {
    justify-content: flex-start;
  }

  .two-column,
  .books-grid,
  .downloads-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    right: 1.25rem;
    top: 3.25rem;
    flex-direction: column;
    background: #ffffff;
    border-radius: 1rem;
    padding: 0.9rem 1.2rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.16);
    opacity: 0;
    transform: scale(0.96);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity var(--transition-med), transform var(--transition-med);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .hero {
    padding-top: 3.6rem;
  }

  .section {
    padding: 3.8rem 0;
  }

  .card,
  .download-card,
  .note-card,
  .preview-frame {
    border-radius: 1.2rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 2.1rem;
  }
}
.author-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.author-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(131, 140, 229, 0.2);
  border: 1px solid rgba(131, 140, 229, 0.5);
  font-weight: 600;
  font-size: 0.9rem;
  color: #e5e7eb;
  white-space: nowrap;
}
.author-grid {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
@media (min-width: 620px) {
  .author-grid {
    flex-wrap: nowrap;
  }
}
.contact-list a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s;
}

.contact-list a:hover {
  opacity: 0.7;
}

:root {
  --bg: #020617;
  --bg-alt: #020617;
  --bg-alt-soft: #020617;
  --fg: #e5e7eb;
  --muted: #9ca3af;
  --border-subtle: #1f2937;
  --border-strong: #374151;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.7);
}

body {
  background: var(--bg);
  color: var(--fg);
}


.site-header {
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid #1f2937;
}

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

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

.nav-toggle span {
  background: #e5e7eb;
}


.section {
  background: var(--bg);
}

.section-alt {
  background: #020617;
}

.section-header p {
  color: var(--muted);
}

.hero-subtitle {
  color: var(--muted);
}


.preview-frame,
.card,
.note-card {
  background: #020617;
  border-color: #1f2937;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
}

.preview-header {
  background: #020617;
  border-bottom: 1px solid #1f2937;
}

.preview-stat {
  background: #020617;
  border-color: #1f2937;
}

.preview-title,
.preview-caption {
  color: var(--muted);
}

.card-body-text,
.point p,
.lead,
.small {
  color: var(--muted);
}


.btn {
  background: #020617;
  border-color: #1f2937;
  color: #e5e7eb;
}

.btn-ghost {
  background: #020617;
  border-color: #334155;
  color: #e5e7eb;
}

.btn-ghost:hover {
  border-color: #D6B9FC;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.6);
}


.chip-soft {
  background: rgba(131, 140, 229, 0.2);
  color: #D6B9FC;
  border-color: rgba(131, 140, 229, 0.5);
}

.chip-outline {
  background: transparent;
  color: #D6B9FC;
  border-color: rgba(131, 140, 229, 0.5);
}

.pill {
  background: #020617;
  border-color: #1f2937;
  color: var(--muted);
}

.pill-soft {
  background: #020617;
}


.author-box {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(131, 140, 229, 0.5);
  color: #e5e7eb;
}


.contact-label {
  color: var(--muted);
}

.contact-list a {
  color: #D6B9FC;
}



@media (max-width: 720px) {
  .nav-links {
    background: #020617;
    border-color: #1f2937;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.9);
  }
}

.preview-chart,
.preview-chart-track,
.preview-chart-bars {
  display: none !important;
}
.preview-chart {
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}


.project-frame {
  max-width: 720px;
  margin: 0 auto;
}

.project-body {
  gap: 1.2rem;
}

.project-intro {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.project-stat-grid {
  display: grid;
  gap: 0.75rem;
}

.project-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.project-stat .preview-stat-value {
  font-size: 0.9rem;
  font-weight: 600;
}

.project-stat-text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}


.project-frame {
  max-width: 720px;
  margin: 0 auto;
}

.project-body {
  gap: 1.2rem;
}

.project-intro {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}


.project-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(51, 65, 85, 0.8);
  background: rgba(15, 23, 42, 0.85);
}


.project-track {
  display: flex;
  transition: transform 0.45s ease-out;
  will-change: transform;
}

.project-card {
  flex: 0 0 100%;
  padding: 1.1rem 1.2rem 1.15rem;
  box-sizing: border-box;
}

.project-card-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.project-card-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}


.project-indicators {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem 0.8rem;
}

.project-indicators .indicator {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  transition: all 0.2s ease-out;
}

.project-indicators .indicator.active {
  background: #c4b5fd;
  border-color: #16a34a;
  width: 18px;
}

.row-flex {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.preview-frame {
  flex: 2;
}

.column {
  flex: 1;
}


@media (max-width: 900px) {
  .row-flex {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .row-flex .preview-frame,
  .row-flex .column {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .project-frame {
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .row-flex {
    gap: 0.7rem;
  }

  .project-card {
    padding: 0.9rem 1rem;
  }

  .note-card {
    padding: 1rem;
  }
}

/*Made with love from Shreyash*/
