/* ============================================================
   PSM FEATURE PAGE – SHARED STYLES
============================================================ */
:root {
  --c-950: #020817; --c-900: #0f172a; --c-800: #1e3a8a;
  --c-700: #1d4ed8; --c-600: #2563eb; --c-500: #3b82f6;
  --c-400: #60a5fa; --c-300: #93c5fd; --c-200: #bfdbfe;
  --c-sky: #0ea5e9; --c-indigo: #6366f1; --c-violet: #8b5cf6;
  --c-green: #22c55e; --c-green-l: #4ade80;
  --c-amber: #f59e0b; --c-red: #ef4444;
  --c-teal: #14b8a6; --c-pink: #ec4899; --c-orange: #f97316;
  --surface: #ffffff; --surface-muted: #f8fafc;
  --border: #e2e8f0; --text: #0f172a;
  --text-muted: #64748b; --text-light: #94a3b8;
  --radius-sm: 8px; --radius-md: 12px;
  --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.10);
  --nav-h: 72px; --container: 1280px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--surface); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.5rem; border-radius: var(--radius-full); font-size: .9375rem; font-weight: 600; transition: all .2s ease; cursor: pointer; border: none; }
.btn-primary { background: linear-gradient(135deg, var(--c-600), var(--c-indigo)); color: #fff; box-shadow: 0 4px 16px rgba(59,130,246,.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,130,246,.4); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--c-500); color: var(--c-600); }
.btn-ghost-white { background: transparent; color: rgba(255,255,255,.8); border: 1.5px solid rgba(255,255,255,.25); }
.btn-ghost-white:hover { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-white { background: #fff; color: var(--c-700); font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn-sm { padding: .5rem 1.1rem; font-size: .875rem; }

/* NAVBAR */
#navbar { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 1000; border-radius: 0 0 var(--radius-xl) var(--radius-xl); background: rgba(15,23,42,.92); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.1); border-top: none; }
#navbar .container { height: 100%; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.nav-logo-mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--c-sky), var(--c-700)); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 800; color: #fff; }
.nav-logo-text { font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.nav-back { font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.6); transition: color .2s; }
.nav-back:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }

/* SECTION LABEL */
.section-label { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem 1rem; background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.2); border-radius: var(--radius-full); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-500); }
.section-label-wrap { margin-bottom: 1rem; }

