/* ============================================================
   CheckIPO — Shared Stylesheet
   checkipo.in | Production Quality
   ============================================================ */

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

/* ============================================================
   CSS VARIABLES — Light Mode
   ============================================================ */
:root {
  --bg: #f0f4fc;
  --surface: #ffffff;
  --surface-2: #f8faff;
  --navy-dark: #071530;
  --navy: #0a1f44;
  --navy-mid: #122d5e;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-hover: #1d4ed8;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --green: #16a34a;
  --green-bg: #dcfce7;
  --green-text: #15803d;
  --orange: #ea580c;
  --orange-bg: #fff7ed;
  --orange-text: #c2410c;
  --red: #dc2626;
  --red-bg: #fee2e2;
  --red-text: #b91c1c;
  --blue-bg: #eff6ff;
  --blue-text: #1d4ed8;
  --yellow: #d97706;
  --yellow-bg: #fef3c7;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
  --header-height: 76px;
  --nav-height: 52px;
}

/* ============================================================
   DARK MODE VARIABLES
   ============================================================ */
html.dark {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-2: #162032;
  --navy-dark: #020810;
  --navy: #071530;
  --navy-mid: #0a1f44;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-hover: #2563eb;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --border: #334155;
  --border-light: #1e293b;
  --green: #22c55e;
  --green-bg: #052e16;
  --green-text: #4ade80;
  --orange: #fb923c;
  --orange-bg: #431407;
  --orange-text: #fdba74;
  --red: #f87171;
  --red-bg: #450a0a;
  --red-text: #fca5a5;
  --blue-bg: #1e3a5f;
  --blue-text: #93c5fd;
  --yellow: #fbbf24;
  --yellow-bg: #451a03;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
}

/* ============================================================
   CSS RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s ease, color 0.3s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p { margin-bottom: 1em; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--text); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section-sm {
  padding: 36px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--accent);
  border-radius: 2px;
}

.view-all {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
  white-space: nowrap;
}
.view-all:hover { gap: 8px; }
.view-all::after { content: '→'; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 0;
  position: relative;
  z-index: 100;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent) 0%, #1e40af 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.5px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.4);
  flex-shrink: 0;
}

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

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.brand-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  line-height: 1.2;
}

.header-search {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.header-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: 24px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

.header-search input::placeholder { color: rgba(255,255,255,0.45); }

.header-search input:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
}

.header-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: background var(--transition), color var(--transition);
  position: relative;
}

.icon-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.icon-btn .badge-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  border: 1.5px solid var(--navy-mid);
}

/* Dark Mode Toggle */
.theme-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.toggle-track {
  width: 52px;
  height: 28px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 0 3px;
  position: relative;
  transition: background 0.3s ease;
  gap: 2px;
}

.toggle-sun,
.toggle-moon {
  font-size: 13px;
  line-height: 1;
  transition: opacity 0.3s ease;
  z-index: 1;
  flex-shrink: 0;
}

.toggle-sun { order: 1; opacity: 0; }
.toggle-moon { order: 2; opacity: 1; }

