/* ===== Lifetime CRM – Static marketing site ===== */
/* CSS custom properties + minimal animations, no frameworks */

:root {
  --color-bg: #0a0a0b;
  --color-surface: #141416;
  --color-border: #27272a;
  --color-text: #fafafa;
  --color-muted: #a1a1aa;
  --color-accent: #22c55e;
  --color-accent-hover: #16a34a;
  --color-secondary: #3f3f46;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-accent-hover);
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  animation: fadeDown 0.5s ease both;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: var(--space-md) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
}
.logo:hover {
  color: var(--color-accent);
}

.nav {
  display: flex;
  gap: var(--space-xl);
}
.nav a {
  color: var(--color-muted);
  font-size: 0.9375rem;
}
.nav a:hover {
  color: var(--color-text);
}

/* ----- Hero ----- */
.hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl) var(--space-3xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
  min-height: 85vh;
}

@media (min-width: 56rem) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  animation: fadeUp 0.6s ease 0.1s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  margin: 0 0 var(--space-lg);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 var(--space-xl);
  font-size: 1.25rem;
  color: var(--color-muted);
  max-width: 28rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-normal), transform var(--transition-fast);
}
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-accent);
  color: #0a0a0b;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
}

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  background: var(--color-border);
}

/* ----- Hero visual (cards) ----- */
.hero-visual {
  position: relative;
  height: 16rem;
  animation: fadeUp 0.6s ease 0.2s both;
}

@media (min-width: 56rem) {
  .hero-visual {
    height: 20rem;
  }
}

.hero-card {
  position: absolute;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.hero-card-1 {
  width: 70%;
  height: 60%;
  top: 0;
  left: 0;
  animation: float 4s ease-in-out infinite;
}
.hero-card-2 {
  width: 55%;
  height: 50%;
  bottom: 10%;
  right: 0;
  animation: float 4s ease-in-out 1s infinite;
}
.hero-card-3 {
  width: 40%;
  height: 45%;
  bottom: 25%;
  left: 25%;
  animation: float 4s ease-in-out 2s infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ----- Sections ----- */
.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
}

.section-title {
  margin: 0 0 var(--space-2xl);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
}

/* ----- Features grid ----- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
  animation: fadeUp 0.5s ease both;
}
.feature-card:nth-child(1) { animation-delay: 0.05s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.15s; }

.feature-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(34, 197, 94, 0.15);
  border-radius: var(--radius);
  color: var(--color-accent);
}

.feature-card h3 {
  margin: 0 0 var(--space-sm);
  font-size: 1.125rem;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* ----- Pricing ----- */
.pricing-card {
  max-width: 28rem;
  margin: 0 auto;
  padding: var(--space-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  animation: fadeUp 0.5s ease both;
}

.pricing-tagline {
  margin: 0 0 var(--space-xl);
  font-size: 1.25rem;
  color: var(--color-muted);
}

.pricing-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* ----- FAQ ----- */
.faq-list {
  max-width: 36rem;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  animation: fadeUp 0.4s ease both;
}
.faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.15s; }

.faq-item summary {
  padding: var(--space-lg) var(--space-xl);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background-color var(--transition-fast);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--color-muted);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-item p {
  margin: 0;
  padding: 0 var(--space-xl) var(--space-lg);
  padding-top: 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* ----- Footer ----- */
.site-footer {
  margin-top: var(--space-3xl);
  padding: var(--space-xl);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.footer-brand {
  margin: 0 0 var(--space-xs);
  font-weight: 600;
  color: var(--color-text);
}

.footer-legal {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}