/* HERO */
.feat-hero { padding: calc(var(--nav-h) + 5rem) 0 4rem; background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%); text-align: center; }
.feat-hero-badge { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1.25rem; border-radius: var(--radius-full); font-size: .85rem; font-weight: 600; margin-bottom: 1.5rem; }
.feat-hero-title { font-size: clamp(1.75rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: #fff; margin-bottom: 1.25rem; overflow-wrap: break-word; }
.gradient-text { background: linear-gradient(135deg, var(--c-400), var(--c-indigo), var(--c-violet)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.feat-hero-sub { font-size: 1.125rem; color: rgba(255,255,255,.65); max-width: 620px; margin: 0 auto 2rem; line-height: 1.7; overflow-wrap: break-word; }
.feat-hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Feature icon colors (badges/hero) */
.fi-blue   { background: rgba(59,130,246,.15);  color: #60a5fa; }
.fi-green  { background: rgba(34,197,94,.15);   color: #4ade80; }
.fi-violet { background: rgba(139,92,246,.15);  color: #a78bfa; }
.fi-amber  { background: rgba(245,158,11,.15);  color: #fbbf24; }
.fi-red    { background: rgba(239,68,68,.15);   color: #f87171; }
.fi-sky    { background: rgba(14,165,233,.15);  color: #38bdf8; }
.fi-indigo { background: rgba(99,102,241,.15);  color: #818cf8; }
.fi-pink   { background: rgba(236,72,153,.15);  color: #f472b6; }
.fi-teal   { background: rgba(20,184,166,.15);  color: #2dd4bf; }
.fi-yellow { background: rgba(234,179,8,.15);   color: #facc15; }
.fi-orange { background: rgba(249,115,22,.15);  color: #fb923c; }

/* MOCKUP */
.feat-mockup-section { padding: 4rem 0; background: var(--c-950); }
.mockup-card { background: #1e293b; border-radius: var(--radius-xl); border: 1px solid rgba(255,255,255,.08); overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.mockup-header { background: linear-gradient(135deg, #1e3a8a, #2563eb); padding: .875rem 1.25rem; display: flex; align-items: center; gap: .75rem; }
.mockup-dots { display: flex; gap: .35rem; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot-r { background: #ff5f57; }
.mockup-dot-y { background: #ffbd2e; }
.mockup-dot-g { background: #28ca41; }
.mockup-title-bar { flex: 1; text-align: center; font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.8); }
.mockup-live { display: flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 700; color: #4ade80; }
.mockup-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.3} }
.mockup-body { padding: 1.25rem; }
.mockup-stat-box { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: .75rem; }
.mockup-stat-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: .6rem; flex-shrink: 0; }
.mockup-stat-icon svg { width: 18px; height: 18px; flex-shrink: 0; }
.mockup-stat-val { font-size: 1.125rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.mockup-stat-lbl { font-size: .625rem; color: rgba(255,255,255,.4); font-weight: 500; margin-top: .1rem; }

/* BENEFITS */
.feat-benefits { padding: 5rem 0; background: var(--surface-muted); }
.feat-section-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; color: var(--text); margin-bottom: 2.5rem; }
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; transition: all .25s; }
.benefit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(59,130,246,.2); }
.benefit-icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.benefit-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.benefit-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* HOW IT WORKS */
.feat-steps { padding: 5rem 0; background: var(--surface); }
.steps-row { display: flex; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
.feat-step { flex: 1; min-width: 200px; }
.feat-step-num { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--c-600), var(--c-indigo)); color: #fff; font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.feat-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); }
.feat-step p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }
.feat-step-arrow { font-size: 1.5rem; color: var(--c-300); padding-top: .75rem; flex-shrink: 0; }
@media (max-width: 639px) { .feat-step-arrow { display: none; } }

/* CTA */
.feat-cta-section { padding: 5rem 0; background: linear-gradient(135deg, #0f172a, #1e1b4b); }
.feat-cta-box { text-align: center; }
.feat-cta-box h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: #fff; margin-bottom: .75rem; }
.feat-cta-box p { color: rgba(255,255,255,.6); font-size: 1.0625rem; margin-bottom: 2rem; }
.feat-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.feat-footer { background: var(--c-950); padding: 2.5rem 0; text-align: center; }

/* ============================================================
   RESPONSIVE HELPERS (Feature Pages)
============================================================ */
@media (max-width: 767px) {
  .feat-hero { padding: calc(var(--nav-h) + 3rem) 0 3rem; }
  .feat-hero-title { font-size: clamp(1.5rem, 6vw, 2.25rem); }
  .feat-hero-sub { font-size: 1rem; }
  .feat-hero-cta { flex-direction: column; align-items: center; }
  .feat-hero-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
  .feat-section-title { font-size: clamp(1.25rem, 5vw, 1.75rem); }
  .feat-benefits { padding: 3.5rem 0; }
  .feat-steps { padding: 3.5rem 0; }
  .feat-cta-section { padding: 3.5rem 0; }
  .feat-cta-btns { flex-direction: column; align-items: center; }
  .feat-cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
  .nav-actions { gap: .5rem; }
  .nav-actions .btn { padding: .4rem .75rem; font-size: .8rem; }
  footer .container > div:first-child { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  footer .container > div:first-child { grid-template-columns: 1fr !important; }
}
@media (max-width: 374px) {
  .container { padding: 0 1rem; }
  .nav-actions .btn-ghost-white { display: none; }
}
