@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --bg-void: #0a0b0f;
  --bg-deep: #0f1117;
  --bg-base: #13151c;
  --bg-surface: #1a1d27;
  --bg-raised: #20243380;
  --bg-hover: #ffffff08;
  --bg-active: #ffffff12;

  --accent: #6c63ff;
  --accent-bright: #7c74ff;
  --accent-dim: #6c63ff33;
  --accent-glow: #6c63ff22;

  --green: #3ba55d;
  --red: #ed4245;
  --yellow: #faa61a;
  --blue: #5865f2;

  --text-primary: #e8eaf0;
  --text-secondary: #8b8fa8;
  --text-muted: #4a4d63;
  --text-link: #7c74ff;

  --border: #ffffff0f;
  --border-strong: #ffffff1a;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --shadow-sm: 0 1px 3px #00000040;
  --shadow-md: 0 4px 16px #00000060;
  --shadow-lg: 0 8px 32px #00000080;
  --shadow-accent: 0 0 40px #6c63ff18;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; outline: none; }
input, textarea { font-family: var(--font-body); outline: none; }

::selection { background: var(--accent-dim); color: var(--text-primary); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-active); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Shared utility classes */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
}
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-1px); box-shadow: 0 4px 20px #6c63ff40; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-hover); color: var(--text-primary); border-color: var(--border-strong); }

.btn-danger {
  background: var(--red);
  color: #fff;
  border: none;
}
.btn-danger:hover { filter: brightness(1.1); }

.input-field {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-void);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input-field::placeholder { color: var(--text-muted); }
.input-field:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

.logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.5px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}



/* --- Pricing & Themes --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 40px auto;
  padding: 0 16px;
}
.pricing-card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.quantum::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #ff512f, #f09819);
}
.pricing-card.core::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #5865f2, #9b59b6);
}
.pricing-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 40px; font-weight: 800; margin: 16px 0; }
.pricing-price span { font-size: 16px; font-weight: 400; color: var(--text-secondary); }
.pricing-features { list-style: none; margin: 16px 0 24px; flex: 1; }
.pricing-features li { padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: bold; }

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  background: var(--bg-base);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.comparison-table th, .comparison-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.comparison-table th { background: var(--bg-surface); color: var(--text-primary); font-weight: 600; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .check { color: var(--green); font-weight: bold; }
.comparison-table .cross { color: var(--text-muted); }

/* --- Reviews Section --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: var(--radius-full); background: var(--bg-hover); display: flex; align-items: center; justify-content: center; font-weight: bold; }
.review-author { font-weight: 600; color: var(--text-primary); }
.review-role { font-size: 12px; color: var(--text-muted); }
.review-quote { font-style: italic; color: var(--text-secondary); line-height: 1.5; }

/* --- Multi-step Form Logic --- */
.form-step { display: none; }
.form-step.active { display: block; animation: fadeUp 0.3s ease; }
.step-nav { display: flex; gap: 12px; margin-top: 20px; }
.age-warning { color: var(--yellow); font-size: 12px; margin-top: 4px; display: none; }