/* ============================================
   Watt VPN — website styles
   Минимальный современный дизайн.
   ============================================ */

:root {
  --bg: #0b0f17;
  --bg-elevated: #131826;
  --text: #e7eaf2;
  --text-muted: #9aa3b2;
  --accent: #4f8cff;
  --accent-hover: #7aa6ff;
  --border: #1f2638;
  --max-width: 920px;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}

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

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

/* ============================================
   Navbar
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: all 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
  color: #fff;
}

/* ============================================
   Hero (index.html)
   ============================================ */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: inline-flex;
  gap: 12px;
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
  text-decoration: none;
  color: var(--text);
}

/* Features grid */
.features {
  padding: 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

/* ============================================
   Policy / Terms pages
   ============================================ */
.policy-section {
  flex: 1;
  padding: 60px 0 80px;
}

.policy-container {
  max-width: 760px;
}

.policy-container h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.policy-updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.policy-container h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.policy-container h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.policy-container p {
  margin-bottom: 14px;
  color: var(--text);
}

.policy-container ul,
.policy-container ol {
  margin: 12px 0 18px 22px;
  color: var(--text);
}

.policy-container li {
  margin-bottom: 6px;
}

.policy-container strong {
  color: var(--text);
  font-weight: 700;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-heading {
  font-size: 22px;
  font-weight: 800;
}

.footer-email {
  color: var(--text-muted);
  font-size: 15px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.footer-copy {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ============================================
   404
   ============================================ */
.error-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.error-page h1 {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 12px;
}

.error-page p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding: 50px 0 40px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero p.lead {
    font-size: 16px;
  }
  .section-title {
    font-size: 26px;
  }
  .policy-container h1 {
    font-size: 28px;
  }
  .policy-container h2 {
    font-size: 19px;
  }
}
