* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg-1: #050a14; 
  --bg-2: #030712; /* Тот же темный фон */
  --accent: #00d2ff;
  --accent-hover: #33e0ff;
  --text: #ffffff; 
  --text-dim: #94a3b8;
  --card: rgba(255,255,255,0.02);
  --border: rgba(0, 210, 255, 0.15); 
  --glow: 0 0 30px rgba(0, 210, 255, 0.3);
}
html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-2); 
  color: var(--text); line-height: 1.8; overflow-x: hidden;
  min-height: 100vh; display: flex; flex-direction: column;
}

/* ============================================================
   ТОЧНО ТАКОЙ ЖЕ КЛЕТЧАТЫЙ ФОН
   ============================================================ */
body::before {
  content: ''; 
  position: fixed; 
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  z-index: -2;
  pointer-events: none;
}
/* Глубокое свечение поверх сетки */
body::after {
  content: ''; 
  position: fixed; 
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(0, 102, 204, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 85% 80%, rgba(0, 210, 255, 0.1) 0%, transparent 40%);
  z-index: -1; 
  pointer-events: none;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: 'Manrope', 'Inter', sans-serif; }

.skip-link { position: absolute; top: -40px; left: 8px; background: var(--accent); color: #000; padding: 8px 14px; border-radius: 6px; text-decoration: none; z-index: 9999; font-weight: 700; }
.skip-link:focus { top: 8px; }

/* HEADER */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(5,10,20,0.7); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.05); transition: all 0.3s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1000px; margin: 0 auto; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.logo-img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; background: rgba(0, 210, 255, 0.1); border: 1px solid var(--border); box-shadow: var(--glow); }
.logo-text span { background: linear-gradient(90deg, #fff, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.header-right { display: flex; align-items: center; gap: 20px; }
.header-phone { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; transition: color 0.3s; }
.header-phone:hover { color: var(--accent); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 24px; border-radius: 12px; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; border: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); font-family: inherit; white-space: nowrap; }
.btn-outline { background: rgba(255,255,255,0.03); color: var(--text); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); }
.btn-outline:hover { border-color: var(--accent); background: rgba(0, 210, 255, 0.05); transform: translateY(-2px); }

/* MAIN CONTENT */
main { flex: 1; padding: 160px 0 100px; }
.page-head { text-align: center; margin-bottom: 56px; }
.page-tag { display: inline-block; padding: 8px 16px; background: rgba(0,210,255,0.05); border: 1px solid rgba(0,210,255,0.2); border-radius: 100px; color: var(--accent); font-size: 12px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px; }
.page-title { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
.page-title .accent { color: var(--accent); }
.page-subtitle { color: var(--text-dim); font-size: 18px; max-width: 640px; margin: 0 auto; }

/* POLICY CARD */
.policy-card { 
  background: rgba(255,255,255,0.02); 
  border: 1px solid rgba(255,255,255,0.05); 
  border-radius: 32px; 
  padding: 56px; 
  backdrop-filter: blur(20px); 
  box-shadow: 0 30px 60px rgba(0,0,0,0.4); 
}
.policy-meta { 
  display: flex; flex-wrap: wrap; gap: 24px; 
  padding-bottom: 32px; margin-bottom: 40px; 
  border-bottom: 1px solid rgba(255,255,255,0.05); 
  font-size: 14px; color: var(--text-dim); 
}
.policy-meta span strong { color: var(--text); font-weight: 600; }
.policy-card h2 { 
  font-size: 24px; font-weight: 700; margin: 40px 0 16px; color: var(--text); 
  display: flex; align-items: center; gap: 14px; letter-spacing: -0.5px;
}
.policy-card h2::before { 
  content: ''; width: 6px; height: 24px; 
  background: var(--accent); border-radius: 4px; 
  box-shadow: 0 0 12px var(--accent); 
}
.policy-card h2:first-of-type { margin-top: 0; }
.policy-card p { color: var(--text-dim); font-size: 16px; margin-bottom: 16px; line-height: 1.8; }
.policy-card ul { color: var(--text-dim); font-size: 16px; margin: 0 0 20px 24px; padding: 0; }
.policy-card ul li { margin-bottom: 10px; }
.policy-card a { 
  color: var(--accent); text-decoration: none; 
  border-bottom: 1px solid rgba(0,210,255,0.3); 
  transition: all .3s; font-weight: 500;
}
.policy-card a:hover { border-bottom-color: var(--accent); color: var(--accent-hover); text-shadow: 0 0 10px rgba(0,210,255,0.5); }
.policy-card strong { color: var(--text); font-weight: 600; }

.back-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 48px; padding: 16px 28px; background: rgba(0,210,255,0.05); border: 1px solid rgba(0,210,255,0.2); border-radius: 14px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; transition: all .3s; }
.back-link:hover { border-color: var(--accent); background: rgba(0,210,255,0.1); transform: translateX(-6px); box-shadow: 0 10px 30px rgba(0,210,255,0.15); }

/* FOOTER */
footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 40px 0; margin-top: auto; background: rgba(0,0,0,0.4); backdrop-filter: blur(10px); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.footer-copy { color: var(--text-dim); font-size: 14px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .header-inner { padding: 12px 16px; } .logo { font-size: 18px; } .logo-img { width: 34px; height: 34px; }
  .header-phone { display: none; }
  main { padding: 120px 0 60px; }
  .policy-card { padding: 32px 24px; border-radius: 24px; }
  .policy-card h2 { font-size: 20px; }
  .policy-meta { flex-direction: column; gap: 12px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
