:root {
  --primary: #059669;
  --primary-dark: #064e3b;
  --primary-light: #10b981;
  --primary-gradient: linear-gradient(135deg, #059669 0%, #047857 100%);
  --accent: #10b981;
  --accent-glow: rgba(16, 185, 129, 0.15);
  --warning: #f59e0b;
  --danger: #ef4444;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-focus: #059669;
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 10px -2px rgb(0 0 0 / 0.07);
  --shadow-lg: 0 10px 20px -3px rgb(0 0 0 / 0.09);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #059669;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #047857;
  text-decoration: underline;
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Top Notification Bar - STRICTLY NON-STICKY */
.top-bar {
  background: linear-gradient(90deg, #064e3b 0%, #0f172a 100%);
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #34d399;
  font-size: 0.8rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 1.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.top-announcement {
  font-size: 0.8rem;
}

.top-announcement strong {
  color: #fcd34d;
}

/* Header & Nav - STRICTLY NON-STICKY ON ALL DEVICES */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #059669, #047857);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.25);
}

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

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.2;
}

/* Desktop Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #059669;
  text-decoration: none;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #059669;
  border-radius: 2px;
}

/* Dropdown Menu (Desktop) */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
  border-top: 3px solid #059669;
  list-style: none;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: #ecfdf5;
  color: #059669;
  padding-left: 1.35rem;
  text-decoration: none;
}

.dropdown-item .board-badge {
  font-size: 0.72rem;
  background: #f1f5f9;
  color: #64748b;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
}

.dropdown-item:hover .board-badge {
  background: #dcfce7;
  color: #15803d;
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

/* Featured Banner Image */
.featured-image-wrapper {
  margin: 1rem 0 1.25rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  background-color: #f1f5f9;
}

.featured-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ========================================================= */
/* HERO SECTION: COMPACT & BALANCED                          */
/* ========================================================= */
.hero-section {
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 100%);
  padding: 1.75rem 0 2rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.hero-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* 1. PC: Intro text comes FIRST (H1 + 2 Description Paragraphs) */
.hero-intro {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 1000px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(5, 150, 105, 0.1);
  color: #065f46;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  width: fit-content;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.hero-title {
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 0.2rem;
}

/* 2. PC: Widgets come directly below description */
.hero-widgets-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: stretch;
}

/* Tool Card */
.tool-card {
  background: var(--bg-card);
  border: 1.5px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 6px 16px -4px rgba(5, 150, 105, 0.1), var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #059669, #10b981);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}

.tool-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

/* Responsive Pill (Image Fix) */
.status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-select, .form-input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background-color: #f8fafc;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  outline: none;
}

.form-select:focus, .form-input:focus {
  border-color: #059669;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.btn-primary {
  width: 100%;
  padding: 0.8rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #064e3b 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(5, 150, 105, 0.4);
}

.tool-info-bar {
  margin-top: 0.85rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  background: #f0fdf4;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #dcfce7;
}

.tool-info-bar strong {
  color: #065f46;
}

/* Countdown Card */
.countdown-section-card {
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 8px 20px -5px rgba(6, 78, 59, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.countdown-header {
  text-align: center;
  margin-bottom: 0.85rem;
}

.countdown-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
}

.countdown-header p {
  font-size: 0.8rem;
  color: #a7f3d0;
  margin-top: 0.2rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.countdown-unit {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.35rem;
  text-align: center;
}

.countdown-number {
  font-size: 1.65rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #34d399;
  line-height: 1;
  display: block;
}

.countdown-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cbd5e1;
  margin-top: 0.3rem;
  display: block;
  font-weight: 600;
}

/* ========================================================= */
/* MAIN CONTENT BODY & TIGHT COMPACT PADDING                 */
/* ========================================================= */
.main-content {
  padding: 1.75rem 0 2.25rem;
}

.content-wrapper {
  max-width: 1050px;
  margin: 0 auto;
}

.article-body,
.article-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: 0 4px 20px -3px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.page-content {
  padding: 1.75rem 0 2.25rem;
}

.main-layout {
  max-width: 1050px;
  margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding: 0.5rem 0.85rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: fit-content;
}

.breadcrumb-trail a {
  color: #059669;
  text-decoration: none;
}

.breadcrumb-trail a:hover {
  text-decoration: underline;
}

.breadcrumb-trail span {
  color: #0f172a;
}

/* Featured Image & Banner Styling */
.featured-image-wrapper,
.page-featured-img {
  margin: 0.5rem 0 1.75rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  background: #f8fafc;
  display: block;
  width: 100%;
  height: auto;
}

.featured-banner-img,
.featured-image-wrapper svg,
.featured-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* H2 HEADINGS */
.article-body h2,
.article-content h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-body h2:first-of-type,
.article-content h2:first-of-type {
  margin-top: 0;
}

/* H3 SUB-HEADINGS */
.article-body h3,
.article-content h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #065f46;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.article-body p,
.article-content p {
  font-size: 0.98rem;
  color: #334155;
  margin-bottom: 0.85rem;
  line-height: 1.68;
}

/* Status Cards Grid */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
  margin: 1rem 0;
}

.status-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  background: #f8fafc;
  transition: var(--transition);
}

