/* CyberGuard VPN — sun-vpn.online */

:root {
  --bg: #0b0a08;
  --bg-2: #100e0b;
  --surface: #17140f;
  --surface-2: #201b14;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --text: #f8f5f0;
  --muted: #a8a096;
  --muted-2: #7c746a;
  --accent: #f7981e;
  --accent-2: #ffd001;
  --accent-link: #ffb146;
  --ink: #1a1206;
  --ok: #34d399;
  --warn: #ef8171;
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1120px;
  --measure: 760px;
  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

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

a { color: var(--accent-link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.16rem; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 8, 0.84);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }

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

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 10px;
  padding: 9px 13px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #ffab3d; }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.03); }


/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% 20% auto -10%;
  height: 620px;
  background: radial-gradient(closest-side, rgba(247, 152, 30, 0.24), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: -20% -15% auto auto;
  width: 640px;
  height: 640px;
  background: radial-gradient(closest-side, rgba(255, 208, 1, 0.13), transparent 70%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(255, 208, 1, 0.09);
  border: 1px solid rgba(255, 208, 1, 0.24);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero p.lead {
  font-size: clamp(1.04rem, 1.7vw, 1.2rem);
  color: var(--muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.hero-note {
  margin: 20px 0 0;
  font-size: 0.9rem;
  color: var(--muted-2);
}

/* phone mockup */

.phone {
  width: min(298px, 82vw);
  margin: 0 auto;
  border-radius: 42px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, #241d13, #120f0a);
  padding: 11px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.phone-screen {
  border-radius: 33px;
  background: linear-gradient(180deg, #fffdf8 0%, #fff6e2 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 26px 20px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.phone-notch {
  width: 74px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  margin: 0 auto 26px;
}

.shield-badge {
  width: 108px;
  height: 108px;
  margin: 6px auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(247, 152, 30, 0.30), rgba(255, 208, 1, 0.05) 70%);
  border: 1px solid rgba(247, 152, 30, 0.38);
}
.shield-badge svg { width: 52px; height: 52px; }

.phone-state {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.phone-sub { font-size: 0.86rem; color: var(--muted-2); margin: 4px 0 22px; }

.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  text-align: left;
}
.phone-row + .phone-row { margin-top: 9px; }
.phone-row span:last-child { color: var(--muted); }

.dot-ok {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
  flex: none;
}

/* ---------- sections ---------- */

.section { padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: 0; }

.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin-bottom: 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}

.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.97rem; }

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(247, 152, 30, 0.13);
  border: 1px solid rgba(247, 152, 30, 0.28);
  margin-bottom: 18px;
}
.card-icon svg { width: 21px; height: 21px; }

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-2);
  margin-bottom: 12px;
}

/* two-column does / does not */

.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  background: var(--surface);
}
.panel--muted { background: var(--bg); }

.panel h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  margin-bottom: 18px;
}

.tick, .cross {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 0.78rem;
  font-weight: 700;
}
.tick { background: rgba(52, 211, 153, 0.14); color: var(--ok); border: 1px solid rgba(52, 211, 153, 0.3); }
.cross { background: rgba(245, 158, 11, 0.12); color: var(--warn); border: 1px solid rgba(245, 158, 11, 0.3); }

.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.97rem;
}
.list-plain li:last-child { margin-bottom: 0; }
.list-plain li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.list-plain--warn li::before { background: var(--warn); }

/* subscription table */

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }

table { width: 100%; border-collapse: collapse; font-size: 0.96rem; min-width: 460px; }

th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
}
tr:last-child td { border-bottom: 0; }
td { color: var(--muted); }
td strong { color: var(--text); font-weight: 600; }

/* ---------- contact form ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
}

.field { margin-bottom: 18px; }
.field:last-of-type { margin-bottom: 22px; }

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 7px;
}

input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.97rem;
}
textarea { min-height: 132px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(247, 152, 30, 0.20);
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 15px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form-hint { font-size: 0.87rem; color: var(--muted-2); margin: 14px 0 0; }

.contact-aside p { color: var(--muted); }

.mail-box {
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: var(--surface-2);
  margin: 20px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
}
.mail-box:hover { text-decoration: none; border-color: var(--accent); }
.mail-box small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 5px;
}

/* ---------- legal pages ---------- */

.page-head {
  padding: clamp(46px, 6vw, 76px) 0 30px;
  border-bottom: 1px solid var(--line);
}
.page-head .container { max-width: var(--measure); }
.page-head h1 { margin-bottom: 12px; }
.page-head .meta { color: var(--muted-2); font-size: 0.93rem; margin: 0; }

