@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --bg:        #080810;
  --bg2:       #0f0f1a;
  --bg3:       #16162a;
  --surface:   #1a1a2e;
  --surface2:  #22223a;
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.12);
  --text:      #f0f0f8;
  --muted:     #8888aa;
  --faint:     #44445a;
  --accent:    #7c6af7;
  --accent2:   #a78bfa;
  --accent3:   #c4b5fd;
  --green:     #34d399;
  --amber:     #fbbf24;
  --red:       #f87171;
  --teal:      #2dd4bf;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 99px; }

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-user {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent2);
  font-family: 'Syne', sans-serif;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #6d5cf0; transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 0.4rem 0.8rem;
}
.btn-ghost:hover { color: var(--text); background: var(--surface); }

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-danger {
  background: rgba(248,113,113,0.12);
  color: var(--red);
  border: 1px solid rgba(248,113,113,0.2);
}
.btn-danger:hover { background: rgba(248,113,113,0.2); }

/* ── CONTAINER ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.page-body { padding: 2.5rem 0 4rem; }

/* ── SECTION HEADER ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}
.section-title { font-size: 1.5rem; color: var(--text); }
.section-count {
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}

/* ── BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-easy    { background: rgba(52,211,153,0.12); color: var(--green); border: 1px solid rgba(52,211,153,0.2); }
.badge-medium  { background: rgba(251,191,36,0.12); color: var(--amber); border: 1px solid rgba(251,191,36,0.2); }
.badge-hard    { background: rgba(248,113,113,0.12); color: var(--red);   border: 1px solid rgba(248,113,113,0.2); }
.badge-product { background: rgba(124,106,247,0.12); color: var(--accent2); border: 1px solid rgba(124,106,247,0.2); }
.badge-service { background: rgba(45,212,191,0.12); color: var(--teal); border: 1px solid rgba(45,212,191,0.2); }
.badge-startup { background: rgba(251,191,36,0.12); color: var(--amber); border: 1px solid rgba(251,191,36,0.2); }
.badge-selected   { background: rgba(52,211,153,0.12); color: var(--green); border: 1px solid rgba(52,211,153,0.2); }
.badge-rejected   { background: rgba(248,113,113,0.12); color: var(--red);   border: 1px solid rgba(248,113,113,0.2); }
.badge-waitlisted { background: rgba(251,191,36,0.12); color: var(--amber); border: 1px solid rgba(251,191,36,0.2); }

/* ── FILTER BAR ── */
.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-bar input,
.filter-bar select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}

.filter-bar input { flex: 1; min-width: 160px; }
.filter-bar select { min-width: 130px; }

.filter-bar input:focus,
.filter-bar select:focus { border-color: var(--accent); }

.filter-bar select option { background: var(--bg2); }

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.25s ease;
}

.modal-lg { max-width: 800px; }

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  background: var(--bg2);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  z-index: 1;
}

.modal-close {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.modal-close:hover { color: var(--text); border-color: var(--border2); }

.modal-body { padding: 1.5rem; }

/* ── TABS ── */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 4px;
  border: 1px solid var(--border);
  width: fit-content;
}

.tab-btn {
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--muted);
  transition: all 0.2s;
}
.tab-btn.active {
  background: var(--accent);
  color: #fff;
}
.tab-btn:hover:not(.active) { color: var(--text); background: var(--surface2); }

/* ── CODE BLOCK ── */
.code-wrap {
  position: relative;
  margin: 1rem 0;
}

.code-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow-x: auto;
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #c9d1d9;
  white-space: pre;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.copy-btn:hover { color: var(--text); border-color: var(--border2); }
.copy-btn.copied { color: var(--green); border-color: var(--green); }

/* ── COMPLEXITY PILLS ── */
.complexity-row {
  display: flex;
  gap: 8px;
  margin-top: 0.75rem;
}
.complexity-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 12px;
  font-size: 0.78rem;
  color: var(--muted);
}
.complexity-pill span { color: var(--accent2); font-weight: 500; }

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--muted);
}
.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}
.empty-state p { font-size: 0.9rem; }

/* ── LOADING SKELETON ── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface2) 50%, var(--surface) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
}

/* ── TOAST ── */
#toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  opacity: 0;
  transition: all 0.3s;
  z-index: 9000;
  pointer-events: none;
  white-space: nowrap;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