.toggle-thumb {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  transform: translateX(0px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  left: 4px;
}

html.dark .toggle-track {
  background: rgba(59,130,246,0.3);
  border-color: rgba(59,130,246,0.5);
}

html.dark .toggle-thumb {
  transform: translateX(24px);
}

html.dark .toggle-sun { opacity: 1; }
html.dark .toggle-moon { opacity: 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.nav-links > li {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-links > li > a,
.nav-links > li > button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  height: 100%;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent-light);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links > li > a:hover,
.nav-links > li > button:hover {
  color: #fff;
}

.nav-links > li > a:hover::after {
  transform: scaleX(1);
}

.nav-links > li > a.active {
  color: #fff;
}

.nav-links > li > a.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.dropdown-trigger .chevron {
  font-size: 10px;
  transition: transform 0.2s;
}

.dropdown-trigger.open .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 180px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
  z-index: 300;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  border-bottom: 1px solid var(--border-light);
}

.dropdown-menu a:last-child { border-bottom: none; }

.dropdown-menu a:hover {
  background: var(--blue-bg);
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .brand-name {
  font-size: 18px;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: rgba(255,255,255,0.9);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.75);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.card-sm {
  padding: 16px 20px;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-green { background: var(--green-bg); color: var(--green-text); }
.badge-orange { background: var(--orange-bg); color: var(--orange-text); }
.badge-red { background: var(--red-bg); color: var(--red-text); }
.badge-blue { background: var(--blue-bg); color: var(--blue-text); }
.badge-yellow { background: var(--yellow-bg); color: var(--yellow); }
.badge-gray { background: var(--border); color: var(--text-muted); }
.badge-navy { background: var(--navy); color: #fff; }

/* ============================================================
   TABLES
   ============================================================ */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  font-size: 13px;
}

.data-table thead tr {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
}

.data-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.data-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}

.data-table tbody tr:last-child { border-bottom: none; }

.data-table tbody tr:hover {
  background: var(--surface-2);
}

.data-table tbody td {
  padding: 13px 16px;
  color: var(--text);
  vertical-align: middle;
}

.data-table tbody td.muted {
  color: var(--text-muted);
}

.company-name-cell {
  font-weight: 600;
  color: var(--accent) !important;
}

.company-name-cell a {
  color: var(--accent);
  transition: color var(--transition);
}

.company-name-cell a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Star Rating */
.star-rating {
  display: flex;
  gap: 1px;
  font-size: 13px;
}

.star { color: var(--border); }
.star.filled { color: #f59e0b; }

/* ============================================================
   STAT CARDS
   ============================================================ */
.stats-bar {
  background: var(--navy);
  padding: 24px 0;
  margin-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 8px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

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

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  font-weight: 500;
}

/* Info stat cards */
.info-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.info-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.info-stat-card .stat-value {
  font-size: 32px;
  color: var(--accent);
}

.info-stat-card .stat-label {
  color: var(--text-muted);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-mid) 50%, #1a3a6e 100%);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.2);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  color: #60a5fa;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ============================================================
   IPO CARDS (Open IPOs)
   ============================================================ */
.ipo-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ipo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.ipo-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ipo-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}

.ipo-logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.ipo-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.ipo-card-sector {
  font-size: 12px;
  color: var(--text-muted);
}

.ipo-card-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.ipo-info-item label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: block;
  margin-bottom: 2px;
}

.ipo-info-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.subscription-bar {
  margin-bottom: 14px;
}

.sub-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.sub-bar-label {
  font-size: 12px;
  color: var(--text-muted);
}

.sub-bar-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.bar-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green) 0%, #22c55e 100%);
  border-radius: 3px;
  transition: width 0.8s ease;
}

/* ============================================================
   GMP CARDS
   ============================================================ */
.gmp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gmp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.gmp-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.gmp-company {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.gmp-price {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.gmp-value {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 2px;
}

.gmp-value.positive { color: var(--green); }
.gmp-value.negative { color: var(--red); }

.gmp-pct {
  font-size: 13px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.gmp-pct.positive { background: var(--green-bg); color: var(--green-text); }
.gmp-pct.negative { background: var(--red-bg); color: var(--red-text); }

/* ============================================================
   IPO DETAIL PAGE
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 16px 0;
}

.breadcrumb a {
  color: var(--accent);
  transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--accent-hover); }
.breadcrumb-sep { color: var(--border); }

.ipo-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.ipo-hero-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.ipo-logo-box {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e3a8a 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.ipo-hero-info {
  flex: 1;
}

.ipo-hero-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.ipo-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ipo-gmp-highlight {
  background: var(--green-bg);
  border: 1px solid var(--green);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
  min-width: 140px;
  flex-shrink: 0;
}

.ipo-gmp-highlight .gmp-label {
  font-size: 11px;
  color: var(--green-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ipo-gmp-highlight .gmp-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
}

.ipo-gmp-highlight .gmp-pct-val {
  font-size: 13px;
  color: var(--green-text);
  font-weight: 600;
}

/* IPO Two-Column Layout */
.ipo-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: flex-start;
}

/* Subscription Table */
.sub-table-wrapper {
  overflow-x: auto;
}

.sub-table {
  width: 100%;
  font-size: 13px;
}

.sub-table th {
  background: var(--surface-2);
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.sub-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}

.sub-table tr:last-child td { border-bottom: none; }

.sub-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sub-progress .bar-track {
  flex: 1;
  height: 8px;
}

.sub-times {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  font-size: 13px;
}

/* IPO Details Grid */
.ipo-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-light);
  gap: 16px;
}

