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

:root {
  /* Colors - App Consistent Palette */
  --bg: #000000;
  /* Pure Black */
  --bg-soft: #0a0a0a;
  /* Near Black */
  --bg-card: rgba(20, 20, 25, 0.7);
  /* Deep Glass */

  --ink: #f1f5f9;
  /* Slate 100 */
  --muted: #64748b;
  /* Slate 400 */

  --accent: #5b4bff;
  /* App Indigo */
  --accent-soft: rgba(91, 75, 255, 0.15);

  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);

  --nav-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(91, 75, 255, 0.08), transparent 35%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Background Pattern */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* Header & Navigation */
header {
  height: var(--nav-height);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  z-index: 100;
  width: 100%;
}

.header-inner {
  max-width: 1000px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
  overflow-x: auto;
  /* Allow horizontal scroll on very small screens for links */
  scrollbar-width: none;
}

.nav-left::-webkit-scrollbar {
  display: none;
}

.brand {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-right: 8px;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}

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

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 0 60px;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  background: linear-gradient(to bottom right, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 20px -5px rgba(91, 75, 255, 0.4);
}

.button.primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 20px 25px -5px rgba(91, 75, 255, 0.5);
}

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

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Cards & Sections */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  margin-top: 40px;
  box-shadow: var(--shadow);
}

.card h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 32px;
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 40px;
  margin-bottom: 16px;
}

.card p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
}

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

.card li {
  color: var(--muted);
  margin-bottom: 12px;
}

.card li strong {
  color: var(--ink);
}

.card a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
  font-weight: 600;
}

.card a:hover {
  opacity: 0.8;
}

.meta {
  font-size: 14px;
  color: var(--muted);
  opacity: 0.6;
}

/* Footer */
footer {
  margin-top: 100px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.footer-warmth {
  display: flex;
  align-items: center;
  gap: 8px;
}

.heart {
  color: var(--error);
  animation: heartbeat 1.5s ease-in-out infinite;
  display: inline-block;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.1);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.1);
  }

  70% {
    transform: scale(1);
  }
}

/* Mobile Tweaks */
@media (max-width: 860px) {
  .nav-left {
    gap: 16px;
  }

  nav {
    display: none;
  }
}

@media (max-width: 640px) {
  header {
    height: auto;
    padding: 16px 24px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 18px;
  }

  .cta {
    flex-direction: column;
  }

  .card {
    padding: 24px;
  }
}