*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --card: #111827;
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.16);
  --text: #f9fafb;
  --muted: #9ca3af;
  --border: #1f2937;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.65);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text);
  line-height: 1.6;
}

/* Layout utilities */

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section.alt {
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #010313 100%);
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 0.98rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), transparent);
  border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.logo-icon {
  font-size: 1.25rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  transition: var(--transition);
}

.nav a:hover {
  color: var(--text);
}

.nav-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(129, 140, 248, 0.6);
  color: var(--text) !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.25rem 0.4rem;
  border-radius: 0.45rem;
  cursor: pointer;
}

/* Hero */

.hero {
  padding: 5.5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-text h1 span {
  background: linear-gradient(120deg, #818cf8, #a855f7, #ec4899);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text p {
  color: var(--muted);
  max-width: 480px;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.primary-btn {
  background: linear-gradient(130deg, #4f46e5, #7c3aed);
  color: white;
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.45);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(129, 140, 248, 0.55);
}

.secondary-btn {
  background: rgba(15, 23, 42, 0.7);
  border-color: var(--border);
  color: var(--text);
}

.secondary-btn:hover {
  background: rgba(31, 41, 55, 0.9);
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Hero Visual */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 340px;
  background: radial-gradient(circle at top left, #1f2937, #020617);
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(55, 65, 81, 0.8);
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.pill {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(75, 85, 99, 0.9);
  font-size: 0.75rem;
  color: var(--muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.26);
}

.task-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.task-list li {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 12px;
  border: 1px solid rgba(55, 65, 81, 0.8);
  padding: 0.55rem 0.7rem;
}

.task-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
}

.task-time {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  margin-top: 0.25rem;
}

.status.pending {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.status.in-progress {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.status.done {
  background: rgba(34, 197, 94, 0.14);
  color: #22c55e;
}

.progress-card {
  background: radial-gradient(circle at top, rgba(129, 140, 248, 0.12), rgba(15, 23, 42, 0.9));
  border-radius: 14px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.75rem 0.8rem 0.8rem;
}

.progress-card p {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.9);
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #4ade80, #22c55e);
}

.progress-label {
  font-size: 0.75rem;
  color: #a5b4fc;
}

.floating-badge {
  position: absolute;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(75, 85, 99, 0.9);
  color: var(--muted);
  backdrop-filter: blur(10px);
}

.badge-1 {
  top: 12%;
  right: 6%;
}

.badge-2 {
  bottom: 6%;
  left: 4%;
}

/* Features */

.features-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.6);
  font-size: 0.9rem;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* Steps */

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  background: radial-gradient(circle at top, #020617, #020617 40%, #020617 100%);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--border);
  box-shadow: 0 15px 36px rgba(15, 23, 42, 0.7);
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(129, 140, 248, 0.7);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* Testimonials */

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem;
  border: 1px solid var(--border);
  font-size: 0.92rem;
}

.testimonial-name {
  display: block;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.pricing-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
}

.pricing-card.featured {
  background: radial-gradient(circle at top, rgba(129, 140, 248, 0.1), #020617);
  border-color: rgba(129, 140, 248, 0.9);
}

.pricing-card h3 {
  margin-bottom: 0.25rem;
}

.price {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 1rem;
}

.pricing-card li {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

/* Download */

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.store-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.9);
  text-decoration: none;
  color: var(--text);
  font-size: 0.8rem;
}

.store-line-2 {
  font-weight: 600;
  font-size: 0.9rem;
}

.download-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 1.5rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.download-form {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.download-form input {
  padding: 0.6rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-size: 0.86rem;
}

.download-form input:focus {
  outline: none;
  border-color: rgba(129, 140, 248, 0.9);
}

.full-width {
  width: 100%;
}

.small-text {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  padding: 2.2rem 0 1.3rem;
  margin-top: 2rem;
  background: #020617;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-logo {
  margin-bottom: 0.6rem;
}

.footer-text {
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 260px;
}

.footer-links h4 {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-links a {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 0.25rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid,
  .download-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-text {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    right: 1.5rem;
    top: 3.3rem;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    padding: 0.8rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid var(--border);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 4.4rem;
  }

  .features-grid,
  .steps-grid,
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    max-width: 360px;
  }
}
