:root {
  --bg-dark: #070B14;
  --bg-card: #0F172A;
  --bg-card-hover: #162038;
  --border-color: #1E293B;
  --border-accent: rgba(56, 189, 248, 0.35);
  --primary: #38BDF8;
  --primary-glow: rgba(56, 189, 248, 0.2);
  --accent-purple: #818CF8;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-sub: #64748B;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container-width: 1080px;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

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

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  color: #FFFFFF;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-accent);
}

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

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-btn {
  background: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%);
  color: #070B14 !important;
  font-weight: 700 !important;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-aura {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 350px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(129, 140, 248, 0.08) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hero h1 span {
  background: linear-gradient(135deg, #FFFFFF 0%, #38BDF8 70%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%);
  color: #070B14;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 14px;
  box-shadow: 0 8px 24px var(--primary-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.35);
  opacity: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 14px;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-accent);
  opacity: 1;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 60px 0;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 24px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 22px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #FFFFFF;
}

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

/* Legal Documents Layout (Privacy & Terms) */
.legal-wrapper {
  padding: 60px 0 100px;
  max-width: 820px;
  margin: 0 auto;
}

.legal-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 28px;
  margin-bottom: 40px;
}

.legal-header h1 {
  font-size: 38px;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.legal-meta {
  color: var(--text-sub);
  font-size: 14px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-card-highlight {
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px 0;
}

/* Support & Contact Cards */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.faq-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}

.faq-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
}

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

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  background-color: #04070D;
  padding: 48px 0 32px;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-brand p {
  color: var(--text-sub);
  font-size: 14px;
  margin-top: 6px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

.footer-bottom {
  text-align: center;
  color: var(--text-sub);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links a:not(.nav-btn) {
    display: none;
  }
  .legal-header h1 {
    font-size: 28px;
  }
}
