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

:root {
  --bg: #091116;
  --panel: #101a20;
  --panel-strong: #0d151a;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f8fafc;
  --muted: #9fb0bc;
  --accent: #34d399;
  --accent-deep: #05291c;
  --max: 1160px;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(52, 211, 153, 0.12), transparent 32%),
    linear-gradient(180deg, #071015 0%, #091116 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 16, 21, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.text-link,
.pill-link {
  text-decoration: none;
}

.text-link {
  color: var(--muted);
  font-size: 0.95rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.myntra-logo-link {
  flex: 0 0 auto;
}

.myntra-logo {
  display: block;
  height: 22px;
  width: auto;
}

.sidebar-card > .text-link + .text-link {
  margin-top: 0.6rem;
}

.sidebar-card > .text-link {
  display: block;
  width: fit-content;
}

.sidebar-card > .logo-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.85rem;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
}

.pill-link.primary {
  background: var(--accent);
  color: #062818;
}

.pill-link.secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.hero p {
  max-width: 760px;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

.tab-container {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
}

.tab-box {
  flex: 1;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.tab-box:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(52, 211, 153, 0.3);
  transform: translateY(-4px);
}

.tab-box.active {
  background: var(--accent-deep);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.1);
}

.tab-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

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

.tab-box.active h3 {
  color: var(--accent);
}

.tab-box.active p {
  color: var(--text);
}

.hidden {
  display: none;
}

.section-title {
  margin: 3rem 0 1rem;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.4);
}

.meta {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h2 {
  font-size: 1.8rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.card-cta {
  margin-top: auto;
  font-weight: 700;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  padding: 3rem 0 5rem;
}

.article {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
}

.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.045em;
  max-width: 12ch;
}

.article-header p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-content {
  font-size: 1.02rem;
  line-height: 1.9;
}

.article-content p,
.article-content ul,
.article-content ol {
  margin: 0 0 1.25rem;
}

.article-content h2,
.article-content h3 {
  margin: 2.2rem 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.article-content strong {
  color: #ffffff;
}

.article-content ul,
.article-content ol {
  padding-left: 1.25rem;
}

.article-content li {
  margin-bottom: 0.7rem;
}

.sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-card {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.sidebar-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.sidebar-card p,
.sidebar-card li {
  color: var(--muted);
  line-height: 1.7;
}

.sidebar-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.footer {
  padding: 0 0 4rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .article-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    padding: 0.75rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-nav {
    width: 100%;
    align-items: stretch;
  }

  .topbar-nav .text-link,
  .topbar-nav .pill-link,
  .topbar-nav .logo-link {
    width: 100%;
  }

  .topbar-nav .pill-link {
    justify-content: center;
  }

  .topbar-nav .logo-link {
    justify-content: flex-start;
  }

  .myntra-logo {
    height: 24px;
  }

  .hero {
    padding-top: 3rem;
  }

  .article,
  .card {
    padding: 1.35rem;
  }
}
