/* DazPlay marketing site — shared styles
   Brand: violet #7C3AED → magenta #EC4899 */

:root {
  --brand-1: #7C3AED;
  --brand-2: #EC4899;
  --bg: #FFFFFF;
  --bg-soft: #FAFAFB;
  --surface: #F4F4F7;
  --text: #0F0F14;
  --text-muted: #5B5B6E;
  --border: rgba(15, 15, 20, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --gap: 20px;
  --maxw: 880px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Display", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0B11;
    --bg-soft: #111118;
    --surface: #181822;
    --text: #F5F5F7;
    --text-muted: #9696AB;
    --border: rgba(255, 255, 255, 0.08);
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-1);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
a:hover { opacity: 0.8; }

/* Layout */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 24px 80px;
}

/* Header */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.28);
}
.nav-name {
  font-weight: 800;
  font-size: 18px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); opacity: 1; }

/* Hero */
.hero {
  text-align: center;
  padding: 40px 0 56px;
}
.hero-mark {
  width: 96px;
  height: 96px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
  color: #fff;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  box-shadow: 0 18px 50px rgba(124, 58, 237, 0.35);
}
.hero h1 {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -1px;
  line-height: 1.15;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 auto 28px;
  max-width: 560px;
}

/* Buttons */
.btn-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.3);
}
.btn-primary:hover { transform: translateY(-1px); opacity: 1; }
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

/* Sections */
section {
  margin-top: 56px;
}
section h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.feature {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(236, 72, 153, 0.15));
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.feature h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
}
.feature p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Doc / policy pages */
.doc h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}
.doc .meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}
.doc h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 8px;
}
.doc p { color: var(--text-muted); }
.doc strong { color: var(--text); }

/* Card (support contact) */
.card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
}
.card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.card-row:last-child { border-bottom: none; }
.card-row .ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(236, 72, 153, 0.15));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 16px;
}
.card-row .label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.card-row .value {
  font-weight: 600;
}

/* FAQ */
details {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 10px;
}
details[open] { background: var(--surface); }
summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
details[open] summary::after { content: "−"; }
details p {
  color: var(--text-muted);
  margin: 10px 0 0;
  font-size: 14px;
}

/* Footer */
footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
footer .links {
  margin-bottom: 8px;
}
footer .links a {
  color: var(--text-muted);
  margin: 0 10px;
}
footer .links a:hover { color: var(--text); opacity: 1; }
