/* ========== BL🌸SSOM – shared styles (beginner friendly) ========== */
:root{
  /* === BL🌸SSOM brand from your screenshot === */
  --brand:        #C7A2AC; /* primary accent (mauve) */
  --brand-strong: #824E5C; /* stronger mauve for hover/active */
  --brand-light:  #ECDFE3; /* light tint for borders/bg */
  --accent-ice:   #D7EEFE; /* ice blue accent */
  --accent-sand:  #F9EDC0; /* pale yellow accent */
  --rose-1:       #A06273;
  --rose-2:       #B3828E;
  --rose-3:       #C6A1AA;

  /* Text from your screenshot */
  --heading: #787878;
  --body:    #6E6666;

  /* Keep dark UI but ensure contrast */
  /* Light, low-contrast page background for easier reading */
  --bg:     #f5f6f7;   /* very light gray page background */
  --panel:  #ffffff;   /* card/nav background */
  --ink:    #0f172a;   /* dark body text for light background */
  --muted:  #6b7280;   /* secondary text on light */
  --border: rgba(15,23,42,0.06);

  /* Shared */
  --radius: 12px;
  --shadow: 0 8px 20px rgba(15,23,42,0.06);
  --font:   system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  --maxw:   1100px;
}

*{ box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin:0; font-family:var(--font); line-height:1.6; color:var(--ink);
  /* very subtle decorative tints instead of dark navy blobs */
  background:
    radial-gradient(1200px 540px at 12% -10%, rgba(199,162,172,0.04) 8%, transparent 55%),
    radial-gradient(900px 520px at 110% -20%, rgba(215,238,254,0.04) 0%, transparent 55%),
    var(--bg);
}

.container{ width:min(100%, var(--maxw)); margin-inline:auto; padding:16px; }
@media (min-width: 768px){
  .container{ padding:20px; }
}
/* Make media responsive by default */
img, video{ max-width:100%; height:auto; }
.btn-login {
  background: linear-gradient(180deg,#e11d48,#be185d);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 18px;
  box-shadow: 0 8px 20px rgba(225,29,72,0.10);
  text-decoration: none;
  transition: background 0.18s;
}
.btn-login:hover {
  background: #be185d;
}
.muted{ color: var(--muted); }
.card{
  /* keep cards crisp on light background */
  background: linear-gradient(180deg, rgba(15,23,42,0.02), rgba(15,23,42,0.01));
  border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow);
  padding: 18px;
}
@media (max-width: 480px){ .card{ padding:14px; } }
.btn{
  display:inline-block; padding:10px 14px; border-radius:999px; font-weight:600; cursor:pointer;
  background: var(--brand); color: #1f2937; border: none;
  box-shadow: 0 6px 14px rgba(199,162,172,.35);
}
.btn:hover{ background: var(--brand-strong); color:#fff; }
.btn-secondary {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  background: var(--brand-light);
  color: var(--brand-strong);
  border: 2px solid var(--brand-strong);
  box-shadow: 0 2px 8px rgba(199,162,172,0.10);
  transition: background 0.2s, color 0.2s, border 0.2s;
  font-size: 1rem;
  min-width: 100px;
  text-align: center;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--brand-strong);
  color: #fff;
  border-color: var(--brand-strong);
  box-shadow: 0 4px 16px rgba(199,162,172,0.18);
}

/* Header / Nav */
.header, header{ position: sticky; top:0; z-index:10; backdrop-filter: blur(6px) saturate(140%);
  background: var(--panel); border-bottom:1px solid var(--border); }