.detail-row:last-child { border-bottom: none; }

.detail-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.detail-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.ipo-details-col {
  padding: 4px 20px;
}

.ipo-details-col:first-child {
  border-right: 1px solid var(--border);
}

/* Timeline */
.timeline-wrapper {
  position: relative;
  padding: 24px 0;
}

.timeline-track {
  position: absolute;
  top: 44px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--border);
  z-index: 0;
}

.timeline-progress {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
}

.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.step-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.step-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s;
}

.step-node.done {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.step-node.current {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.2);
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

/* Financial Tabs */
.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
}

.tab-btn:hover { color: var(--text); }

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* SWOT Grid */
.swot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.swot-box {
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid;
}

.swot-box-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.swot-box ul li {
  font-size: 13px;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  list-style: none;
}

.swot-box ul li::before {
  content: '▸';
  flex-shrink: 0;
}

.swot-strengths {
  background: var(--green-bg);
  border-color: var(--green);
}

.swot-strengths .swot-box-title { color: var(--green-text); }
.swot-strengths ul li { color: var(--green-text); }
.swot-strengths ul li::before { color: var(--green); }

.swot-weaknesses {
  background: var(--red-bg);
  border-color: var(--red);
}

.swot-weaknesses .swot-box-title { color: var(--red-text); }
.swot-weaknesses ul li { color: var(--red-text); }
.swot-weaknesses ul li::before { color: var(--red); }

.swot-opportunities {
  background: var(--blue-bg);
  border-color: var(--accent);
}

.swot-opportunities .swot-box-title { color: var(--blue-text); }
.swot-opportunities ul li { color: var(--blue-text); }
.swot-opportunities ul li::before { color: var(--accent); }

.swot-threats {
  background: var(--orange-bg);
  border-color: var(--orange);
}

.swot-threats .swot-box-title { color: var(--orange-text); }
.swot-threats ul li { color: var(--orange-text); }
.swot-threats ul li::before { color: var(--orange); }

/* Accordion */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  background: var(--surface);
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-family: inherit;
  text-align: left;
  transition: background var(--transition);
}

.accordion-header:hover {
  background: var(--surface-2);
}

.accordion-header .acc-icon {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.accordion-item.open .accordion-header .acc-icon {
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding: 0 18px 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.accordion-item.open .accordion-body {
  display: block;
}

/* Promoter Cards */
.promoters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.promoter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.promoter-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.promoter-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.promoter-designation {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.promoter-holdings {
  display: flex;
  gap: 16px;
}

.holding-item {
  text-align: center;
}

.holding-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

.holding-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

/* Pie Charts */
.pie-charts-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pie-chart-container {
  text-align: center;
}

.pie-chart-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.pie-chart {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 16px;
}

.pie-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  max-width: 200px;
  margin: 0 auto;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-label { flex: 1; }
.legend-value { font-weight: 600; color: var(--text); }

/* Key-Value Grid */
.kv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.kv-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.kv-row:nth-child(odd) { padding-right: 20px; }
.kv-row:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--border-light); }

.kv-key {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  min-width: 120px;
  flex-shrink: 0;
}

.kv-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* BRLM Cards */
.brlm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.brlm-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: center;
}

.brlm-card h4 {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
}

.brlm-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* Document Buttons */
.doc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.doc-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--blue-bg);
}

.doc-icon {
  width: 28px;
  height: 28px;
  background: var(--red-bg);
  color: var(--red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Brand Grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.brand-box {
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.brand-box:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.brand-box-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.brand-box-type {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.page-hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  margin: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.value-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.value-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13px;
  margin: 0;
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 16px;
  border: 3px solid var(--border);
}

.team-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 10px;
}

.team-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  border: 1.5px solid var(--border);
  padding: 5px 12px;
  border-radius: 20px;
  transition: all var(--transition);
}

.team-linkedin:hover {
  border-color: var(--accent);
  background: var(--blue-bg);
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.perk-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.perk-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.perk-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.perk-card p {
  font-size: 13px;
  margin: 0;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--accent-light);
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.job-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.job-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.job-apply-btn {
  align-self: flex-start;
  padding: 9px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
  display: inline-block;
}

.job-apply-btn:hover {
  background: var(--accent-hover);
}

/* ============================================================
   JOB DETAIL PAGE
   ============================================================ */
.job-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: flex-start;
}

.job-detail-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.job-detail-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
  transition: gap var(--transition);
}

