/* Design tokens and core styles for EzLeads landing (Minimalist Modern) */
:root {
  /* Colors */
  --background: #0f172a; /* deep slate */
  --foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --accent: #0052ff;
  --accent-2: #4d7cff;
  --accent-foreground: #ffffff;
  --card: #ffffff;
  --border: #e2e8f0;
  --ring: var(--accent);

  /* Typography */
  --font-display: "Calistoga", serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    "monospace";

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 6px 18px rgba(2, 6, 23, 0.08);
  --shadow-lg: 0 20px 40px rgba(2, 6, 23, 0.12);
  --shadow-accent: 0 10px 30px rgba(0, 82, 255, 0.18);
}

/* Base */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--background);
  color: #fff;
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip link for accessible keyboard navigation */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border-radius: 6px;
  z-index: 60;
}

/* Utility tokens used in markup */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Gradient underline used beneath hero headlines */
.gradient-underline-wrap {
  position: relative;
  display: inline-block;
}
.gradient-underline-wrap .gradient-underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.5rem;
  height: 0.7rem;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(0, 82, 255, 0.14),
    rgba(77, 124, 255, 0.1)
  );
  z-index: -1;
  width: 14rem;
}

.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.glass-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: var(--accent-foreground);
  font-weight: 700;
  box-shadow: var(--shadow-accent);
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.992);
}
.btn-primary:focus {
  box-shadow: 0 0 0 6px rgba(0, 82, 255, 0.08);
}

/* Section label badge */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(77, 124, 255, 0.12);
  background: linear-gradient(
    180deg,
    rgba(77, 124, 255, 0.04),
    rgba(0, 82, 255, 0.02)
  );
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent-2);
}
.section-label .dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 6px 18px rgba(77, 124, 255, 0.12);
}

.section-label .dot {
  animation: pulse 2.4s ease-in-out infinite;
}

/* Hero decorative ring */
.signature-ring {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 3px dashed rgba(77, 124, 255, 0.12);
  animation: rotateSlow 60s linear infinite;
}
.ring-core {
  width: 220px;
  height: 220px;
  border-radius: 9999px;
  background: linear-gradient(
    135deg,
    rgba(0, 82, 255, 0.12),
    rgba(77, 124, 255, 0.08)
  );
  box-shadow: var(--shadow-lg);
}

/* Small floating cards used in hero composition */
.floating-card {
  position: absolute;
  min-width: 160px;
  max-width: 220px;
  padding: 0.8rem 1rem;
  border-radius: var(--r-md);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-md);
  color: rgba(255, 255, 255, 0.95);
}

/* Gradient stroke wrapper for featured cards (2px gradient border) */
.gradient-stroke {
  padding: 2px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.gradient-stroke > .card-inner {
  border-radius: 12px;
  /* background: var(--card); */
  background: transparent;
  padding: 1rem;
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Floating cards */
@keyframes floatY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(0);
  }
}
.floating {
  animation: floatY 5s ease-in-out infinite;
}
.pulseDot {
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ring-outer {
    animation: none;
  }
  .floating {
    animation: none;
  }
  .pulseDot {
    animation: none;
  }
  .section-label .dot {
    animation: none;
  }
}

/* If JS toggles .reduced-motion on html, respect it */
html.reduced-motion .ring-outer,
html.reduced-motion .floating,
html.reduced-motion .pulseDot,
html.reduced-motion .section-label .dot {
  animation: none !important;
}

/* Hide decorative, non-essential visuals on small screens to reduce clutter */
@media (max-width: 700px) {
  .decorative {
    display: none !important;
  }
}

/* Make CTAs easier to tap on mobile */
@media (max-width: 700px) {
  .btn-primary {
    width: 100%;
    padding: 1rem;
    justify-content: center;
  }
  .glass {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
}

/* Responsive helpers */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}
.header .brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.brand .logo {
  width: 48px;
  height: 48px;
}

/* Hero */
.hero {
  /* padding: 4.5rem 0 6rem; */
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 1.02;
  margin: 0;
}
@media (min-width: 1100px) {
  .hero h1 {
    font-size: 4.4rem;
  }
}
.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 48rem;
}

/* Generic icon style used across features */
.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* Hover lift utility for subtle elevation */
.hover-lift {
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms;
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Entrance animations and stagger helpers */
.animate-fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stagger {
  --stagger-delay: 0.08s;
}
.stagger > * {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeInUp 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--stagger-index, 0) * var(--stagger-delay));
}

/* semantic text utilities */
.text-accent {
  color: var(--accent) !important;
}
.text-accent-2 {
  color: var(--accent-2) !important;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
.stat-card {
  padding: 1.2rem;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: var(--shadow-md);
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Features & Pricing cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
.feature-card {
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--card);
  color: var(--foreground);
  box-shadow: var(--shadow-md);
}
.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.pricing-card {
  padding: 1.6rem;
  border-radius: 18px;
  background: var(--card);
  color: var(--foreground);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(0, 0, 0, 0.02);
}
.pricing-card.featured {
  transform: translateY(-12px);
  border: 2px solid transparent;
  box-shadow: var(--shadow-accent);
}
.pricing-price {
  font-size: 2.6rem;
  font-weight: 900;
}
.pricing-sub {
  color: var(--muted-foreground);
  font-size: 1rem;
}
.pricing-list {
  margin-top: 1rem;
}
.pricing-list li {
  margin-bottom: 0.6rem;
}

/* Footer */
.footer {
  padding: 3rem 0;
}

/* Small helpers */
.center {
  text-align: center;
}
.mt-8 {
  margin-top: 2rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}

/* Accessibility focus */
:focus {
  outline: none;
}
a:focus,
button:focus,
input:focus {
  box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.12);
  border-radius: 8px;
}
