/* =========================================================================
   ManageMyPG — shared design system
   Minimal, high-contrast, product-first. Used by every page: marketing
   site, auth pages, dashboard app, payments.
   ========================================================================= */

:root {
  --primary-color: #5b5bf6;
  --primary-dark: #4640d6;
  --secondary-color: #7c7cf9;
  --accent-color: #06b6d4;
  --success-color: #15803d;
  --warning-color: #b45309;
  --danger-color: #dc2626;
  --dark-color: #0b0b10;
  --light-color: #fafafa;
  --gray-100: #f4f4f6;
  --gray-200: #e7e7ec;
  --gray-300: #d3d3db;
  --gray-400: #a3a3b2;
  --gray-600: #64646f;
  --gray-700: #45454f;
  --gray-800: #232329;
  --border-color: rgba(11, 11, 16, 0.09);
  --primary-tint: rgba(91, 91, 246, 0.08);
  --success-tint: rgba(21, 128, 61, 0.09);
  --warning-tint: rgba(180, 83, 9, 0.1);
  --danger-tint: rgba(220, 38, 38, 0.09);
  --shadow-xs: 0 1px 2px rgb(11 11 16 / 0.04);
  --shadow-sm: 0 1px 3px rgb(11 11 16 / 0.06), 0 1px 2px rgb(11 11 16 / 0.04);
  --shadow-md: 0 6px 16px rgb(11 11 16 / 0.07), 0 2px 6px rgb(11 11 16 / 0.04);
  --shadow-lg: 0 16px 36px rgb(11 11 16 / 0.10), 0 4px 10px rgb(11 11 16 / 0.05);
  --shadow-xl: 0 24px 56px rgb(11 11 16 / 0.14), 0 8px 16px rgb(11 11 16 / 0.06);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--light-color);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