#toast.success { border-color: rgba(52,211,153,0.4); color: var(--green); }
#toast.error   { border-color: rgba(248,113,113,0.4); color: var(--red); }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 1.25rem 0; }

/* ── INPUT ── */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}
.input-group label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
.input-field {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}
.input-field:focus { border-color: var(--accent); }
.input-field.error { border-color: var(--red); }
textarea.input-field { resize: vertical; min-height: 90px; }

.form-error {
  font-size: 0.8rem;
  color: var(--red);
  margin-top: 4px;
}

/* ── LANDING PAGE SPECIFIC ── */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,106,247,0.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,106,247,0.1);
  border: 1px solid rgba(124,106,247,0.25);
  color: var(--accent2);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--text);
  max-width: 800px;
  animation: fadeUp 0.6s ease 0.1s both;
}

.hero h1 .highlight {
  color: var(--accent2);
  position: relative;
  display: inline-block;
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin: 1.25rem auto 2.5rem;
  font-weight: 300;
  animation: fadeUp 0.6s ease 0.2s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.6s ease 0.3s both;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--faint);
  margin-top: 1rem;
  animation: fadeUp 0.6s ease 0.4s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin: 5rem 0 3rem;
  animation: fadeUp 0.6s ease 0.5s both;
}

.feature-item {
  background: var(--bg2);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}
.feature-item:hover { background: var(--surface); }

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-item h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.feature-item p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.pricing-note {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.price-tag {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
}
.price-orig {
  font-size: 1rem;
  color: var(--faint);
  text-decoration: line-through;
}
.price-sub { font-size: 0.85rem; color: var(--muted); }

/* ── AUTH MODAL ── */
.auth-tabs { display: flex; gap: 0; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.auth-tab {
  flex: 1; padding: 0.75rem;
  background: none; border: none;
  color: var(--muted);
  font-size: 0.9rem; font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.auth-tab.active { color: var(--text); }
.auth-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}

/* ── DASHBOARD TILES ── */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.dash-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  display: block;
}

.dash-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, var(--tile-color, rgba(124,106,247,0.08)) 0%, transparent 60%);
  pointer-events: none;
}

.dash-tile:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
}

.dash-tile-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  display: block;
}

.dash-tile h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.dash-tile p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.dash-tile .tile-arrow {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: var(--faint);
  font-size: 1.1rem;
  transition: all 0.2s;
}

.dash-tile:hover .tile-arrow { color: var(--accent2); transform: translate(2px, -2px); }

.dash-tile.companies  { --tile-color: rgba(45,212,191,0.08); }
.dash-tile.dsa        { --tile-color: rgba(124,106,247,0.08); }
.dash-tile.notes      { --tile-color: rgba(251,191,36,0.08); }
.dash-tile.experiences{ --tile-color: rgba(52,211,153,0.08); }

/* ── PAYWALL ── */
.paywall {
  max-width: 500px;
  margin: 4rem auto;
  text-align: center;
}

.paywall-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
}

.lock-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(124,106,247,0.1);
  border: 1px solid rgba(124,106,247,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
}

.paywall-card h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
.paywall-card > p { color: var(--muted); margin-bottom: 2rem; }

.paywall-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.paywall-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.paywall-features li .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.2);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.price-big {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.5rem;
  display: block;
}
.price-big sup { font-size: 1.5rem; vertical-align: top; margin-top: 0.5rem; display: inline-block; }
.price-big .was { font-size: 1rem; color: var(--faint); text-decoration: line-through; font-weight: 400; margin-left: 8px; }

/* ── COMPANY CARDS ── */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.company-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s;
}

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

.company-card-header {
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.company-logo img {
  width: 32px; height: 32px;
  object-fit: contain;
}

.company-logo-fallback {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent2);
  flex-shrink: 0;
}

.company-card-info h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.company-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.company-card-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.company-stat-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}

.company-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}

.company-stat .label { color: var(--faint); min-width: 60px; }
.company-stat .value { color: var(--text); }

