/* Design System & Variables */
:root {
  --bg-primary: #05050c;
  --bg-secondary: rgba(15, 15, 30, 0.6);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(139, 92, 246, 0.2);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --color-primary: #8b5cf6; /* Indigo / Violet */
  --color-primary-glow: rgba(139, 92, 246, 0.4);
  --color-secondary: #06b6d4; /* Cyan */
  --color-secondary-glow: rgba(6, 182, 212, 0.4);
  --color-accent: #d946ef; /* Magenta / Pink */
  
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --max-width: 1000px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Background Effects */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(140px);
  opacity: 0.25;
  animation: float-glow 20s infinite alternate ease-in-out;
}

.glow-1 {
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  top: -10%;
  right: -10%;
}

.glow-2 {
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
  bottom: -10%;
  left: -10%;
  animation-delay: -5s;
}

@keyframes float-glow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, -50px) scale(1.1);
  }
  100% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

/* Main Container */
.app-container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--color-primary) 70%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card & Glassmorphism */
.glass-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-glow);
  box-shadow: 0 15px 45px -10px rgba(139, 92, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  z-index: 10;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px var(--color-primary-glow);
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #ffffff;
}

.logo-icon-img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 15px var(--color-primary-glow);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 50%, #d1d5db 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #7c3aed 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 20px var(--color-primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--color-primary-glow);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Hero Landing Page Styles */
.hero {
  text-align: center;
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.badge {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  display: inline-block;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* Privacy Policy Layout & Typo */
.policy-container {
  padding-bottom: 4rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  transition: var(--transition-smooth);
}

.back-link:hover {
  color: var(--text-primary);
  transform: translateX(-4px);
}

.policy-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

.policy-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.policy-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.policy-body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.policy-body section {
  margin-bottom: 2.5rem;
}

.policy-body h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.policy-body h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 24px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
}

.policy-body p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.policy-body ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.policy-body li {
  margin-bottom: 0.5rem;
}

.policy-body strong {
  color: var(--text-primary);
}

.policy-body a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.policy-body a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.policy-body .callout {
  background: rgba(6, 182, 212, 0.08);
  border-left: 4px solid var(--color-secondary);
  padding: 1.5rem;
  border-radius: 0 16px 16px 0;
  margin: 1.5rem 0;
}

.policy-body .callout p:last-child {
  margin-bottom: 0;
}

/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .glass-panel {
    padding: 2rem 1.5rem;
  }
  
  .policy-header h1 {
    font-size: 2rem;
  }
}
