/* ScratchADR landing — matches dashboard dark theme */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #12151f;
  color: #e2e8f0;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 21, 31, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #2d3748;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f1f5f9;
  text-decoration: none;
}

.logo:hover {
  color: #63b3ed;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav a:hover {
  color: #e2e8f0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-small {
  background: #2d3748;
  color: #e2e8f0;
  font-size: 0.875rem;
}

.btn-small:hover {
  background: #4a5568;
}

.btn-primary {
  background: #4299e1;
  color: #fff;
  font-size: 1rem;
}

.btn-primary:hover {
  background: #3182ce;
}

.btn-secondary {
  background: transparent;
  color: #63b3ed;
  border: 2px solid #4299e1;
}

.btn-secondary:hover {
  background: rgba(66, 153, 225, 0.15);
}

.btn-trial {
  background: #48bb78;
  color: #fff;
}

.btn-trial:hover {
  background: #38a169;
}

/* Hero button group — 3 buttons on one line */
.hero-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-buttons .btn {
  min-width: 120px;
}

@media (max-width: 520px) {
  .hero-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Main content */
main {
  flex: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  width: 100%;
}

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 0 4rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #f1f5f9;
}

.hero-tagline {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-primary {
  padding: 0.75rem 1.5rem;
  font-size: 1.05rem;
}

/* Features */
.features {
  padding: 2.5rem 0;
  border-top: 1px solid #2d3748;
}

.features h2 {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: #f1f5f9;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature {
  background: #1a1f2e;
  border: 1px solid #2d3748;
  border-radius: 12px;
  padding: 1.25rem 1.25rem;
  border-left: 4px solid #4299e1;
}

.feature-title {
  display: block;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.35rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* CTA / Store */
.cta {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid #2d3748;
}

.cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: #f1f5f9;
}

.cta p {
  margin: 0 0 1.25rem;
  color: #94a3b8;
}

.plan-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .plan-buttons {
    grid-template-columns: 1fr;
  }
}

.plan-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.plan-btn .plan-label {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.plan-btn .plan-desc {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.9;
}

.plan-btn-highlight {
  border: 2px solid #48bb78;
  background: rgba(72, 187, 120, 0.12);
}

.plan-btn-highlight:hover {
  background: rgba(72, 187, 120, 0.2);
}

.plan-btn-trial {
  border: 2px solid #48bb78;
  background: rgba(72, 187, 120, 0.15);
}

.plan-btn-trial:hover {
  background: rgba(72, 187, 120, 0.25);
}

/* Footer */
.footer {
  border-top: 1px solid #2d3748;
  margin-top: auto;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
}

.footer a {
  color: #63b3ed;
  text-decoration: none;
}

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