/* -----------------------------------------
   SuperMemory Design System (Base Styles)
   Reuse in any new project / website
------------------------------------------*/

/* ---------- COLOR SYSTEM ---------- */
:root {
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;

  --accent: #6b5cff;
  --accent-2: #9b8cff;

  --surface: #f7f7fb;
  --card: #ffffff;

  --border: #e5e7eb;
  --ring: rgba(107,92,255,.35);
  --shadow: 0 10px 30px rgba(17,24,39,.08);
}

/* ---------- BASE TYPOGRAPHY ---------- */
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .4em;
  font-weight: 700;
  line-height: 1.25;
}

p { margin: 0 0 1em; }

/* Utility */
.center { text-align: center; }
.max-720 { max-width: 720px; margin-inline: auto; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.2rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .2s ease;
  text-decoration: none;
  box-shadow: var(--shadow);
}

/* Primary */
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px var(--ring);
}

/* Outline */
.btn-outline {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Light (for gradient sections) */
.btn-light {
  background: #fff;
  border: 1px solid #f3f4f6;
  color: #1f2937;
}

/* Small variant */
.btn.small {
  padding: .55rem .9rem;
  font-size: .9rem;
}

/* ---------- BADGES / TAGS ---------- */
.pill {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid #e6e6ff;
  background: #efefff;
  color: #4f46e5;
  font-size: .8rem;
  font-weight: 700;
}

/* ---------- CARDS ---------- */
.card {
  background: var(--card);
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 20px;
}

/* ---------- TILES (Menu Buttons) ---------- */
.tile {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  transition: .2s;
}
.tile:hover {
  border-color: #d8dbe2;
  box-shadow: var(--shadow);
}
.tile-primary {
  background: #f5f3ff;
  border-color: #e6e1ff;
}

/* ---------- BULLET LIST WITH HEART ICON ---------- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.feature-list li {
  position: relative;
  padding-left: 28px;
}
.feature-list li:before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  background: var(--accent);
  mask: url('assets/heart.svg') center / 70% no-repeat;
  -webkit-mask: url('assets/heart.svg') center / 70% no-repeat;
}



/* ---------- HERO BACKGROUND ---------- */
/* Apply exact gradient spec from user */
.hero, .site-hero, .page-hero, .hero-section, header.hero, .section-hero {
  background:
    radial-gradient(80% 100% at 50% 50%, #ede9fe 0%, #ffffff 50%),
    linear-gradient(180deg, #f1efff 0%, rgba(255,255,255,0) 60%);
  border-bottom: 1px solid var(--border);
}
/* keep a placeholder for inner container if needed */
.hero .container, .site-hero .container, .page-hero .container {}
/* ---------- END HERO BACKGROUND ---------- */

 Apply to common hero class names used across projects */
.hero, .site-hero, .page-hero, .hero-section, header.hero, .section-hero {
  /* Soft brand wash using only theme colors */
  background:
    linear-gradient(135deg, rgba(107,92,255,0.08), rgba(155,140,255,0.06)),
    var(--surface);
  border-bottom: 1px solid var(--border);
}

/* Optional inner container helper (if project uses .hero .container) */
.hero .container, .site-hero .container, .page-hero .container {
  /* No layout changes here; keep spacing rules in project CSS */
}

/* ---------- */



/* ---------- FOOTER BUTTONS ---------- */
/* Normalize all clickable controls inside the footer to DS Primary */
footer button,
footer input[type="submit"],
footer input[type="button"],
footer a.button,
footer .button,
footer .buttons a,
footer .wp-block-button__link,
footer .wp-element-button,
footer a.btn,
footer .btn,
.site-footer button,
.site-footer input[type="submit"],
.site-footer input[type="button"],
.site-footer a.button,
.site-footer .button,
.site-footer .buttons a,
.site-footer .wp-block-button__link,
.site-footer .wp-element-button,
.site-footer a.btn,
.site-footer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.2rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .2s ease;
  text-decoration: none;
  box-shadow: var(--shadow);
  background: var(--accent);
  color: #fff !important;
}

footer button:hover,
footer input[type="submit"]:hover,
footer input[type="button"]:hover,
footer a.button:hover,
footer .button:hover,
footer .buttons a:hover,
footer .wp-block-button__link:hover,
footer .wp-element-button:hover,
footer a.btn:hover,
footer .btn:hover,
.site-footer button:hover,
.site-footer input[type="submit"]:hover,
.site-footer input[type="button"]:hover,
.site-footer a.button:hover,
.site-footer .button:hover,
.site-footer .buttons a:hover,
.site-footer .wp-block-button__link:hover,
.site-footer .wp-element-button:hover,
.site-footer a.btn:hover,
.site-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px var(--ring);
}

/* Optional outline variant if themes use .is-style-outline or .btn-outline */
footer .is-style-outline,
.site-footer .is-style-outline,
footer .btn-outline,
.site-footer .btn-outline {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text) !important;
}
footer .is-style-outline:hover,
.site-footer .is-style-outline:hover,
footer .btn-outline:hover,
.site-footer .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}
/* ---------- END FOOTER BUTTONS ---------- */



/* ---------- LOGO COLORS ---------- */
/* Covers common logo selectors (text & inline SVG) */
.logo, .site-logo, .brand, .navbar-brand, .site-title, .header .logo, .site-header .logo {
  color: var(--accent);
}
.logo a, .site-logo a, .brand a, .navbar-brand a, .site-title a {
  color: inherit;
  text-decoration: none;
}
.logo svg path, .site-logo svg path, .brand svg path, .navbar-brand svg path {
  fill: var(--accent);
}

/* Footer contrast: keep readable against light footers */
footer .logo, .site-footer .logo, footer .site-logo, .site-footer .site-logo, footer .brand, .site-footer .brand {
  color: var(--text);
}
footer .logo svg path, .site-footer .logo svg path,
footer .site-logo svg path, .site-footer .site-logo svg path,
footer .brand svg path, .site-footer .brand svg path {
  fill: var(--text);
}
/* ---------- END LOGO COLORS ---------- */

