/* ============================================================
   PegasusMonitoring - Main Stylesheet
   Modern redesign | Bootstrap 5 compatible
   ============================================================ */

/* ============================================================
   1. CSS Variables
   ============================================================ */
:root {
  --pm-primary: #6d28d9;
  --pm-primary-dark: #4c1d95;
  --pm-primary-light: #ede9fe;
  --pm-primary-mid: #7c3aed;
  --pm-accent: #ea580c;
  --pm-bg: #f8fafc;
  --pm-surface: #ffffff;
  --pm-text: #0f172a;
  --pm-text-muted: #64748b;
  --pm-border: #e2e8f0;
  --pm-success: #16a34a;
  --pm-danger: #dc2626;
  --pm-radius: 12px;
  --pm-radius-sm: 8px;
  --pm-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --pm-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --pm-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --pm-shadow-purple: 0 10px 25px -5px rgb(109 40 217 / 0.2);
}

/* ============================================================
   2. Base Styles
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--pm-bg);
  color: var(--pm-text);
  line-height: 1.6;
  font-size: 15px;
}

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

a:hover {
  text-decoration: underline;
}

/* ============================================================
   3. Navbar
   ============================================================ */
.navbar {
  background: white;
  border-bottom: 1px solid var(--pm-border);
  box-shadow: var(--pm-shadow);
  min-height: 68px;
}

.navbar-brand {
  font-weight: 800;
  color: var(--pm-primary) !important;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand img {
  height: 36px;
}

.navbar-nav .nav-link {
  color: #334155 !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--pm-radius-sm);
  transition: color 0.2s, background 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--pm-primary) !important;
  background: var(--pm-primary-light);
}

.dropdown-menu {
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow-md);
  padding: 0.4rem;
}

.dropdown-item {
  border-radius: var(--pm-radius-sm);
  font-weight: 500;
  font-size: 0.875rem;
}

.dropdown-item:hover {
  background: var(--pm-primary-light);
  color: var(--pm-primary);
}

.btn-login {
  color: var(--pm-primary) !important;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1.5px solid var(--pm-primary);
  border-radius: 50px;
  padding: 0.35rem 1rem !important;
  transition: background 0.2s, color 0.2s;
}

.btn-login:hover {
  background: var(--pm-primary);
  color: white !important;
  text-decoration: none;
}

/* ============================================================
   4. Hero Section
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--pm-primary-dark) 0%, var(--pm-primary) 60%, #8b5cf6 100%);
  color: white;
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: '';
  background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ============================================================
   5. Page Hero (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--pm-primary-dark), var(--pm-primary));
  color: white;
  padding: 50px 0 45px;
}

.page-hero h1 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.8;
  font-size: 1rem;
  margin: 0;
}

/* ============================================================
   6. Breadcrumb
   ============================================================ */
.breadcrumb-bar {
  background: var(--pm-surface);
  border-bottom: 1px solid var(--pm-border);
  padding: 0.6rem 0;
}

.breadcrumb-bar .breadcrumb {
  margin: 0;
  font-size: 0.8rem;
}

.breadcrumb-bar .breadcrumb-item a {
  color: var(--pm-primary);
}

.breadcrumb-bar .breadcrumb-item.active {
  color: var(--pm-text-muted);
}

.breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
  color: var(--pm-text-muted);
}

/* ============================================================
   7. Section Helpers
   ============================================================ */
.section {
  padding: 80px 0;
}

.section-alt {
  background: white;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pm-primary);
  background: var(--pm-primary-light);
  border-radius: 50px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--pm-text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   8. Cards
   ============================================================ */
.pm-card {
  background: var(--pm-surface);
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.pm-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pm-shadow-purple);
  border-color: rgba(109, 40, 217, 0.2);
}

/* ============================================================
   9. Protocol Cards
   ============================================================ */
.protocol-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.protocol-icon {
  width: 52px;
  height: 52px;
  background: var(--pm-primary-light);
  border-radius: var(--pm-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--pm-primary);
  margin: 0 auto 1rem;
  transition: background 0.2s, color 0.2s;
}

.pm-card:hover .protocol-icon {
  background: var(--pm-primary);
  color: white;
}

.protocol-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--pm-text);
  margin-bottom: 0.25rem;
}

.protocol-desc {
  font-size: 0.78rem;
  color: var(--pm-text-muted);
}

/* ============================================================
   10. Pricing Cards
   ============================================================ */
.pricing-card {
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  background: linear-gradient(135deg, var(--pm-primary-dark), var(--pm-primary));
  color: white;
  border-color: transparent;
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--pm-accent);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

