@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --blue: #1a6ff4;
  --blue-light: #4d95ff;
  --orange: #ff6a00;
  --purple: #7b2fff;
  --pink: #e91e8c;
  --dark: #08080f;
  --dark-2: #0f0f1a;
  --dark-3: #16162a;
  --dark-card: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --text: #e8e8f0;
  --text-muted: #7a7a9a;
  --gradient: linear-gradient(135deg, var(--blue), var(--purple), var(--orange));
  --gradient-2: linear-gradient(135deg, #1a6ff4, #7b2fff);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-brand span {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-2);
  transition: width 0.3s;
  border-radius: 2px;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-2);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: opacity 0.3s, transform 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  color: #fff !important;
}

.nav-cta::after {
  display: none !important;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-2);
  color: #fff;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s, opacity 0.2s;
  box-shadow: 0 4px 24px rgba(26, 111, 244, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 111, 244, 0.5);
  opacity: 0.92;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue-light);
  padding: 13px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--blue-light);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: rgba(26, 111, 244, 0.1);
  transform: translateY(-2px);
}

/* ===== CARDS ===== */
.card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 111, 244, 0.3);
  box-shadow: 0 12px 40px rgba(26, 111, 244, 0.12);
}

/* ===== SECTION ===== */
section {
  padding: 100px 5%;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(26, 111, 244, 0.12);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(26, 111, 244, 0.2);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.8;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 60px 5% 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== GLOW EFFECTS ===== */
.glow-blue {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 111, 244, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.glow-purple {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(123, 47, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 140px 5% 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(26, 111, 244, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== PROSE (policy content) ===== */
.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: #fff;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.85;
}

.prose ul {
  color: var(--text-muted);
  padding-left: 24px;
  margin-bottom: 16px;
  line-height: 1.85;
}

.prose ul li {
  margin-bottom: 8px;
}

.prose a {
  color: var(--blue-light);
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

.prose .highlight-box {
  background: rgba(26, 111, 244, 0.08);
  border: 1px solid rgba(26, 111, 244, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(26, 111, 244, 0.3); }
  50% { box-shadow: 0 0 40px rgba(26, 111, 244, 0.6); }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease forwards;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  section { padding: 70px 5%; }
}
