:root {
  --primary: #7c5cfc;
  --primary-deep: #5e42e8;
  --bg: #0f111a;
  --surface: #1c1f2e;
  --surface-muted: #242838;
  --border: #2a2f42;
  --text: #f5f7fa;
  --text-muted: #9aa3b8;
  --danger: #e57373;
  --success: #66bb6a;
  --radius: 14px;
  --max-width: 760px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(28, 31, 46, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 12px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(124, 92, 252, 0.12);
  border-color: rgba(124, 92, 252, 0.25);
  text-decoration: none;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.hero {
  text-align: center;
  margin-bottom: 48px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.2;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #fff, #b5a4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 17px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(124, 92, 252, 0.4);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.card-icon.privacy {
  background: rgba(124, 92, 252, 0.18);
}

.card-icon.delete {
  background: rgba(229, 115, 115, 0.18);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.card p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
}

.btn-danger {
  background: linear-gradient(135deg, #c62828, #e53935);
  color: #fff;
}

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

.content {
  max-width: var(--max-width);
}

.content h1 {
  font-size: 32px;
  margin: 0 0 8px;
}

.content .meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.content h2 {
  font-size: 20px;
  margin: 36px 0 12px;
  color: #e8eaf0;
}

.content h3 {
  font-size: 16px;
  margin: 24px 0 8px;
  color: var(--text-muted);
}

.content p,
.content li {
  color: #d0d5e0;
}

.content ul,
.content ol {
  padding-left: 22px;
}

.content li {
  margin-bottom: 8px;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.content th,
.content td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}

.content th {
  background: var(--surface-muted);
  color: var(--text);
}

.content td {
  color: var(--text-muted);
}

.callout {
  background: rgba(124, 92, 252, 0.1);
  border: 1px solid rgba(124, 92, 252, 0.28);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 20px 0;
  font-size: 14px;
}

.callout.warning {
  background: rgba(229, 115, 115, 0.1);
  border-color: rgba(229, 115, 115, 0.3);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  max-width: 560px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group .hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.2);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.success-panel {
  text-align: center;
  padding: 48px 24px;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(102, 187, 106, 0.15);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 36px;
  margin: 0 auto 20px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.site-footer a {
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-card {
    padding: 24px 20px;
  }
}
