/* NASSA VPN public website. Brand colours come from the logo: teal, navy, white. */
:root {
  --teal: #1f9d8c; --teal-dark: #167a6d; --teal-soft: #e4f4f1; --navy: #0e1e3c; --navy-2: #16305c;
  --ink: #10201c; --muted: #5d6b67; --line: #e1e8e6; --bg: #f5f8f7; --panel: #ffffff;
  --radius: 16px; --shadow: 0 10px 30px -18px rgba(14, 30, 60, .35);
  --font-latin: system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
  --font-rtl: "Vazirmatn", "IRANSans", "Segoe UI", Tahoma, system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.7 var(--font-latin); color: var(--ink); background: var(--bg); }
html[dir="rtl"] body { font-family: var(--font-rtl); }
a { color: var(--teal-dark); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 12px; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 750; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 12px; }
.wrap { width: min(1120px, 92vw); margin: 0 auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
section { padding: 72px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; color: var(--teal-dark); background: var(--teal-soft); border-radius: 999px; padding: 4px 14px; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 12px; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -10px rgba(31, 157, 140, .8); }
.btn.primary:hover { background: var(--teal-dark); }
.btn.navy { background: var(--navy); color: #fff; }
.btn.navy:hover { background: var(--navy-2); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--teal); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.lg { padding: 16px 28px; font-size: 17px; }

/* header */
header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--navy); white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.links { display: flex; gap: 4px; margin-inline-start: auto; }
.links a { padding: 8px 12px; border-radius: 9px; color: var(--ink); font-weight: 600; font-size: 15px; }
.links a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.lang { display: flex; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; padding: 5px 11px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--muted); }
.lang button.on { background: var(--navy); color: #fff; }
.burger { display: none; border: 1px solid var(--line); background: var(--panel); border-radius: 10px; width: 42px; height: 42px; font-size: 20px; cursor: pointer; }

/* hero */
.hero { padding: 72px 0 60px; background: radial-gradient(900px 420px at 80% -10%, var(--teal-soft), transparent 70%), radial-gradient(700px 400px at 0% 100%, #e8edf6, transparent 70%); }
.hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.hero .art { position: relative; display: grid; place-items: center; }
.hero .art img { width: min(360px, 70vw); filter: drop-shadow(0 24px 40px rgba(14, 30, 60, .25)); }
.hero .art::before { content: ""; position: absolute; inset: 10% 15%; background: conic-gradient(from 90deg, var(--teal-soft), #fff, var(--teal-soft)); border-radius: 50%; filter: blur(20px); z-index: -1; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 34px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 14px; }
.card .ic svg { width: 24px; height: 24px; }
.card p { color: var(--muted); margin: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 34px; counter-reset: s; }
.step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; inset-inline-start: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step p { color: var(--muted); margin: 0; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 30px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.plan.hot { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.plan .name { font-weight: 800; font-size: 18px; }
.plan .data { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.plan .data small { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan .price { font-weight: 700; color: var(--teal-dark); min-height: 1.5em; }
.plan ul { margin: 8px 0 14px; padding: 0; list-style: none; color: var(--muted); font-size: 14.5px; }
.plan li { padding: 3px 0; display: flex; gap: 8px; align-items: center; }
.plan li::before { content: "✓"; color: var(--teal); font-weight: 800; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan-tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.plan-tabs button { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 7px 16px; font: inherit; font-weight: 700; cursor: pointer; color: var(--muted); }
.plan-tabs button.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 16px; }

/* platforms */
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 30px; }
.platform { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.platform h3 { display: flex; align-items: center; gap: 10px; }
.platform h3 svg { width: 24px; height: 24px; color: var(--teal-dark); }
.platform p { color: var(--muted); margin: 0; font-size: 15px; flex: 1; }
.platform .btn { justify-content: center; margin-top: 8px; }

/* faq */
.faq { max-width: 820px; margin: 30px auto 0; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--teal); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* support */
.support { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 24px; padding: 48px 32px; text-align: center; }
.support h2 { color: #fff; }
.support .lead { color: #c8d2e6; }
.support .row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.support .btn.tg { background: #229ed9; color: #fff; }
.support .btn.wa { background: #25d366; color: #fff; }
.support .btn.web { background: #fff; color: var(--navy); }
.support .fa { font-size: 22px; font-weight: 800; margin-bottom: 6px; }

/* footer */
footer { padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
footer .row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer .row a { color: var(--muted); }
footer .row a:hover { color: var(--teal-dark); }
footer .copy { margin-inline-start: auto; }

/* responsive */
@media (max-width: 860px) {
  section { padding: 54px 0; }
  .hero { padding: 40px 0 44px; }
  .hero .grid { grid-template-columns: 1fr; text-align: center; }
  .hero .cta, .badges { justify-content: center; }
  .hero .art { order: -1; }
  .hero .art img { width: min(220px, 55vw); }
  .lead { margin-inline: auto; }
  .links { display: none; position: absolute; top: 68px; inset-inline: 0; flex-direction: column; background: var(--panel); border-bottom: 1px solid var(--line); padding: 10px 4vw 14px; gap: 2px; }
  .links.open { display: flex; }
  .burger { display: inline-grid; place-items: center; margin-inline-start: auto; }
  .lang { margin-inline-start: 6px; }
  .brand { font-size: 16px; gap: 8px; } .brand img { width: 32px; height: 32px; }
  .lang button { padding: 5px 9px; font-size: 12px; }
  .support { padding: 36px 20px; border-radius: 18px; }
  footer .copy { margin-inline-start: 0; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
