/* ========================================
   dmnd.dev — Coming Soon Landing Page
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep: #0a0a0f;
  --bg-surface: #0e0e12;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --text-primary: #f0f0f5;
  --text-secondary: rgba(240, 240, 245, 0.55);
  --accent-pink: #d616a9;
  --accent-blue: #7a8dea;
  --accent-cyan: #2dcff5;
  --accent-start: #d616a9;
  --font: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Animated Background --- */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -100px;
  background: radial-gradient(circle, rgba(224, 44, 181, 0.08), transparent 70%);
  animation: glow-drift-1 20s ease-in-out infinite;
}

.bg-glow--2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(45, 207, 245, 0.06), transparent 70%);
  animation: glow-drift-2 25s ease-in-out infinite;
}

@keyframes glow-drift-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(80px, 60px); }
}

@keyframes glow-drift-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-60px, -80px); }
}

/* --- Header --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  color: #71717a;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav__link:hover {
  color: #d4d4d8;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo__icon {
  flex-shrink: 0;
}

.logo__text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo__dot {
  opacity: 0.4;
  font-weight: 500;
}

/* --- Hero --- */
.hero {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 8rem 1.5rem 3rem;
  max-width: 760px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  border: 1px solid rgba(45, 207, 245, 0.2);
  border-radius: 100px;
  margin-bottom: 2rem;
  background: rgba(45, 207, 245, 0.05);
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero__highlight {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* --- Email Signup --- */
.signup {
  max-width: 460px;
  margin: 0 auto;
}

.signup__group {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 4px;
  transition: border-color 0.2s;
}

.signup__group:focus-within {
  border-color: rgba(122, 141, 234, 0.3);
}

.signup__input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text-primary);
  background: transparent;
  border: none;
  outline: none;
}

.signup__input::placeholder {
  color: var(--text-secondary);
}

.signup__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  color: #fff;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue), var(--accent-cyan));
  background-size: 200% 200%;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s, background-position 0.4s;
  animation: gradient-shift 6s ease infinite;
}

.signup__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(224, 44, 181, 0.25);
}

.signup__btn:active {
  transform: translateY(0);
}

.signup__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.signup__btn-arrow {
  transition: transform 0.2s;
}

.signup__btn:hover .signup__btn-arrow {
  transform: translateX(2px);
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.signup__note,
.signup__success {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  text-align: center;
}

.signup__success {
  color: var(--accent-cyan);
}

/* --- Feature Cards --- */
.features__heading {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.features__sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.pricing {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  max-width: 1060px;
  margin: 0 auto;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 2rem;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: left;
  position: relative;
  min-width: 0;
}

.pricing-card--featured {
  border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #fafafa;
  color: #09090b;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.pricing-card__price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
}

.pricing-card__dollar {
  font-size: 16px;
  font-weight: 700;
  color: #71717a;
  vertical-align: super;
}

.pricing-card__period {
  font-size: 12px;
  color: #3f3f4a;
  margin-top: 4px;
  margin-bottom: 16px;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
}

.pricing-card__features li {
  font-size: 13px;
  color: #a1a1aa;
  padding: 3px 0;
  font-weight: 500;
}

.pricing__note {
  margin-top: 1.5rem;
  font-size: 13px;
  color: #71717a;
}

.features {
  position: relative;
  z-index: 10;
  padding: 3rem 1.5rem 4rem;
  max-width: 1060px;
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 141, 234, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- Footer --- */
.footer {
  position: relative;
  z-index: 10;
  margin-top: auto;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.footer__link {
  color: var(--text-secondary);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer__text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav__inner {
    padding: 0 20px;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 14px 0;
  }

  .nav__inner {
    padding: 0 16px;
  }

  .nav__links {
    display: none;
  }

  .logo__text {
    font-size: 1.05rem;
  }

  .hero {
    padding: 6rem 1.25rem 2rem;
  }

  .hero__title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .hero__subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .hero__badge {
    margin-bottom: 1.5rem;
  }

  .signup__group {
    flex-direction: column;
    border-radius: 12px;
  }

  .signup__input {
    border-bottom: 1px solid var(--border-subtle);
  }

  .signup__btn {
    justify-content: center;
    border-radius: 8px;
  }

  .features,
  .pricing {
    padding: 2.5rem 1.25rem 3rem;
  }

  .features__heading {
    font-size: 1.5rem;
  }

  .features__sub {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .features__grid {
    gap: 0.875rem;
  }

  .pricing__grid {
    gap: 12px;
  }

  .pricing-card {
    padding: 22px 20px;
  }

  .pricing-card__price {
    font-size: 34px;
  }

  .bg-glow--1 {
    width: 380px;
    height: 380px;
  }

  .bg-glow--2 {
    width: 320px;
    height: 320px;
  }
}
