/* Driftsift Marketing Site
   Design System: Warm Precision
   Typography: DM Serif Display + DM Sans
   Primary: Coral #F26849 */

/* ============================================
   FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  /* Brand Colors */
  --coral: #F26849;
  --coral-light: #F5886D;
  --coral-dark: #D94F32;
  --coral-glow: rgba(242, 104, 73, 0.15);

  /* Neutrals */
  --charcoal: #1A1A2E;
  --charcoal-light: #2D2D44;
  --slate-900: #1e293b;
  --slate-800: #334155;
  --slate-700: #475569;
  --slate-600: #64748b;
  --slate-500: #6b7a8a;
  --slate-400: #cbd5e1;
  --slate-300: #e2e8f0;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Semantic Colors */
  --emerald: #10b981;
  --emerald-light: #d1fae5;
  --emerald-dark: #059669;
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --amber-dark: #d97706;
  --rose: #f43f5e;
  --rose-light: #ffe4e6;
  --rose-dark: #e11d48;
  --indigo: #6366f1;
  --indigo-light: #e0e7ff;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'SF Mono', SFMono-Regular, ui-monospace, monospace;

  /* Sizing */
  --max-width: 1280px;
  --content-width: 720px;
  --header-height: 72px;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --shadow-glow: 0 0 60px var(--coral-glow);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-900);
  background: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--charcoal);
}

.text-display-xl {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

.text-display-lg {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
}

.text-display-md {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.5;
}

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-slate-600 {
  color: var(--slate-700);
}

.text-slate-500 {
  color: var(--slate-700);
}

.text-coral {
  color: var(--coral);
}

.font-sans {
  font-family: var(--font-body);
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.italic {
  font-style: italic;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-5xl) 0;
}

.section--alt {
  background: var(--slate-50);
}

.section--dark {
  background: var(--charcoal);
  color: var(--white);
}

.main {
  flex: 1;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
  z-index: 1000;
  transition: all 0.3s var(--ease-out);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header__logo {
  height: 36px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.header__nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: color 0.2s ease;
  position: relative;
}

.header__nav-link:hover {
  color: var(--charcoal);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.3s var(--ease-out);
}

.header__nav-link:hover::after {
  width: 100%;
}

/* Mobile Nav Toggle */
.header__mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.header__mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--charcoal);
  position: relative;
  transition: all 0.3s ease;
}

.header__mobile-toggle span::before,
.header__mobile-toggle span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  left: 0;
  transition: all 0.3s ease;
}

.header__mobile-toggle span::before {
  top: -6px;
}

.header__mobile-toggle span::after {
  top: 6px;
}

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    border-bottom: 1px solid var(--slate-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease-out);
  }

  .header__nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header__mobile-toggle {
    display: flex;
  }

  .header__mobile-toggle.active span {
    background: transparent;
  }

  .header__mobile-toggle.active span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .header__mobile-toggle.active span::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--charcoal);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background: var(--charcoal-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--coral:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.btn--outline:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.btn--pill {
  border-radius: 100px;
}

.btn--lg {
  padding: 1.125rem 2rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  position: relative;
  overflow: hidden;
}

/* Floating orbs background effect */
.hero__orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: drift 20s ease-in-out infinite;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: var(--coral);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: var(--coral-light);
  bottom: -50px;
  left: -50px;
  animation-delay: -10s;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  background: var(--indigo);
  top: 40%;
  left: 20%;
  opacity: 0.2;
  animation-delay: -5s;
}

@keyframes drift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(20px, -20px) scale(1.05);
  }
  50% {
    transform: translate(-10px, 10px) scale(0.95);
  }
  75% {
    transform: translate(-20px, -10px) scale(1.02);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: var(--slate-100);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s var(--ease-out) backwards;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero__title {
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s var(--ease-out) 0.1s backwards;
}

.hero__title em {
  font-style: normal;
  color: var(--coral);
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--slate-700);
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
  animation: fadeInUp 0.6s var(--ease-out) 0.2s backwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s var(--ease-out) 0.3s backwards;
}

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

/* ============================================
   CUSTOMER CARD (Hero Visual)
   ============================================ */
