* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text: #111827;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --border: #e5e7eb;
  --radius: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}
.nav-logo { font-size: 1.4rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* HERO */
.hero {
  text-align: center;
  padding: 6rem 2rem 5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 60%);
}
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.2rem; color: var(--text); }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.2rem; color: var(--muted); max-width: 520px; margin: 0 auto 2.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s;
  text-decoration: none;
}
.btn:hover { background: var(--primary-dark); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* FEATURES */
.features {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.features h2 { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 3rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* LEGAL */
.legal-header {
  background: var(--bg-alt);
  padding: 3rem 2rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.legal-header h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.legal-header p { color: var(--muted); }

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.legal-content h2 { font-size: 1.3rem; font-weight: 700; margin: 2.5rem 0 0.8rem; color: var(--text); }
.legal-content h3 { font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.legal-content p { color: #374151; margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { color: #374151; margin-bottom: 0.4rem; }
.legal-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.legal-content th { background: var(--bg-alt); padding: 0.8rem 1rem; text-align: left; font-size: 0.9rem; border: 1px solid var(--border); }
.legal-content td { padding: 0.8rem 1rem; border: 1px solid var(--border); font-size: 0.9rem; color: #374151; }

.highlight-box {
  background: #eff6ff;
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.highlight-box p { margin: 0; color: var(--text); }

/* DELETE PAGE */
.delete-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}
.step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.step-content h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.step-content p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* FOOTER */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-copy { color: var(--muted); font-size: 0.85rem; }

@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  nav { padding: 1rem; }
  .nav-links { gap: 1rem; }
}

/* PRODUCTS / PRICING */
.card-actions { margin-top: 1.2rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.card-actions .btn { padding: 0.6rem 1.2rem; font-size: 0.95rem; }
.products-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.about { padding-top: 0; }
.about-text { max-width: 700px; margin: 0 auto; text-align: center; color: var(--muted); }
.legal-content.pricing { padding-top: 0; }
@media (max-width: 640px) {
  .nav-links a { font-size: 0.85rem; }
  .products-grid { grid-template-columns: 1fr; }
  .legal-content { padding: 2rem 1rem; }
}

/* PAYMENT RESULT */
.pay-result { max-width: 640px; text-align: center; }
.pay-card h1 { font-size: 1.8rem; margin: 0.8rem 0; }
.pay-card .highlight-box { text-align: left; }
.pay-icon {
  width: 64px; height: 64px; margin: 0 auto; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; color: #fff;
}
.pay-ok { background: #16a34a; }
.pay-bad { background: #dc2626; }
.pay-wait { background: var(--muted); }
.pay-code { font-size: 1.2rem; letter-spacing: 0.08em; user-select: all; }
.pay-order { color: var(--muted); font-size: 0.9rem; margin-top: 2rem; }
.pay-help { color: var(--muted); font-size: 0.9rem; }
