/* PredictRAM Custom Enhancements (Quick Wins)
   -------------------------------------------------- */
:root {
  --pr-font-sans: "Inter", "Segoe UI", Arial, sans-serif;
  --pr-color-bg: #0b1730;
  --pr-color-surface: #ffffff;
  --pr-color-surface-alt: #f5f8fc;
  --pr-color-accent: #2e5bff;
  --pr-color-accent-alt: #4bb3fd;
  --pr-color-accent-hover: #2147c7;
  --pr-color-text: #1c2739;
  --pr-color-text-light: #5a6b85;
  --pr-radius-sm: 4px;
  --pr-radius-md: 10px;
  --pr-radius-lg: 18px;
  --pr-shadow-sm: 0 2px 4px rgba(0,0,0,.08);
  --pr-shadow-md: 0 6px 18px -4px rgba(0,37,102,.15),0 2px 6px rgba(0,37,102,.12);
  --pr-shadow-lg: 0 18px 42px -8px rgba(0,37,102,.25),0 4px 14px rgba(0,37,102,.18);
  --pr-transition: .35s cubic-bezier(.16,.8,.24,1);
}

body { font-family: var(--pr-font-sans); }

/* Navigation */
.navbar-toggle[aria-expanded="true"] .toggle-line span { transform: rotate(90deg); }
.nav-link--accent { color: var(--pr-color-accent) !important; font-weight:500; }
.nav-link--accent:hover, .nav-link--accent:focus { color: var(--pr-color-accent-hover) !important; }

/* Unified card style */
.pr-card, .investor-card, #investment-categories .feature, #products-relocated .feature { 
  border-radius: var(--pr-radius-lg);
  border: 1px solid rgba(0,37,102,.10);
  background: #fff;
  box-shadow: var(--pr-shadow-md);
  transition: var(--pr-transition);
}
.pr-card:hover, .investor-card:hover, #investment-categories .feature:hover, #products-relocated .feature:hover { box-shadow: var(--pr-shadow-lg); transform: translateY(-6px); }

/* Hero adjustments */
.hero-products { display:flex; gap:.75rem; flex-wrap:wrap; margin-top:.75rem; }
.hero-products .hero-pill { background:linear-gradient(135deg,var(--pr-color-accent),var(--pr-color-accent-alt)); color:#fff; padding:.4rem .9rem; font-size:.775rem; letter-spacing:.5px; border-radius:30px; font-weight:500; box-shadow:0 4px 12px -4px rgba(0,37,102,.4); }

/* Badges */
.badge-outline { border:1px solid var(--pr-color-accent); color:var(--pr-color-accent); background:rgba(46,91,255,0.06); padding:.35rem .75rem; border-radius:20px; font-size:.65rem; text-transform:uppercase; letter-spacing:.8px; font-weight:600; }

/* Icon badge style for investment categories */
.feature-badge-icon {  display:flex; align-items:center; justify-content:center; width:70px; height:70px; border-radius:18px; background:linear-gradient(135deg,var(--pr-color-accent),var(--pr-color-accent-alt)); color:#fff; box-shadow:0 6px 18px -6px rgba(0,37,102,.4); }
.feature-badge-icon svg { width:46px; height:46px; stroke-width:1.75; }

/* Accessibility focus */
:focus-visible { outline:2px solid var(--pr-color-accent); outline-offset:2px; }

/* Disclaimers collapsed */
.disclaimer-wrapper details { background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,.15); border-radius:var(--pr-radius-md); padding:1rem 1.25rem; margin-bottom:1rem; }
.disclaimer-wrapper details[open] { background:rgba(255,255,255,0.08); }
.disclaimer-wrapper summary { cursor:pointer; font-weight:600; color:#fff; letter-spacing:.5px; }
.disclaimer-wrapper ul { margin-top:.75rem; }

/* Animations respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count:1 !important; transition:none !important; }
}

/* Lazy image fade-in */
img[loading="lazy"] { opacity:0; transition:opacity .6s ease; }
img[data-loaded="true"] { opacity:1; }

/* Utility */
.pr-visually-hidden { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0 0 0 0) !important; white-space:nowrap !important; border:0 !important; }

/* Footer adjustments */
.footer-links a { text-decoration:none; }
.footer-links a:hover { text-decoration:underline; }

/* Timeline / achievements placeholder future improvements */
/* .roadmap-carousel-container { } */