.status-card:hover {
  border-color: #059669;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.status-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.status-card-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: #0f172a;
}

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.badge-upcoming {
  background: #fef3c7;
  color: #b45309;
}

.badge-released {
  background: #dcfce7;
  color: #15803d;
}

.badge-phased {
  background: #e0e7ff;
  color: #4338ca;
}

/* ========================================================= */
/* MODERN PROFESSIONAL TABLES & RESPONSIVE CONTAINERS        */
/* ========================================================= */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.35rem 0 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.06);
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

.table-styled,
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
  color: #1e293b;
}

.table-styled thead,
.data-table thead {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  color: #ffffff;
}

.table-styled th,
.data-table th {
  padding: 0.95rem 1.25rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #f8fafc;
  border: none;
  white-space: nowrap;
}

.table-styled td,
.data-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  line-height: 1.5;
}

.table-styled tbody tr,
.data-table tbody tr {
  transition: background-color 0.2s ease;
}

.table-styled tbody tr:nth-child(even),
.data-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.table-styled tbody tr:hover,
.data-table tbody tr:hover {
  background-color: #ecfdf5;
}

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

/* Status Badges in Tables */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.badge-status.online {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.badge-status.online::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #16a34a;
  border-radius: 50%;
}

.btn-sm {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(5, 150, 105, 0.2);
}

