@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Custom Properties ── */
:root {
  --blue: #1B5FC9;
  --blue-bright: #2E6BE6;
  --blue-light: #5B9BF5;
  --blue-bg: #EEF3FD;
  --blue-bar: linear-gradient(135deg, #2E6BE6, #5B9BF5);
  --green: #1B8C5A;
  --green-light: #34C990;
  --green-bg: #E8F7F0;
  --green-bar: linear-gradient(135deg, #1B8C5A, #34C990);
  --purple: #7B4FCA;
  --purple-light: #B07EF5;
  --purple-bg: #F1EBFD;
  --purple-bar: linear-gradient(135deg, #7B4FCA, #B07EF5);
  --bg: #F7F9FC;
  --navy: #0F1D3A;
  --muted: #5A6B8C;
  --muted-light: #6B7FA0;
  --card-bg: #fff;
  --border: rgba(30, 60, 120, 0.1);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-height: 72px;
  --max-width: 1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo svg { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--navy); }

.nav-back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-back:hover { color: var(--navy); }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: #fff;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--navy);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
}

.footer-right a { transition: color 0.2s; }
.footer-right a:hover { color: var(--navy); }

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: var(--muted-light);
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--blue-bright);
  color: #fff;
  padding: 14px 32px;
}

.btn-primary:hover { box-shadow: 0 4px 16px rgba(46, 107, 230, 0.3); }

.btn-primary.green { background: var(--green); }
.btn-primary.green:hover { box-shadow: 0 4px 16px rgba(27, 140, 90, 0.3); }

.btn-primary.purple { background: var(--purple); }
.btn-primary.purple:hover { box-shadow: 0 4px 16px rgba(123, 79, 202, 0.3); }

.btn-dark {
  background: var(--navy);
  color: #fff;
  padding: 14px 28px;
}

.btn-dark:hover { box-shadow: 0 4px 16px rgba(15, 29, 58, 0.3); }

.btn-secondary {
  background: transparent;
  color: var(--blue-bright);
  padding: 14px 0;
  font-size: 14px;
}

.btn-secondary:hover { opacity: 0.8; }

/* ── Badge / Pill ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  background: var(--blue-bg);
  color: var(--blue-bright);
}

.badge.green { background: var(--green-bg); color: var(--green); }
.badge.purple { background: var(--purple-bg); color: var(--purple); }

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ── Sections ── */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 32px;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 48px;
  text-align: center;
}

/* ── Content pages (privacy, support) ── */
.content-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 32px 80px;
}

.content-page h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
}

.content-page h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.content-page p {
  color: var(--muted);
  margin-bottom: 12px;
}

.content-page ul {
  list-style: disc;
  padding-left: 24px;
  color: var(--muted);
  margin-bottom: 12px;
}

.content-page li { margin-bottom: 8px; }
.content-page li strong { color: var(--navy); }

.content-page a {
  color: var(--blue-bright);
  text-decoration: underline;
}

.content-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

.content-page .back-link:hover { color: var(--navy); }

/* ── Cards ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 60, 120, 0.2);
  box-shadow: 0 8px 30px rgba(15, 29, 58, 0.06);
}

/* ── Utility ── */
.text-blue { color: var(--blue-bright); }
.text-green { color: var(--green); }
.text-purple { color: var(--purple); }
.text-muted { color: var(--muted); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ── Stars ── */
.stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stars svg { width: 16px; height: 16px; fill: #F5A623; }

.stars-label {
  margin-left: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* ── Support form ── */
.support-form { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }

.support-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

.support-form select,
.support-form textarea,
.support-form input[type="email"] {
  font: inherit;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.support-form select:focus,
.support-form textarea:focus,
.support-form input[type="email"]:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(46, 107, 230, 0.15);
}

.support-form textarea { resize: vertical; min-height: 140px; }

.support-form-counter {
  align-self: flex-end;
  font-size: 12px;
  color: var(--muted-light);
}

.support-form button[type="submit"] {
  align-self: flex-start;
  margin-top: 4px;
}

.support-form button[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.support-form-status {
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 12px;
}

.support-form-status:empty { display: none; }
.support-form-status.success { background: var(--blue-bg); color: var(--blue); }
.support-form-status.error { background: #FDECEC; color: #8C1B1B; }
.support-form-status a { color: inherit; text-decoration: underline; }

.support-form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .footer { padding: 24px 20px; flex-direction: column; text-align: center; }
  .footer-right { flex-wrap: wrap; justify-content: center; }
  .section { padding: 48px 20px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .section-title { font-size: 26px; }
  .content-page { padding: 40px 20px 60px; }
}
