/* Roblik VPN — landing styles */

:root {
  /* Brand palette from Avatar/Thumbnail/Logo */
  --bg: #f4fbff;
  --bg-2: #e8f5ff;
  --surface: #ffffff;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-solid: #ffffff;
  --border: rgba(0, 176, 255, 0.12);
  --border-strong: rgba(0, 176, 255, 0.28);
  --text: #0b2540;
  --text-2: #1f3a5f;
  --muted: #5b7a9a;
  --accent: #00b0ff;
  --accent-2: #2090d0;
  --accent-3: #10a0e0;
  --accent-soft: #c0e0f0;
  --accent-softer: #d0f0f0;
  --accent-glow: rgba(0, 176, 255, 0.35);
  --success: #22c55e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 20px 60px rgba(0, 60, 120, 0.12);
  --shadow-md: 0 10px 30px rgba(0, 60, 120, 0.08);
  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(0, 176, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(0, 176, 255, 0.1), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 40%, var(--bg-2) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 400px at 50% 100%, rgba(0, 176, 255, 0.12), transparent 60%);
  z-index: 0;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 18px;
}
.logo img { width: 32px; height: 32px; border-radius: 8px; }

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}
.nav a { transition: color 0.2s ease; }
.nav a:hover { color: var(--text); }

.nav .nav-profile {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 14px;
}
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px -8px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 18px 36px -10px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: #ffffff;
  border-color: var(--accent);
  color: var(--accent);
}

/* HERO */
.hero {
  position: relative;
  padding: 80px 0 60px;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0, 176, 255, 0.1);
  border: 1px solid rgba(0, 176, 255, 0.3);
  color: var(--accent-2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 50%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 0 32px;
}
.lead b { color: var(--text); font-weight: 700; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-actions.center { justify-content: center; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 560px;
}
.hero-stats > div {
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
}
.stat-num {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
}
.orb {
  position: absolute;
  inset: 8% 8% 8% 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 176, 255, 0.55), rgba(32, 144, 208, 0.25) 55%, transparent 70%);
  filter: blur(20px);
  animation: float 8s ease-in-out infinite;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 176, 255, 0.35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.chip {
  position: absolute;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0, 60, 120, 0.15);
  animation: float 7s ease-in-out infinite;
}
.chip-1 { top: 8%; left: -4%; animation-delay: 0s; }
.chip-2 { top: 18%; right: -6%; animation-delay: 1s; }
.chip-3 { bottom: 22%; left: -8%; animation-delay: 2s; }
.chip-4 { bottom: 6%; right: 2%; animation-delay: 3s; }

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 176, 255, 0.35);
  pointer-events: none;
  animation: spin 40s linear infinite;
}
.ring-1 {
  inset: -2%;
  border-color: rgba(0, 176, 255, 0.28);
}
.ring-2 {
  inset: 6%;
  border-style: solid;
  border-color: rgba(0, 176, 255, 0.14);
  animation-duration: 60s;
  animation-direction: reverse;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* APPS strip */
.apps {
  padding: 20px 0 30px;
  position: relative;
  z-index: 1;
}
.apps-title {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.apps-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.app-card {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-2);
  box-shadow: 0 6px 16px rgba(0, 60, 120, 0.06);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.app-card:hover {
  transform: translateY(-2px);
  color: var(--accent);
  border-color: var(--border-strong);
}

/* SECTIONS */
.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}
.section-head {
  text-align: center;
  margin-bottom: 50px;
}
.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-sub {
  color: var(--muted);
  margin-top: 12px;
  font-size: 16px;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px rgba(0, 60, 120, 0.14);
}
.feature-ic {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 176, 255, 0.14), rgba(0, 176, 255, 0.05));
  border: 1px solid rgba(0, 176, 255, 0.3);
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--text);
}
.feature-card p {
  color: var(--muted);
  margin: 0;
  font-size: 14.5px;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px rgba(0, 60, 120, 0.14);
}
.price-card--popular {
  background: linear-gradient(180deg, #ffffff 0%, #eaf7ff 100%);
  border-color: var(--accent);
  box-shadow: 0 30px 60px -20px var(--accent-glow);
}
.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 20px -6px var(--accent-glow);
}
.price-head { margin-bottom: 16px; }
.price-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.price-period {
  font-size: 13px;
  color: var(--muted);
}
.price-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.price-value .amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-value .currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-2);
}
.price-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
  flex: 1;
}
.price-features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--text-2);
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.55);
}
.price-features li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}

/* DOWNLOAD */
.download-card {
  background:
    linear-gradient(135deg, rgba(0, 176, 255, 0.14), rgba(16, 160, 224, 0.06)),
    #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 40px 80px -30px var(--accent-glow);
}
.download-copy .eyebrow { text-align: left; }
.download-copy h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.download-copy p {
  color: var(--text-2);
  margin: 0 0 24px;
  max-width: 520px;
}
.download-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.platforms span {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-2);
  font-weight: 600;
}
.download-visual {
  display: grid;
  place-items: center;
}
.download-visual img {
  max-width: 280px;
  border-radius: 20px;
  filter: drop-shadow(0 20px 50px rgba(0, 176, 255, 0.35));
}

/* FAQ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  box-shadow: 0 6px 16px rgba(0, 60, 120, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(0, 176, 255, 0.15);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "\2212";
  color: var(--accent);
}
.faq-body {
  padding: 0 0 18px;
  color: var(--text-2);
  font-size: 15px;
}
.faq-body a { color: var(--accent); text-decoration: underline; }

/* CTA */
.cta {
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.cta-inner p {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 17px;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { margin: 12px 0 0; max-width: 320px; font-size: 14px; }
.muted { color: var(--muted); font-size: 14px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
}
.footer-col a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header-actions .btn-ghost { display: none; }

  .hero { padding: 60px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .hero-stats { grid-template-columns: 1fr 1fr; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; padding: 32px; }
  .download-visual { display: none; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .btn-lg { width: 100%; }
  .hero-actions .btn { flex: 1; }
}

/* Mobile nav open state */
body.nav-open .nav {
  display: flex;
  position: fixed;
  inset: 72px 0 auto 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  flex-direction: column;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  z-index: 49;
}

body.nav-open .nav .nav-profile {
  display: inline;
}

/* DOCUMENT PAGE (public offer) */
.doc {
  position: relative;
  z-index: 1;
  padding: 48px 0 80px;
}
.doc-wrap {
  max-width: 820px;
}
.doc-back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}
.doc-back:hover { text-decoration: underline; }
.doc h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 8px;
}
.doc-date {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}
.doc h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 14px;
}
.doc p {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.doc ul {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 16px;
  padding-left: 22px;
}
.doc li { margin-bottom: 8px; }
.doc a {
  color: var(--accent);
  text-decoration: underline;
  word-break: break-word;
}
.doc b { color: var(--text); font-weight: 700; }