.hero__visual {
  margin-top: var(--space-4xl);
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s backwards;
}

.customer-card-wrapper {
  background: linear-gradient(135deg, var(--slate-50) 0%, var(--slate-100) 100%);
  border-radius: 32px;
  padding: var(--space-2xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-2xl);
  max-width: 900px;
  margin: 0 auto;
}

.customer-card {
  background: var(--white);
  border-radius: 20px;
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
}

.customer-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-xl);
  gap: var(--space-lg);
}

.customer-card__profile {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.customer-card__avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.75rem;
  box-shadow: var(--shadow-md);
}

.customer-card__name {
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.customer-card__meta {
  font-size: 0.875rem;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.customer-card__meta span:not(:last-child)::after {
  content: '·';
  margin-left: var(--space-sm);
  color: var(--slate-300);
}

.customer-card__score {
  text-align: right;
}

.customer-card__score-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-600);
  margin-bottom: var(--space-xs);
}

.customer-card__score-value {
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
}

/* Risk Bar */
.risk-bar {
  margin-bottom: var(--space-xl);
}

.risk-bar__track {
  height: 10px;
  background: var(--slate-100);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.risk-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber) 0%, var(--coral) 50%, var(--rose) 100%);
  border-radius: 100px;
  width: 0;
  transition: width 1.5s var(--ease-out);
}

.risk-bar__fill.animate {
  width: 88%;
}

.risk-bar__labels {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-600);
}

/* Signals Grid */
.signals {
  margin-bottom: var(--space-xl);
}

.signals__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-600);
  margin-bottom: var(--space-md);
}

.signals__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (max-width: 640px) {
  .signals__grid {
    grid-template-columns: 1fr;
  }
}

.signal-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: 12px;
  border: 1px solid;
}

.signal-item--danger {
  background: var(--rose-light);
  border-color: rgba(244, 63, 94, 0.2);
}

.signal-item--warning {
  background: var(--amber-light);
  border-color: rgba(245, 158, 11, 0.2);
}

.signal-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.signal-item--danger .signal-item__icon {
  background: rgba(244, 63, 94, 0.15);
  color: var(--rose);
}

.signal-item--warning .signal-item__icon {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-dark);
}

.signal-item__icon svg {
  width: 18px;
  height: 18px;
}

.signal-item__content {
  flex: 1;
  min-width: 0;
}

.signal-item__title {
  font-size: 0.875rem;
  font-weight: 700;
}

.signal-item--danger .signal-item__title {
  color: var(--rose-dark);
}

.signal-item--warning .signal-item__title {
  color: var(--amber-dark);
}

.signal-item__desc {
  font-size: 0.75rem;
}

.signal-item--danger .signal-item__desc {
  color: var(--rose);
}

.signal-item--warning .signal-item__desc {
  color: var(--amber-dark);
}

/* Card Footer */
.customer-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--slate-200);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.customer-card__detected {
  font-size: 0.875rem;
  color: var(--slate-700);
}

.customer-card__detected strong {
  color: var(--slate-700);
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem {
  background: var(--slate-50);
}

.problem__header {
  max-width: 720px;
  margin-bottom: var(--space-3xl);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--coral);
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--slate-700);
  line-height: 1.7;
}

/* Timeline */
.timeline-card {
  background: var(--white);
  border-radius: 28px;
  padding: var(--space-2xl) var(--space-3xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.timeline-card__title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xl);
}

.timeline {
  position: relative;
  padding: var(--space-2xl) 0;
}

.timeline__line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--slate-100);
  transform: translateY(-50%);
}

.timeline__points {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  position: relative;
}

@media (max-width: 768px) {
  .timeline__line {
    display: none;
  }

  .timeline__points {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.timeline__point {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-bottom: var(--space-md);
  box-shadow: 0 0 0 4px var(--white);
  position: relative;
  z-index: 1;
}

.timeline__dot--safe {
  background: var(--emerald);
}

.timeline__dot--warning {
  background: var(--amber);
}

.timeline__dot--crisis {
  background: var(--coral);
}

.timeline__dot--emergency {
  background: var(--rose);
}

.timeline__day {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}

.timeline__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-700);
  margin-bottom: var(--space-sm);
}

