/* Boxed Landing Page & Privacy Policy Styles */
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Inter:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --bg: #0E0E16;
  --surface: #16161F;
  --surface-hi: #1F1F2B;
  --surface-hi2: #2A2A38;
  --text-primary: #F5F5F7;
  --text-secondary: #B4B4BE;
  --text-muted: #7A7A85;
  --accent: #A78BFA;
  --accent-muted: #8B7BC8;
  --accent-glow: #6D4FE0;
  --success: #34D399;
  --danger: #E57373;
  --warning: #E6B450;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Bungee', cursive;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p {
  color: var(--text-secondary);
  max-width: 60ch;
}

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

a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Layout utilities */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(14, 14, 22, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'Bungee', cursive;
  font-size: 1.4rem;
  color: var(--text-primary);
  letter-spacing: 1.2px;
}

.logo span {
  color: var(--accent);
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-left: 28px;
}

.nav a:hover {
  color: var(--text-primary);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 64px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(167,139,250,0.12), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(109,79,224,0.08), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  margin-bottom: 20px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 0 auto 40px;
  color: var(--text-secondary);
}

.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Bungee', cursive;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(167,139,250,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(167,139,250,0.4);
  opacity: 1;
  text-decoration: none;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.08);
}

.btn-secondary:hover {
  background: var(--surface-hi);
  transform: translateY(-2px);
  opacity: 1;
  text-decoration: none;
}

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

.card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(167,139,250,0.2);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(167,139,250,0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* How it works */
.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: var(--radius-md);
  font-family: 'Bungee', cursive;
  color: var(--accent);
  font-size: 1.1rem;
}

.step-content h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.step-content p {
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 48px 0;
  margin-top: 40px;
}

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

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-secondary);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Privacy page specific */
.privacy-hero {
  padding: 120px 0 60px;
  text-align: center;
}

.privacy-hero h1 {
  margin-bottom: 12px;
}

.privacy-hero .last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.privacy-content {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.privacy-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.privacy-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.privacy-content p,
.privacy-content li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.privacy-content ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.privacy-content li {
  margin-bottom: 8px;
}

.privacy-content a {
  word-break: break-word;
}

/* Responsive */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .nav { display: none; }
  .step { flex-direction: column; gap: 12px; }
  .step-number { width: 40px; height: 40px; font-size: 1rem; }
}
