/* ClubOps Showcase Stylesheet */

:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-50: #ecfdf5;

  --amber-600: #d97706;
  --amber-50: #fffbeb;

  --rose-600: #e11d48;
  --rose-50: #fff1f2;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: var(--slate-800);
  background-color: #ffffff;
  line-height: 1.5;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Accessible focus styling */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--slate-900);
  line-height: 1.25;
  font-weight: 700;
}

p {
  color: var(--slate-600);
}

a {
  color: var(--primary);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--slate-900);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--slate-800);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--slate-800);
  border-color: var(--slate-200);
}

.btn-secondary:hover {
  background-color: var(--slate-50);
  border-color: var(--slate-300);
}

.btn-submit {
  width: 100%;
  background-color: var(--emerald-600);
  color: white;
  padding: 14px;
  font-size: 16px;
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: #047857;
  box-shadow: var(--shadow-md);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-200);
  padding: 14px 0;
}

.nav-container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--slate-900);
  color: white;
  border-radius: 8px;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.5px;
}

.brand-pill {
  font-size: 12px;
  font-weight: 600;
  background-color: var(--slate-100);
  color: var(--slate-600);
  padding: 3px 8px;
  border-radius: 20px;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--slate-900);
}

.nav-cta-btn {
  background-color: var(--slate-900);
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav-cta-btn:hover {
  background-color: var(--slate-800);
}

/* Hero Section */
.hero {
  padding: 60px 0 50px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--slate-50) 100%);
  border-bottom: 1px solid var(--slate-200);
}

.hero-content {
  text-align: center;
  max-width: 860px;
}

.badge-row {
  margin-bottom: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-700);
  box-shadow: var(--shadow-sm);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald-500);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.text-highlight {
  color: var(--primary);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 19px);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 32px;
  color: var(--slate-600);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  padding: 20px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 26px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 12px;
  color: var(--slate-500);
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 12px;
}

/* Comparison Section */
.comparison-section {
  padding: 70px 0;
  background-color: #ffffff;
}

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

.compare-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--slate-200);
}

.compare-card.old-way {
  background-color: var(--rose-50);
  border-color: #fecdd3;
}

.compare-card.new-way {
  background-color: var(--emerald-50);
  border-color: #a7f3d0;
}

.compare-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.compare-badge.red {
  background-color: #ffe4e6;
  color: var(--rose-600);
}

.compare-badge.green {
  background-color: #d1fae5;
  color: var(--emerald-600);
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--slate-700);
}

.icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.red-icon {
  background-color: #fecdd3;
  color: var(--rose-600);
}

.green-icon {
  background-color: #a7f3d0;
  color: var(--emerald-600);
}

/* Features Rows */
.features-section {
  padding: 80px 0;
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse .feature-text,
.feature-row.reverse .feature-visual {
  direction: ltr;
}

.feature-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.feature-text h3 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.feature-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-highlights li {
  font-size: 14px;
  color: var(--slate-700);
  position: relative;
  padding-left: 20px;
}

.feature-highlights li::before {
  content: "•";
  color: var(--primary);
  font-size: 18px;
  position: absolute;
  left: 4px;
  top: -2px;
}

/* Visual Mockups */
.mockup-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mockup-header {
  background: var(--slate-900);
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}

.mockup-status-tag.verified {
  background-color: var(--emerald-500);
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
}

.mockup-body {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.mockup-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.mockup-id {
  font-family: monospace;
  font-size: 13px;
  color: var(--slate-500);
  margin-bottom: 6px;
}

.mockup-class {
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald-600);
}

.mockup-qr-box {
  width: 96px;
  height: 96px;
  border: 2px dashed var(--slate-300);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--slate-50);
  font-size: 10px;
  font-weight: 700;
  color: var(--slate-500);
  text-align: center;
}

.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mockup-footer {
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  padding: 12px 20px;
  font-size: 12px;
  color: var(--slate-600);
}

/* Maintenance Mockup */
.maintenance-mockup {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}

.m-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-100);
}

.m-count {
  font-size: 12px;
  color: var(--slate-500);
  background-color: var(--slate-100);
  padding: 3px 8px;
  border-radius: 12px;
}

.asset-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-100);
}

.asset-info {
  display: flex;
  flex-direction: column;
}

.asset-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-900);
}

.asset-meta {
  font-size: 12px;
  color: var(--slate-500);
}

.status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.status-ok {
  background-color: var(--emerald-50);
  color: var(--emerald-600);
  border: 1px solid #a7f3d0;
}

.status-warn {
  background-color: var(--amber-50);
  color: var(--amber-600);
  border: 1px solid #fde68a;
}

.m-signoff-preview {
  margin-top: 16px;
  padding: 10px 14px;
  background-color: var(--slate-50);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--slate-600);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Self Service Mockup */