.company-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ── COMPANY MODAL ── */
.company-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.company-modal-logo {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.company-modal-logo img { width: 40px; height: 40px; object-fit: contain; }

.round-list { display: flex; flex-direction: column; gap: 12px; margin-top: 1rem; }

.round-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.round-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(124,106,247,0.12);
  border: 1px solid rgba(124,106,247,0.2);
  color: var(--accent2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

.round-content h4 { font-size: 0.9rem; margin-bottom: 3px; }
.round-content p  { font-size: 0.83rem; color: var(--muted); line-height: 1.5; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.info-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
}

.info-box .info-label { font-size: 0.75rem; color: var(--muted); margin-bottom: 4px; }
.info-box .info-value { font-size: 0.9rem; font-weight: 500; color: var(--text); }

.tips-box {
  background: rgba(124,106,247,0.05);
  border: 1px solid rgba(124,106,247,0.15);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}
.tips-box .tips-label { font-size: 0.75rem; color: var(--accent2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.tips-box p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ── DSA PAGE ── */
.dsa-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .dsa-layout { grid-template-columns: 1fr; }
  .dsa-sidebar { display: none; }
}

.dsa-sidebar {
  position: sticky;
  top: 84px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sidebar-title {
  padding: 1rem 1.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
}

.topic-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  border-left: 2px solid transparent;
}

.topic-item:hover { color: var(--text); background: var(--surface2); }
.topic-item.active { color: var(--accent2); border-left-color: var(--accent); background: rgba(124,106,247,0.06); }

.topic-count {
  font-size: 0.72rem;
  color: var(--faint);
  background: var(--surface2);
  padding: 1px 7px;
  border-radius: 10px;
}

.questions-list { display: flex; flex-direction: column; gap: 6px; }

.q-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.q-row:hover { border-color: var(--border2); background: var(--surface2); }

.q-title { flex: 1; font-size: 0.9rem; font-weight: 500; color: var(--text); }
.q-topic { font-size: 0.78rem; color: var(--muted); }
.q-companies { display: flex; gap: 4px; flex-wrap: wrap; }
.q-company-tag {
  font-size: 0.68rem;
  color: var(--teal);
  background: rgba(45,212,191,0.08);
  border: 1px solid rgba(45,212,191,0.15);
  padding: 1px 7px;
  border-radius: 10px;
}

/* DSA Modal */
.q-modal-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.q-description { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin: 1rem 0; }

.example-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.875rem 1rem;
  margin: 0.5rem 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}
.example-block .ex-label { font-size: 0.72rem; color: var(--accent2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }

.lang-toggle {
  display: flex;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3px;
  width: fit-content;
  margin-bottom: 0.5rem;
}
.lang-btn {
  padding: 5px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
}
.lang-btn.active { background: var(--accent); color: #fff; }

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.5rem;
  margin-top: 1.25rem;
}

/* ── NOTES PAGE ── */
.notes-tabs-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  padding-bottom: 0;
}

.note-tab {
  padding: 0.75rem 1.25rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
  margin-bottom: -1px;
}
.note-tab:hover { color: var(--text); }
.note-tab.active { color: var(--text); border-bottom-color: var(--accent); }

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

.note-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.note-card:hover { border-color: var(--border2); transform: translateY(-2px); }

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

.note-card h3 { font-size: 0.95rem; color: var(--text); }
.note-card p  { font-size: 0.82rem; color: var(--muted); line-height: 1.5; flex: 1; }

.note-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.25rem;
}

/* ── EXPERIENCES PAGE ── */
.exp-list { display: flex; flex-direction: column; gap: 1rem; }

.exp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
.exp-card:hover { border-color: var(--border2); transform: translateY(-2px); }

.exp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.exp-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.exp-company-logo {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.exp-company-logo img { width: 28px; height: 28px; object-fit: contain; }

.exp-meta h3 { font-size: 0.95rem; margin-bottom: 3px; }
.exp-meta-sub { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); }

.exp-preview { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ── ADMIN ── */
.admin-nav {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.admin-tab {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.admin-tab.active { background: var(--accent); color: #fff; }
.admin-tab:hover:not(.active) { color: var(--text); }

.admin-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.admin-form h3 { font-size: 1.1rem; margin-bottom: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.data-table td:first-child { color: var(--text); font-weight: 500; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--surface2); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .features { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .companies-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
}