.btn-sm:hover {
  background: linear-gradient(135deg, #047857 0%, #064e3b 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(5, 150, 105, 0.3);
  text-decoration: none;
}

.sms-code-pill {
  display: inline-block;
  background: #ecfdf5;
  color: #065f46;
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid #a7f3d0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* ========================================================= */
/* PROFESSIONAL CUSTOM BULLET LISTS & NUMBERED STEPS         */
/* ========================================================= */
.article-body ul,
.article-content ul,
.page-content-card ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 1.15rem 0 1.65rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.article-body ul li,
.article-content ul li,
.page-content-card ul li {
  position: relative;
  padding: 0.85rem 1.25rem 0.85rem 3rem !important;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 3.5px solid #059669 !important;
  border-radius: var(--radius-md);
  font-size: 0.96rem;
  color: #1e293b;
  line-height: 1.58;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  margin-bottom: 0 !important;
}

.article-body ul li:hover,
.article-content ul li:hover,
.page-content-card ul li:hover {
  border-color: #10b981;
  background: #f0fdf4;
  transform: translateX(3px);
  box-shadow: 0 4px 10px -2px rgba(5, 150, 105, 0.12);
}

.article-body ul li::before,
.article-content ul li::before,
.page-content-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(5, 150, 105, 0.3);
}

/* Numbered Process / Step Cards */
.article-body ol,
.article-content ol,
.page-content-card ol {
  list-style: none !important;
  counter-reset: custom-step;
  padding: 0 !important;
  margin: 1.15rem 0 1.65rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-body ol li,
.article-content ol li,
.page-content-card ol li {
  counter-increment: custom-step;
  position: relative;
  padding: 0.95rem 1.25rem 0.95rem 3.4rem !important;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 0.96rem;
  color: #1e293b;
  line-height: 1.6;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  margin-bottom: 0 !important;
}

.article-body ol li:hover,
.article-content ol li:hover,
.page-content-card ol li:hover {
  border-color: #059669;
  background: #f8fafc;
  box-shadow: 0 4px 14px -2px rgba(5, 150, 105, 0.12);
  transform: translateY(-1px);
}

.article-body ol li::before,
.article-content ol li::before,
.page-content-card ol li::before {
  content: counter(custom-step);
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #064e3b, #059669);
  color: #ffffff;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(6, 78, 59, 0.35);
}

/* Callout / Note Boxes */
.note-box {
  background: #fffbeb;
  border-left: 3.5px solid #f59e0b;
  padding: 0.85rem 1.15rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1rem 0;
  font-size: 0.92rem;
  color: #92400e;
}

.formula-box {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #6ee7b7;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin: 1rem 0;
  text-align: center;
}

.formula-title {
  font-weight: 700;
  color: #065f46;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.formula-code {
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: #047857;
  background: white;
  display: inline-block;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px dashed #059669;
}

/* Boards Grid List */
.boards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.65rem;
  margin: 1rem 0;
}

.board-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.board-btn:hover {
  background: #059669;
  color: white;
  border-color: #059669;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.25);
  text-decoration: none;
}

.board-btn svg {
  transition: transform 0.2s ease;
}

.board-btn:hover svg {
  transform: translateX(3px);
  stroke: white;
}

/* Grades list */
.grade-list {
  list-style: none;
  margin: 0.85rem 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.grade-item {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.grade-badge {
  display: inline-block;
  background: #059669;
  color: white;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.35rem;
}

/* FAQs Section */
.faq-accordion {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #6ee7b7;
}

.faq-question-btn {
  width: 100%;
  padding: 0.9rem 1.15rem;
  text-align: left;
  background: #f8fafc;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  transition: var(--transition);
}

.faq-question-btn:hover {
  background: #ecfdf5;
  color: #047857;
}

.faq-icon {
  font-size: 1.2rem;
  font-weight: 400;
  color: #64748b;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #059669;
}

.faq-answer {
  padding: 0 1.15rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out, padding 0.25s ease;
  background: #ffffff;
}

.faq-item.active .faq-answer {
  padding: 0.85rem 1.15rem;
  max-height: 500px;
}

.faq-answer p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #334155;
}

/* Comment Box */
.comment-section-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  margin-top: 1.5rem;
}

.comment-section-box h3 {
  font-size: 1.1rem;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.comment-textarea {
  width: 100%;
  min-height: 90px;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  outline: none;
  resize: vertical;
}

.comment-textarea:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.comment-submit-btn {
  padding: 0.7rem 1.5rem;
  background: #064e3b;
  color: white;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.comment-submit-btn:hover {
  background: #047857;
}

/* Footer */
.site-footer {
  background: #064e3b;
  color: #cbd5e1;
  padding: 2.25rem 0 1.25rem;
  margin-top: auto;
  border-top: 1px solid #047857;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.footer-brand h4 {
  color: #f8fafc;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 420px;
  color: #a7f3d0;
}

.footer-col h5 {
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  color: #e2e8f0;
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #6ee7b7;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid #047857;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #a7f3d0;
}

.footer-bottom p {
  margin: 0;
}

/* Static Pages Styles */
.page-header {
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 100%);
  padding: 2rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: #0f172a;
}

.page-subtitle {
  font-size: 1rem;
  color: #475569;
  margin-top: 0.35rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2rem auto;
  max-width: 850px;
  box-shadow: var(--shadow-sm);
}

.page-content-card h2 {
  font-size: 1.35rem;
  color: #0f172a;
  margin-top: 1.35rem;
  margin-bottom: 0.55rem;
}

.page-content-card h2:first-of-type {
  margin-top: 0;
}

.page-content-card p {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.page-content-card ul {
  margin-left: 1.35rem;
  margin-bottom: 0.85rem;
  color: #334155;
  font-size: 0.95rem;
}

.page-content-card li {
  margin-bottom: 0.35rem;
}

.seo-internal-link {
  font-weight: 700;
  color: #059669;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-internal-link:hover {
  color: #047857;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

/* ========================================================================= */
/* STRICT MOBILE RESPONSIVENESS (HAMBURGER MENU & NO STICKY)                 */
/* ========================================================================= */
@media (max-width: 991px) {
  .hero-widgets-row {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

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

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  /* NON-STICKY HEADER & TOPBAR ON MOBILE */
  .site-header, .top-bar {
    position: relative !important;
    top: auto !important;
    box-shadow: none;
  }

  .nav-container {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
  }

  .site-header nav {
    display: contents;
  }

  .brand-logo {
    margin-right: auto;
  }

  /* Hamburger Menu Button Pushed to Far Right Edge */
  .mobile-menu-btn {
    display: inline-flex;
    margin-left: auto;
    padding: 0.4rem 0.5rem;
  }

  /* Mobile Dropdown Menu */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 3px solid #059669;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem;
    gap: 0.25rem;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 99;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    display: block;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-link:hover, .nav-link.active {
    background-color: #ecfdf5;
    color: #059669;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2.5px solid #059669;
    padding: 0.35rem 0 0.35rem 0.65rem;
    margin: 0.25rem 0 0.5rem 0.5rem;
    background: #f8fafc;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  }

  .dropdown-item {
    padding: 0.45rem 0.6rem;
    font-size: 0.85rem;
    color: #334155;
  }

  /* Tool Header on Mobile - Clean Single Line */
  .tool-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    flex-wrap: nowrap;
    margin-bottom: 0.75rem;
  }

  .tool-header h3 {
    font-size: 0.98rem;
    white-space: nowrap;
  }

  .status-pill {
    font-size: 0.68rem;
    padding: 0.15rem 0.45rem;
    flex-shrink: 0;
  }

  /* ON MOBILE: HERO SECTION SHOWS TOOL & COUNTDOWN FIRST! */
  .hero-section {
    padding: 1rem 0 1.5rem;
  }

  .hero-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-widgets-row {
    order: -1;
    gap: 0.85rem;
  }

  .hero-intro {
    order: 1;
    gap: 0.5rem;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.28;
  }

  .tool-card {
    padding: 1.15rem 1rem;
  }

  .tool-header {
    margin-bottom: 0.75rem;
  }

  .tool-header h3 {
    font-size: 1.05rem;
  }

  .countdown-section-card {
    padding: 1.15rem 1rem;
  }

  .countdown-number {
    font-size: 1.4rem;
  }

  .article-body {
    padding: 1.25rem 1rem;
  }

  .article-body h2 {
    font-size: 1.25rem;
    margin-top: 1.35rem;
  }

  .boards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}