.back-link:hover { gap: 10px; }
.back-link::before { content: '←'; }

.section-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.section-block h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.section-block h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 16px 0 10px;
}

.section-block ul {
  list-style: none;
  padding: 0;
}

.section-block ul li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}

.section-block ul li::before {
  content: '▸';
  color: var(--accent);
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 2px;
}

.job-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 72px;
}

.apply-cta {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
  margin-bottom: 16px;
}

.apply-cta:hover { background: var(--accent-hover); }

.salary-info {
  background: var(--green-bg);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 16px;
  text-align: center;
}

.salary-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--green-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.salary-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
}

.sidebar-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.sidebar-meta .meta-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-meta .meta-row:last-child { border-bottom: none; }
.meta-row .meta-key { font-weight: 500; }
.meta-row .meta-val { font-weight: 600; color: var(--text); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: flex-start;
}

.legal-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: 72px;
  box-shadow: var(--shadow-sm);
}

.legal-toc h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal-toc ul li {
  margin-bottom: 8px;
}

.legal-toc ul li a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
  display: block;
  padding: 4px 0;
  border-radius: 4px;
}

.legal-toc ul li a:hover {
  color: var(--accent);
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.legal-content h2:first-child { border-top: none; margin-top: 0; }

.legal-content p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 0 0 16px 20px;
}

.legal-content ul li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.6;
  list-style: disc;
}

.legal-meta {
  background: var(--surface-2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

  .info-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .job-detail-layout {
    grid-template-columns: 1fr;
  }

  .job-sidebar-card {
    position: static;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }

  .hero h1 { font-size: 30px; }
  .page-hero h1 { font-size: 28px; }

  .header-search { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 8px 0 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 500;
    height: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > li {
    width: 100%;
    height: auto;
  }

  .nav-links > li > a,
  .nav-links > li > button {
    width: 100%;
    padding: 12px 20px;
    height: auto;
  }

  .nav-links > li > a::after { display: none; }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,0.05);
  }

  .dropdown-menu a {
    padding: 10px 32px;
    color: rgba(255,255,255,0.7);
    border-bottom: none;
    background: none;
  }

  .dropdown-menu a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
  }

  .hamburger { display: flex; }

  .site-nav { position: sticky; }

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

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 14px;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.1);
  }

  .ipo-cards-grid {
    grid-template-columns: 1fr;
  }

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

  .swot-grid {
    grid-template-columns: 1fr;
  }

  .promoters-grid {
    grid-template-columns: 1fr;
  }

  .pie-charts-wrapper {
    grid-template-columns: 1fr;
  }

  .kv-grid {
    grid-template-columns: 1fr;
  }

  .kv-row:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }

  .brlm-grid {
    grid-template-columns: 1fr;
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }

  .ipo-details-grid {
    grid-template-columns: 1fr;
  }

  .ipo-details-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .ipo-details-col {
    padding: 4px 0;
  }

  .ipo-hero-top {
    flex-direction: column;
  }

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

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

  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .timeline-steps {
    flex-direction: column;
    gap: 16px;
  }

  .timeline-track { display: none; }

  .timeline-step {
    flex-direction: row;
    gap: 14px;
  }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 14px; }

  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 24px; }
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  .gmp-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .perks-grid {
    grid-template-columns: 1fr;
  }

  .info-stats {
    grid-template-columns: 1fr;
  }

  .section { padding: 36px 0; }

  .brand-name { font-size: 16px; }
  .brand-tagline { display: none; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-accent { color: var(--accent); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.w-full { width: 100%; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

.highlight-box {
  background: var(--blue-bg);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.notice-box {
  background: var(--yellow-bg);
  border: 1px solid var(--yellow);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 16px;
}

.notice-box strong { color: var(--yellow); }