a { color: var(--primary-color); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  box-shadow: var(--shadow-xs);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-primary:active { transform: translateY(0); }

.btn-light {
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--dark-color);
}
.btn-light:hover { color: var(--primary-color); border-color: var(--primary-color); background: #fff; }

.btn-outline-light { border-width: 1.5px; }

.btn-danger {
  background: var(--danger-color);
  border: 1px solid var(--danger-color);
}
.btn-danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-success { border: none; }

/* -------------------------------------------------------------------------
   Navbars
   ------------------------------------------------------------------------- */
.site-navbar {
  background: rgba(250, 250, 250, 0.9) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.site-navbar .navbar-brand,
.app-navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.site-navbar .navbar-brand { color: var(--dark-color) !important; }
.site-navbar .navbar-brand i { color: var(--primary-color); }

.site-navbar .nav-link {
  font-weight: 500;
  font-size: 0.925rem;
  color: var(--gray-700) !important;
  border-radius: var(--radius-sm);
  margin: 0 0.15rem;
  padding: 0.5rem 0.85rem !important;
  transition: all 0.15s ease;
}

.site-navbar .nav-link:hover { color: var(--dark-color) !important; background: var(--gray-100); }

.app-navbar {
  background: var(--dark-color) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.app-navbar .navbar-brand { color: #fff !important; }
.app-navbar .navbar-brand i { color: var(--secondary-color); }

.app-navbar .nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68) !important;
  border-radius: var(--radius-sm);
  margin: 0 0.1rem;
  padding: 0.5rem 0.8rem !important;
  transition: all 0.15s ease;
}

.app-navbar .nav-link:hover { color: #fff !important; background: rgba(255, 255, 255, 0.08); }
.app-navbar .nav-link.active { color: #fff !important; background: rgba(255, 255, 255, 0.12); }
.app-navbar .dropdown-toggle::after { opacity: 0.6; vertical-align: 0.1em; }

.navbar-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--secondary-color); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
}

.app-navbar .dropdown-menu {
  border: 1px solid var(--border-color); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 0.4rem; margin-top: 0.6rem; min-width: 210px;
}
.app-navbar .dropdown-item {
  border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; font-size: 0.9rem; font-weight: 500; color: var(--gray-700);
}
.app-navbar .dropdown-item:hover, .app-navbar .dropdown-item:focus { background: var(--gray-100); color: var(--dark-color); }
.app-navbar .dropdown-header { padding: 0.5rem 0.75rem 0.25rem; color: var(--gray-600); }

/* -------------------------------------------------------------------------
   Generic surfaces
   ------------------------------------------------------------------------- */
.surface-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.page-container { padding: 2rem 0; }

.page-header {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.page-title { font-weight: 700; color: var(--dark-color); margin-bottom: 0.3rem; font-size: 1.6rem; letter-spacing: -0.02em; }
.page-subtitle { color: var(--gray-600); font-size: 0.975rem; }

/* -------------------------------------------------------------------------
   Alerts
   ------------------------------------------------------------------------- */
.alert { border: 1px solid transparent; border-radius: var(--radius-md); padding: 0.9rem 1.25rem; font-weight: 500; font-size: 0.925rem; }
.alert-danger { background: var(--danger-tint); color: #991b1b; border-color: rgba(220,38,38,.18); }
.alert-success { background: var(--success-tint); color: #166534; border-color: rgba(21,128,61,.18); }
.alert-warning { background: var(--warning-tint); color: #92400e; border-color: rgba(180,83,9,.18); }
.alert-danger ul, .alert-success ul { margin-bottom: 0; padding-left: 1.5rem; }

/* -------------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------------- */
.form-label { font-weight: 600; color: var(--dark-color); margin-bottom: 0.4rem; font-size: 0.9rem; }

.form-control, .form-select {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.15s ease;
  background-color: #fff;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-tint);
}

.form-check-input:checked { background-color: var(--primary-color); border-color: var(--primary-color); }

/* -------------------------------------------------------------------------
   Badges
   ------------------------------------------------------------------------- */
.badge-success { background: var(--success-tint); color: var(--success-color); border: 1px solid rgba(21,128,61,.18); font-weight: 600; }
.badge-warning { background: var(--warning-tint); color: var(--warning-color); border: 1px solid rgba(180,83,9,.18); font-weight: 600; }

/* -------------------------------------------------------------------------
   Auth pages (login / register / checkout)
   ------------------------------------------------------------------------- */
.auth-body {
  background-color: var(--light-color);
  background-image: radial-gradient(var(--gray-300) 1px, transparent 1px);
  background-size: 22px 22px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 2rem;
  position: relative;
}

.auth-container { position: relative; z-index: 2; width: 100%; max-width: 440px; }

.auth-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.auth-header { text-align: center; margin-bottom: 2rem; }

.auth-logo {
  width: 56px; height: 56px;
  background: var(--dark-color);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--secondary-color); font-size: 1.4rem;
}

.auth-title { font-weight: 700; color: var(--dark-color); font-size: 1.5rem; margin-bottom: 0.35rem; letter-spacing: -0.02em; }
.auth-subtitle { color: var(--gray-600); font-size: 0.95rem; }

.auth-input-group { position: relative; }
.auth-input-icon { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--gray-400); z-index: 10; font-size: 0.9rem; }
.auth-input-group .form-control { padding-left: 2.6rem; padding-right: 2.6rem; }

.password-toggle {
  position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--gray-400); cursor: pointer; z-index: 10;
}
.password-toggle:hover { color: var(--primary-color); }

.password-strength { margin-top: 0.5rem; height: 4px; background: var(--gray-200); border-radius: 2px; overflow: hidden; }
.password-strength-bar { height: 100%; width: 0; transition: all 0.3s ease; border-radius: 2px; }
.strength-weak { background: var(--danger-color); width: 25%; }
.strength-fair { background: var(--warning-color); width: 50%; }
.strength-good { background: var(--accent-color); width: 75%; }
.strength-strong { background: var(--success-color); width: 100%; }

.auth-footer { text-align: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-color); font-size: 0.9rem; }
.auth-footer a { color: var(--primary-color); font-weight: 600; text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }

/* -------------------------------------------------------------------------
   Stat cards (dashboard / members list)
   ------------------------------------------------------------------------- */
.stats-grid, .stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.15s ease;
}

.stat-card:hover { box-shadow: var(--shadow-md); border-color: rgba(11,11,16,.14); }

.stat-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; margin-bottom: 0.9rem;
  background: var(--primary-tint); color: var(--primary-color);
}
.stat-card.success .stat-icon { background: var(--success-tint); color: var(--success-color); }
.stat-card.warning .stat-icon { background: var(--warning-tint); color: var(--warning-color); }
.stat-card.danger .stat-icon { background: var(--danger-tint); color: var(--danger-color); }
.stat-card.info .stat-icon { background: rgba(6, 182, 212, 0.1); color: var(--accent-color); }

