/* ============================================================
   index.css — Homepage styles
   Symbiosis Quantum Club · SIT Pune · 2026
   ============================================================ */

/* ── Hero ── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px 64px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: end;
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 800;
  color: var(--black);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-title span { color: var(--red); }

.hero-desc {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-meta-item { display: flex; flex-direction: column; }

.hero-meta-num {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--red);
  line-height: 1;
}

.hero-meta-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #888;
  margin-top: 4px;
}

.hero-meta-sep { width: 1px; height: 40px; background: var(--border); }

.hero-aside {
  border: 1.5px solid var(--black);
  padding: 28px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-aside-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-aside-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.aside-list { list-style: none; margin-bottom: 24px; }

.aside-list li {
  font-size: 13px;
  color: #333;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.aside-list li::before { content: '→'; color: var(--red); font-size: 12px; font-weight: 700; }

.aside-links { display: flex; flex-direction: column; gap: 8px; }

.aside-link {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--black);
  padding: 10px 14px;
  background: #f5f5f5;
  border-left: 3px solid transparent;
  transition: all .2s;
  letter-spacing: .03em;
}

.aside-link:hover { border-left-color: var(--red); background: #f0f0f0; }

/* ── Tool Cards ── */
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1.5px solid var(--black);
}

.tool-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 40px 36px;
  border-right: 1.5px solid var(--black);
  position: relative;
  overflow: hidden;
  transition: background .25s;
}

.tool-card:last-child { border-right: none; }

.tool-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--red);
  transition: width .35s ease;
}

.tool-card:hover { background: #fafafa; }
.tool-card:hover::after { width: 100%; }

.tc-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: #bbb;
  letter-spacing: .1em;
  margin-bottom: 12px;
}

.tc-title {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 14px;
}

.tc-red-line {
  width: 36px;
  height: 2px;
  background: var(--red);
  margin-bottom: 16px;
  transition: width .3s;
}

.tool-card:hover .tc-red-line { width: 64px; }

.tc-desc { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }

.tc-features { list-style: none; margin-bottom: 30px; }

.tc-features li {
  font-size: 13px;
  color: #333;
  padding: 7px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feat-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.tc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--black);
  padding: 11px 22px;
  border: 2px solid var(--black);
  transition: background .2s, color .2s, border-color .2s;
}

.tool-card:hover .tc-cta { background: var(--red); border-color: var(--red); }

.cta-arrow { display: inline-block; transition: transform .2s; }
.tool-card:hover .cta-arrow { transform: translateX(4px); }

/* ── Stats Strip ── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid var(--black);
}

.stat-cell {
  padding: 28px 24px;
  border-right: 1.5px solid var(--black);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-cell:last-child { border-right: none; }

.stat-big {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 600;
  color: var(--red);
  line-height: 1;
}

.stat-name { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: #888; }
.stat-note { font-size: 12px; color: #bbb; font-style: italic; }

/* ── Inside Grid ── */
.inside-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--black);
}

.inside-card {
  padding: 32px 28px;
  border-right: 1.5px solid var(--black);
  position: relative;
}

.inside-card:last-child { border-right: none; }

.inside-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--red);
}

.inside-card h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.3;
}

.inside-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }

.inside-level {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1.5px solid var(--black);
  padding: 4px 10px;
  color: var(--black);
}

/* ── Curriculum Table ── */
.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }

thead tr { background: var(--black); }

thead th {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
}

tbody tr { border-bottom: 1px solid #eee; transition: background .15s; }
tbody tr:hover { background: #fdf0f0; }

td { padding: 13px 16px; font-size: 13px; color: #333; vertical-align: top; }
td:first-child { font-family: var(--mono); font-weight: 600; color: var(--red); font-size: 12px; }
td:nth-child(2) { font-weight: 600; color: var(--black); font-size: 13px; }

.week-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  color: #888;
  background: #f5f5f5;
  padding: 2px 8px;
  border: 1px solid var(--border);
}

/* ── Intelligence Feed ── */
.feed-container {
  border: 1.5px solid var(--black);
  display: grid;
  grid-template-columns: 200px 1fr;
}

.feed-sidebar {
  border-right: 1.5px solid var(--black);
  display: flex;
  flex-direction: column;
  background: #fafafa;
}

.feed-tab {
  padding: 20px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1.5px solid var(--black);
  transition: all .2s;
  text-align: left;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
}

.feed-tab:last-child { border-bottom: none; }
.feed-tab:hover { background: #eee; }
.feed-tab.active { background: var(--black); color: #fff; }

.feed-content { padding: 0; background: #fff; max-height: 600px; overflow-y: auto; }

.feed-list { display: none; }
.feed-list.active { display: block; }

.feed-item {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background .2s;
}

.feed-item:last-child { border-bottom: none; }
.feed-item:hover { background: #f9f9f9; }

.feed-item-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--red);
  margin-bottom: 8px;
}

.feed-item-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.3;
}

.feed-item-summary { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero-aside { display: none; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { border-right: none; border-bottom: 1.5px solid var(--black); }
  .tool-card:last-child { border-bottom: none; }
  .inside-grid { grid-template-columns: 1fr; }
  .inside-card { border-right: none; border-bottom: 1.5px solid var(--black); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3) { border-top: 1.5px solid var(--black); }
  .feed-container { grid-template-columns: 1fr; }
  .feed-sidebar { flex-direction: row; border-right: none; border-bottom: 1.5px solid var(--black); overflow-x: auto; }
  .feed-tab { border-bottom: none; border-right: 1.5px solid var(--black); white-space: nowrap; }
}

@media (max-width: 600px) {
  .hero { padding-left: 20px; padding-right: 20px; padding-top: 48px; }
  .hero-meta { flex-wrap: wrap; gap: 16px; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
}
