/* Mole VPN website. Dusk Dial theme, matching the extension:
   violet gradient background, coral to violet accent, glassy cards.
   No external dependencies: system fonts only, no frameworks. */

:root {
  --bg-1: #2a1546;
  --bg-2: #1b1035;
  --bg-3: #120a26;
  --accent: #ff7a59;
  --accent-2: #8b5cf6;
  --accent-soft: #ffb59d;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, .78);
  --text-faint: rgba(255, 255, 255, .6);
  --glass: rgba(255, 255, 255, .07);
  --glass-strong: rgba(255, 255, 255, .1);
  --glass-border: rgba(255, 255, 255, .14);
  --green: #22c55e;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(165deg, var(--bg-1) 0%, var(--bg-2) 55%, var(--bg-3) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-soft);
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18, 10, 38, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  border-radius: 8px;
  display: block;
}

.nav-links {
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
}

.nav-links a:hover {
  color: #fff;
}

/* Buttons */

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 28px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255, 122, 89, .35);
}

.btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(255, 122, 89, .45);
}

.btn-small {
  padding: 8px 18px;
  font-size: 14px;
}

.btn-large {
  padding: 15px 36px;
  font-size: 18px;
}

/* Hero */

.hero {
  text-align: center;
  padding: 72px 20px 56px;
}

.hero-logo {
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .12);
}

.hero h1 {
  margin: 24px 0 8px;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.tagline {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--text-dim);
  font-size: 19px;
}

.hero-note {
  margin: 16px 0 0;
  color: var(--text-faint);
  font-size: 14px;
}

/* Sections */

section {
  padding: 40px 0;
}

section h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -.5px;
}

.section-intro {
  margin: 0 0 28px;
  color: var(--text-dim);
}

/* Feature cards */

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

.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
}

.card .icon {
  font-size: 26px;
  display: block;
  margin-bottom: 12px;
}

/* How it works */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}

.steps li {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 700;
  font-size: 17px;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.steps p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
}

/* Countries */

.country-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.country-list li {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px 18px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.country-list .flag {
  width: 64px;
  height: auto;
  border-radius: 4px;
  flex-shrink: 0;
}

/* FAQ */

.faq-list details {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  list-style-position: inside;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--text-dim);
  font-size: 15px;
}

/* Call to action band */

.cta {
  text-align: center;
  padding: 48px 20px;
}

.cta h2 {
  margin-bottom: 20px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 32px 0 40px;
  margin-top: 24px;
  color: var(--text-faint);
  font-size: 14px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

/* Privacy page */

.page {
  padding: 56px 0 24px;
}

.page h1 {
  font-size: 40px;
  margin: 0 0 8px;
  letter-spacing: -.5px;
}

.page .updated {
  color: var(--text-faint);
  font-size: 15px;
  margin: 0 0 32px;
}

.page h2 {
  font-size: 22px;
  margin: 32px 0 8px;
}

.page p,
.page li {
  color: var(--text-dim);
}

.page ul {
  padding-left: 22px;
}

/* Responsive */

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav-links {
    display: none;
  }

  .nav .btn {
    margin-left: auto;
  }

  .hero {
    padding: 48px 20px 40px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .tagline {
    font-size: 17px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  section h2 {
    font-size: 25px;
  }

  .page h1 {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