.navbar{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand{ display:flex; align-items:center; gap:10px; color:var(--ink); }
.brand .logo{
  width:40px; height:40px; border-radius:10px; display:grid; place-items:center;
  background: var(--brand-strong); border:1px solid var(--brand-light);
  box-shadow: var(--shadow);
}
.brand .logo svg{ display:block; color: var(--accent-ice); }

/* Darken header text and nav links for better contrast */
header .brand{ color: var(--brand-strong); }
header .brand strong{ color: var(--brand-strong); font-weight:800; }
header nav a{ color: var(--ink); }
header nav a.active, header nav a:hover{ color: var(--brand-strong); background: rgba(130,78,92,0.06); }

/* Menu */
nav a{ padding:8px 10px; border-radius:8px; }
nav a.active, nav a:hover{ background: rgba(199,162,172,0.08); }

/* Sections */
h1, h2, h3{ margin: 0 0 8px; }
section{ margin: 24px 0; }

/* Simple grids */
.grid{ display:grid; gap: 14px; }
@media (min-width: 860px){
  .grid.cols-3{ grid-template-columns: repeat(3, 1fr); }
  .grid.cols-2{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .grid.cols-3, .grid.cols-2{ grid-template-columns: 1fr !important; }
}

/* Forms */
label{ font-weight:600; }
input[type="text"], input[type="search"], input[type="email"], select, textarea{
  width:100%; padding:10px 12px; border-radius:10px; border:1px solid var(--border);
  background: rgba(15,23,42,0.02); color: var(--ink);
}
textarea{ min-height:120px; resize:vertical; }

/* Checkbox groups */
.filter-group{ margin-top:6px; }
.checkbox-row{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:8px; }
.checkbox-grid{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:8px; margin-top:8px; }
.cb{ display:flex; gap:8px; align-items:center; padding:6px 8px; border-radius:8px; background: rgba(15,23,42,0.01); }
.cb input[type="checkbox"]{ width:16px; height:16px; accent-color: var(--brand-strong); }
.cb span{ font-weight:500; color:var(--ink); }
@media (max-width: 520px){ .checkbox-grid{ grid-template-columns: 1fr; } }

/* Dropdown-with-checkboxes component */
.dd {
  position: relative;
}
.dd-toggle{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:10px 12px; border-radius:10px; border:1px solid var(--border);
  background: rgba(15,23,42,0.02); cursor:pointer; width:100%;
}
.dd-toggle .chips{ display:flex; gap:6px; flex-wrap:wrap; max-width:78%; }
.dd-toggle .hint{ color:var(--muted); font-weight:500; }
.dd-panel{
  position:absolute; z-index:30; left:0; right:0; margin-top:8px; background:var(--panel);
  border:1px solid var(--border); border-radius:10px; box-shadow:var(--shadow); padding:8px; max-height:260px; overflow:auto;
}
.dd-option{ display:flex; gap:8px; align-items:center; padding:8px; border-radius:8px; cursor:pointer; }
.dd-option:hover{ background: rgba(15,23,42,0.02); }
.dd-option input[type="checkbox"]{ accent-color: var(--brand-strong); width:16px; height:16px; }
.chip{ display:inline-block; padding:6px 8px; border-radius:999px; background: linear-gradient(90deg, var(--brand-light), rgba(199,162,172,0.06)); color:var(--brand-strong); font-weight:700; font-size:12px; }
@media (max-width: 520px){ .dd-toggle .chips{ max-width:100%; } }

/* Small helper for placeholder */
.dd-empty{ color:var(--muted); font-weight:500; }

/* Align form controls inside the 3-column filters grid */
.grid.cols-3 > label{ display:flex; flex-direction:column; gap:8px; }
.grid.cols-3 > label .muted{ display:block; }
.grid.cols-3 select, .grid.cols-3 input[type="search"], .grid.cols-3 .dd-toggle{
  min-height:44px; height:44px; display:flex; align-items:center; box-sizing:border-box;
}
/* ensure label text spacing is consistent */
.grid.cols-3 > label .muted{ margin-bottom:6px; }

/* Footer */
footer{ margin-top: 36px; padding: 20px 0 40px; color: var(--ink);
  border-top:1px solid var(--border); }
/* keep less-important snippets muted while main footer text is readable */
footer .muted, footer small, footer .copyright { color: var(--muted); }
footer nav a{ color: var(--brand-strong); }
footer nav a:hover, footer nav a:focus{ text-decoration:underline; }

/* Pricing plans styling */
.plans .plan{ padding:18px; text-align:left; display:flex; flex-direction:column; gap:12px; align-items:flex-start; }
.plans .plan header{ width:100%; }
.plans .badge{ display:inline-block; padding:6px 10px; border-radius:999px; font-size:12px; background: linear-gradient(90deg, var(--brand-light), rgba(199,162,172,0.12)); color:var(--brand-strong); font-weight:700; margin-bottom:8px; }
.plans .price{ font-size:28px; font-weight:800; color:var(--brand-strong); }
.plans .per{ color:var(--muted); font-size:14px; margin-left:6px; }
.plans .features{ margin:8px 0 12px 0; padding-left:18px; color:var(--ink); }
.plans .features{ margin:8px 0 12px 0; padding:0; list-style:none; display:flex; flex-direction:column; gap:6px; }
.plans .features li{ padding:6px 10px; border-radius:8px; background: rgba(15,23,42,0.01); position:relative; padding-left:18px; }
.plans .features li:before{ content:''; position:absolute; left:8px; top:50%; transform:translateY(-50%); width:8px; height:8px; border-radius:50%; background:var(--brand-strong); }
.plans .plan .btn{ align-self:stretch; }
.plans .recommended{ border:1px solid rgba(130,78,92,0.12); box-shadow: 0 8px 20px rgba(130,78,92,0.04); transform:translateY(-4px); }

@media (max-width: 860px){
  .grid.cols-3.plans{ grid-template-columns: 1fr; }
}

/* --- Pricing page brand helpers (moved from pricing.html) --- */
.brand-bg{ background: var(--brand); color: #111827; }
.brand-strong-bg{ background: var(--brand-strong); color: #fff; }
.brand-text{ color: var(--brand-strong); }
.plan-cta{ background: var(--brand-strong); color: #fff; border-radius: 8px; padding: 8px 12px; display:inline-block; text-align:center; }
.plan-cta:hover{ background: var(--brand); color: #fff; }
svg.brand-icon{ color: var(--brand-strong); }

/* small helper for the toggle hint */
.save-20-note{ font-size:0.85rem; color:var(--muted); margin-top:0.4rem; }

/* Accessibility: honor reduced motion preference */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}
