/* App overrides & extracted styles from original inline CSS.
   Keeps original color scheme while integrating Kreative UI kit. */

:root {
  --brand-bg-gradient: linear-gradient(135deg, #1e3c72, #2a5298);
  --brand-green: #007bff;
  --brand-green-alt: #0056b3;
  --brand-danger: #dc3545;
  --brand-nav-bg: #2c3e50;
  --brand-text-light: #ffffff;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  min-height: 100vh;
}

/* Admin Actions Styles */
.admin-actions { display: flex; gap: .5rem; }
.admin-btn { padding: .5rem 1rem; border: none; border-radius: 4px; cursor: pointer; font-size: .8rem; font-weight: 600; transition: all .2s ease; }
.admin-btn.edit { background: #2196F3; color: #fff; }
.admin-btn.delete { background: #f44336; color: #fff; }
.admin-btn.view { background: var(--brand-green); color: #fff; }
.admin-btn:hover { transform: scale(1.05); }

/* Admin Badge Styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-trial { background: #ffc107; color: #000; }
.badge-professional { background: #007bff; color: #fff; }
.badge-enterprise { background: #6f42c1; color: #fff; }
.badge-active { background: #007bff; color: #fff; }
.badge-inactive { background: #6c757d; color: #fff; }
.badge-pending { background: #ffc107; color: #000; }
.badge-completed { background: #007bff; color: #fff; }
.badge-draft { background: #6c757d; color: #fff; }
.badge-incident { background: #007bff; color: #fff; }
.badge-dwi { background: #dc3545; color: #fff; }
.badge-dre { background: #6f42c1; color: #fff; }

/* Admin Search Input */
.admin-search {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    min-width: 250px;
}

.admin-search:focus {
    outline: none;
    border-color: var(--brand-green);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

/* Dark brand gradient overlay */
body {
  background: linear-gradient(rgba(30,60,114,0.72), rgba(42,82,152,0.85)),
              url('../StockCake-Nighttime Crime Scene_1755740533.jpg') center/cover fixed no-repeat;
  backdrop-filter: blur(2px);
}

/* === Newly added utilities to finish inline style purge === */
.fixed-top-right { position:fixed; top:1rem; right:1rem; z-index:9999; }
.flex-col { flex-direction:column !important; }
.gap-sm { gap:.5rem !important; }
.gap-xs { gap:.25rem !important; }
.gap-tight { gap:.65rem !important; }
.align-center { align-items:center !important; }
.justify-center { justify-content:center !important; }
.justify-end { justify-content:flex-end !important; }
.fs-135 { font-size:1.35rem !important; }
.fs-11 { font-size:1.1rem !important; }
.fs-09 { font-size:.9rem !important; }
.fw-semibold { font-weight:600 !important; }
.italic { font-style:italic !important; }
.letter-tight { letter-spacing:.5px !important; }
.maxw-720 { max-width:720px !important; }
.maxw-780 { max-width:780px !important; }
.limit-centered { margin-inline:auto !important; }
.w-20 { width:20px !important; }
.h-20 { height:20px !important; }
.opacity-0 { opacity:0 !important; }
.cursor-pointer { cursor:pointer !important; }
.mt-1rem { margin-top:1rem !important; }
.mt-3rem { margin-top:3rem !important; }
.mb-05 { margin-bottom:.5rem !important; }
.mb-2rem { margin-bottom:2rem !important; }
.text-blue { color:#1976d2 !important; }
.text-gold { color:#ffd700 !important; }
.list-indent { margin-left:1rem !important; }
.line-relaxed { line-height:1.8 !important; }
.invisible-hit { position:absolute !important; top:0; right:0; width:20px; height:20px; opacity:0; }
.logo-img { height:52px; width:auto; }
.logo-text { font-size:1.35rem; color:#fff; letter-spacing:.5px; }
.section-white { color:white !important; }
.mt-4rem { margin:4rem 0 !important; }
.text-shadow { text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.btn-min-90 { min-width:90px !important; }
.mw-800 { max-width:800px !important; }
.mw-900 { max-width:900px !important; }
.mw-600 { max-width:600px !important; }
.report-content { line-height:1.8; color:#333; white-space:pre-wrap; }
.suggestions-hidden { display:none; }
.bg-info-soft { background:#e3f2fd; }
.p-1rem { padding:1rem !important; }
.p-2rem { padding:2rem !important; }
.rounded-8 { border-radius:8px !important; }
.rounded-12 { border-radius:12px !important; }
.rounded-20 { border-radius:20px !important; }
.badge-new { background:var(--brand-green); }
.header-logo-group { position:relative; }
.admin-env-section { margin-top:2rem; }
.log-box { background:#f8f9fa; padding:1rem; border-radius:8px; height:400px; overflow-y:auto; font-family:monospace; font-size:.9rem; }
.export-all-container { text-align:center; margin-bottom:2rem; }
.chat-close { float:right; cursor:pointer; }
.chat-intro { padding:1rem; color:#666; }
.btn-px { padding:8px 12px !important; }
.account-area { position:relative; }
.support-btn { background: var(--brand-green); color:#fff; border:none; padding:8px 16px; border-radius:4px; margin:0 5px; cursor:pointer; }
.support-btn.alt { background:#2196F3; }
.support-actions { margin:1rem 0; text-align:center; }
.enterprise-header { text-align:center; margin-bottom:2rem; }
.enterprise-title { color:#333; }
.enterprise-sub { color:#666; }
.full-width { width:100% !important; }
.reports-hero { background:rgba(255,255,255,0.1); backdrop-filter:blur(10px); border-radius:12px; padding:2rem; margin-bottom:2rem; color:white; text-align:center; }
.reports-example-header { text-align:center; color:white; margin:2rem 0; }
.reports-cta { text-align:center; margin-top:3rem; }
.opacity-85 { opacity:.85 !important; }
.text-333 { color:#333 !important; }
.text-warn-brown { color:#856404 !important; }
.verify-success { background:#d4edda; color:#155724; border:1px solid #c3e6cb; }
.verify-info { background:#d1ecf1; color:#0c5460; border:1px solid #bee5eb; }
.verify-error { background:#f8d7da; color:#721c24; border:1px solid #f5c6cb; }
.toast-notice { position:fixed; top:20px; left:50%; transform:translateX(-50%); z-index:10000; padding:15px 25px; border-radius:8px; color:#fff; font-weight:700; max-width:500px; text-align:center; box-shadow:0 4px 12px rgba(0,0,0,0.15); }
.toast-success { background:var(--brand-green); }
.toast-info { background:#2196F3; }
.toast-error { background:#f44336; }

/* Hero / full-screen sections adopt same translucent overlay approach */
.s-hero, .hero, .full-viewport-bg {
  position: relative;
  background: transparent; /* parent body handles image */
}

/* Optional additional inner overlay if needed */
.hero::before, .auth-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,60,114,0.55), rgba(42,82,152,0.55));
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Auth (login/signup) box retains solid brand panel rather than glass to ensure contrast */
.auth-box, .login-panel, .signup-panel {
  background: linear-gradient(160deg, #1e3c72 0%, #2a5298 60%, #234b87 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 45px -10px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.05) inset;
}
.auth-box h1, .auth-box h2, .auth-box label { color: #fff; }
.auth-box input[type="email"], .auth-box input[type="password"], .auth-box input[type="text"] {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}
.auth-box input[type="email"]:focus, .auth-box input[type="password"]:focus, .auth-box input[type="text"]:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(0,123,255,0.35);
}
.auth-box ::placeholder { color: rgba(255,255,255,0.65); }

/* Provide a utility if we later want semi-opaque panel style */
.panel-glass {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.25);
}

/* Navigation tweaks mapped onto Kreative header classes */
.s-header {
  background: var(--brand-nav-bg);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.s-header__nav a {
  color: #fff;
}
.s-header__nav a:hover, .s-header__nav li.current > a { background: rgba(255,255,255,0.18); }

/* Buttons preserving original scheme */
.btn, .c-btn, .button {
  background: var(--brand-green);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
}
.btn:hover, .c-btn:hover, .button:hover { background: var(--brand-green-alt); }
.btn-danger { background: var(--brand-danger); }
.btn-danger:hover { filter: brightness(1.1); }

/* Custom Button Color Overrides */

/* Page and Form Centering */
.page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
  box-sizing: border-box !important;
}

#report .card, #dwi .card {
  margin: 2rem auto !important;
  max-width: 800px !important;
  width: calc(100% - 2rem) !important;
  box-sizing: border-box !important;
}

#dwi .card {
  max-width: 900px !important;
}

/* DWI Form Performance Optimization */
#dwiForm {
  transform: translateZ(0) !important; /* Enable hardware acceleration */
  will-change: scroll-position !important;
}

#dwiForm .checkbox-section {
  contain: layout style paint !important; /* CSS containment for better performance */
}

#dwiForm .dwi-checkbox-container {
  contain: layout !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page {
    padding: 0 0.5rem !important;
  }
  
  #report .card, #dwi .card {
    width: calc(100% - 1rem) !important;
    margin: 1rem auto !important;
  }
}

/* Default buttons - White with Navy Blue text */
.btn:not(.btn-trial):not(.btn-save),
.btn-primary:not(.btn-trial):not(.btn-save),
.btn.btn-primary:not(.btn-trial):not(.btn-save),
button.btn:not(.btn-trial):not(.btn-save),
button.btn-primary:not(.btn-trial):not(.btn-save) {
  background: #ffffff !important;
  color: #1e3a8a !important;
  border: 2px solid #1e3a8a !important;
}

.btn:not(.btn-trial):not(.btn-save):hover,
.btn-primary:not(.btn-trial):not(.btn-save):hover,
.btn.btn-primary:not(.btn-trial):not(.btn-save):hover,
button.btn:not(.btn-trial):not(.btn-save):hover,
button.btn-primary:not(.btn-trial):not(.btn-save):hover {
  background: #f8fafc !important;
  color: #1e3a8a !important;
  border-color: #1e3a8a !important;
}

/* Start Free Trial buttons - Green with black text */
.btn-primary.btn-trial,
.btn.btn-primary.btn-trial,
button.btn.btn-primary.btn-trial,
.btn-trial,
.btn.btn-trial,
button.btn-trial {
  background: #22c55e !important;
  color: #000000 !important;
  border: 2px solid #22c55e !important;
}

.btn-primary.btn-trial:hover,
.btn.btn-primary.btn-trial:hover,
button.btn.btn-primary.btn-trial:hover,
.btn-trial:hover,
.btn.btn-trial:hover,
button.btn-trial:hover {
  background: #16a34a !important;
  color: #000000 !important;
  border-color: #16a34a !important;
}

/* Save Report buttons - Purple with white text */
.btn-primary.btn-save,
.btn.btn-primary.btn-save,
button.btn.btn-primary.btn-save,
.btn-save,
.btn.btn-save,
button.btn-save {
  background: #7c3aed !important;
  color: #ffffff !important;
  border: 2px solid #7c3aed !important;
}

.btn-primary.btn-save:hover,
.btn.btn-primary.btn-save:hover,
button.btn.btn-primary.btn-save:hover,
.btn-save:hover,
.btn.btn-save:hover,
button.btn-save:hover {
  background: #6d28d9 !important;
  color: #ffffff !important;
  border-color: #6d28d9 !important;
}

/* Pricing cards adaptation */
.pricing-card, .kreative-pricing-card, .feature-card {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);

/* Embedded Checkout Modal Styles */
.checkout-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.checkout-modal-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.checkout-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.checkout-modal-header h3 {
  margin: 0;
  color: #333;
  font-size: 1.5rem;
}

.checkout-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.checkout-modal-close:hover {
  background: #f5f5f5;
  color: #333;
}

.checkout-loading {
  text-align: center;
  padding: 2rem;
}

.checkout-loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #1e3c72;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.checkout-loading p {
  color: #666;
  margin: 0;
}

#payment-element {
  margin-bottom: 1.5rem;
}

.checkout-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.checkout-actions .btn {
  min-width: 120px;
}

.checkout-error {
  background: #fee;
  border: 1px solid #fcc;
  color: #c33;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.inline-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 0.5rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .checkout-modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .checkout-actions {
    flex-direction: column;
  }
  
  .checkout-actions .btn {
    width: 100%;
  }
}
  backdrop-filter: blur(4px);
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}
.pricing-card:hover, .kreative-pricing-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(0,0,0,0.18); }
.pricing-card.popular { border: 3px solid var(--brand-green); }
.popular-badge { background: var(--brand-green); color: #fff; }

/* Usage display */
#usageDisplay { display:none; background: rgba(0,0,0,0.4); color:#fff; padding:.5rem 1rem; border-radius:6px; font-size:.85rem; }

/* Chat widget adjustments */
#chatMessages { display:flex; flex-direction:column; gap:.35rem; }

/* Notification container relocation synergy with AOS */
#notifyContainer { max-width: 320px; }

/* Hero section styled to kit */
.hero, .s-hero, .s-home__content { text-align:center; color:#fff; }
.hero h1 { font-size:3rem; margin-bottom:1rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.hero p { font-size:1.15rem; opacity:.9; max-width:650px; margin:0 auto 2rem; }

/* Account dropdown refinement */
.user-dropdown #userEmail { color:#fff; font-weight:600; cursor:pointer; }
.dropdown-menu { background:#fff; box-shadow:0 10px 25px rgba(0,0,0,0.15); border-radius:8px; overflow:hidden; }
.dropdown-item { font-size:.9rem; }

/* Forms modernization */
form .form-group { margin-bottom:1rem; }
form input[type="text"], form input[type="email"], form input[type="password"], textarea {
  width:100%; padding:0.75rem 0.9rem; border:1px solid #ccc; border-radius:8px; font-size:0.95rem; transition:border-color .25s, box-shadow .25s;
}
form input:focus, textarea:focus { outline:none; border-color: var(--brand-green); box-shadow:0 0 0 3px rgba(0,123,255,0.25); }

/* Responsive helpers */
@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size:2.35rem; }
}

/* === Migrated inline styles (consolidated) === */
/* General utility & content boxes */
.example-text { background: rgba(255,255,255,0.2); padding:1rem; border-radius:8px; font-family: Georgia, serif; line-height:1.6; color:#fff; }
.card { background:rgba(255,255,255,0.95); border-radius:20px; padding:2.25rem; box-shadow:0 15px 35px rgba(0,0,0,0.15); margin:2rem auto; position:relative; }
.card h1, .card h2, .card h3, .card p { color:#333; }
.card.panel-glass { background:rgba(255,255,255,0.14); box-shadow:0 20px 45px -10px rgba(0,0,0,0.4); }

/* Utility classes */
.text-center { text-align:center !important; }
.text-light { color:#e2e8f0 !important; }
.text-muted { color:#666 !important; }
.text-white { color:#fff !important; }
.fw-bold { font-weight:700 !important; }
.mt-0 { margin-top:0 !important; }
.mt-1 { margin-top:.5rem !important; }
.mt-2 { margin-top:1rem !important; }
.mt-3 { margin-top:1.5rem !important; }
.mt-4 { margin-top:2rem !important; }
.mb-0 { margin-bottom:0 !important; }
.mb-1 { margin-bottom:.5rem !important; }
.mb-2 { margin-bottom:1rem !important; }
.mb-3 { margin-bottom:1.5rem !important; }
.mb-4 { margin-bottom:2rem !important; }
.mx-auto { margin-left:auto !important; margin-right:auto !important; }
.flex { display:flex !important; }
.flex-center { display:flex !important; align-items:center !important; justify-content:center !important; }
.flex-wrap { flex-wrap:wrap !important; }
.gap-1 { gap:.5rem !important; }
.gap-2 { gap:1rem !important; }
.gap-3 { gap:1.5rem !important; }
.w-100 { width:100% !important; }
.maxw-600 { max-width:600px !important; }
.maxw-800 { max-width:800px !important; }
.maxw-900 { max-width:900px !important; }
.lead { font-size:1.15rem; opacity:.9; }
.display-1 { font-size:3rem; }
.display-2 { font-size:2.5rem; }

/* Badges & labels */
.badge-new { background:#ff4444; color:#fff; padding:5px 15px; border-radius:15px; display:inline-block; font-size:0.9rem; font-weight:700; }
.badge-pop { background:var(--brand-green); color:#fff; padding:4px 12px; border-radius:12px; font-size:.75rem; font-weight:600; letter-spacing:.5px; }

/* Alerts & panels */
.alert-warning { background:#fff3cd; border:2px solid #ffc107; color:#856404; border-radius:12px; padding:1.25rem 1.5rem; }
.panel-soft { background:rgba(255,255,255,0.1); backdrop-filter:blur(10px); border-radius:12px; padding:2rem; color:#fff; }
.suggestions-box { background:#e3f2fd; padding:1rem; border-radius:8px; margin-top:1rem; }

/* Pricing lists */
.pricing-features { text-align:left; margin:2rem 0; list-style:none; padding:0; }

/* Chat messages */

/* Account dropdown & modal */
.account-btn { background:#1f2937; color:#fff; border:none; padding:.5rem .9rem; border-radius:6px; font-size:.85rem; cursor:pointer; }
.modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.55); z-index:6000; align-items:center; justify-content:center; }
.modal-card { background:#fff; padding:1.5rem 1.25rem; border-radius:10px; max-width:360px; width:100%; box-shadow:0 12px 30px rgba(0,0,0,0.25); }

/* Forms mini labels */
.form-mini-label { display:block; font-size:.75rem; font-weight:600; letter-spacing:.05em; color:#555; margin-bottom:.25rem; }

/* Additional utilities for optimization phase */
.text-green { color: var(--brand-green) !important; }
.text-danger { color: var(--brand-danger) !important; }
.mr-1 { margin-right:1rem !important; }
.mr-2 { margin-right:1.5rem !important; }
.ml-1 { margin-left:1rem !important; }
.p-0 { padding:0 !important; }
.p-1 { padding:.5rem !important; }
.p-2 { padding:1rem !important; }
.rounded { border-radius:6px !important; }
.rounded-lg { border-radius:12px !important; }
.shadow-sm { box-shadow:0 2px 6px rgba(0,0,0,0.1) !important; }
.shadow { box-shadow:0 4px 12px rgba(0,0,0,0.15) !important; }
.shadow-lg { box-shadow:0 15px 35px rgba(0,0,0,0.3) !important; }
.hidden { display:none !important; }
.link-green { color: var(--brand-green); text-decoration:none; }
.link-green:hover { text-decoration:underline; }
.account-dropdown { position:fixed; top:0; right:0; padding:.5rem 1rem; z-index:5000; }
.account-btn { background:#1f2937; color:#fff; border:none; padding:.5rem .9rem; border-radius:6px; cursor:pointer; font-size:.85rem; display:none; }
.account-menu { display:none; position:absolute; top:110%; right:0; background:#fff; border:1px solid #ddd; box-shadow:0 6px 18px rgba(0,0,0,0.15); border-radius:8px; width:250px; font-size:.85rem; overflow:hidden; }
.account-menu__email { padding:.75rem .9rem; font-weight:600; border-bottom:1px solid #eee; word-break:break-all; }
.account-menu button { all:unset; display:block; width:100%; padding:.6rem .9rem; cursor:pointer; color:#1f2937; }
.account-menu button.logout { color:#dc2626; }
.modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.55); z-index:6000; align-items:center; justify-content:center; }
.modal-card { background:#fff; padding:1.5rem 1.25rem; border-radius:10px; max-width:360px; width:100%; box-shadow:0 12px 30px rgba(0,0,0,0.25); }
.modal-card h3 { margin-top:0; margin-bottom:.75rem; font-size:1.1rem; color:#111; }
.form-inline-note { font-size:0.85rem; }

/* Buttons width & spacing */
.btn-block { width:100%; }
.btn-group-center { display:flex; justify-content:center; gap:1rem; flex-wrap:wrap; }

/* Hero spacing util */
.hero-actions { margin-top:2rem; }

/* Remove default list style where required */
.list-unstyled { list-style:none; padding:0; margin:0; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.textarea { min-height:120px; resize:vertical; }
.checkbox-group { display:block; margin:1rem 0; padding-left:1.2em; list-style:disc; }
.checkbox-item { display:list-item; margin-bottom:.5em; }
.checkbox-item input[type="checkbox"] { width:18px; height:18px; margin:0; }
.checkbox-item label { cursor:pointer; user-select:none; }
.explanation-box { background:#fff; border:1px solid #ddd; border-radius:4px; padding:8px; font-size:.9rem; margin-left:auto; width:200px; }
.auth-container { display:flex; justify-content:center; align-items:center; min-height:80vh; padding:2rem 0; }
.report-item { background: rgba(255,255,255,0.95); border-radius:12px; padding:1.5rem; margin-bottom:1.5rem; box-shadow:0 4px 12px rgba(0,0,0,0.1); transition:all .3s ease; }
.report-item:hover { transform:translateY(-2px); box-shadow:0 8px 25px rgba(0,0,0,0.15); }
.report-meta { display:flex; justify-content:space-between; align-items:center; margin-bottom:1rem; padding-bottom:1rem; border-bottom:1px solid #e2e8f0; }
.status-complete { background:#d4edda; color:#155724; padding:4px 12px; border-radius:20px; font-size:.8rem; font-weight:700; }
.status-draft { background:#fff3cd; color:#856404; padding:4px 12px; border-radius:20px; font-size:.8rem; font-weight:700; }

/* Generated report & warnings */
.generated-report { background:#f8f9ff; border:2px solid var(--brand-green); border-radius:12px; padding:2rem; margin-top:2rem; display:none; }
.generated-report.show { display:block; }
.draft-warning { background:#fff3cd; border:2px solid #ffc107; color:#856404; padding:1rem; border-radius:8px; margin:1rem 0; font-weight:700; }
.usage-display { background: rgba(255,255,255,0.1); color:#fff; padding:1rem; border-radius:8px; text-align:center; margin:1rem 0; }
.upgrade-prompt { background:#ffd700; color:#333; padding:1rem; border-radius:8px; text-align:center; margin:1rem 0; font-weight:700; }

/* Footer */
.footer { background:rgba(0,0,0,0.2); color:#fff; text-align:center; padding:2rem 0; margin-top:4rem; }
.footer-links { display:flex; justify-content:center; gap:2rem; margin-bottom:1rem; }
.footer-links a { color:#fff; text-decoration:none; opacity:.8; }

/* Loading & spinner */
.loading { display:none; text-align:center; margin:1rem 0; }
.loading.show { display:block; }
.spinner { border:3px solid #f3f3f3; border-top:3px solid var(--brand-green); border-radius:50%; width:40px; height:40px; animation:spin 1s linear infinite; margin:0 auto; }

/* Chat widget */
.chat-widget { position:fixed; bottom:20px; right:20px; z-index:1000; }
.chat-bubble { width:60px; height:60px; background:var(--brand-green); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; cursor:pointer; box-shadow:0 4px 12px rgba(0,0,0,0.3); font-size:1.5rem; }
.chat-window { position:fixed; bottom:90px; right:20px; width:350px; height:400px; background:#fff; border-radius:12px; box-shadow:0 8px 25px rgba(0,0,0,0.3); display:none; flex-direction:column; }
.chat-header { background:var(--brand-green); color:#fff; padding:1rem; border-radius:12px 12px 0 0; font-weight:700; }
.chat-messages { display:flex; flex-direction:column; gap:0.5rem; flex:1; padding:1rem; overflow-y:auto; max-height:250px; }
.chat-message { padding:0.55rem 1rem; border-radius:12px; max-width:80%; word-break:break-word; white-space:pre-wrap; box-shadow:0 2px 6px rgba(0,0,0,0.08); }
.chat-message-user { background:#e5e7eb; color:#1f2937; align-self:flex-end; border:1px solid #d1d5db; }
.chat-message-ai { background:#1d4ed8; color:#fff; align-self:flex-start; border:1px solid #1e40af; }
.chat-input { display:flex; padding:1rem; border-top:1px solid #eee; }
.chat-input input { flex:1; padding:8px; border:1px solid #ddd; border-radius:4px; margin-right:8px; }

/* Admin panel - Enhanced for better readability */
.admin-panel { 
    background: #ffffff; 
    border-radius: 12px; 
    padding: 2rem; 
    margin: 2rem 0; 
    display: none; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #2c3e50;
}
.admin-panel.unlocked { display: block; animation: slideInDown .5s ease-out; }
.admin-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 2rem; 
    padding-bottom: 1rem; 
    border-bottom: 2px solid var(--brand-green); 
}
.admin-header h1 { 
    color: #2c3e50; 
    margin: 0; 
    font-size: 2.2rem;
    font-weight: 700;
}
.admin-badge { 
    background: #e74c3c; 
    color: #fff; 
    padding: .6rem 1.2rem; 
    border-radius: 20px; 
    font-size: .85rem; 
    font-weight: 700; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.admin-tabs { 
    display: flex; 
    gap: 0.5rem; 
    margin-bottom: 2rem; 
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.5rem;
    border: 1px solid #e9ecef;
}
.admin-tab { 
    padding: 1rem 1.5rem; 
    background: transparent; 
    border: none; 
    cursor: pointer; 
    border-radius: 6px;
    font-weight: 600; 
    color: #6c757d; 
    transition: all .3s ease;
    font-size: 0.95rem;
}
.admin-tab.active { 
    color: #fff; 
    background: var(--brand-green);
    box-shadow: 0 2px 4px rgba(0,123,255,0.3);
}
.admin-tab:hover { 
    color: var(--brand-green); 
    background: rgba(76, 175, 80, 0.1);
}
.admin-content { display: none; }
.admin-content.active { display: block; }
.admin-stats { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 1.5rem; 
    margin: 2rem 0; 
}
.stat-card { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: #fff; 
    padding: 2rem; 
    border-radius: 12px; 
    text-align: center; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    transition: transform .3s ease; 
}
.stat-card:hover { transform: translateY(-5px); }
.stat-card h3 { 
    font-size: 2.5rem; 
    margin: 0 0 0.5rem 0; 
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.stat-card p { 
    opacity: 0.9; 
    margin: 0; 
    font-size: 1rem;
    font-weight: 500;
}
.admin-table { 
    width: 100%; 
    border-collapse: collapse; 
    background: #fff; 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
    font-size: 0.95rem;
}
.admin-table th, .admin-table td { 
    padding: 1rem; 
    text-align: left; 
    border-bottom: 1px solid #eee; 
    color: #2c3e50;
}
.admin-table th { 
    background: #f8f9fa; 
    font-weight: 600; 
    color: #495057; 
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.admin-table tr:hover { background: #f8f9fa; }
.admin-actions { display: flex; gap: .5rem; }
.admin-btn { padding:.5rem 1rem; border:none; border-radius:4px; cursor:pointer; font-size:.8rem; font-weight:600; transition:all .2s ease; }
.admin-btn.edit { background:#2196F3; color:#fff; }
.admin-btn.delete { background:#f44336; color:#fff; }
.admin-btn.view { background:var(--brand-green); color:#fff; }
.admin-btn:hover { transform:scale(1.05); }
.admin-search { margin-bottom:1rem; padding:.8rem; border:2px solid #ddd; border-radius:8px; width:100%; font-size:1rem; }
.admin-search:focus { outline:none; border-color:var(--brand-green); }
.admin-quick-actions { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:1rem; margin:2rem 0; }
.quick-action-card { background:#fff; border:2px solid var(--brand-green); border-radius:12px; padding:1.5rem; text-align:center; cursor:pointer; transition:all .3s ease; }
.quick-action-card:hover { background:var(--brand-green); color:#fff; transform:translateY(-2px); }
.security-warning { background:#ff6b6b; color:#fff; padding:1rem; border-radius:8px; margin-bottom:2rem; text-align:center; font-weight:700; }

/* Verification & legal */
.verification-message { background:var(--brand-green); color:#fff; padding:1rem; border-radius:8px; text-align:center; }
.legal-page { 
    background:rgba(255,255,255,0.98); 
    border-radius:12px; 
    padding:3rem; 
    margin:2rem 0; 
    line-height:1.6; 
    color:#333 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.legal-page * { color:#333 !important; }
.legal-page h1 { color:#333 !important; margin-bottom:1rem; font-size:2.5rem; }
.legal-page h2 { color:#2c7b2c !important; margin:2rem 0 1rem; font-size:1.5rem; }
.legal-page p { color:#333 !important; margin:1rem 0; }
.legal-page li { color:#333 !important; }
.legal-page strong { color:#222 !important; font-weight:600; }
.legal-page ul { margin:1rem 0 1rem 2rem; }

/* Payment results & benefits */
.payment-result-page { background:rgba(255,255,255,0.95); border-radius:16px; margin:2rem auto; max-width:600px; box-shadow:0 8px 32px rgba(0,0,0,0.1); }
.payment-result-content { padding:3rem; text-align:center; }
.success-icon, .cancel-icon { margin:0 auto 2rem; animation:bounceIn .8s ease-out; }
.payment-result-page h1 { font-size:2.5rem; margin-bottom:1rem; color:#333; }
.success-message { font-size:1.2rem; color:var(--brand-green); font-weight:600; margin-bottom:2rem; }
.cancel-message { font-size:1.2rem; color:#666; margin-bottom:2rem; }
.benefits-box, .trial-reminder, .upgrade-options, .next-steps, .help-section { background:#f8f9fa; border-radius:12px; padding:2rem; margin:2rem 0; text-align:left; }
.benefits-box h3, .trial-reminder h3, .upgrade-options h3, .next-steps h3, .help-section h3 { color:var(--brand-green); margin-bottom:1rem; text-align:center; }
.benefits-box ul, .trial-reminder ul { list-style:none; padding:0; }
.benefits-box li, .trial-reminder li { padding:.5rem 0; font-size:1.1rem; }
.action-buttons { display:flex; gap:1rem; justify-content:center; margin-top:1.5rem; flex-wrap:wrap; }
.btn-large { font-size:1.2rem; padding:15px 30px; }
.btn-outline { background:transparent; border:2px solid var(--brand-green); color:var(--brand-green); }
.btn-outline:hover { background:var(--brand-green); color:#fff; }
.receipt-info { background:#e8f5e8; border-radius:8px; padding:1.5rem; margin-top:2rem; font-size:.9rem; color:#2d5a3d; }

/* Features grid (already partly styled) */
.features-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:2rem; margin:3rem 0; }
.feature-card { background:rgba(255,255,255,0.1); backdrop-filter:blur(10px); border-radius:15px; padding:2rem; border:1px solid rgba(255,255,255,0.2); transition:all .3s ease; color:#fff; text-align:center; }
.feature-card:hover { transform:translateY(-5px); box-shadow:0 10px 25px rgba(0,0,0,0.2); }
.feature-icon { width:60px; height:60px; background:linear-gradient(45deg,var(--brand-green), var(--brand-green-alt)); border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.5rem; margin:0 auto 1rem; }

/* Animations migrated */
@keyframes slideInDown { from { opacity:0; transform:translate3d(0,-100%,0);} to { opacity:1; transform:translate3d(0,0,0);} }
@keyframes bounceIn { 0% { transform:scale(.3); opacity:0;} 50% { transform:scale(1.05);} 70% { transform:scale(.9);} 100% { transform:scale(1); opacity:1;} }
@keyframes spin { 0% { transform:rotate(0deg);} 100% { transform:rotate(360deg);} }

/* Transitions & micro-interactions (new) */
.page-transition { opacity:0; transform:translateY(8px); transition:opacity .35s var(--ease-out, ease), transform .45s var(--ease-out, ease); }
.page-transition.active, .page-transition.show { opacity:1; transform:translateY(0); }
.will-fade { opacity:0; transform:translateY(14px); transition:opacity .55s var(--ease-out, ease), transform .55s var(--ease-out, ease); }
.will-fade.in { opacity:1; transform:translateY(0); }
.chat-transition { transition: transform .35s var(--ease-out, ease), opacity .35s var(--ease-out, ease); transform:translateY(12px) scale(.98); opacity:0; }
.chat-transition.open { transform:translateY(0) scale(1); opacity:1; }
.btn, button, .support-btn { transition: background-color .25s, color .25s, box-shadow .3s, transform .25s; }
.btn:hover, button:hover, .support-btn:hover { transform:translateY(-2px); box-shadow:0 6px 18px -4px rgba(0,0,0,.35); }
.btn:active, button:active, .support-btn:active { transform:translateY(0); box-shadow:0 2px 6px -2px rgba(0,0,0,.4); }
.fade-slide { opacity:0; transform:translateY(18px); animation: fadeSlide .8s var(--ease-out, ease) forwards; }
@keyframes fadeSlide { to { opacity:1; transform:translateY(0); } }
.pulse-once { animation:pulseOnce .9s ease-out forwards; }
@keyframes pulseOnce { 0%{ box-shadow:0 0 0 0 rgba(0,123,255,.5);} 70%{ box-shadow:0 0 0 8px rgba(0,123,255,0);} 100%{ box-shadow:0 0 0 0 rgba(0,123,255,0);} }

/* Responsive refinements */
@media (max-width:768px) {
  .nav-links { display:none; flex-direction:column; position:absolute; top:100%; left:0; right:0; background:rgba(0,0,0,0.95); backdrop-filter:blur(10px); padding:1rem; margin-left:0; gap:.5rem; z-index:1000; }
  .nav-links.active { display:flex; }
  .nav-links a { padding:12px 16px; border-radius:6px; }
  .comparison, .form-row, .pricing-grid { grid-template-columns:1fr !important; }
  .hero h1 { font-size:2rem; }
  .card, .auth-box { padding:1.5rem; margin:1rem; }
  .chat-window { width:300px; height:350px; }
}

/* Admin data fallback notice */
.admin-data-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 214, 126, 0.2);
  border: 1px solid rgba(255, 214, 126, 0.55);
  color: #4b2f00;
  box-shadow: 0 8px 24px -12px rgba(107, 70, 0, 0.35);
  transition: opacity .3s ease, transform .3s ease;
  margin: 1.5rem 0;
}
.admin-data-notice[hidden] { display: none !important; }
.admin-data-notice.show { opacity: 1; transform: translateY(0); }
.admin-notice-icon { font-size: 1.75rem; line-height: 1; }
.admin-notice-body { flex: 1; display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.92rem; }
.admin-notice-line { display: flex; flex-direction: column; gap: 0.2rem; }
.admin-notice-label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 700; color: #8a5a00; }
.admin-notice-message { font-weight: 600; color: #4b2f00; }
.admin-notice-dismiss { background: transparent; border: none; color: #8a5a00; font-weight: 600; cursor: pointer; padding: 0.35rem 0.75rem; border-radius: 999px; transition: all .2s ease; }
.admin-notice-dismiss:hover { background: rgba(255, 255, 255, 0.45); color: #5d3b00; }

@media (min-width: 820px) {
  .admin-notice-line { flex-direction: row; align-items: baseline; gap: 0.65rem; }
  .admin-notice-label { min-width: 160px; }
}

/* Admin system posture cards */
.admin-system-section { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.admin-system-header h3 { margin: 0; font-size: 1.35rem; color: #0f172a; }
.admin-system-header p { margin: 0; color: #475569; font-size: 0.95rem; }
.admin-system-wrapper { display: flex; flex-direction: column; gap: 1.5rem; }
.admin-system-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.admin-system-card {
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.8), rgba(226, 232, 240, 0.72));
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 14px 28px -24px rgba(15, 23, 42, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.admin-system-card h5 { margin: 0; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; }
.admin-system-card strong { font-size: 1.1rem; color: #0f172a; }
.admin-system-card span { font-size: 0.85rem; color: #475569; }
.admin-system-statuses { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.admin-system-chip {
  border-radius: 12px;
  padding: 0.65rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.86);
  min-width: 180px;
  box-shadow: 0 12px 32px -28px rgba(15, 23, 42, 0.55);
}
.admin-system-chip .chip-label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #475569; }
.admin-system-chip .chip-state { font-weight: 700; font-size: 0.95rem; }
.admin-system-chip small { font-size: 0.78rem; color: #64748b; }
.admin-system-chip.ok { border-color: rgba(74, 222, 128, 0.45); background: rgba(220, 252, 231, 0.65); }
.admin-system-chip.ok .chip-state { color: #0f766e; }
.admin-system-chip.warn { border-color: rgba(248, 113, 113, 0.45); background: rgba(254, 226, 226, 0.6); }
.admin-system-chip.warn .chip-state { color: #b91c1c; }
.admin-system-alert {
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(254, 226, 226, 0.6);
  border: 1px solid rgba(248, 113, 113, 0.45);
  color: #b91c1c;
  font-weight: 600;
}

/* Admin AI assistant redesign */
.admin-ai-shell { display: flex; flex-direction: column; gap: 2.5rem; }
.admin-ai-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: #f8fafc;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(59, 130, 246, 0.75));
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 30px 60px -35px rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(18px) saturate(140%);
}
.admin-ai-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at right 20%, rgba(56, 189, 248, 0.35), transparent 55%),
              radial-gradient(circle at top left, rgba(14, 165, 233, 0.25), transparent 50%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.admin-ai-hero > * { position: relative; z-index: 1; }
.admin-ai-hero-copy { max-width: 720px; display: flex; flex-direction: column; gap: 1rem; }
.admin-ai-hero-copy h3 { font-size: 2rem; margin: 0; font-weight: 700; }
.admin-ai-hero-copy p { margin: 0; font-size: 1.05rem; opacity: 0.85; }
.admin-ai-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-weight: 700;
}
.admin-ai-hero-side { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: flex-end; justify-content: space-between; }
.admin-ai-sync { display: flex; flex-direction: column; gap: 0.35rem; }
.admin-ai-sync-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.admin-ai-sync-value { font-size: 0.95rem; font-weight: 600; }

.admin-ai-refresh {
  background: rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}
.admin-ai-refresh:hover { background: rgba(255, 255, 255, 0.28); transform: translateY(-1px); }

.admin-ai-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
.admin-ai-panel {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.75rem;
  box-shadow: 0 20px 45px -25px rgba(15, 23, 42, 0.55);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.admin-ai-panel-header { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.admin-ai-panel-header h4 { margin: 0; font-size: 1.1rem; color: #0f172a; }
.admin-ai-panel-header p { margin: 0.2rem 0 0; color: #475569; font-size: 0.9rem; }

.admin-ai-nameplate { font-size: 1.4rem; font-weight: 700; color: #0f172a; }
.admin-ai-subtitle { margin: 0.35rem 0 0; color: #475569; font-size: 0.95rem; max-width: 420px; }

.admin-ai-conversation { min-height: 420px; }
.admin-ai-messages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 260px;
  max-height: 460px;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.admin-ai-messages::-webkit-scrollbar { width: 6px; }
.admin-ai-messages::-webkit-scrollbar-thumb { background: rgba(15, 23, 42, 0.25); border-radius: 999px; }
.admin-ai-empty { color: #64748b; font-size: 0.95rem; }

/* Adapted from the "Aurora chat bubble" concept on uiverse.io (AmethystGravity) */
.admin-ai-message {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  line-height: 1.5;
  font-size: 0.95rem;
  box-shadow: 0 12px 24px -18px rgba(15, 23, 42, 0.6);
  max-width: 85%;
  word-break: break-word;
  position: relative;
  animation: adminAiBubbleIn .35s ease both;
}
.admin-ai-message.user {
  margin-left: auto;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #f8fafc;
}
.admin-ai-message.assistant {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(226, 232, 240, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #0f172a;
}

@keyframes adminAiBubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.admin-ai-input-row { display: flex; flex-direction: column; gap: 1rem; border-top: 1px solid rgba(226, 232, 240, 0.8); padding-top: 1.25rem; }
.admin-ai-input-field { display: flex; flex-direction: column; gap: 0.65rem; }
.admin-ai-input-field textarea {
  min-height: 96px;
  resize: vertical;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: 'Segoe UI', sans-serif;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.admin-ai-input-field textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
  outline: none;
}
.admin-ai-input-hint { font-size: 0.78rem; color: #64748b; }
.admin-ai-input-actions { display: flex; flex-direction: column; gap: 0.75rem; }

.admin-ai-action-btn {
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease;
  align-self: flex-start;
}
.admin-ai-action-btn.primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 12px 24px -16px rgba(37, 99, 235, 0.65);
}
.admin-ai-action-btn.secondary {
  background: rgba(226, 232, 240, 0.8);
  color: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.4);
}
.admin-ai-action-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -18px rgba(15, 23, 42, 0.45); }

.admin-ai-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.admin-ai-chip {
  background: rgba(226, 232, 240, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition: all .2s ease;
}
.admin-ai-chip:hover { background: rgba(96, 165, 250, 0.2); border-color: rgba(59, 130, 246, 0.5); color: #1d4ed8; }

.admin-ai-side { display: flex; flex-direction: column; gap: 1.5rem; }
.admin-ai-table-container { overflow-x: auto; border-radius: 14px; border: 1px solid rgba(226, 232, 240, 0.8); }
.admin-ai-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.admin-ai-table th, .admin-ai-table td { padding: 0.85rem 1rem; text-align: left; }
.admin-ai-table thead { background: rgba(226, 232, 240, 0.55); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.admin-ai-table tbody tr:nth-child(even) { background: rgba(241, 245, 249, 0.45); }
.admin-ai-table tbody tr:hover { background: rgba(226, 232, 240, 0.4); }
.admin-ai-status { display: inline-flex; align-items: center; justify-content: center; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-ai-status[data-severity="high"] { background: rgba(239, 68, 68, 0.15); color: #b91c1c; }
.admin-ai-status[data-severity="medium"] { background: rgba(245, 158, 11, 0.18); color: #b45309; }
.admin-ai-status[data-severity="low"] { background: rgba(34, 197, 94, 0.18); color: #0f766e; }

.admin-ai-action-shelf { display: flex; flex-direction: column; gap: 0.9rem; }
.admin-ai-action-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.85);
  position: relative;
  overflow: hidden;
}
.admin-ai-action-card::before {
  content: '✔';
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  font-size: 0.95rem;
  color: rgba(37, 99, 235, 0.6);
}
.admin-ai-action-card strong { font-size: 0.95rem; color: #0f172a; }
.admin-ai-action-card span { color: #475569; font-size: 0.88rem; }

.admin-ai-decision { display: inline-flex; align-items: center; justify-content: center; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-ai-decision.pending { background: rgba(148, 163, 184, 0.18); color: #475569; }
.admin-ai-decision.confirmed { background: rgba(34, 197, 94, 0.18); color: #0f766e; }
.admin-ai-decision.dismissed { background: rgba(239, 68, 68, 0.18); color: #b91c1c; }

.admin-ai-detail-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
  z-index: 9000;
}
.admin-ai-detail-backdrop.show { opacity: 1; visibility: visible; }
.admin-ai-detail {
  position: fixed;
  inset: auto 50% 5rem;
  transform: translateX(-50%) translateY(20px);
  width: min(540px, 90vw);
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 40px 70px -40px rgba(15, 23, 42, 0.65);
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .35s ease;
  z-index: 9050;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.admin-ai-detail.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.admin-ai-detail h3 { margin: 0; font-size: 1.4rem; color: #0f172a; }
.admin-ai-detail h4 { margin: 0.5rem 0 0; color: #1f2937; }
.admin-ai-detail p { margin: 0; color: #475569; line-height: 1.6; }
.admin-ai-detail textarea { min-height: 90px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.45); padding: 0.75rem; resize: vertical; }
.admin-ai-detail textarea:focus { border-color: #2563eb; outline: none; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2); }
.admin-ai-escalation { margin: 1.25rem 0; padding: 1rem; border-radius: 12px; background: rgba(37, 99, 235, 0.05); border: 1px solid rgba(37, 99, 235, 0.12); }
.admin-ai-escalation h5 { margin: 0 0 0.5rem; font-size: 0.95rem; letter-spacing: 0.01em; text-transform: uppercase; color: #1d4ed8; }
.admin-ai-context-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.85rem; color: #1e293b; margin-bottom: 0.75rem; }
.admin-ai-context-meta span { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.65rem; border-radius: 999px; background: rgba(15, 23, 42, 0.08); font-weight: 600; }
.admin-ai-context-meta span::before { content: '•'; font-size: 1.2em; color: rgba(15, 23, 42, 0.4); }
.admin-ai-transcript { max-height: 220px; overflow-y: auto; border-radius: 10px; background: #fff; border: 1px solid rgba(148, 163, 184, 0.3); padding: 0.75rem; display: grid; gap: 0.65rem; }
.admin-ai-transcript-row { display: grid; gap: 0.35rem; border-left: 3px solid rgba(15, 23, 42, 0.12); padding-left: 0.75rem; }
.admin-ai-transcript-row.user { border-color: #1d4ed8; }
.admin-ai-transcript-row.assistant { border-color: #475569; }
.admin-ai-transcript-role { font-size: 0.8rem; font-weight: 600; color: #475569; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-ai-transcript-row p { margin: 0; font-size: 0.9rem; color: #0f172a; line-height: 1.45; }
.admin-ai-transcript-empty { margin: 0; font-size: 0.9rem; color: #64748b; text-align: center; padding: 0.5rem 0; }
.admin-ai-reply { margin: 1.25rem 0; padding: 1rem; border-radius: 12px; border: 1px solid rgba(15, 23, 42, 0.12); background: rgba(15, 23, 42, 0.03); }
.admin-ai-reply h5 { margin: 0 0 0.5rem; font-size: 0.95rem; color: #111827; text-transform: uppercase; letter-spacing: 0.04em; }
.admin-ai-reply textarea { min-height: 120px; }
.admin-ai-reply-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.admin-ai-reply-resolve { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: #334155; }
.admin-ai-reply-btn { background: #2563eb; color: #fff; border: none; border-radius: 999px; padding: 0.65rem 1.25rem; font-weight: 600; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease; }
.admin-ai-reply-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 20px -18px rgba(37, 99, 235, 0.8); }
.admin-ai-reply-status { font-size: 0.85rem; margin-top: 0.5rem; color: #475569; min-height: 1.2rem; }
.admin-ai-reply-status.success { color: #16a34a; }
.admin-ai-reply-status.error { color: #dc2626; }
.admin-ai-reply-status.busy { color: #2563eb; }
.admin-ai-detail-actions { display: flex; gap: 0.75rem; }
.admin-ai-detail-actions .admin-ai-decision-btn {
  flex: 1;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.admin-ai-decision-btn.confirm { background: rgba(34, 197, 94, 0.18); color: #0f766e; border-color: rgba(16, 185, 129, 0.35); }
.admin-ai-decision-btn.dismiss { background: rgba(239, 68, 68, 0.18); color: #b91c1c; border-color: rgba(248, 113, 113, 0.35); }
.admin-ai-detail-actions .admin-ai-decision-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -20px rgba(15, 23, 42, 0.45); }
.admin-ai-detail-actions .admin-ai-decision-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25); }

@media (max-width: 1024px) {
  .admin-ai-hero { padding: 2rem; }
  .admin-ai-grid { gap: 1.5rem; }
  .admin-ai-panel { padding: 1.5rem; }
}

@media (min-width: 1024px) {
  .admin-ai-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .admin-ai-input-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .admin-ai-input-actions { align-items: flex-end; }
}

@media (max-width: 640px) {
  .admin-ai-hero { padding: 1.75rem; }
  .admin-ai-hero-copy h3 { font-size: 1.65rem; }
  .admin-ai-panel { padding: 1.25rem; }
  .admin-ai-messages { max-height: 360px; }
  .admin-ai-detail { inset: auto 1rem 1.5rem; transform: translateY(20px); width: calc(100% - 2rem); }
}

.user-support-grid { display: grid; gap: 1.5rem; align-items: start; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr); }
.user-ticket-panel h3 { margin: 0 0 0.75rem; font-size: 1.25rem; color: #0f172a; }
.user-ticket-card { background: #ffffff; border-radius: 16px; border: 1px solid rgba(148, 163, 184, 0.35); box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.4); padding: 1.1rem 1.25rem; display: grid; gap: 0.9rem; }
.user-ticket-card header { display: flex; justify-content: space-between; gap: 0.75rem; align-items: flex-start; }
.user-ticket-card header h4 { margin: 0; font-size: 1.05rem; color: #0f172a; }
.user-ticket-card header time { font-size: 0.82rem; color: #64748b; }
.user-ticket-card footer { font-size: 0.85rem; color: #475569; }
.ticket-status { font-size: 0.82rem; color: #475569; margin-top: 0.2rem; }
.ticket-status .status { border-radius: 999px; padding: 0.1rem 0.5rem; font-weight: 600; margin-right: 0.4rem; display: inline-flex; align-items: center; }
.ticket-status .status.open { background: rgba(37, 99, 235, 0.12); color: #1d4ed8; }
.ticket-status .status.resolved { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.ticket-status .status.pending { background: rgba(217, 119, 6, 0.12); color: #b45309; }
.ticket-status .priority { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.ticket-status .priority.high { color: #dc2626; }
.ticket-status .priority.medium { color: #d97706; }
.ticket-status .priority.low { color: #2563eb; }
.user-ticket-thread { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.user-ticket-msg { background: rgba(15, 23, 42, 0.04); border-radius: 10px; padding: 0.6rem 0.75rem; display: grid; gap: 0.4rem; }
.user-ticket-msg.admin { background: rgba(37, 99, 235, 0.08); border-left: 3px solid rgba(37, 99, 235, 0.35); }
.user-ticket-msg .msg-meta { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #475569; }
.user-ticket-msg .msg-body { font-size: 0.92rem; color: #0f172a; line-height: 1.45; }
.user-ticket-empty { list-style: none; text-align: center; color: #64748b; font-size: 0.9rem; padding: 0.75rem 0; }
.user-support-empty { background: rgba(15, 23, 42, 0.03); border: 1px dashed rgba(148, 163, 184, 0.6); border-radius: 16px; padding: 1.75rem 1rem; text-align: center; color: #475569; display: grid; gap: 0.6rem; }
.user-support-empty div { font-size: 2.2rem; }
.user-notification-panel { background: #fff; border-radius: 16px; border: 1px solid rgba(148, 163, 184, 0.35); padding: 1.2rem; box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.4); display: grid; gap: 1rem; }
.user-notification-panel h4 { margin: 0; font-size: 1.05rem; color: #0f172a; }
.user-notification-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.user-notification-item { border-bottom: 1px solid rgba(226, 232, 240, 0.8); padding-bottom: 0.85rem; }
.user-notification-item:last-child { border-bottom: none; padding-bottom: 0; }
.user-notification-item .notif-header { display: flex; justify-content: space-between; gap: 0.5rem; align-items: baseline; }
.user-notification-item .notif-header strong { font-size: 0.92rem; color: #111827; }
.user-notification-item .notif-header time { font-size: 0.78rem; color: #64748b; }
.user-notification-item p { margin: 0.35rem 0 0; color: #334155; font-size: 0.9rem; line-height: 1.45; }
.user-support-error { padding: 1.15rem; border-radius: 12px; background: rgba(220, 38, 38, 0.08); border: 1px solid rgba(220, 38, 38, 0.2); color: #b91c1c; font-size: 0.9rem; }

@media (max-width: 960px) {
  .user-support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .user-support-grid { grid-template-columns: 1fr; }
}

/* === Marketing & SEO Enhancements (2025-09-28) === */
.landing-hero {
  max-width: 880px;
  margin: 0 auto 3rem;
  text-align: center;
  position: relative;
  padding: 3rem 1rem 0;
  color: #f8fafc;
}

.landing-hero .hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.8);
  margin-bottom: 0.85rem;
  display: inline-block;
}

.landing-hero p.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.8);
  margin-bottom: 0.85rem;
}

#hero-heading {
  font-size: clamp(2.4rem, 4vw, 3rem);
  color: #f8fafc;
  text-shadow: 0 10px 45px rgba(2, 6, 23, 0.45);
  margin-bottom: 1.25rem;
}

.landing-hero .hero-subtitle,
.landing-hero p.hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.92);
  margin-bottom: 1.75rem;
}

.landing-hero .hero-highlights {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 0 auto 2.25rem;
  padding: 0;
  max-width: 720px;
}

.landing-hero .hero-highlights li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: rgba(248, 250, 252, 0.95);
  font-size: 0.98rem;
  text-align: left;
}

.landing-hero .hero-highlights li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.4);
  color: #0f172a;
  font-weight: 700;
  flex-shrink: 0;
}

.landing-hero .hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.landing-hero .hero-cta .btn {
  min-width: 180px;
}

.btn.btn-link {
  background: transparent !important;
  border: none !important;
  color: #1e3a8a !important;
  text-decoration: underline;
  font-weight: 600;
  padding: 12px 8px !important;
}

.btn.btn-link:hover,
.btn.btn-link:focus {
  color: #0b1f63 !important;
  text-decoration: none;
}

.landing-hero .btn.btn-link {
  color: #38bdf8 !important;
}

.landing-hero .btn.btn-link:hover,
.landing-hero .btn.btn-link:focus {
  color: #7dd3fc !important;
}

.credibility-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 16px;
  padding: 1.75rem;
  margin: 0 auto 3rem;
  max-width: 980px;
  color: #f8fafc;
  box-shadow: 0 25px 55px rgba(2, 6, 23, 0.35);
}

.ribbon-item {
  background: rgba(30, 58, 138, 0.35);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ribbon-metric {
  display: block;
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
  color: #cffafe;
  letter-spacing: 0.04em;
}

.ribbon-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.92);
}

.results-section,
.workflow-section,
.usecases-section,
.testimonial-section,
.resource-section,
.cta-section {
  margin: 4rem auto;
  max-width: 1180px;
  padding: 0 1.25rem;
}

.results-section h2,
.workflow-section h2,
.usecases-section h2,
.testimonial-section h2,
.resource-section h2,
.cta-section h2 {
  color: #f8fafc;
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(2rem, 3.6vw, 2.5rem);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: linear-gradient(165deg, rgba(2, 6, 23, 0.92), rgba(30, 64, 175, 0.85));
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
  text-align: left;
  min-height: 200px;
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.stat-value {
  font-size: 1.85rem;
  font-weight: 700;
  color: #bfdbfe;
  display: block;
  margin-bottom: 0.75rem;
}

.stat-copy {
  margin: 0;
  color: rgba(226, 232, 240, 0.9);
  font-size: 1rem;
  line-height: 1.6;
}

.results-footnote {
  text-align: center;
  margin-top: 1.5rem;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.85rem;
}

.workflow-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 0;
  margin: 0 auto;
  max-width: 960px;
}

.workflow-step {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  color: rgba(226, 232, 240, 0.95);
  position: relative;
  box-shadow: 0 25px 50px rgba(2, 6, 23, 0.4);
}

.workflow-step-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #38bdf8;
  border: none;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 15px 30px rgba(14, 116, 144, 0.45);
}

.workflow-step h3 {
  margin: 0 0 1rem;
  color: #f0f9ff;
}

.workflow-step p {
  margin: 0;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.85);
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.usecase-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
  color: #0f172a;
}

.usecase-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #1e3a8a;
}

.usecase-card ul {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
  display: grid;
  gap: 0.5rem;
}

.usecase-card li {
  font-size: 0.98rem;
  line-height: 1.6;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(15, 23, 42, 0.78);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.75rem 1.5rem;
  color: rgba(226, 232, 240, 0.95);
  display: grid;
  gap: 1.25rem;
  box-shadow: 0 30px 60px rgba(2, 6, 23, 0.45);
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  color: rgba(226, 232, 240, 0.9);
}

.testimonial-card figcaption {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #bae6fd;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.resource-card {
  display: block;
  background: rgba(15, 23, 42, 0.78);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  text-decoration: none;
  color: rgba(226, 232, 240, 0.92);
  box-shadow: 0 25px 55px rgba(2, 6, 23, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.resource-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: #e0f2fe;
}

.resource-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.85);
}

.resource-card:hover,
.resource-card:focus {
  transform: translateY(-6px);
  box-shadow: 0 35px 60px rgba(2, 6, 23, 0.45);
  border-color: rgba(191, 219, 254, 0.75);
}

.cta-section {
  background: linear-gradient(140deg, rgba(30, 64, 175, 0.85), rgba(13, 148, 136, 0.85));
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 30px 60px rgba(2, 6, 23, 0.45);
}

.cta-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: #f8fafc;
}

.cta-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cta-buttons .btn {
  min-width: 190px;
}

.cta-footnote {
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.85);
}

.cta-footnote a {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 768px) {
  .landing-hero {
    padding: 2.5rem 0.75rem 0;
  }

  .landing-hero .hero-highlights li {
    font-size: 0.95rem;
    padding: 0.65rem 0.85rem;
  }

  .landing-hero .hero-cta .btn {
    min-width: 160px;
  }

  .credibility-ribbon {
    padding: 1.25rem;
  }

  .workflow-step {
    padding: 1.5rem;
  }

  .workflow-step-number {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .cta-section {
    padding: 2.5rem 1.5rem;
  }
}