.stat-number { font-size: 1.75rem; font-weight: 700; color: var(--dark-color); margin-bottom: 0.15rem; letter-spacing: -0.02em; }
.stat-label { color: var(--gray-600); font-weight: 500; font-size: 0.875rem; margin-bottom: 0.4rem; }
.stat-change { font-size: 0.8rem; font-weight: 600; }
.stat-change.positive { color: var(--success-color); }
.stat-change.negative { color: var(--danger-color); }

.progress-container { background: var(--gray-100); border-radius: 8px; height: 6px; overflow: hidden; margin-top: 0.5rem; }
.progress-bar { height: 100%; background: var(--success-color); border-radius: 8px; transition: width 0.6s ease; }

/* -------------------------------------------------------------------------
   PG / month selector cards
   ------------------------------------------------------------------------- */
.month-selector { background: #fff; border-radius: var(--radius-md); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); margin-bottom: 1.75rem; }

.pg-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); margin-bottom: 1.5rem; overflow: hidden; transition: all 0.15s ease; }
.pg-card:hover { box-shadow: var(--shadow-md); }
.pg-header { background: var(--dark-color); color: #fff; padding: 1.25rem 1.5rem; }
.pg-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.35rem; letter-spacing: -0.01em; }
.pg-stats { display: flex; gap: 1.5rem; font-size: 0.825rem; color: rgba(255,255,255,.72); flex-wrap: wrap; }
.pg-body { padding: 1.5rem; }

.section-title { font-weight: 600; color: var(--dark-color); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; font-size: 0.975rem; }
.section-title.success { color: var(--success-color); }
.section-title.danger { color: var(--danger-color); }

.member-list { list-style: none; padding: 0; margin: 0; }
.member-item { background: var(--gray-100); border-radius: var(--radius-sm); padding: 0.85rem 1rem; margin-bottom: 0.5rem; border-left: 3px solid var(--gray-300); transition: all 0.15s ease; }
.member-item:hover { background: var(--gray-200); }
.member-item.paid { border-left-color: var(--success-color); background: var(--success-tint); }
.member-item.unpaid { border-left-color: var(--danger-color); background: var(--danger-tint); }
.member-name { font-weight: 600; color: var(--dark-color); margin-bottom: 0.15rem; font-size: 0.925rem; }
.member-full-name { color: var(--gray-600); font-size: 0.825rem; }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--gray-600); }
.empty-state i { font-size: 2.25rem; margin-bottom: 1rem; opacity: 0.35; color: var(--gray-600); }
.empty-state h3 { font-weight: 600; margin-bottom: 0.6rem; color: var(--dark-color); font-size: 1.1rem; }

/* -------------------------------------------------------------------------
   Tables
   ------------------------------------------------------------------------- */
.table-container { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); overflow: hidden; }
.table-header { background: var(--dark-color); color: #fff; padding: 1.25rem 1.75rem; }
.table-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.25rem; letter-spacing: -0.01em; }
.table-subtitle { color: rgba(255,255,255,.68); font-size: 0.825rem; }

.table { margin-bottom: 0; }
.table thead th { background: var(--gray-100); border: none; padding: 0.85rem 1rem; font-weight: 600; color: var(--gray-700); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }
.table tbody td { padding: 0.9rem 1rem; border: none; border-bottom: 1px solid var(--border-color); vertical-align: middle; font-size: 0.9rem; }
.table tbody tr:hover { background: var(--gray-100); }
.table tbody tr:last-child td { border-bottom: none; }

/* -------------------------------------------------------------------------
   Modals
   ------------------------------------------------------------------------- */
