/* Parsavesta Lite CSS - one file for all pages */
:root{
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2:#f4f7ff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e2e8f0;

  --primary:#3A49FF;
  --accent:#e66a00;

  --radius:18px;
  --radius-sm:14px;
  --shadow: 0 10px 30px rgba(2,6,23,.06);
  --max: 1180px;
}

:root[data-theme="dark"]{
  --bg:#0b1020;
  --surface:#0f1730;
  --surface-2:#0c142a;
  --text:#e5e7eb;
  --muted:#94a3b8;
  --border:rgba(148,163,184,.22);
  --shadow: 0 10px 40px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  line-height:1.9;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}

.pv-container{max-width:var(--max);margin:0 auto;padding:0 18px}
.pv-main{padding: 26px 0 60px}
.pv-section{padding: 44px 0}
.pv-section--soft{background:var(--surface-2)}
.pv-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.pv-h1{font-size:34px;line-height:1.35;margin:0}
.pv-h2{font-size:22px;margin:0}
.pv-muted{color:var(--muted);margin:0}

.pv-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}
.pv-card__title{margin:0 0 8px;font-weight:800}
.pv-card__desc{margin:0;color:var(--muted)}

.pv-grid{display:grid;gap:16px}
.pv-grid--3{grid-template-columns:repeat(3,1fr)}
.pv-grid--2{grid-template-columns:repeat(2,1fr)}
.pv-grid--4{grid-template-columns:repeat(4,1fr)}

.pv-btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background:transparent;
  cursor:pointer;
  font-weight:700;
  white-space:nowrap;
}
.pv-btn--primary{background:var(--primary);border-color:var(--primary);color:#fff}
.pv-btn--accent{background:var(--accent);border-color:var(--accent);color:#fff}
.pv-btn--ghost{background:transparent}
.pv-btn:focus{outline:2px solid rgba(58,73,255,.35);outline-offset:3px}

.pv-hero{
  padding: 10px 0 26px;
}
.pv-hero__media{
  background:linear-gradient(135deg, rgba(58,73,255,.12), rgba(230,106,0,.10));
  border:1px solid var(--border);
  border-radius: 22px;
  overflow:hidden;
  box-shadow:var(--shadow);
  position:relative;
}
.pv-hero__img{width:100%;height:auto}
.pv-hero__overlay{
  position:absolute;inset:auto 14px 14px 14px;
  display:flex;flex-direction:column;gap:8px;
}
.pv-hero__overlay .pv-h1{font-size:26px;color:#fff;text-shadow:0 8px 30px rgba(0,0,0,.35)}
:root[data-theme="dark"] .pv-hero__overlay .pv-h1{color:#fff}

.pv-banner-grid{margin-top:16px}
.pv-banner{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
}
.pv-banner__title{margin:0 0 6px;font-weight:900}
.pv-banner__desc{margin:0 0 12px;color:var(--muted)}

.pv-list{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.pv-list li{display:flex;gap:8px;align-items:flex-start;color:var(--muted)}
.pv-bullet{
  width:8px;height:8px;border-radius:999px;background:var(--primary);margin-top:10px;flex:0 0 8px
}

.pv-form{max-width:620px}
.pv-form__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.pv-field{display:flex;flex-direction:column;gap:6px}
.pv-field label{font-weight:800;font-size:13px}
.pv-input, .pv-textarea{
  border:1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.pv-textarea{min-height:110px;resize:vertical}
.pv-form__actions{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap}

.pv-video-grid{background:linear-gradient(180deg, rgba(2,6,23,.95), rgba(2,6,23,.85)); color:#fff}
:root[data-theme="dark"] .pv-video-grid{background:linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.35))}
.pv-video{
  border-radius:18px;border:1px solid rgba(255,255,255,.12);
  min-height:150px;
  display:flex;align-items:center;justify-content:center;
  position:relative;
  overflow:hidden;
}
.pv-video button{
  background:rgba(58,73,255,.9);border:0;color:#fff;border-radius:999px;
  padding:10px 14px;font-weight:900;cursor:pointer;
}
.pv-video__note{position:absolute;bottom:10px;right:10px;font-size:12px;opacity:.8}

.pv-theme-toggle{
  position:fixed;
  left:14px;
  bottom:14px;
  z-index:9999;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  border-radius:999px;
  padding:10px 12px;
  box-shadow:var(--shadow);
  cursor:pointer;
  display:flex;gap:8px;align-items:center;
}
.pv-theme-toggle__sun, .pv-theme-toggle__moon{font-size:16px;line-height:1}

@media (max-width: 980px){
  .pv-grid--4{grid-template-columns:repeat(2,1fr)}
  .pv-grid--3{grid-template-columns:1fr}
  .pv-form__grid{grid-template-columns:1fr}
}