.timeline__desc {
  font-size: 0.75rem;
  color: var(--slate-600);
  max-width: 120px;
}

/* Timeline Callouts */
.timeline__callouts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

@media (max-width: 640px) {
  .timeline__callouts {
    grid-template-columns: 1fr;
  }
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: 12px;
  border: 1px solid;
}

.callout--success {
  background: var(--emerald-light);
  border-color: rgba(16, 185, 129, 0.2);
}

.callout--danger {
  background: var(--rose-light);
  border-color: rgba(244, 63, 94, 0.2);
}

.callout__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.callout--success .callout__icon {
  color: var(--emerald-dark);
}

.callout--danger .callout__icon {
  color: var(--rose);
}

.callout__text {
  font-size: 0.875rem;
  line-height: 1.6;
}

.callout--success .callout__text {
  color: var(--emerald-dark);
}

.callout--danger .callout__text {
  color: var(--rose-dark);
}

.callout__text strong {
  font-weight: 700;
}

/* Problem Content Grid */
.problem__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  align-items: center;
}

@media (max-width: 768px) {
  .problem__content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.problem__quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--slate-700);
  line-height: 1.7;
  padding-left: var(--space-lg);
  border-left: 4px solid var(--slate-200);
}

.problem__signals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.signal-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--slate-700);
  font-size: 0.9375rem;
}

.signal-badge__icon {
  color: var(--coral);
}

/* ============================================
   SOLUTION SECTION (How It Works)
   ============================================ */
.solution__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-4xl);
}

.solution__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

@media (max-width: 960px) {
  .solution__grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }
}

.solution__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.step {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-radius: 20px;
  transition: background 0.3s ease;
}

.step:hover {
  background: var(--slate-50);
}

.step__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step__icon svg {
  width: 24px;
  height: 24px;
}

.step__content h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step__content p {
  color: var(--slate-700);
  line-height: 1.6;
}

/* Solution Visual (Terminal) */
.solution__visual {
  position: relative;
}

.solution__visual::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: var(--indigo);
  opacity: 0.05;
  border-radius: 50%;
  filter: blur(100px);
}

.terminal {
  position: relative;
  background: var(--charcoal);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.terminal__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-xl);
}

.terminal__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal__dot--red {
  background: var(--rose);
}

.terminal__dot--yellow {
  background: var(--amber);
}

.terminal__dot--green {
  background: var(--emerald);
}

.terminal__body {
  padding: 0 var(--space-xl) var(--space-xl);
}

.terminal__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  background: var(--charcoal-light);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-md);
}

.terminal__item--dimmed {
  opacity: 0.5;
}

.terminal__item-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.terminal__item-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
}

.terminal__item-avatar--coral {
  background: var(--coral);
}

.terminal__item-avatar--emerald {
  background: var(--emerald);
}

.terminal__item-info {
  color: var(--white);
}

.terminal__item-name {
  font-size: 0.875rem;
  font-weight: 700;
}

.terminal__item-risk {
  font-size: 0.625rem;
  color: var(--slate-400);
}

.terminal__item-action {
  padding: var(--space-xs) var(--space-md);
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
}

.terminal__item-status {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-style: italic;
}

.terminal__signal {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal__signal-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--slate-500);
  margin-bottom: var(--space-sm);
}

.terminal__signal-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--emerald);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  background: var(--charcoal);
  color: var(--white);
}

.stats__header {
  max-width: 720px;
  margin-bottom: var(--space-3xl);
}

.stats__header .section-label {
  color: var(--coral-light);
}

