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

:root {
  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Color Palette - Deep Space Indigo & Cyber Violet */
  --bg-primary: hsl(240, 20%, 6%);
  --bg-surface: hsla(240, 21%, 12%, 0.7);
  --border-glow: hsla(270, 70%, 60%, 0.15);
  --border-light: hsla(255, 255%, 255%, 0.08);
  
  --text-primary: hsl(0, 0%, 98%);
  --text-secondary: hsl(240, 5%, 75%);
  --text-muted: hsl(240, 5%, 55%);

  --color-accent: hsl(270, 100%, 65%);
  --color-accent-glow: hsla(270, 100%, 65%, 0.4);
  --color-success: hsl(150, 100%, 45%);
}

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

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

/* Background Mesh Gradients */
body::before, body::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
}

body::before {
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

body::after {
  background: radial-gradient(circle, hsl(210, 100%, 50%) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

/* Header & Navigation */
header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 10, 12, 0.4);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  margin-left: 2rem;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

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

/* Main Container */
main {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 5rem;
}

h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #dcd6ff, var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

/* Glassmorphism Cards */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 8px 32px 0 var(--color-accent-glow);
}

/* Downloads Section */
.download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.download-options {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  max-width: 600px;
}

.btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2rem;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
  box-shadow: 0 4px 20px var(--color-accent-glow);
}

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

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 2.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Content Pages (Privacy / Terms) */
.content-section {
  max-width: 800px;
  margin: 0 auto;
}

.content-section h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.content-section p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.content-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.content-section li {
  margin-bottom: 0.5rem;
}

.meta-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  display: block;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-light);
  background: rgba(10, 10, 12, 0.4);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 1rem;
}

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

/* Responsive Rules */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  .download-options {
    flex-direction: column;
  }
  .card {
    padding: 2rem;
  }
  main {
    padding: 2rem 1.5rem;
  }
}