/* Browser Window Frame for Real Portal Screenshots */
.browser-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.browser-header {
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.dot-red { background: #ef4444; }
.dot.dot-yellow { background: #f59e0b; }
.dot.dot-green { background: #10b981; }

.browser-address {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 4px;
  padding: 3px 12px;
  font-size: 11px;
  color: var(--slate-600);
  font-family: monospace;
  flex: 1;
  max-width: 280px;
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Network Section */
.network-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.network-card {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  text-align: center;
}

.network-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.network-card h2 {
  color: white;
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 16px;
}

.network-lead {
  color: var(--slate-200);
  font-size: 16px;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  text-align: left;
}

.network-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: var(--radius-md);
}

.net-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.network-item h4 {
  color: white;
  font-size: 17px;
  margin-bottom: 8px;
}

.network-item p {
  color: var(--slate-300);
  font-size: 13px;
  line-height: 1.5;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.faq-item {
  background: white;
  border: 1px solid var(--slate-200);
  padding: 24px;
  border-radius: var(--radius-md);
}

.faq-item h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 14px;
  line-height: 1.5;
}

/* Register / Form Section */
.register-section {
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--slate-200);
}

.register-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: flex-start;
}

.register-intro h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.register-intro p {
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.pilot-perks {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.perk-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Form Styles complying with MWG rules */
.form-card {
  background: white;
  border: 1px solid var(--slate-200);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.club-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px; /* Gestalt proximity: smaller gap to input than between groups */
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-group.half {
  flex: 1;
}

label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-800);
}

.required {
  color: var(--rose-600);
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--slate-900);
  background-color: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  outline: none;
}

.field-error {
  font-size: 12px;
  color: var(--rose-600);
  display: none;
}

.field-error.active {
  display: block;
}

/* Interests Fieldset */
.interests-fieldset {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background-color: var(--slate-50);
}

.interests-fieldset legend {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
  padding-inline: 6px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-700);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-disclaimer {
  font-size: 11px;
  color: var(--slate-500);
  text-align: center;
  margin-top: 6px;
}

/* Success Box */
.success-box {
  text-align: center;
  padding: 30px 20px;
}

.success-icon {
  width: 50px;
  height: 50px;
  background-color: var(--emerald-50);
  color: var(--emerald-600);
  border: 2px solid var(--emerald-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto 16px auto;
}

.success-box h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.success-box p {
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Footer */
.footer {
  background-color: var(--slate-900);
  color: white;
  padding: 50px 0 40px 0;
  border-top: 1px solid var(--slate-800);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-left strong {
  font-size: 18px;
  letter-spacing: -0.5px;
}

.footer-left p {
  color: var(--slate-400);
  font-size: 13px;
  margin-top: 4px;
}

.footer-left .footer-sub {
  color: var(--slate-500);
  font-size: 12px;
}

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

.footer-right a {
  color: var(--slate-400);
  font-size: 13px;
  transition: color 0.15s;
}

.footer-right a:hover {
  color: white;
}

/* Responsive Media Queries */
/* Mobile & Admin Apps Section */
.apps-section {
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--slate-200);
}

.apps-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.phone-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.phone-header-label {
  text-align: center;
  margin-bottom: 20px;
}

.phone-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.phone-tag.member {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.phone-tag.admin {
  background-color: #fef3c7;
  color: #b45309;
}

.phone-header-label h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.phone-header-label p {
  font-size: 13px;
  color: var(--slate-600);
}

/* Smartphone Device Mockup Frame (Real App) */
.smartphone-frame.real-app {
  width: 290px;
  background: var(--slate-900);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.1);
  position: relative;
  border: 4px solid #cbd5e1;
}

.phone-speaker {
  width: 50px;
  height: 4px;
  background-color: #334155;
  border-radius: 4px;
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen-img-wrap {
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #ffffff;
}

.phone-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tablet Device Frame (Real iPad Admin App) */
.tablet-frame {
  width: 100%;
  max-width: 680px;
  background: var(--slate-900);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.1);
  position: relative;
  border: 4px solid #94a3b8;
}

.tablet-speaker {
  width: 6px;
  height: 6px;
  background-color: #475569;
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
}

.tablet-screen-img-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.tablet-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Admin Hub Showcase Grid */
.admin-hub-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 50px;
  box-shadow: var(--shadow-sm);
}

.admin-hub-text h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.admin-hub-text p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.hub-frame {
  max-width: 100%;
  border-radius: 18px;
  padding: 10px;
}

.hub-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Feature bar below apps */
.apps-feature-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 24px;
  border-radius: var(--radius-lg);
}

/* Proven Live at NWMES Section */
.live-modules-section {
  padding-block: 76px;
  background: linear-gradient(180deg, var(--slate-50) 0%, #ffffff 100%);
  border-block: 1px solid var(--slate-200);
}

.live-modules-section .section-header {
  max-inline-size: 760px;
}

.live-proven-pills {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: balance;
  justify-content: center;
  gap: 10px;
  margin-block-start: 22px;
}

.proven-pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  background: #ffffff;
  border: 1px solid var(--slate-200);
  padding-block: 6px;
  padding-inline: 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.live-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.live-module-card {
  grid-row: span 3;
  display: grid;
  grid-template-rows: auto auto 1fr;
  grid-template-rows: subgrid;
  row-gap: 10px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding-block: 22px;
  padding-inline: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.live-module-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.live-module-card > header {
  display: flex;
  align-items: safe center;
  justify-content: space-between;
  gap: 10px;
}

.module-category {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-dark);
}

.module-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald-600);
  background: var(--emerald-50);
  border: 1px solid #a7f3d0;
  padding-block: 3px;
  padding-inline: 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.module-live-tag::before {
  content: "";
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: var(--emerald-500);
}

.live-module-card > h3 {
  font-size: 18px;
  line-height: 1.3;
  color: var(--slate-900);
}

.live-module-card > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-600);
}

.app-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feat-icon {
  font-size: 24px;
}

.app-feat-item strong {
  display: block;
  font-size: 14px;
  color: var(--slate-900);
  margin-bottom: 2px;
}

.app-feat-item p {
  font-size: 12px;
  color: var(--slate-600);
  line-height: 1.45;
}

@media (max-width: 860px) {
  .apps-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .admin-hub-showcase {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .nav-links a:not(.nav-cta-btn) {
    display: none;
  }

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

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-row.reverse {
    direction: ltr;
  }

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

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

@media (max-width: 540px) {
  .form-row {
    flex-direction: column;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }
}
