/* Drops Landing – Design tokens from app_colors.dart, layout inspired by online.io */
:root {
  --primary: #6366f1;
  --secondary: #8b5cf6;
  --background: #f9fafb;
  --surface: #ffffff;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 64px;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 16px;
}

.headline {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.headline strong {
  color: var(--primary);
}

.tagline {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0 0 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.badge-link {
  display: block;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.badge-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.badge-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 8px;
}

.badge {
  display: block;
  height: auto;
  max-width: 180px;
}

/* Intro section */
.intro {
  text-align: center;
  margin-bottom: 72px;
  padding: 40px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.intro-headline {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.intro-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature sections (online.io style) */
.feature-section {
  margin-bottom: 64px;
}

.feature-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 8px;
}

.feature-headline {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.feature-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0 0 24px;
  max-width: 640px;
}

.feature-visual {
  margin-top: 24px;
}

.visual-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 180px;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.visual-drop-call {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
}

.visual-tasks {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
}

.visual-icon {
  font-size: 2.5rem;
}

.visual-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* FAQ */
.faq {
  margin-bottom: 64px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 24px;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  float: right;
  font-weight: 400;
  color: var(--primary);
}

details[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 20px 20px;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Footer */
.footer {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.footer p {
  margin: 0 0 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer a {
  color: var(--primary);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Screen reader only */
.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;
}

/* Responsive */
@media (max-width: 640px) {
  .page {
    padding: 32px 16px 64px;
  }

  .headline {
    font-size: 1.75rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .badges {
    flex-direction: column;
  }

  .badge {
    max-width: 160px;
  }

  .intro {
    padding: 24px 16px;
  }

  .feature-headline {
    font-size: 1.25rem;
  }

  .visual-placeholder {
    min-height: 140px;
  }
}
