/* -------------------------------------------------------------------------- */
/*  Delete Contacts marketing site                                            */
/* -------------------------------------------------------------------------- */

:root {
  --background: 226 100% 98%;
  --foreground: 232 74% 14%;
  --muted: 226 64% 97%;
  --muted-foreground: 232 22% 44%;
  --accent: 263 100% 96%;
  --accent-border: 263 70% 86%;
  --primary: 251 81% 60%;
  --primary-dark: 251 87% 52%;
  --primary-foreground: 0 0% 100%;
  --border: 226 40% 90%;
  --shadow-color: 229 65% 55%;
  --gradient-hero: linear-gradient(135deg, rgba(129, 140, 248, 0.22), rgba(236, 233, 254, 0.65));
  --gradient-card: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(242, 246, 255, 0.75));
  --gradient-contrast: linear-gradient(130deg, rgba(45, 55, 114, 1), rgba(99, 102, 241, 1));
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 25px 60px -30px rgba(67, 56, 202, 0.45);
  --shadow-card: 0 18px 38px -24px rgba(15, 23, 42, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-base);
  background: radial-gradient(140% 120% at 50% -20%, rgba(99, 102, 241, 0.18), rgba(203, 213, 225, 0)), hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn i {
  width: 1.2rem;
  height: 1.2rem;
}

.btn-primary {
  background: linear-gradient(130deg, hsl(var(--primary)), hsl(var(--primary-dark)));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 20px 30px -18px rgba(67, 56, 202, 0.75);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 40px -18px rgba(67, 56, 202, 0.65);
}

.btn-outline {
  border-color: hsla(var(--primary), 0.25);
  background: rgba(255, 255, 255, 0.65);
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  border-color: hsla(var(--primary), 0.55);
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: rgba(255, 255, 255, 0.92);
  padding-inline: 0;
}

.btn-ghost:hover {
  color: white;
  transform: translateX(4px);
}

.btn-lg {
  padding: 0.85rem 1.9rem;
  font-size: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(49, 46, 129, 0.08);
  color: rgba(49, 46, 129, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.app-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid hsl(var(--border));
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.nav__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 12px 30px -18px rgba(30, 64, 175, 0.8);
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.nav__title {
  font-size: 1rem;
  font-weight: 700;
}

.nav__subtitle {
  color: hsl(var(--muted-foreground));
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.95rem;
}

.nav__link {
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: hsl(var(--foreground));
}

.nav__cta {
  white-space: nowrap;
}

.hero {
  position: relative;
  padding: clamp(5rem, 12vw, 7.5rem) 0 clamp(4rem, 9vw, 6rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  transform: translateZ(0);
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0);
}

.hero__orb--one {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.75), rgba(129, 140, 248, 0));
  top: -140px;
  left: -160px;
}

.hero__orb--two {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle at 60% 40%, rgba(56, 189, 248, 0.35), rgba(37, 99, 235, 0));
  bottom: -220px;
  right: -180px;
}

.hero__ring {
  position: absolute;
  inset: 50% auto auto 55%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.25);
  transform: translate(-50%, -40%);
}

.hero__header {
  text-align: center;
  margin-bottom: 2rem;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 520px;
}

.hero__title {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__description {
  font-size: 1.05rem;
  color: hsl(var(--muted-foreground));
  max-width: 36rem;
}

.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.metric {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid rgba(137, 149, 208, 0.3);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow-soft);
  min-width: 150px;
}

.metric__value {
  font-size: 1.2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.metric__label {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}

.screenshot-carousel {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.screenshot-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screenshot-container::-webkit-scrollbar {
  display: none;
}

.screenshot {
  width: 280px;
  flex-shrink: 0;
  border-radius: 24px;
  box-shadow: 0 20px 35px -20px rgba(30, 64, 175, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 25px 45px -20px rgba(30, 64, 175, 0.5);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-store-badge:hover {
  transform: translateY(-2px);
}

.app-store-badge img {
  height: 3.1rem;
  width: auto;
}

.nav-badge {
  height: 2.2rem !important;
  width: auto;
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section--light {
  background: rgba(255, 255, 255, 0.86);
}

.section--contrast {
  background: var(--gradient-contrast);
  color: white;
}

.section--cta {
  background: rgba(26, 35, 126, 0.04);
}

.section__header {
  text-align: center;
  margin-bottom: 3.2rem;
  max-width: 680px;
  margin-inline: auto;
}

.section__eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: hsl(var(--primary));
}

.section--contrast .section__eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.section__title {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  letter-spacing: -0.01em;
  margin-top: 0.6rem;
}

.section__description {
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
}

.section--contrast .section__description {
  color: rgba(255, 255, 255, 0.78);
}

.features__grid {
  display: grid;
  gap: 1.8rem;
}

.feature-card {
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(79, 70, 229, 0.15);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: hsl(var(--primary));
}

.feature-card__icon i {
  width: 24px;
  height: 24px;
}

.feature-card__title {
  font-size: 1.2rem;
  font-weight: 700;
}

.feature-card__description {
  color: hsl(var(--muted-foreground));
  font-size: 0.98rem;
}

.workflow {
  background: rgba(255, 255, 255, 0.88);
}

.workflow__grid {
  display: grid;
  gap: 1.6rem;
  counter-reset: workflow;
}

.workflow__step {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.28);
  padding: 1.9rem;
  box-shadow: var(--shadow-card);
}

.workflow__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  color: hsl(var(--primary));
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.workflow__title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.workflow__text {
  color: hsl(var(--muted-foreground));
  font-size: 0.96rem;
}

.privacy {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.privacy__content {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.privacy__list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  font-weight: 500;
}

.privacy__list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.privacy__list i {
  width: 1.1rem;
  height: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}

.privacy__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.privacy__card {
  background: rgba(12, 17, 63, 0.45);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 48px -30px rgba(15, 23, 42, 0.55);
}

.privacy__badge {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.privacy__quote {
  margin-top: 1.6rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.privacy__meta {
  margin-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.privacy__rating {
  letter-spacing: 0.2em;
}

.cta {
  display: grid;
  gap: 1.6rem;
  align-items: center;
  text-align: center;
}

.cta__title {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.cta__description {
  color: hsl(var(--muted-foreground));
  max-width: 540px;
  margin: 0 auto;
}

.cta__actions {
  display: grid;
  gap: 0.9rem;
  justify-items: center;
}

.cta__meta {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
}

.footer {
  padding: 2.6rem 0;
  border-top: 1px solid hsl(var(--border));
  background: rgba(255, 255, 255, 0.9);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.footer__title {
  font-weight: 700;
}

.footer__subtitle {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}

.footer__links a:hover {
  color: hsl(var(--foreground));
}

/* Reveal animations -------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments --------------------------------------------------- */

@media (min-width: 640px) {
  .hero__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .privacy {
    grid-template-columns: 1fr 0.9fr;
  }

  .cta {
    text-align: left;
    grid-template-columns: 1.2fr 1fr;
  }

  .cta__description {
    margin: 0;
  }

  .cta__actions {
    justify-items: flex-end;
  }

  .footer__inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .screenshot {
    width: 320px;
  }
  
  .screenshot-container {
    gap: 1.5rem;
  }
}

@media (max-width: 840px) {
  .nav__links {
    display: none;
  }

  .nav__cta {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .nav__inner {
    padding-block: 0.75rem;
  }

  .hero__metrics {
    gap: 0.9rem;
  }

  .metric {
    padding: 0.78rem 1rem;
  }

  .feature-card {
    padding: 1.6rem;
  }

  .privacy__quote {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
