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

:root {
  --navy:    #1A1F6E;
  --purple:  #4B3FBF;
  --violet:  #7B61FF;
  --lavender:#C4B9FF;
  --white:   #FFFFFF;
  --off:     #F5F4FF;
  --gray:    #6B7280;
  --dark:    #0F1240;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(75,63,191,0.1);
  z-index: 100;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 800;
  color: var(--navy);
  text-decoration: none;
}

.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(75,63,191,0.35);
}

.nav-badge {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: white;
  font-size: 11px; font-weight: 600;
  padding: 6px 18px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(75,63,191,0.4);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  background: var(--dark);
  overflow: hidden;
}

/* animated gradient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: drift 8s ease-in-out infinite alternate;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(75,63,191,0.6), transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(123,97,255,0.4), transparent 70%);
  bottom: -80px; right: -80px;
  animation-delay: -3s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(196,185,255,0.2), transparent 70%);
  top: 40%; left: 50%;
  animation-delay: -5s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.05); }
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(196,185,255,0.12);
  border: 1px solid rgba(196,185,255,0.25);
  color: var(--lavender);
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease both;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-headline .accent {
  background: linear-gradient(90deg, var(--lavender), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 48px;
  animation: fadeUp 0.6s 0.2s ease both;
}

/* ── WAITLIST FORM ── */
.waitlist-form {
  display: flex; gap: 10px;
  max-width: 480px; width: 100%;
  margin: 0 auto;
  animation: fadeUp 0.6s 0.3s ease both;
}

.waitlist-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(196,185,255,0.25);
  background: rgba(255,255,255,0.07);
  color: white;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.waitlist-input::placeholder { color: rgba(255,255,255,0.35); }
.waitlist-input:focus {
  border-color: var(--violet);
  background: rgba(255,255,255,0.1);
}

.waitlist-btn {
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: white;
  border: none; border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(123,97,255,0.4);
}
.waitlist-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(123,97,255,0.55);
}
.waitlist-btn:active { transform: translateY(0); }

.success-msg {
  color: var(--lavender);
  font-size: 15px; font-weight: 500;
  margin-top: 16px;
  animation: fadeUp 0.4s ease both;
}

.hero-trust {
  margin-top: 24px;
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  animation: fadeUp 0.6s 0.4s ease both;
}

.hero-trust span { color: var(--lavender); font-weight: 600; }

/* ── SOCIAL PROOF STRIP ── */
.proof-strip {
  background: var(--off);
  border-top: 1px solid rgba(75,63,191,0.08);
  border-bottom: 1px solid rgba(75,63,191,0.08);
  padding: 32px 24px;
  text-align: center;
}

.proof-strip p {
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--gray);
  margin-bottom: 24px;
}

.testimonial-row {
  display: flex; flex-wrap: wrap;
  gap: 16px; justify-content: center;
  max-width: 860px; margin: 0 auto;
}

.testimonial-card {
  background: white;
  border: 1px solid rgba(75,63,191,0.1);
  border-radius: 16px;
  padding: 32px 40px;
  max-width: 720px;
  text-align: left;
  box-shadow: 0 2px 16px rgba(75,63,191,0.06);
}

.testimonial-stars { color: #F59E0B; font-size: 16px; margin-bottom: 14px; }

.testimonial-quote {
  font-size: 18px; line-height: 1.7;
  color: var(--navy); font-style: italic;
  margin-bottom: 16px;
}

.testimonial-author {
  display: flex; align-items: center; gap: 10px;
}

.author-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}

.author-avatar-img {
  width: 34px; height: 34px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  background: white; border: 1px solid rgba(75,63,191,0.1);
}

.author-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.author-role { font-size: 11px; color: var(--gray); }

/* ── FEATURES ── */
.features {
  padding: 96px 24px;
  max-width: 1080px; margin: 0 auto;
}

.section-label {
  text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--purple);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; color: var(--navy);
  text-align: center;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  text-align: center;
  color: var(--gray); font-size: 17px; line-height: 1.6;
  max-width: 520px; margin: 0 auto 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--off);
  border: 1px solid rgba(75,63,191,0.08);
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--violet));
  opacity: 0;
  transition: opacity 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(75,63,191,0.12);
  border-color: rgba(75,63,191,0.2);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(75,63,191,0.3);
}

.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px; font-weight: 800;
  color: var(--navy); margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px; line-height: 1.7;
  color: var(--gray);
}

/* ── PAIN → SOLUTION ── */
.pain-section {
  background: var(--dark);
  padding: 96px 24px;
  position: relative; overflow: hidden;
}

.pain-section .orb-bg {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(75,63,191,0.3), transparent 70%);
  border-radius: 50%;
  top: -200px; right: -200px;
  filter: blur(60px);
}