.stats__header .section-title {
  color: var(--white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 960px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: 20px;
  border: 1px solid var(--slate-200);
  transition: all 0.3s var(--ease-out);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-card__value {
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.stat-card__label {
  color: var(--slate-700);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: var(--space-md);
}

.stat-card__disclaimer {
  font-size: 0.75rem;
  color: var(--slate-600);
  font-style: italic;
}

/* Quote Card */
.quote-card {
  background: var(--coral);
  padding: var(--space-xl);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-card__text {
  font-size: 1.125rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.quote-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.quote-card__avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.quote-card__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
}

/* ============================================
   INTEGRATION SECTION
   ============================================ */
.integration {
  background: var(--slate-50);
  text-align: center;
}

.integration__header {
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.integration__header h2 {
  margin-bottom: var(--space-md);
}

.integration__header p {
  color: var(--slate-700);
}

/* Integration Grid */
.integration__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 960px;
  margin: 0 auto var(--space-2xl);
}

@media (max-width: 960px) {
  .integration__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .integration__grid {
    grid-template-columns: 1fr;
  }
}

.integration-card {
  background: var(--white);
  border-radius: 20px;
  padding: var(--space-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--ease-out);
}

.integration-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--slate-300);
}

.integration-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  overflow: hidden;
}

.integration-card__icon svg {
  width: 72px;
  height: 72px;
}

.integration-card h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.integration-card p {
  color: var(--slate-700);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.integration-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: var(--emerald-light);
  color: var(--emerald-dark);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.integration-card__badge svg {
  width: 14px;
  height: 14px;
}

/* Coming Soon */
.integration__coming {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--slate-100);
  border-radius: 100px;
  color: var(--slate-700);
  font-weight: 500;
  margin-bottom: var(--space-3xl);
}

/* Setup Steps */
.setup-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .setup-steps {
    grid-template-columns: 1fr;
  }
}

.setup-step {
  padding: var(--space-lg);
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--slate-200);
  text-align: left;
}

.setup-step__number {
  color: var(--coral-dark);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.setup-step h4 {
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.setup-step p {
  font-size: 0.875rem;
  color: var(--slate-700);
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing__card {
  background: var(--charcoal);
  border-radius: 40px;
  padding: var(--space-4xl);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.pricing__card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: var(--coral);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.pricing__content h2 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.pricing__content p {
  font-size: 1.125rem;
  color: var(--slate-300);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.pricing__tiers {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  opacity: 0.5;
}

.pricing__tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}

.pricing__tier-name {
  font-weight: 700;
}

.pricing__tier-price {
  color: var(--slate-400);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.faq-item {
  border-bottom: 1px solid var(--slate-200);
  padding: var(--space-lg) 0;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  gap: var(--space-md);
  transition: color 0.2s ease;
}

.faq-item__question:hover {
  color: var(--slate-600);
}

.faq-item__icon {
  width: 20px;
  height: 20px;
  color: var(--slate-600);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}

.faq-item.open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}

.faq-item.open .faq-item__answer {
  max-height: 500px;
  padding-top: var(--space-md);
}

.faq-item__answer p {
  color: var(--slate-700);
  line-height: 1.7;
}

/* ============================================
   CTA / BETA FORM
   ============================================ */
.cta {
  background: var(--slate-50);
}

.cta__card {
  background: var(--white);
  padding: var(--space-4xl);
  border-radius: 36px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-2xl);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta__header {
  margin-bottom: var(--space-2xl);
}

.cta__header h2 {
  margin-bottom: var(--space-lg);
}

.cta__header p {
  font-size: 1.125rem;
  color: var(--slate-700);
}

.cta__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.cta__fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 640px) {
  .cta__fields {
    grid-template-columns: 1fr;
  }
}

.form-group {
  text-align: left;
}

.form-group__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-700);
  margin-bottom: var(--space-sm);
  margin-left: var(--space-xs);
}

.form-group__input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-size: 1rem;
  font-family: var(--font-body);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: var(--white);
  transition: all 0.2s ease;
}

.form-group__input:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-glow);
}

.form-group__input::placeholder {
  color: var(--slate-600);
}

.cta__submit {
  width: 100%;
}

.cta__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  color: var(--slate-600);
  font-weight: 500;
}

.trust-badge svg {
  width: 16px;
  height: 16px;
}

/* Success State */
.cta__success {
  padding: var(--space-3xl) 0;
}