.legal { padding: 46px 0 84px; }
.legal .container { max-width: var(--measure); }

.legal h2 {
  font-size: 1.34rem;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 8px; padding-top: 0; border-top: 0; }
.legal h3 { margin-top: 30px; font-size: 1.04rem; }
.legal p, .legal li { color: #d8d1c6; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 1.1em; }
.legal li { margin-bottom: 9px; }
.legal strong { color: var(--text); }

.callout {
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: var(--surface);
  padding: 20px 22px;
  margin: 26px 0;
}
.callout p { margin-bottom: 0; }
.callout p + p { margin-top: 0.9em; }

.toc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px 24px;
  margin-bottom: 38px;
}
.toc h2 {
  font-size: 0.86rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
}
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; }
.toc li { margin-bottom: 6px; color: var(--muted); }

/* FAQ */

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 22px;
  margin-bottom: 12px;
}
summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.01rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  flex: none;
}
details[open] summary::after { content: "\2013"; }
details > p, details > ol, details > ul { color: var(--muted); margin-top: 0; padding-bottom: 6px; }
details > ol, details > ul { padding-left: 22px; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  background: #070605;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 60px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand { max-width: 34ch; }
.footer-brand p {
  color: var(--muted-2);
  font-size: 0.91rem;
  margin: 14px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
}
.footer-links a { color: var(--muted); font-size: 0.94rem; }
.footer-links a:hover { color: var(--text); text-decoration: none; }

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 0.87rem;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .contact { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; font-size: 1rem; }
  .nav-toggle { display: inline-flex; }
  .card, .panel, .form-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* ---------- phone mockup: light screen, matches the app UI ---------- */

.phone-screen {
  color: #1c1917;
  padding: 20px 18px 0;
  min-height: 470px;
  display: flex;
  flex-direction: column;
}

.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  color: #57534e;
  margin-bottom: 18px;
}

.phone-burger { display: grid; gap: 3px; }
.phone-burger i { display: block; width: 15px; height: 2px; border-radius: 2px; background: #78716c; }
.phone-burger i:nth-child(2) { width: 11px; }
.phone-burger i:nth-child(3) { width: 13px; }

.phone-timer {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.05rem;
  letter-spacing: -0.02em;
  color: #f7981e;
  text-align: center;
  line-height: 1.05;
}

.phone-timer-label {
  text-align: center;
  color: #f9a825;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 2px 0 16px;
}

.phone-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #f7c96b;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: #292524;
}
.phone-pill svg { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.phone-pill span:last-child { color: #a8a29e; font-weight: 500; }

.phone-sun {
  position: relative;
  margin-top: auto;
  height: 190px;
  display: grid;
  place-items: end center;
  overflow: hidden;
}

.phone-sun i {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  background: rgba(247, 152, 30, 0.09);
}
.phone-sun i:nth-child(1) { width: 260px; height: 130px; }
.phone-sun i:nth-child(2) { width: 200px; height: 100px; background: rgba(247, 152, 30, 0.13); }
.phone-sun i:nth-child(3) { width: 140px; height: 70px; background: rgba(247, 152, 30, 0.18); }

.power-btn {
  position: relative;
  width: 104px;
  height: 104px;
  margin-bottom: -14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 30%, #ffe580, #f9b021 78%);
  box-shadow: 0 12px 30px -8px rgba(247, 152, 30, 0.6);
}
.power-btn svg { width: 40px; height: 40px; }

/* ---------- real screenshot block ---------- */

.shot-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.shot-frame {
  width: min(320px, 84vw);
  margin: 0 auto;
  padding: 11px 11px 0;
  border-radius: 40px 40px 30px 30px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, #241d13, #120f0a);
  box-shadow: 0 40px 90px -34px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.shot-frame img { border-radius: 28px 28px 0 0; }

.shot-copy p { color: var(--muted); }
.shot-copy .list-plain { margin-top: 22px; }

@media (max-width: 900px) {
  .shot-grid { grid-template-columns: 1fr; }
  .shot-copy { order: -1; }
}

/* phone mockup: tighten the empty middle, add the app's bottom band */

.phone-screen { min-height: 432px; }

.phone-sun { height: 218px; margin-top: auto; }

.phone-sun::after {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  bottom: 0;
  height: 52px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, #fdc832, #f9b528);
}

.phone-sun i:nth-child(1) { width: 300px; height: 150px; }
.phone-sun i:nth-child(2) { width: 232px; height: 116px; }
.phone-sun i:nth-child(3) { width: 164px; height: 82px; }

.power-btn { z-index: 1; margin-bottom: 8px; }
