:root {
  --bg: #05050b;
  --bg-alt: #0b0b15;
  --card: #10101f;
  --card-soft: #141428;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --accent: #7c3aed;
  --accent-soft: rgba(124, 58, 237, 0.4);
  --accent-alt: #22d3ee;
  --text-main: #f9fafb;
  --text-sub: #9ca3af;
  --text-soft: #6b7280;
  --pill-bg: rgba(15, 23, 42, 0.9);
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.7);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, var(--bg) 55%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

/* NAVBAR */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.18), transparent 55%),
    rgba(5, 5, 11, 0.92);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* IMAGE LOGO IN NAV */

.logo-img {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.8))
          drop-shadow(0 0 22px rgba(34, 211, 238, 0.6));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo-img img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px rgba(124, 58, 237, 1))
          drop-shadow(0 0 26px rgba(34, 211, 238, 0.8));
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #e5e7eb;
}

/* HERO */

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.5rem 3.5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.14), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.22), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

/* WATERMARK LOGO IN HERO */

.hero-logo {
  position: absolute;
  bottom: 7%;
  right: 6%;
  height: 110px;
  opacity: 0.12;
  pointer-events: none;
  filter: drop-shadow(0 0 25px rgba(124, 58, 237, 0.7));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.9rem, 5vw, 4rem);
  line-height: 1.02;
  margin: 0 0 1rem;
}

.hero h1 br {
  display: none;
}

.hero-sub {
  color: var(--text-sub);
  max-width: 28rem;
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* HERO SIDE CARD */

.hero-card {
  background: radial-gradient(circle at top, rgba(124, 58, 237, 0.4), rgba(15, 23, 42, 0.98));
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.8rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.12), transparent 52%),
    radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.8), transparent 52%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid rgba(248, 250, 252, 0.16);
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  margin-bottom: 1rem;
}

.hero-card h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 1rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.hero-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-note {
  font-size: 0.75rem;
  color: #e5e7eb;
  opacity: 0.9;
}

/* STATUS PILLS */

.status-pill {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.status-hot {
  border-color: rgba(248, 113, 113, 0.9);
  color: #fecaca;
}

.status-new {
  border-color: rgba(52, 211, 153, 0.9);
  color: #bbf7d0;
}

/* SECTIONS */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.8), rgba(5, 5, 11, 1));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  max-width: 640px;
  margin-bottom: 2.25rem;
}

.section-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
}

.section h2 {
  font-size: 1.7rem;
  margin: 0 0 0.75rem;
}

.section-sub {
  color: var(--text-sub);
  font-size: 0.95rem;
}

/* FEATURE CARDS */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.feature-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-alt);
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-sub);
}

/* PRODUCTS */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.product-grid-tight {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card {
  background: var(--card-soft);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.3);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
}

.product-img-placeholder {
  position: relative;
  padding: 3.5rem 1rem;
  background:
    radial-gradient(circle at 0 0, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(124, 58, 237, 0.16), transparent 60%),
    #020617;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-placeholder span {
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e5e7eb;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.9);
}

.product-info {
  padding: 1.1rem 1.2rem 1rem;
}

.product-info h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.product-info p {
  margin: 0;
  font-size: 0.9rem;
}

.product-meta {
  margin-top: 0.4rem;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.product-footer {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-weight: 600;
  font-size: 0.95rem;
}

/* TIMELINE */

.timeline {
  border-left: 1px solid rgba(55, 65, 81, 0.8);
  margin-top: 1rem;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -1.7rem;
  top: 0.2rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.9);
}

.timeline-content h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.timeline-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-sub);
}

/* SIGNUP */

.signup-card {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.98));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-soft);
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.signup-card h2 {
  margin-top: 0.3rem;
}

.signup-form {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.signup-form input {
  flex: 1 1 220px;
  padding: 0.8rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #020617;
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
}

.signup-form input::placeholder {
  color: var(--text-soft);
}

.signup-note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, var(--accent-alt), var(--accent));
  color: #0b0b15;
  box-shadow: 0 12px 25px rgba(124, 58, 237, 0.8);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.95);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.7);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

.btn-sm {
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
}

/* FOOTER */

.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 5, 11, 0.96);
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-alt);
}

.footer-text {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  color: var(--text-soft);
  max-width: 14rem;
}

.footer-text-sm {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* SCROLL REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

/* GENERAL LAYOUT */

.page-main {
  min-height: calc(100vh - 120px);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .hero h1 br {
    display: inline;
  }

  .features-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    flex-direction: column;
  }

  .hero-logo {
    height: 90px;
    bottom: 5%;
    right: 4%;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    padding-inline: 1rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-inner {
    gap: 2.3rem;
  }

  .features-grid,
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .signup-card {
    padding-inline: 1.3rem;
  }

  .signup-form {
    flex-direction: column;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero-logo {
    display: none; /* keep mobile clean */
  }
}