.pricing-tier {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.pricing-amount {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-period {
  font-size: 0.8rem;
  opacity: 0.65;
}

.pricing-monitors {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0;
  margin: 0.75rem 0;
  border-top: 1px solid var(--pm-border);
  border-bottom: 1px solid var(--pm-border);
}

.pricing-card.popular .pricing-monitors {
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.pricing-feature .icon-check {
  color: var(--pm-success);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pricing-card.popular .icon-check {
  color: #86efac;
}

.pricing-cta {
  margin-top: 1.5rem;
}

.btn-pricing {
  display: block;
  width: 100%;
  padding: 0.6rem;
  text-align: center;
  border-radius: var(--pm-radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-pricing-primary {
  background: var(--pm-primary);
  color: white;
  border: none;
  transition: background 0.2s;
}

.btn-pricing-primary:hover {
  background: var(--pm-primary-dark);
  color: white;
  text-decoration: none;
}

.btn-pricing-outline {
  background: transparent;
  color: var(--pm-primary);
  border: 1.5px solid var(--pm-primary);
  transition: all 0.2s;
}

.btn-pricing-outline:hover {
  background: var(--pm-primary);
  color: white;
  text-decoration: none;
}

.btn-pricing-white {
  background: white;
  color: var(--pm-primary);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s;
}

.btn-pricing-white:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  text-decoration: none;
}

/* ============================================================
   11. Buttons
   ============================================================ */
.btn-primary {
  background: var(--pm-primary);
  border-color: var(--pm-primary);
  border-radius: var(--pm-radius-sm);
  font-weight: 600;
  transition: all 0.2s;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--pm-primary-dark);
  border-color: var(--pm-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.35);
}

.btn-outline-primary {
  border-color: var(--pm-primary);
  color: var(--pm-primary);
  border-radius: var(--pm-radius-sm);
  font-weight: 600;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--pm-primary);
  border-color: var(--pm-primary);
  color: white;
}

.btn-accent {
  background: var(--pm-accent);
  border-color: var(--pm-accent);
  color: white;
  border-radius: var(--pm-radius-sm);
  font-weight: 600;
  transition: all 0.2s;
}

.btn-accent:hover,
.btn-accent:focus {
  background: #c2410c;
  border-color: #c2410c;
  color: white;
  transform: translateY(-1px);
}

.btn-white {
  background: white;
  color: var(--pm-primary);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-white:hover,
.btn-white:focus {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

/* ============================================================
   12. Form Styles
   ============================================================ */
.form-control,
.form-select {
  border: 1.5px solid var(--pm-border);
  border-radius: var(--pm-radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--pm-primary);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.12);
  outline: none;
}

.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--pm-text);
  margin-bottom: 0.35rem;
}

.form-text {
  font-size: 0.78rem;
  color: var(--pm-text-muted);
}

.required {
  color: var(--pm-danger);
}

.form-section-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pm-text);
  margin: 1.75rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pm-primary-light);
}

.form-card {
  background: white;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  padding: 2rem;
}

/* ============================================================
   13. Feature List Items
   ============================================================ */
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--pm-primary-light);
  border-radius: var(--pm-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pm-primary);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.feature-content h5 {
  font-weight: 700;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.feature-content p {
  color: var(--pm-text-muted);
  font-size: 0.875rem;
  margin: 0;
}

/* ============================================================
   14. News / Timeline Items
   ============================================================ */
.news-item {
  background: white;
  border: 1px solid var(--pm-border);
  border-left: 4px solid transparent;
  border-radius: var(--pm-radius);
  padding: 1.4rem 1.5rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.news-item:hover {
  border-color: rgba(109, 40, 217, 0.2);
  box-shadow: var(--pm-shadow);
}

.news-item.type-maintenance {
  border-left-color: #6b7280;
}

.news-item.type-incident {
  border-left-color: var(--pm-danger);
}

.news-item.type-announcement {
  border-left-color: var(--pm-primary);
}

.news-item.type-billing {
  border-left-color: #d97706;
}

.news-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.news-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pm-text);
}

.news-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pm-text-muted);
  white-space: nowrap;
}

.news-body {
  font-size: 0.875rem;
  color: var(--pm-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Badge variants for news items */
.badge-maintenance {
  background-color: #f3f4f6;
  color: #374151;
}

.badge-incident {
  background-color: #fee2e2;
  color: #991b1b;
}

.badge-announcement {
  background-color: var(--pm-primary-light);
  color: var(--pm-primary-dark);
}

.badge-billing {
  background-color: #fef3c7;
  color: #92400e;
}

.badge-update {
  background-color: #dcfce7;
  color: #14532d;
}

/* ============================================================
   15. Video Cards
   ============================================================ */
.video-card {
  overflow: hidden;
  cursor: pointer;
}

.video-thumb {
  aspect-ratio: 16 / 9;
  background: #1e1b4b;
  border-radius: var(--pm-radius) var(--pm-radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.2s;
}

.video-thumb:hover {
  background: #312e81;
}

.play-btn {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  transition: all 0.2s;
}

.pm-card:hover .play-btn {
  background: var(--pm-primary);
  border-color: var(--pm-primary);
  transform: scale(1.1);
}

.video-info {
  padding: 1.1rem;
}

.video-number {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--pm-primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.3rem;
}

.video-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--pm-text);
  margin: 0;
}

/* ============================================================
   16. Legal Pages
   ============================================================ */
.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pm-text);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pm-primary-light);
}

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