.modal-content { border: none; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }
.modal-header { background: var(--dark-color); color: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; border: none; padding: 1.15rem 1.75rem; }
.modal-title { font-weight: 700; font-size: 1.05rem; }
.modal-header .btn-close { filter: invert(1); }
.modal-body { padding: 1.75rem; }
.modal-footer { border: none; padding: 1.1rem 1.75rem; background: var(--gray-100); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* -------------------------------------------------------------------------
   Marketing site: hero / product mockup / features / pricing / footer
   ------------------------------------------------------------------------- */
.hero-section {
  background-color: var(--light-color);
  background-image: radial-gradient(var(--gray-300) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: #fff; border: 1px solid var(--border-color);
  color: var(--gray-700); font-size: 0.825rem; font-weight: 600;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem; border-radius: 999px;
  box-shadow: var(--shadow-xs); margin-bottom: 1.5rem;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success-color); display: inline-block; }

.hero-section h1 {
  font-weight: 700; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.12; margin-bottom: 1.25rem;
  color: var(--dark-color); letter-spacing: -0.03em;
}
.hero-section h1 .accent { color: var(--primary-color); }

.hero-section p.lead { font-size: 1.1rem; margin-bottom: 2rem; color: var(--gray-600); max-width: 560px; }

.hero-trust { margin-top: 2.5rem; font-size: 0.8rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

/* Product mockup: a fake browser window showing the actual dashboard UI. */
.browser-mock {
  position: relative; z-index: 2;
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.browser-mock-bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 0.9rem; background: var(--gray-100); border-bottom: 1px solid var(--border-color);
}
.browser-mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-300); }
.browser-mock-url {
  margin-left: 0.6rem; background: #fff; border: 1px solid var(--border-color); border-radius: 6px;
  font-size: 0.7rem; color: var(--gray-600); padding: 0.2rem 0.7rem; flex: 1; max-width: 220px;
}
.browser-mock-body { padding: 1.25rem; background: var(--light-color); }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-bottom: 0.9rem; }
.mock-stat { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 0.7rem 0.8rem; }
.mock-stat .n { font-weight: 700; font-size: 1.1rem; color: var(--dark-color); letter-spacing: -0.02em; }
.mock-stat .l { font-size: 0.65rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.15rem; }
.mock-table { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-sm); overflow: hidden; }
.mock-row { display: flex; align-items: center; justify-content: space-between; padding: 0.55rem 0.8rem; font-size: 0.75rem; border-bottom: 1px solid var(--border-color); }
.mock-row:last-child { border-bottom: none; }
.mock-row .name { font-weight: 600; color: var(--dark-color); }
.mock-pill { font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 999px; }
.mock-pill.paid { background: var(--success-tint); color: var(--success-color); }
.mock-pill.due { background: var(--danger-tint); color: var(--danger-color); }

.stats-section { padding: 64px 0; background: var(--dark-color); color: #fff; }
.stat-item { text-align: center; }
.stats-section .stat-number { font-size: 2.25rem; font-weight: 700; margin-bottom: 0.3rem; color: #fff; letter-spacing: -0.02em; }
.stats-section .stat-label { font-size: 0.85rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 0.05em; }

.how-section { padding: 90px 0; background: var(--light-color); }
.how-step { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 2rem 1.75rem; height: 100%; position: relative; transition: all 0.15s ease; }
.how-step:hover { box-shadow: var(--shadow-md); }
.how-step-number {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 2rem; font-weight: 800; color: var(--gray-200); letter-spacing: -0.03em; line-height: 1;
}
.how-step-icon { width: 42px; height: 42px; background: var(--primary-tint); color: var(--primary-color); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.1rem; }
.how-step h5 { font-weight: 650; color: var(--dark-color); margin-bottom: 0.6rem; font-size: 1.05rem; letter-spacing: -0.01em; }
.how-step p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 0; }

.features-section { padding: 90px 0; background: #fff; }
.section-title.centered, .section-title-lg { text-align: center; font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--dark-color); margin-bottom: 0.85rem; letter-spacing: -0.02em; }
.section-subtitle { text-align: center; color: var(--gray-600); font-size: 1rem; margin-bottom: 3.25rem; max-width: 560px; margin-left: auto; margin-right: auto; }

.feature-card { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: none; transition: all 0.15s ease; border: 1px solid var(--border-color); height: 100%; }
.feature-card:hover { box-shadow: var(--shadow-md); border-color: rgba(11,11,16,.16); }
.feature-icon { width: 42px; height: 42px; background: var(--primary-tint); color: var(--primary-color); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; font-size: 1.1rem; }
.feature-card h5 { font-weight: 650; color: var(--dark-color); margin-bottom: 0.6rem; font-size: 1.02rem; letter-spacing: -0.01em; }
.feature-card p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 0; }