.pain-inner {
  max-width: 900px; margin: 0 auto;
  position: relative; z-index: 2;
}

.pain-section .section-label { color: var(--lavender); }
.pain-section .section-title { color: var(--white); }
.pain-section .section-sub { color: rgba(255,255,255,0.5); }

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 0;
}

@media (max-width: 600px) {
  .pain-grid { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
  nav { padding: 14px 20px; }
  .features { padding: 64px 20px; }
}

.pain-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(196,185,255,0.1);
  border-radius: 16px;
  padding: 24px;
  display: flex; gap: 14px; align-items: flex-start;
}

.pain-x {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(239,68,68,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #F87171; font-size: 14px; font-weight: 700;
}

.pain-text { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.65); }
.pain-text strong { color: white; display: block; margin-bottom: 4px; font-size: 15px; }

/* ── PRICING TEASER ── */
.pricing-teaser {
  padding: 96px 24px;
  background: var(--off);
  text-align: center;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1120px; margin: 0 auto;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: white;
  border: 1px solid rgba(75,63,191,0.12);
  border-radius: 16px;
  padding: 28px 20px;
  display: flex; flex-direction: column;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(75,63,191,0.12);
}

.plan-card.featured {
  border-color: var(--violet);
  box-shadow: 0 8px 32px rgba(123,97,255,0.18);
}

.plan-card-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: white; white-space: nowrap;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 4px 12px; border-radius: 100px;
}

.plan-card-name {
  font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800;
  color: var(--navy); margin-bottom: 12px;
}

.plan-card-price {
  font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 800;
  color: var(--purple); line-height: 1; white-space: nowrap;
}
.plan-card-price-sm { font-size: 24px; }

.plan-card-unit {
  font-size: 12px; color: var(--gray); margin-top: 6px;
}

.plan-card-size {
  font-size: 13px; font-weight: 600; color: var(--navy);
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(75,63,191,0.08);
}

.plan-card-cta {
  margin-top: auto;
  display: block; text-align: center;
  background: var(--off); color: var(--purple);
  font-size: 13px; font-weight: 700;
  padding: 10px 12px; border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.plan-card-size { margin-bottom: 20px; }
.plan-card-cta:hover { background: var(--purple); color: white; }

.plan-card.featured .plan-card-cta {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: white;
}
.plan-card.featured .plan-card-cta:hover { box-shadow: 0 6px 20px rgba(75,63,191,0.4); }

@media (max-width: 900px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); max-width: 480px; }
}
@media (max-width: 480px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 320px; }
}

/* ── FINAL CTA ── */
.final-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--purple) 100%);
  padding: 96px 24px;
  text-align: center;
  position: relative; overflow: hidden;
}

.final-cta .orb-bg {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,97,255,0.3), transparent 70%);
  border-radius: 50%; bottom: -200px; left: 50%;
  transform: translateX(-50%);
  filter: blur(60px);
}

.final-cta-inner { position: relative; z-index: 2; }

.final-cta .section-title { color: white; margin-bottom: 16px; }
.final-cta .section-sub { color: rgba(255,255,255,0.6); margin-bottom: 40px; }

.paw-row {
  font-size: 28px; letter-spacing: 8px;
  margin-bottom: 32px; opacity: 0.4;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  padding: 32px 24px;
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}

footer a { color: var(--lavender); text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* No-JS / pre-interactive fallback: never leave content hidden. */
.no-reveal .reveal { opacity: 1; transform: none; }

/* ── BLAZOR FRAMEWORK UI ── */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* ══════════════════════════════════════════════════════════════════
   BLOG + ADMIN + AUTH  (added for the blog feature)
   The site nav is position:fixed, so these page wrappers clear it.
   ══════════════════════════════════════════════════════════════════ */

/* ── Public blog ── */
.blog-list, .blog-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 128px 24px 96px;
  position: relative; z-index: 1;
}
.blog-list-header { text-align: center; margin-bottom: 56px; }
.blog-list-header h1 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(32px, 5vw, 52px); color: var(--navy);
}
.blog-list-header p { color: var(--gray); margin-top: 12px; font-size: 18px; }

.blog-cards { display: grid; gap: 28px; }
.blog-card {
  display: block; text-decoration: none;
  background: var(--white);
  border: 1px solid rgba(75,63,191,0.12);
  border-radius: 18px; padding: 28px 30px;
  box-shadow: 0 4px 20px rgba(26,31,110,0.05);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(75,63,191,0.14);
  border-color: rgba(123,97,255,0.35);
}
.blog-card-date { font-size: 13px; color: var(--violet); font-weight: 600; letter-spacing: 0.3px; }
.blog-card-title {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 24px; color: var(--navy); margin: 8px 0 10px;
}
.blog-card-excerpt { color: var(--gray); line-height: 1.6; }
.blog-card-more { display: inline-block; margin-top: 14px; color: var(--purple); font-weight: 600; font-size: 14px; }
.blog-empty { text-align: center; color: var(--gray); padding: 40px 0; }