.cta__success-icon {
  width: 80px;
  height: 80px;
  background: var(--emerald-light);
  color: var(--emerald-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.cta__success-icon svg {
  width: 40px;
  height: 40px;
}

.cta__success-title {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.cta__success p {
  color: var(--slate-700);
  max-width: 400px;
  margin: 0 auto var(--space-xl);
}

.cta__success-link {
  color: var(--coral);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cta__success-link:hover {
  color: var(--coral-dark);
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--slate-100);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

.footer__brand {
  opacity: 0.5;
}

.footer__logo {
  height: 28px;
  width: auto;
}

.footer__links {
  display: flex;
  gap: var(--space-xl);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
}

.footer__links a {
  transition: color 0.2s ease;
}

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

.footer__copyright {
  font-size: 0.875rem;
  color: var(--slate-600);
}

/* ============================================
   UTILITIES
   ============================================ */
.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;
}

.hidden {
  display: none !important;
}

/* ============================================
   MOBILE RESPONSIVE ENHANCEMENTS
   ============================================ */

/* Global mobile spacing */
@media (max-width: 640px) {
  :root {
    --space-4xl: 4rem;
    --space-5xl: 5rem;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }
}

/* Hero mobile adjustments */
@media (max-width: 640px) {
  .hero {
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  .hero__subtitle {
    font-size: 1.0625rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    margin-top: var(--space-2xl);
  }

  .customer-card-wrapper {
    padding: var(--space-md);
    border-radius: 20px;
  }

  .customer-card {
    padding: var(--space-lg);
    border-radius: 16px;
  }

  .customer-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .customer-card__score {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
  }

  .customer-card__score-label {
    margin-bottom: 0;
  }

  .customer-card__score-value {
    font-size: 2rem;
  }

  .customer-card__avatar {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    border-radius: 12px;
  }

  .customer-card__name {
    font-size: 1.125rem;
  }

  .customer-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-md);
  }

  .customer-card__footer .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Timeline card mobile */
@media (max-width: 768px) {
  .timeline-card {
    padding: var(--space-lg);
    border-radius: 20px;
  }

  .timeline__point {
    flex-direction: row;
    text-align: left;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--slate-50);
    border-radius: 12px;
  }

  .timeline__dot {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .timeline__desc {
    max-width: none;
  }

  .timeline__point-content {
    flex: 1;
  }
}

/* Problem section mobile */
@media (max-width: 640px) {
  .problem__signals {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .problem__quote {
    font-size: 1rem;
    padding-left: var(--space-md);
  }
}

/* Solution section mobile */
@media (max-width: 640px) {
  .step {
    padding: var(--space-md);
  }

  .step__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .step__icon svg {
    width: 20px;
    height: 20px;
  }

  .step__content h3 {
    font-size: 1rem;
  }

  .step__content p {
    font-size: 0.9375rem;
  }
}

/* Terminal mobile */
@media (max-width: 640px) {
  .terminal {
    border-radius: 16px;
  }

  .terminal__header {
    padding: var(--space-md);
  }

  .terminal__body {
    padding: 0 var(--space-md) var(--space-md);
  }

  .terminal__item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: 10px;
  }

  .terminal__item-action {
    width: 100%;
    text-align: center;
    padding: var(--space-sm) var(--space-md);
  }

  .terminal__signal-code {
    font-size: 0.625rem;
    word-break: break-all;
    line-height: 1.4;
  }
}

/* Stats section mobile */
@media (max-width: 640px) {
  .stat-card__value {
    font-size: 2rem;
  }

  .stat-card {
    padding: var(--space-lg);
  }
}

/* Pricing section mobile */
@media (max-width: 768px) {
  .pricing__card {
    padding: var(--space-xl);
    border-radius: 24px;
  }

  .pricing__tier {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
  }
}

/* CTA section mobile */
@media (max-width: 640px) {
  .cta__card {
    padding: var(--space-xl);
    border-radius: 24px;
  }

  .cta__trust {
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* FAQ section mobile */
@media (max-width: 640px) {
  .faq-item__question {
    font-size: 1rem;
  }

  .faq-item__answer p {
    font-size: 0.9375rem;
  }
}

/* Footer mobile */
@media (max-width: 640px) {
  .footer__links {
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* Touch-friendly tap targets */
@media (max-width: 768px) {
  .btn {
    min-height: 48px;
  }

  .faq-item__question {
    min-height: 48px;
    padding: var(--space-sm) 0;
  }

  .header__mobile-toggle {
    min-width: 48px;
    min-height: 48px;
  }
}