.pricing-section { padding: 90px 0; background: var(--light-color); }
.pricing-card { background: #fff; border-radius: var(--radius-lg); padding: 2.25rem 1.75rem; box-shadow: var(--shadow-sm); transition: all 0.15s ease; border: 1px solid var(--border-color); position: relative; }
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card.featured { border: 1.5px solid var(--primary-color); box-shadow: var(--shadow-lg); }
.pricing-card .plan-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--primary-tint); color: var(--primary-color); padding: 0.25rem 0.6rem; border-radius: 999px; margin-bottom: 0.75rem;
}
.pricing-price { font-size: 2.25rem; font-weight: 700; color: var(--dark-color); margin-bottom: 0.3rem; letter-spacing: -0.03em; }
.pricing-duration { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; padding: 0; margin: 1.5rem 0; text-align: left; }
.pricing-features li { padding: 0.35rem 0; color: var(--gray-700); font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.pricing-features li::before { content: '\2713'; color: var(--success-color); font-weight: bold; }

.testimonials-section { padding: 90px 0; background: #fff; }
.testimonial-card { background: var(--light-color); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: none; border: 1px solid var(--border-color); transition: all 0.15s ease; height: 100%; }
.testimonial-card:hover { box-shadow: var(--shadow-sm); }
.testimonial-quote { color: var(--gray-700); margin-bottom: 1.5rem; font-size: 0.95rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.85rem; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--dark-color); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 0.85rem; }
.testimonial-info h6 { font-weight: 600; color: var(--dark-color); margin-bottom: 0.1rem; font-size: 0.9rem; }
.testimonial-info small { color: var(--gray-600); }

.site-footer { background: var(--dark-color); color: #fff; padding: 56px 0 28px; }
.site-footer h5 { color: #fff; margin-bottom: 1.25rem; font-weight: 600; font-size: 0.9rem; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.6); text-decoration: none; transition: color 0.15s ease; font-size: 0.9rem; }
.site-footer a:hover { color: #fff; }
.site-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; margin-top: 2.25rem; text-align: center; }
.site-footer-bottom p { font-size: 0.825rem; }

/* -------------------------------------------------------------------------
   Legal pages (terms / privacy)
   ------------------------------------------------------------------------- */
.legal-page { max-width: 820px; margin: 0 auto; padding: 3rem 1rem 4rem; }
.legal-page h1 { font-weight: 700; font-size: 2rem; margin-bottom: 0.4rem; color: var(--dark-color); letter-spacing: -0.02em; }
.legal-page .legal-updated { color: var(--gray-600); margin-bottom: 2.25rem; font-size: 0.9rem; }
.legal-page h2 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.65rem; color: var(--dark-color); font-weight: 700; }
.legal-page h3 { font-size: 1.05rem; margin-top: 1.4rem; margin-bottom: 0.5rem; color: var(--dark-color); font-weight: 700; }
.legal-page p, .legal-page ul { margin-bottom: 1rem; color: var(--gray-700); font-size: 0.95rem; }
.legal-page ul { padding-left: 1.5rem; }
.legal-page a { color: var(--primary-color); text-decoration: none; }
.legal-page a:hover { text-decoration: underline; }

/* -------------------------------------------------------------------------
   Payment result pages (success / failed) + receipt
   ------------------------------------------------------------------------- */
.result-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; background-color: var(--light-color); }
.result-card { max-width: 440px; width: 100%; padding: 2.5rem 2rem; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); text-align: center; background: #fff; }
.result-card.success .result-icon { color: var(--success-color); }
.result-card.failed .result-icon { color: var(--danger-color); }
.result-icon { font-size: 3rem; margin-bottom: 1rem; }
.result-order-id { font-weight: 600; color: var(--dark-color); word-break: break-all; margin-top: 0.5rem; font-size: 1rem; }

.receipt-container { max-width: 620px; margin: 2rem auto; background: #fff; }
.receipt-header { border-bottom: 2px solid var(--dark-color); padding-bottom: 1rem; }
@media print {
  .no-print { display: none !important; }
  .receipt-container { border: none; box-shadow: none; }
}

/* -------------------------------------------------------------------------
   Loading / reveal animation, shared by every page via assets/js/app.js
   ------------------------------------------------------------------------- */
.loading { opacity: 0; transform: translateY(14px); transition: all 0.45s ease; }
.loading.loaded { opacity: 1; transform: translateY(0); }

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .mock-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .stats-grid, .stats-row { grid-template-columns: repeat(2, 1fr); }
  .pg-stats { flex-direction: column; gap: 0.4rem; }
  .page-container { padding: 1rem 0; }
  .page-header { padding: 1.25rem 1.5rem; }
  .table-header { padding: 1rem 1.25rem; }
  .auth-card { padding: 2rem 1.5rem; }
  .auth-title { font-size: 1.3rem; }
  .hero-section { padding: 110px 0 60px; text-align: center; }
  .hero-section p.lead { margin-left: auto; margin-right: auto; }
}
