/* MVP Rad — Dark Medical Theme */

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1a2332;
  --bg-card-hover: #1f2b3d;
  --text-primary: #e5e7eb;
  --text-secondary: #9ca3af;
  --text-heading: #f9fafb;
  --accent-blue: #3b82f6;
  --accent-teal: #14b8a6;
  --accent-gradient: linear-gradient(135deg, #3b82f6, #14b8a6);
  --border-color: #1f2937;
  --border-subtle: #293548;
  --max-width: 1100px;
  --radius: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
}

a:hover {
  color: var(--accent-teal);
}

/* ---- NAV ---- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 2rem;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.nav-logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-heading);
}

/* ---- HERO ---- */

.hero {
  padding: 10rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  position: relative;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ---- BUTTONS ---- */

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.btn-disabled {
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: not-allowed;
  opacity: 0.5;
}

.btn-download {
  background: var(--accent-gradient);
  color: #fff;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-download:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff;
}

/* ---- SECTIONS ---- */

section {
  padding: 5rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ---- FEATURES GRID ---- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- PRICING GRID ---- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.product-card.active {
  border-color: var(--accent-blue);
}

.product-card.active:hover {
  transform: translateY(-2px);
}

.product-card.coming-soon {
  opacity: 0.5;
}

.product-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.badge {
  display: inline-block;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 1rem 0;
}

.price .period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.price.dimmed {
  color: var(--text-secondary);
}

.product-card ul {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0 2rem;
}

.product-card li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.product-card li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-weight: 600;
}

.product-card .btn {
  width: 100%;
}

/* ---- TRUST ---- */

.trust {
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
}

.trust p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.7;
}

.trust-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ---- FOOTER ---- */

footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

footer p {
  margin-bottom: 0.5rem;
}

/* ---- SUCCESS PAGE ---- */

.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 64px);
  padding-top: 64px;
}

.success-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  max-width: 500px;
  width: 100%;
}

.success-card .checkmark {
  width: 64px;
  height: 64px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin: 0 auto 1.5rem;
}

.success-card h1 {
  font-size: 1.75rem;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}

.success-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.success-card .note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 1.5rem;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 8rem 1.5rem 4rem;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  section {
    padding: 3rem 1.5rem;
  }
}
