/* ============================================================
   PLRstorage — landing styles
   Theme: light content + dark hero/footer, accent blue/cyan
   ============================================================ */

:root {
  --dark: #0b1220;
  --dark-2: #111a2b;
  --dark-3: #1b2537;
  --ink: #0f172a;
  --body: #475569;
  --muted: #7c8ba1;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --accent: #06b6d4;
  --ok: #16a34a;
  --err: #dc2626;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 760px; }

section[id] { scroll-margin-top: 72px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--brand), #3b82f6);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .35);
}
.btn--primary:hover { background: linear-gradient(135deg, var(--brand-dark), #2563eb); }
.btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, .22);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--outline {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}
.btn--outline:hover { background: #eff6ff; }
.btn--sm { padding: 9px 18px; font-size: 15px; }
.btn--lg { padding: 15px 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------------- Header ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.02em;
}
.logo:hover { text-decoration: none; }
.logo--light { color: #fff; }

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav__link {
  color: var(--body);
  font-size: 15.5px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--brand); text-decoration: none; border-color: var(--brand); }

.header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.lang__btn {
  border: 0;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
  font-family: inherit;
}
.lang__btn.is-active { background: var(--ink); color: #fff; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 500px at 80% -10%, #17304f 0%, var(--dark) 55%);
  color: #cbd5e1;
  overflow: hidden;
  padding: 72px 0 84px;
}
.hero__glow {
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 380px;
  background: radial-gradient(closest-side, rgba(6, 182, 212, .22), transparent);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero__sub { font-size: 18px; color: #b6c2d4; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero__chips li {
  font-size: 13.5px;
  color: #9fb0c7;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 6px 12px;
  border-radius: 999px;
}
.hero__visual svg { width: 100%; height: auto; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow--dark { color: var(--brand); }

/* ---------------- Sections ---------------- */
.section { padding: 76px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin-bottom: 42px; }
.section__lead { font-size: 18px; color: var(--body); margin: 0; }
.section__head--light h2, .section__head--light .section__lead { color: #fff; }
.section__head--light .section__lead { color: #b6c2d4; }

/* ---------------- Grid & cards ---------------- */
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon { font-size: 26px; margin-bottom: 12px; }
.card p { font-size: 15.5px; margin: 0; }
.card--flat { box-shadow: none; }
.card--feature h3 { margin-bottom: .4em; }

/* ---------------- Steps ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.step__num {
  font-size: 34px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brand);
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.step p { font-size: 15.5px; margin: 0; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -14px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--brand);
  border-right: 2px solid var(--brand);
  transform: rotate(45deg);
}

/* ---------------- Plans ---------------- */
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}
.plan--featured {
  border: 2px solid var(--brand);
  box-shadow: 0 18px 40px rgba(37, 99, 235, .16);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.plan h3 { font-size: 22px; margin-bottom: 2px; }
.plan__for { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.plan__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  flex: 1;
}
.plan__list li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 15.5px;
  border-bottom: 1px dashed var(--line);
}
.plan__list li:last-child { border-bottom: 0; }
.plan__list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--ok);
  font-weight: 700;
}

/* ---------------- FAQ ---------------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 22px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  font-size: 16.5px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--brand);
  transition: transform .2s;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item[open] { border-color: #c7d7f5; }
.faq__item > div { padding: 0 22px 20px; }
.faq__item p { margin: 0; font-size: 15.5px; }

/* ---------------- Lead form ---------------- */
.section--lead {
  background: radial-gradient(900px 420px at 20% 0%, #17304f 0%, var(--dark) 60%);
  color: #cbd5e1;
}
.section--lead h2 { color: #fff; }

.form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form__hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form__grid .field { margin-bottom: 0; }
.field label, .field legend {
  font-size: 14.5px;
  font-weight: 600;
  color: #cbd5e1;
  padding: 0;
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .18);
}
.field input.is-err,
.field select.is-err { border-color: var(--err); box-shadow: 0 0 0 3px rgba(220, 38, 38, .15); }

.field__err {
  display: none;
  font-size: 13px;
  color: #fca5a5;
}
.field.is-err .field__err { display: block; }
.field__err--consent { margin: -10px 0 14px; }
.form.is-consent-err .field__err--consent { display: block; }

.field--checks { border: 0; padding: 0; margin: 20px 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14.5px;
  color: #dbe4ef;
  cursor: pointer;
}
.check input { accent-color: var(--brand); width: 15px; height: 15px; }
.check--consent {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  align-items: flex-start;
  font-size: 14.5px;
  color: #9fb0c7;
  margin-bottom: 6px;
}
.check--consent input { margin-top: 3px; }
.check--consent a { color: #7dd3fc; text-decoration: underline; }

.form__status {
  margin: 14px 0 0;
  font-size: 15.5px;
  min-height: 1.4em;
  text-align: center;
}
.form__status.is-ok { color: #6ee7b7; }
.form__status.is-err { color: #fca5a5; }

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- Footer ---------------- */
.footer {
  background: var(--dark-2);
  color: #94a3b8;
  padding: 48px 0 0;
  font-size: 15px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer h4 {
  color: #e2e8f0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.footer a { color: #93c5fd; }
.footer__note { margin-top: 12px; max-width: 300px; }
.footer__muted { color: #64748b; font-size: 14px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 14px;
  color: #64748b;
}

/* ---------------- Privacy page ---------------- */
.page-body { padding: 60px 0; }
.page-body h1 { font-size: clamp(26px, 4vw, 36px); }
.page-body h2 { font-size: 22px; margin-top: 1.6em; }
.page-body li { margin-bottom: .4em; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { max-width: 560px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .burger { display: flex; }
  .header__actions .btn { display: none; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 52px 0 60px; }
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .hero__cta .btn { width: 100%; }
  .footer__bottom { flex-direction: column; }
}