/* ── Single article ── */
.blog-article-header { margin-bottom: 36px; }
.blog-article-header h1 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(30px, 5vw, 46px); color: var(--navy); margin-top: 10px; line-height: 1.15;
}
.blog-article-body { font-size: 18px; line-height: 1.75; color: #2a2f5a; }
.blog-article-body h2 { font-family: 'Syne', sans-serif; font-size: 28px; margin: 32px 0 12px; color: var(--navy); }
.blog-article-body h3 { font-family: 'Syne', sans-serif; font-size: 22px; margin: 26px 0 10px; color: var(--navy); }
.blog-article-body p { margin: 16px 0; }
.blog-article-body ul, .blog-article-body ol { margin: 16px 0 16px 26px; }
.blog-article-body li { margin: 6px 0; }
.blog-article-body a { color: var(--purple); }
.blog-article-body blockquote {
  border-left: 4px solid var(--lavender); padding-left: 18px;
  margin: 20px 0; color: var(--gray); font-style: italic;
}

/* ── Auth / login ── */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 100px 20px 40px; position: relative; z-index: 1;
}
.auth-card {
  width: 100%; max-width: 400px;
  background: var(--white); border: 1px solid rgba(75,63,191,0.12);
  border-radius: 20px; padding: 40px 36px;
  box-shadow: 0 12px 40px rgba(26,31,110,0.10);
}
.auth-card h1 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 28px; color: var(--navy); }
.auth-sub { color: var(--gray); margin: 6px 0 24px; font-size: 15px; }
.auth-label { display: block; font-weight: 600; font-size: 14px; color: var(--navy); margin: 16px 0 6px; }
.auth-input, .admin-input {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(75,63,191,0.25); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--navy); background: var(--off);
}
.auth-input:focus, .admin-input:focus { outline: none; border-color: var(--violet); background: #fff; }
.auth-remember { display: flex; align-items: center; gap: 8px; margin: 18px 0; font-size: 14px; color: var(--gray); }
.auth-btn, .admin-btn {
  display: inline-block; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--purple), var(--violet)); color: #fff;
  font-family: inherit; font-weight: 600; font-size: 15px;
  padding: 12px 24px; border-radius: 100px; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.auth-btn { width: 100%; margin-top: 8px; }
.auth-btn:hover, .admin-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(75,63,191,0.4); }
.auth-btn:disabled, .admin-btn:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
.auth-error { color: #DC2626; background: #FEF2F2; border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-bottom: 4px; }

/* ── Admin ── */
.admin-page {
  max-width: 900px; margin: 0 auto;
  padding: 120px 24px 80px; position: relative; z-index: 1;
}
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; gap: 16px; }
.admin-header h1 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 32px; color: var(--navy); }
.admin-header-actions { display: flex; align-items: center; gap: 16px; }
.admin-link { color: var(--purple); font-weight: 600; text-decoration: none; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 15px; }
.admin-link:hover { text-decoration: underline; }
.admin-empty { color: var(--gray); padding: 40px 0; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--gray); padding: 10px 12px; border-bottom: 2px solid rgba(75,63,191,0.12);
}
.admin-table td { padding: 14px 12px; border-bottom: 1px solid rgba(75,63,191,0.08); color: var(--navy); }
.admin-actions { display: flex; gap: 14px; justify-content: flex-end; }
.admin-actions a, .admin-link-btn { color: var(--purple); font-weight: 600; text-decoration: none; font-size: 14px; background: none; border: none; cursor: pointer; font-family: inherit; }
.admin-actions a:hover, .admin-link-btn:hover { text-decoration: underline; }
.admin-status { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 100px; }
.admin-status.is-published { background: #ECFDF5; color: #059669; }
.admin-status.is-draft { background: #FEF3C7; color: #B45309; }

/* ── Editor ── */
.editor-form { display: flex; flex-direction: column; }
.admin-label { font-weight: 600; font-size: 14px; color: var(--navy); margin: 18px 0 6px; }
.admin-hint { font-weight: 400; color: var(--gray); }
.editor-quill { background: #fff; border-radius: 10px; }
.editor-quill .ql-container { min-height: 320px; font-family: inherit; font-size: 16px; }
.admin-checkbox { display: flex; align-items: center; gap: 8px; margin: 20px 0; font-size: 15px; color: var(--navy); }
.editor-actions { margin-top: 8px; }