.legal-content p {
  color: #374151;
  font-size: 0.925rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  color: #374151;
  font-size: 0.925rem;
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.legal-toc {
  position: sticky;
  top: 86px;
  background: white;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  padding: 1.25rem;
}

.legal-toc-title {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pm-text-muted);
  margin-bottom: 0.75rem;
}

.legal-toc a {
  display: block;
  font-size: 0.8rem;
  color: var(--pm-text-muted);
  padding: 0.35rem 0 0.35rem 0.75rem;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-left-color 0.15s;
}

.legal-toc a:hover {
  color: var(--pm-primary);
  border-left-color: var(--pm-primary);
}

/* ============================================================
   17. CTA Section
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--pm-primary-dark), var(--pm-primary));
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-section p {
  opacity: 0.82;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   18. Info / Detail Page
   ============================================================ */
.info-detail-card {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
}

.info-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--pm-border);
  font-size: 0.9rem;
}

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

.info-detail-label {
  font-weight: 600;
  color: var(--pm-text-muted);
  width: 120px;
  flex-shrink: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-detail-value {
  color: var(--pm-text);
}

/* ============================================================
   19. Comparison Table (modernized)
   ============================================================ */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--pm-radius);
  border: 1px solid var(--pm-border);
  box-shadow: var(--pm-shadow);
}

.table-spec {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 0.875rem;
}

.table-spec th {
  background: var(--pm-primary);
  color: white;
  font-weight: 600;
  text-align: center;
  padding: 0.75rem 0.6rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.table-spec th:first-child {
  text-align: left;
  background: #3b0764;
}

.table-spec td {
  padding: 0.7rem 0.6rem;
  text-align: center;
  border-bottom: 1px solid var(--pm-border);
  vertical-align: middle;
}

.table-spec td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--pm-text);
  background: #f8faff;
  font-size: 0.82rem;
}

.table-spec tbody tr:hover td {
  background: var(--pm-primary-light);
}

.table-spec tbody tr:hover td:first-child {
  background: rgba(109, 40, 217, 0.08);
}

.check-yes {
  color: var(--pm-success);
  font-size: 1rem;
}

.check-no {
  color: #d1d5db;
  font-size: 1rem;
}

/* ============================================================
   20. Footer
   ============================================================ */
footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 32px;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-dot {
  color: var(--pm-accent);
}

.footer-tagline {
  font-size: 0.85rem;
  max-width: 260px;
  line-height: 1.6;
  margin-top: 0.25rem;
}

.footer-heading {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.875rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.footer-contact-item i {
  color: var(--pm-primary-mid);
  margin-top: 0.1rem;
  width: 14px;
}

/* ============================================================
   21. Modal
   ============================================================ */
.modal-content {
  border-radius: var(--pm-radius);
  border: none;
  box-shadow: var(--pm-shadow-lg);
}

.modal-header {
  border-bottom: 1px solid var(--pm-border);
  padding: 1.25rem 1.5rem;
}

.modal-body {
  padding: 1.5rem;
}

.modal-title {
  font-weight: 700;
  font-size: 1rem;
}

/* ============================================================
   22. Alert / Notice Box
   ============================================================ */
.pm-notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--pm-radius);
  padding: 1rem 1.25rem;
  color: #1e40af;
  font-size: 0.875rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.pm-notice.pm-notice-warning {
  background: #fffbeb;
  border-color: #fcd34d;
  color: #92400e;
}

/* ============================================================
   23. Scroll / Fade Animations
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   24. Responsive
   ============================================================ */
@media (max-width: 991px) {
  .hero {
    padding: 70px 0 60px;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 55px 0 50px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .section {
    padding: 50px 0;
  }

  .legal-toc {
    display: none;
  }

  .page-hero {
    padding: 40px 0 35px;
  }

  .hero-stats {
    gap: 1.5rem;
  }

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

/* ============================================================
   25. Utilities
   ============================================================ */
.text-primary {
  color: var(--pm-primary) !important;
}

.bg-primary-light {
  background: var(--pm-primary-light);
}
