/* ============================================================
   FAERY TECH — styles.css
   Combined: base styles + commission page + quiz page
   Art site uses art-styles.css separately
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --space:        #06061a;
  --deep:         #0d0d2b;
  --purple:       #7b2fff;
  --purple-glow:  #a259ff;
  --green:        #00ff88;
  --green-dim:    #00cc6a;
  --lavender:     #c4b5fd;
  --star-white:   #f0f0ff;
  --muted:        #b8b8cc;
  --card-bg:      rgba(255, 255, 255, 0.04);
  --card-border:  rgba(123, 47, 255, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--space);
  color: var(--star-white);
  overflow-x: hidden;
  padding-top: 95px;
  font-size: 1.05rem;
}

h1, h2, h3, h4 { font-family: 'Cinzel', serif; letter-spacing: 0.03em; }
a { color: inherit; text-decoration: none; }

section { padding: 5rem 0; scroll-margin-top: 100px; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ── Starfield ── */
#starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
nav, main, footer { position: relative; z-index: 1; }

/* ── Navbar ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: auto; min-height: 95px; padding: 0.4rem 0;
  background: rgba(6, 6, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  display: flex; align-items: center; z-index: 100;
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
  flex-wrap: nowrap; gap: 1rem;
}

.nav-brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'Cinzel', serif; font-size: 1.1rem; font-weight: 900;
  background: linear-gradient(135deg, var(--purple-glow), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; letter-spacing: 0.06em;
  flex-shrink: 0; white-space: nowrap;
}

.nav-brand img {
  height: 90px;
  width: auto;
  max-height: 90px;
  max-width: 220px;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
  display: block;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 0.9rem;
  list-style: none;
  align-items: center;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.78rem; font-weight: 700; color: var(--lavender);
  letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green); }

/* ── Buttons ── */
.btn-primary {
  display: inline-block; padding: 0.85rem 2.2rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-glow));
  color: #fff; font-family: 'Nunito', sans-serif; font-weight: 700;
  font-size: 0.95rem; border-radius: 50px; letter-spacing: 0.05em;
  box-shadow: 0 0 30px rgba(123, 47, 255, 0.45);
  transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(123, 47, 255, 0.7); }

.btn-outline {
  display: inline-block; padding: 0.85rem 2.2rem; background: transparent;
  color: var(--green); font-family: 'Nunito', sans-serif; font-weight: 700;
  font-size: 0.95rem; border-radius: 50px; letter-spacing: 0.05em;
  border: 2px solid var(--green); transition: background 0.2s, color 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn-outline:hover { background: var(--green); color: var(--space); transform: translateY(-2px); }

.btn-green {
  display: inline-block; padding: 0.85rem 2.2rem;
  background: linear-gradient(135deg, var(--green-dim), var(--green));
  color: var(--space); font-family: 'Nunito', sans-serif; font-weight: 800;
  font-size: 0.95rem; border-radius: 50px; letter-spacing: 0.05em;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
  transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer;
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(0, 255, 136, 0.6); }

.btn-sm    { font-size: 0.8rem; padding: 0.5rem 1rem; }
.btn-group { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── Section Labels ── */
.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--star-white), var(--lavender));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-title--lg { font-size: clamp(2rem, 4vw, 3rem); }
.section-title--xl { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.section-sub {
  color: var(--muted); font-size: 1rem; line-height: 1.7;
  font-weight: 400; max-width: 560px;
}
.section-sub--wide { max-width: 600px; }
.section-cta { text-align: center; margin-top: 3rem; }

/* ── Body Text ── */
.body-text {
  color: var(--muted); font-size: 1rem; line-height: 1.85; font-weight: 400; margin-top: 1rem;
}
.body-text--lg { font-size: 1.05rem; }
.body-text--mb { margin-bottom: 1.25rem; }

/* ── Taglines ── */
.tagline-cinzel {
  color: var(--lavender); font-family: 'Cinzel', serif;
  letter-spacing: 0.05em; margin-top: 2rem;
}
.tagline-cinzel--sm { font-size: 1rem; margin-top: 1.5rem; letter-spacing: 0.03em; }
.tagline-cinzel--lg { font-size: 1.2rem; margin-top: 2.5rem; }

/* ── Cards ── */
.card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 16px; padding: 2rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-6px); border-color: var(--purple-glow);
  box-shadow: 0 0 40px rgba(123, 47, 255, 0.2);
}
.card--green-border { border-color: rgba(0, 255, 136, 0.3); }
.card--center       { text-align: center; }

.card-icon              { font-size: 2rem; margin-bottom: 1rem; }
.card-icon--lg          { font-size: 1.5rem; margin-bottom: 0.5rem; }
.card-heading           { font-size: 1rem; color: var(--lavender); margin-bottom: 0.75rem; }
.card-heading--green    { color: var(--green); margin-bottom: 0.4rem; font-size: 0.95rem; }
.card-heading--lavender { color: var(--lavender); margin-bottom: 0.4rem; font-size: 0.95rem; }
.card-body    { color: var(--muted); font-size: 0.9rem; line-height: 1.7; font-weight: 400; }
.card-body--sm { font-size: 0.85rem; font-weight: 400; }
.card-link {
  display: inline-block; margin-top: 1rem;
  font-size: 0.8rem; color: var(--green); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* ── Grids ── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.two-col-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start;
}

/* ── Page Hero (inner pages) ── */
.page-hero { padding: 4rem 0 2rem; }

/* ── Hero (home) ── */
.hero {
  min-height: calc(100vh - 100px);
  display: flex; align-items: center;
  padding: 4rem 0; position: relative;
}
.hero-content {
  max-width: 640px;
  animation: fadeUp 1s ease both;
}
.hero-eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--green); margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.15; margin-bottom: 1.5rem;
  background: linear-gradient(160deg, var(--star-white) 40%, var(--lavender));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-body {
  font-size: 1.15rem; color: var(--muted); line-height: 1.75;
  margin-bottom: 2.5rem; font-weight: 400;
}
.hero-cta  { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-orb  {
  position: absolute; right: -5%; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--purple) 0%, transparent 70%);
  filter: blur(60px); opacity: 0.35; pointer-events: none;
  animation: pulse 6s ease-in-out infinite;
}

/* ── Mission Band ── */
.mission-band {
  background: rgba(123, 47, 255, 0.04);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.mission-inner     { max-width: 780px; margin: 0 auto; text-align: center; }
.mission-inner--lg { max-width: 800px; margin: 0 auto; text-align: center; }
.mission-title     { text-align: center; font-size: clamp(1.4rem, 3vw, 2rem); }
.mission-content   {
  text-align: left; margin-top: 2.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}

/* ── Contact Cards ── */
.contact-cards {
  display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem;
}

/* ── Founder List ── */
.founder-list {
  list-style: none; margin-top: 2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.founder-list li {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--muted); font-size: 0.95rem; font-weight: 400;
}
.founder-list li .bullet { color: var(--green); font-size: 0.7rem; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--card-border);
  padding: 3rem 0; text-align: center;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.footer-logo-wrap {
  display: flex; align-items: center; gap: 0.75rem;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: 900;
  background: linear-gradient(135deg, var(--purple-glow), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-inner img {
  height: 42px;
  width: 42px;
  max-height: 42px;
  max-width: 42px;
  object-fit: contain;
  background: transparent;
}
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--green); }
footer .copyright { color: var(--muted); font-size: 0.8rem; }

/* ── Sparkle ── */
.sparkle {
  position: fixed; pointer-events: none; border-radius: 50%;
  animation: sparkle-fade 0.7s ease forwards; z-index: 9999;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: translateY(-50%) scale(1); }
  50%       { opacity: 0.5;  transform: translateY(-50%) scale(1.08); }
}
@keyframes sparkle-fade {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0); }
}
@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 0 30px rgba(123, 47, 255, 0.6); }
  50%       { box-shadow: 0 0 50px rgba(162, 89, 255, 0.9); }
}

/* ── Forms ── */
.form-wrap {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 20px; padding: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lavender); margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border); border-radius: 10px;
  padding: 0.85rem 1rem; color: var(--star-white);
  font-family: 'Nunito', sans-serif; font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--purple-glow);
  box-shadow: 0 0 0 3px rgba(123, 47, 255, 0.15);
}
.form-group textarea      { resize: vertical; min-height: 120px; }
.form-group textarea--lg  { min-height: 150px; }
.form-group select option { background: var(--deep); }
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; font-size: 1rem; padding: 1rem; }

/* ── Chat Widget ── */
#chat-toggle {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #7b2fff, #a259ff);
  border: none; cursor: pointer;
  box-shadow: 0 0 30px rgba(123, 47, 255, 0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; z-index: 1000;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-btn 3s ease-in-out infinite;
}
#chat-toggle:hover { transform: scale(1.1); box-shadow: 0 0 50px rgba(123, 47, 255, 0.9); }

#chat-window {
  position: fixed; bottom: 6.5rem; right: 2rem;
  width: 340px; max-height: 480px; background: #0d0d2b;
  border: 1px solid rgba(123, 47, 255, 0.35); border-radius: 20px;
  box-shadow: 0 0 60px rgba(123, 47, 255, 0.25);
  display: flex; flex-direction: column; z-index: 1000; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(0.97); pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
#chat-window.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }

#chat-header {
  padding: 1rem 1.25rem;
  background: rgba(123, 47, 255, 0.15);
  border-bottom: 1px solid rgba(123, 47, 255, 0.2);
  display: flex; align-items: center; gap: 0.75rem;
}
.chat-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #7b2fff, #00ff88);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.chat-title    { font-family: 'Cinzel', serif; font-size: 0.85rem; font-weight: 600; color: #c4b5fd; }
.chat-subtitle { font-size: 0.72rem; color: #8888aa; margin-top: 0.1rem; }

#chat-messages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  min-height: 200px; max-height: 300px;
  scrollbar-width: thin; scrollbar-color: rgba(123,47,255,0.3) transparent;
}
.msg {
  max-width: 85%; padding: 0.65rem 0.9rem; border-radius: 14px;
  font-size: 0.88rem; line-height: 1.5; animation: fadeUp 0.2s ease both;
}
.msg.bot {
  background: rgba(123,47,255,0.15); border: 1px solid rgba(123,47,255,0.2);
  color: #f0f0ff; align-self: flex-start; border-bottom-left-radius: 4px;
}
.msg.user {
  background: linear-gradient(135deg, #7b2fff, #a259ff);
  color: #fff; align-self: flex-end; border-bottom-right-radius: 4px;
}
.msg.typing {
  background: rgba(123,47,255,0.15); border: 1px solid rgba(123,47,255,0.2);
  align-self: flex-start; padding: 0.75rem 1rem;
}
.typing-dots { display: flex; gap: 4px; align-items: center; }
.typing-dots span {
  width: 6px; height: 6px; border-radius: 50%; background: #a259ff;
  animation: dot-bounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40%            { transform: translateY(-5px); opacity: 1; }
}

#chat-input-area {
  padding: 0.75rem; border-top: 1px solid rgba(123,47,255,0.2);
  display: flex; gap: 0.5rem; align-items: center;
}
#chat-input {
  flex: 1; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(123,47,255,0.25); border-radius: 50px;
  padding: 0.6rem 1rem; color: #f0f0ff;
  font-family: 'Nunito', sans-serif; font-size: 0.88rem;
  outline: none; transition: border-color 0.2s;
}
#chat-input:focus { border-color: #a259ff; }
#chat-input::placeholder { color: #8888aa; }
#chat-send {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #7b2fff, #a259ff);
  border: none; cursor: pointer; color: white; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform 0.15s, box-shadow 0.15s;
}
#chat-send:hover    { transform: scale(1.1); box-shadow: 0 0 20px rgba(123,47,255,0.6); }
#chat-send:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ── Portfolio page ── */
.port-hero         { padding: 8rem 0 4rem; text-align: center; }
.port-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  background: linear-gradient(135deg, var(--star-white), var(--lavender));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 1rem;
}
.port-hero p       { color: var(--muted); font-size: 1rem; font-weight: 400; max-width: 480px; margin: 0 auto; line-height: 1.75; }
.port-eyebrow      { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.cat-label  { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--green); margin-bottom: 0.6rem; display: block; }
.cat-title  {
  font-family: 'Cinzel', serif; font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  background: linear-gradient(135deg, var(--star-white), var(--lavender));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 2rem;
}
.port-section      { padding: 3.5rem 0; border-top: 1px solid var(--card-border); }
.web-grid          { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.web-card          { background: rgba(255,255,255,0.03); border: 1px solid var(--card-border); border-radius: 14px; overflow: hidden; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; text-decoration: none; color: inherit; display: block; }
.web-card:hover    { transform: translateY(-6px); border-color: var(--purple-glow); box-shadow: 0 0 36px rgba(123,47,255,0.2); }
.web-card--live    { border-color: rgba(0,255,136,0.3); }
.web-card--live:hover { border-color: var(--green); box-shadow: 0 0 36px rgba(0,255,136,0.2); }
.web-card img      { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: rgba(123,47,255,0.1); min-height: 170px; }
.web-card-info     { padding: 1.25rem; }
.web-card-info h3  { font-family: 'Cinzel', serif; font-size: 0.95rem; color: var(--lavender); margin-bottom: 0.35rem; }
.web-card-info p   { color: var(--muted); font-size: 0.82rem; line-height: 1.6; font-weight: 400; }
.web-card-tags     { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.tag-pill          { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 50px; border: 1px solid var(--card-border); color: var(--muted); }
.tag-pill.green    { border-color: var(--green); color: var(--green); }
.tag-pill.purple   { border-color: var(--purple-glow); color: var(--purple-glow); }
.tag-pill.live     { border-color: var(--green); color: var(--space); background: var(--green); }
.link-grid         { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.link-card         { background: rgba(255,255,255,0.03); border: 1px solid var(--card-border); border-radius: 14px; padding: 1.75rem; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 0.75rem; }
.link-card:hover   { transform: translateY(-5px); border-color: var(--purple-glow); box-shadow: 0 0 28px rgba(123,47,255,0.18); }
.link-card .lc-icon  { font-size: 2rem; }
.link-card h3      { font-family: 'Cinzel', serif; font-size: 0.95rem; color: var(--lavender); }
.link-card p       { color: var(--muted); font-size: 0.83rem; line-height: 1.65; font-weight: 400; }
.link-card .lc-arrow { margin-top: auto; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.coming-soon       { background: rgba(255,255,255,0.02); border: 1px dashed rgba(123,47,255,0.3); border-radius: 14px; padding: 2rem; text-align: center; color: var(--muted); }
.coming-soon .cs-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.coming-soon h3    { font-family: 'Cinzel', serif; font-size: 0.92rem; color: rgba(196,181,253,0.5); margin-bottom: 0.4rem; }
.coming-soon p     { font-size: 0.78rem; line-height: 1.6; font-weight: 400; color: rgba(136,136,170,0.6); }
.coming-soon--left { text-align: left; padding: 1.75rem; }
.port-cta          { padding: 3rem 0 5rem; text-align: center; }
.port-cta-eyebrow  { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem; }
.port-cta-title {
  font-family: 'Cinzel', serif; font-size: clamp(1.5rem, 3vw, 2.2rem);
  background: linear-gradient(135deg, var(--star-white), var(--lavender));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 1.5rem;
}
.grid-divider {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 1rem; margin-top: 2.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.grid-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(0,255,136,0.2);
}

/* ── Services page ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.pricing-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 20px; padding: 2rem;
  display: flex; flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.pricing-card:hover          { transform: translateY(-6px); border-color: var(--purple-glow); box-shadow: 0 0 40px rgba(123,47,255,0.2); }
.pricing-card.featured       { border-color: var(--green); background: rgba(0,255,136,0.04); box-shadow: 0 0 40px rgba(0,255,136,0.1); }
.pricing-card.featured:hover { border-color: var(--green); box-shadow: 0 0 60px rgba(0,255,136,0.2); }
.pricing-card.featured-wide  { grid-column: span 2; display: block; }
.featured-badge  { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--space); background: var(--green); padding: 0.25rem 0.75rem; border-radius: 50px; margin-bottom: 1rem; }
.pricing-icon    { font-size: 2rem; margin-bottom: 1rem; }
.pricing-icon--mt { margin-top: 1rem; }
.pricing-card h3 { font-size: 1.1rem; color: var(--lavender); margin-bottom: 0.5rem; }
.price           { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 900; color: var(--star-white); margin: 0.75rem 0; }
.price span      { font-size: 1rem; color: var(--muted); font-family: 'Nunito', sans-serif; font-weight: 400; }
.description     { color: var(--muted); font-size: 0.9rem; line-height: 1.7; font-weight: 400; margin-bottom: 1.5rem; }
.feature-list    { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; flex: 1; }
.feature-list li { font-size: 0.88rem; color: var(--muted); display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 400; }
.feature-list li::before { content: '✦'; color: var(--green); font-size: 0.65rem; flex-shrink: 0; margin-top: 0.2rem; }
.service-section        { padding-top: 4rem; border-top: 1px solid var(--card-border); margin-top: 4rem; }
.service-section--first { border-top: none; margin-top: 0; padding-top: 0; }
.wide-card-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.wide-card-cta   { margin-top: 1rem; }
.hardship-box {
  background: rgba(0,255,136,0.04); border: 1px solid rgba(0,255,136,0.2);
  border-radius: 20px; padding: 2.5rem; margin-top: 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
}
.hardship-box h3  { font-size: 1.3rem; color: var(--green); margin-bottom: 1rem; }
.hardship-box p   { color: var(--muted); font-size: 0.95rem; line-height: 1.7; font-weight: 400; }
.hardship-box p + p { margin-top: 1rem; }
.hardship-right   { text-align: center; }
.hardship-quote   { color: var(--lavender); font-family: 'Cinzel', serif; font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.6; }

/* ── Hamburger button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 200;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--lavender);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links { gap: 0 0.6rem; }
  .nav-links a { font-size: 0.72rem; }
  .nav-brand { font-size: 0.95rem; }
  .nav-brand img { max-width: 180px; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  body { padding-top: 95px; }

  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    background: rgba(6, 6, 26, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    padding: 1.25rem 1.5rem;
    gap: 0;
    margin-left: 0;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 0.9rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(123,47,255,0.1);
    width: 100%;
    white-space: normal;
  }

  .nav-links li:last-child a { border-bottom: none; }

  .nav-brand { font-size: 1rem; }
  .nav-brand img { max-width: 180px; }

  .two-col-grid  { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .hero-orb      { display: none; }

  .hardship-box               { grid-template-columns: 1fr; }
  .pricing-card.featured-wide { grid-column: span 1; }
  .wide-card-inner            { grid-template-columns: 1fr; }

  #chat-window { width: calc(100vw - 2rem); right: 1rem; bottom: 5.5rem; }
  #chat-toggle { right: 1rem; bottom: 1rem; }
}

/* ============================================================
   FAQ PAGE STYLES
   ============================================================ */

/* Column container — centers and constrains the accordion */
.faq-col {
  max-width: 760px;
  margin: 0 auto;
}

/* Category headings — match section-label style */
.faq-category {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 255, 136, 0.15);
}

.faq-col .faq-category:first-child {
  margin-top: 0;
}

/* FAQ item — matches .card style */
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-bottom: 0.65rem;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.open {
  border-color: var(--purple-glow);
  box-shadow: 0 0 28px rgba(162, 89, 255, 0.15);
}

/* Question button */
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: none;
  padding: 1.1rem 1.4rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lavender);
  text-align: left;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.faq-question:hover       { color: var(--star-white); }
.faq-item.open .faq-question { color: var(--star-white); }

/* Plus/minus icon */
.faq-icon {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  font-size: 1rem;
  line-height: 1;
  color: var(--muted);
  transition: background 0.25s ease, border-color 0.25s ease,
              color 0.25s ease, transform 0.3s ease;
}

.faq-item.open .faq-icon {
  background: rgba(162, 89, 255, 0.2);
  border-color: var(--purple-glow);
  color: var(--purple-glow);
  transform: rotate(180deg);
}

/* Answer panel — collapsed by default, opened via JS */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
  padding-bottom: 0;
  transition: max-height 0.38s ease, padding-bottom 0.3s ease;
}

.faq-answer p,
.faq-answer ul {
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.faq-answer ul {
  padding-left: 1.25rem;
}

.faq-answer ul li {
  margin-bottom: 0.4rem;
}

.faq-answer ul li::marker {
  color: var(--green);
}

.faq-answer strong {
  color: var(--star-white);
  font-weight: 700;
}

/* CTA block at the bottom of the FAQ */
.faq-cta {
  border-top: 1px solid var(--card-border);
  margin-top: 3.5rem;
  padding-top: 3rem;
  text-align: center;
}

.faq-cta-text {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--star-white), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}



/* ============================================================
   COMMISSION PAGE STYLES
   ============================================================ */

/* ── HERO ── */
.comm-hero {
  padding: 5rem 0 3rem;
  text-align: center;
}

.comm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.comm-badge {
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  color: var(--muted);
}

/* ── STEP PROGRESS BAR ── */
.comm-progress {
  position: sticky;
  top: 80px;
  z-index: 40;
  background: rgba(6,6,26,0.95);
  border-bottom: 1px solid var(--card-border);
  padding: 1rem 0;
  backdrop-filter: blur(12px);
}

.comm-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.comm-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.comm-step-dot.active,
.comm-step-dot.done { opacity: 1; }

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.comm-step-dot.active .step-num {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

.comm-step-dot.done .step-num {
  background: var(--green);
  border-color: var(--green);
  color: var(--space);
}

.step-label {
  font-size: 0.68rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.comm-step-dot.active .step-label { color: var(--lavender); }

.comm-step-line {
  flex: 1;
  height: 2px;
  background: var(--card-border);
  margin-bottom: 1.1rem;
  min-width: 40px;
}

/* ── PANELS ── */
.comm-panel {
  display: none;
  padding: 3rem 0 5rem;
  animation: fadeUp 0.3s ease both;
}

.comm-panel.active { display: block; }

/* ── FORM ── */
.form-wrap { max-width: 760px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lavender);
  font-family: 'Nunito', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--star-white);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--purple-glow); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); font-weight: 300; }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-hint { font-size: 0.75rem; color: var(--muted); margin-top: 0.35rem; font-weight: 400; }

/* ── FILE DROP ── */
.file-drop-zone {
  border: 2px dashed var(--card-border);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}

.file-drop-zone:hover,
.file-drop-zone.drag-over {
  border-color: var(--purple-glow);
  background: rgba(123,47,255,0.05);
}

.file-drop-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.file-drop-text { font-weight: 600; color: var(--lavender); margin-bottom: 0.25rem; font-size: 0.95rem; }
.file-drop-sub { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.file-input-hidden { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
}

.file-pill {
  background: rgba(123,47,255,0.15);
  border: 1px solid rgba(123,47,255,0.3);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  color: var(--lavender);
  font-family: 'Nunito', sans-serif;
}

/* ── CONFIGURATOR ── */
.config-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  max-width: 860px;
}

.config-section-head {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--star-white);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.config-section-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
}

.config-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.config-row:last-of-type { border-bottom: none; }

.config-row.always-on { opacity: 0.6; }

.config-row-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
}

.config-row-main input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
  cursor: pointer;
}

.check-forced {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.config-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  cursor: pointer;
}

.config-name {
  font-family: 'Nunito', sans-serif;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--star-white);
  line-height: 1.3;
}

.config-desc {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}

.config-price {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
  flex-shrink: 0;
}

.config-tag-included {
  font-size: 0.72rem;
  background: rgba(0,255,136,0.1);
  border: 1px solid rgba(0,255,136,0.2);
  color: var(--green);
  border-radius: 50px;
  padding: 0.15rem 0.6rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.discount-price { color: #ff8080 !important; }
.free-price { color: var(--muted) !important; }
.art-redirect-price { color: var(--lavender) !important; font-size: 0.75rem !important; }
.art-name { color: var(--lavender) !important; }
.art-row { opacity: 0.7; }

/* Describe textareas */
.config-describe {
  padding: 0.75rem 0 0.75rem 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.config-describe.hidden { display: none; }

.config-describe textarea,
.config-describe input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--star-white);
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}

.config-describe textarea:focus,
.config-describe input:focus { border-color: var(--purple-glow); }
.config-describe textarea::placeholder,
.config-describe input::placeholder { color: rgba(255,255,255,0.25); font-weight: 300; }
.config-describe textarea { min-height: 80px; }

/* ── INCLUDED GRID ── */
.included-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.included-pill {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  color: var(--muted);
}

/* ── FLOATING PRICE BAR ── */
.price-float {
  position: sticky;
  top: 145px;
  z-index: 30;
  background: rgba(6,6,26,0.97);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
  max-width: 860px;
}

.price-float-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.price-float-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.price-float-line {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: 'Nunito', sans-serif;
}

.price-float-total {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-shrink: 0;
}

.price-float-total span {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: 'Nunito', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-float-total strong {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--green);
}

/* ── COPYWRITING COUNTER ── */
.copy-counter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
}

.copy-counter.hidden { display: none; }

.copy-counter input[type="number"] {
  width: 60px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  color: var(--star-white);
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  text-align: center;
  outline: none;
}

#copy-price-live {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  color: var(--green);
  font-weight: 600;
}

/* ── TIMELINE ── */
.timeline-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}

.timeline-opt { cursor: pointer; }
.timeline-opt input[type="radio"] { display: none; }

.timeline-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem 0.75rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.timeline-opt:hover .timeline-card { border-color: rgba(162,89,255,0.4); }
.timeline-opt input:checked + .timeline-card {
  border-color: var(--green);
  background: rgba(0,255,136,0.05);
}

.timeline-name {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--star-white);
}

.timeline-time {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: 'Nunito', sans-serif;
}

.timeline-fee {
  font-size: 0.82rem;
  font-family: 'Cinzel', serif;
  color: var(--green);
  font-weight: 600;
}

.timeline-fee-free { color: var(--muted) !important; font-size: 0.72rem !important; }

/* ── HARDSHIP ── */
.hardship-block {
  background: rgba(123,47,255,0.06);
  border: 1px solid rgba(123,47,255,0.2);
  border-radius: 12px;
  padding: 1.25rem;
}

.hardship-block p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.7;
  font-weight: 400;
}

/* ── SISTER SITES PREVIEW ── */
.sister-preview {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--card-border);
}

.sister-label {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.sister-widget {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  max-width: 280px;
}

.sister-widget-head {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.sister-widget-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.sister-widget-item:last-child { border-bottom: none; }
.sister-widget-item strong { display: block; font-size: 0.82rem; color: var(--lavender); font-weight: 600; }
.sister-widget-item em { font-style: normal; font-size: 0.72rem; color: var(--muted); }
.sister-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); flex-shrink: 0; }
.sister-dot-you { background: var(--green); box-shadow: 0 0 6px rgba(0,255,136,0.5); }
.sister-you strong { color: var(--green); }

/* ── PRICE SUMMARY ── */
.price-summary {
  background: rgba(123,47,255,0.06);
  border: 1px solid rgba(123,47,255,0.2);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  max-width: 860px;
}

.price-summary-head {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--star-white);
  margin-bottom: 1rem;
}

.price-summary-lines {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-family: 'Nunito', sans-serif;
  color: var(--muted);
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.summary-line .s-label { flex: 1; }
.summary-line .s-price { font-weight: 600; color: var(--lavender); }
.summary-line .s-price.discount { color: #ff8080; }

.price-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.75rem;
  border-top: 1px solid var(--card-border);
}

.price-summary-total span {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: 'Nunito', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-summary-total strong {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: var(--green);
}

.price-summary-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.65;
  font-weight: 400;
}

/* ── SUBMIT ── */
.comm-submit-wrap { max-width: 760px; }

.comm-submit-btn {
  width: 100%;
  padding: 1.1rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

.comm-submit-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.75rem;
  font-weight: 400;
}

/* ── NAV BUTTONS ── */
.comm-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 860px;
}

/* ── FAIRY QUIZ BANNER ── */
.fairy-prefill-banner {
  background: rgba(0,255,136,0.05);
  border-bottom: 1px solid rgba(0,255,136,0.2);
  padding: 0.85rem 0;
}

.fairy-banner-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.fairy-banner-result {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: var(--star-white);
  font-weight: 400;
}

.fairy-banner-result strong { color: var(--green); font-weight: 700; }

.fairy-banner-desc {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
  font-family: 'Nunito', sans-serif;
  flex: 1;
  font-style: italic;
}

.fairy-banner-retake {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: 'Nunito', sans-serif;
  white-space: nowrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .timeline-options { grid-template-columns: repeat(2, 1fr); }
  .config-section { padding: 1.25rem; }
  .price-float { top: 130px; }
}



/* ============================================================
   QUIZ PAGE STYLES
   ============================================================ */

/* ── SCREENS ── */
.quiz-screen { display: none; min-height: calc(100vh - 100px); padding: 2rem 0 5rem; animation: fadeUp 0.4s ease both; }
.quiz-screen.active { display: block; }

/* ── INTRO HERO ── */
.quiz-intro-hero {
  min-height: calc(100vh - 100px);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 1.5rem; position: relative; overflow: hidden;
}
.quiz-intro-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(123,47,255,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(0,255,136,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.quiz-intro-content { position: relative; z-index: 1; max-width: 680px; }
.quiz-title {
  font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: 1.1; margin: 0.75rem 0 1.25rem;
  background: linear-gradient(160deg, var(--star-white) 30%, var(--lavender) 70%, var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.quiz-subtitle { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.75rem; font-weight: 400; }
.quiz-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 2rem; }
.quiz-meta span { font-size: 0.78rem; letter-spacing: 0.1em; color: var(--muted); font-family: 'Nunito', sans-serif; }
.quiz-start-btn { font-size: 1.05rem; padding: 1rem 2.5rem; box-shadow: 0 0 40px rgba(123,47,255,0.5); }
.quiz-skip { margin-top: 1rem; font-size: 0.82rem; color: var(--muted); font-weight: 400; }
.quiz-skip a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* ── PROGRESS BAR ── */
.quiz-progress-wrap { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.quiz-progress-bar { flex: 1; height: 4px; background: var(--card-border); border-radius: 2px; overflow: hidden; }
.quiz-progress-fill { height: 100%; background: linear-gradient(90deg, var(--purple), var(--green)); border-radius: 2px; transition: width 0.4s ease; }
.quiz-progress-label { font-size: 0.75rem; color: var(--muted); font-family: 'Nunito', sans-serif; white-space: nowrap; letter-spacing: 0.08em; }

/* ── QUESTION TEXT ── */
.quiz-q { font-family: 'Cinzel', serif; font-size: clamp(1.2rem, 3vw, 1.75rem); color: var(--star-white); margin-bottom: 2rem; line-height: 1.3; max-width: 700px; }

/* ── 2-COLUMN GRID ── */
.quiz-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 780px; }

/* ── QUIZ CARDS ── */
.qcard {
  display: block; cursor: pointer;
  border: 2px solid var(--card-border); border-radius: 14px;
  overflow: hidden; background: var(--card-bg);
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
  position: relative;
}
.qcard input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.qcard:hover { border-color: rgba(162,89,255,0.5); transform: translateY(-2px); }
.qcard:has(input:checked) {
  border-color: var(--green);
  box-shadow: 0 0 28px rgba(0,255,136,0.25);
  transform: translateY(-4px);
}
.qcard:has(input:checked)::after {
  content: '✦';
  position: absolute; top: 0.5rem; right: 0.5rem;
  width: 26px; height: 26px;
  background: var(--green); color: var(--space);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 0.75rem; font-weight: 700;
}

/* ── PICTURE IMAGES ── */
.qcard img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: filter 0.22s;
}
.qcard:has(input:checked) img {
  filter: brightness(1.05) saturate(1.1);
}

.qcard-label {
  display: block; padding: 0.75rem 0.9rem;
  font-size: 0.85rem; font-family: 'Nunito', sans-serif;
  color: var(--muted); line-height: 1.45; transition: color 0.2s;
}
.qcard:has(input:checked) .qcard-label { color: var(--green); font-weight: 600; }

/* ══════════════════════════════════════
   TEXT CHOICE LIST
   ══════════════════════════════════════ */

.quiz-list {
  display: flex; flex-direction: column; gap: 0.6rem; max-width: 640px;
}

.qchoice {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem; color: var(--lavender); font-weight: 400;
}
.qchoice:hover { border-color: rgba(162,89,255,0.5); transform: translateX(4px); }
.qchoice:has(input:checked) {
  border-color: var(--green);
  background: rgba(0,255,136,0.06);
  color: var(--star-white);
  font-weight: 600;
  transform: translateX(6px);
}
.qchoice input[type="radio"] { accent-color: var(--green); width: 18px; height: 18px; flex-shrink: 0; }

/* ── QUIZ NAV ── */
.quiz-nav { margin-top: 2rem; display: flex; justify-content: flex-start; }
.quiz-back-btn { opacity: 0.7; }
.quiz-back-btn:hover { opacity: 1; }


/* ══════════════════════════════════════
   RESULT SCREEN
   ══════════════════════════════════════ */

.result-wrap {
  max-width: 680px; margin: 0 auto;
  text-align: center; padding: 3rem 0 2rem;
}

.result-emoji {
  font-size: 4rem; display: block; margin-bottom: 0.5rem;
  animation: fadeUp 0.6s ease both;
}

.result-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--green); font-family: 'Nunito', sans-serif; font-weight: 600;
  margin-bottom: 0.5rem;
  animation: fadeUp 0.6s 0.1s ease both; opacity: 0; animation-fill-mode: forwards;
}

.result-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; margin-bottom: 1.5rem; line-height: 1.1;
  animation: fadeUp 0.6s 0.2s ease both; opacity: 0; animation-fill-mode: forwards;
}

.result-desc {
  font-size: 1.02rem; color: var(--muted); line-height: 1.8;
  max-width: 540px; margin: 0 auto 1.25rem;
  font-weight: 400;
  animation: fadeUp 0.6s 0.3s ease both; opacity: 0; animation-fill-mode: forwards;
}

.result-site-pitch {
  font-family: 'Cinzel', serif; font-size: 0.95rem;
  color: var(--lavender); font-style: italic; margin-bottom: 2rem;
  animation: fadeUp 0.6s 0.4s ease both; opacity: 0; animation-fill-mode: forwards;
}

/* ── COUPON BLOCK ── */
.result-coupon {
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.25);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  margin: 0 auto 2rem;
  max-width: 400px;
  animation: fadeUp 0.6s 0.5s ease both; opacity: 0; animation-fill-mode: forwards;
}

.result-coupon-label {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green); font-family: 'Nunito', sans-serif; font-weight: 600;
  margin-bottom: 0.75rem;
}

.result-coupon-code {
  font-family: 'Cinzel', serif; font-size: 1.6rem; font-weight: 900;
  color: var(--star-white); letter-spacing: 0.12em;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(0,255,136,0.4);
  border-radius: 8px; padding: 0.5rem 1rem;
  display: inline-block; margin-bottom: 0.6rem;
  cursor: pointer; transition: background 0.2s;
}

.result-coupon-code:hover { background: rgba(0,255,136,0.1); }

.result-coupon-value {
  font-size: 0.82rem; color: var(--muted); font-weight: 400;
  font-family: 'Nunito', sans-serif; line-height: 1.5;
}

/* ── EMAIL CAPTURE ── */
.result-email-wrap {
  max-width: 540px; margin: 0 auto 2rem;
  background: rgba(123,47,255,0.07);
  border: 1px solid rgba(123,47,255,0.2);
  border-radius: 16px; padding: 2rem; text-align: center;
}
.result-email-head { font-family: 'Cinzel', serif; font-size: 1.05rem; color: var(--star-white); margin-bottom: 0.5rem; }
.result-email-sub { font-size: 0.86rem; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.65; font-weight: 400; }
.result-email-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.result-email-form input[type="email"] {
  flex: 1; min-width: 200px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--card-border);
  border-radius: 50px; padding: 0.7rem 1.2rem; color: var(--star-white);
  font-family: 'Nunito', sans-serif; font-size: 0.93rem; outline: none;
  transition: border-color 0.2s;
}
.result-email-form input:focus { border-color: var(--purple-glow); }
.result-email-form input::placeholder { color: rgba(255,255,255,0.3); }
.result-email-skip { margin-top: 0.9rem; font-size: 0.78rem; color: var(--muted); }
.result-email-skip a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* ── SHARE ── */
.result-share { text-align: center; margin: 1rem 0; }
.result-share-label {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.75rem; font-family: 'Nunito', sans-serif;
}
.result-share-btns { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
.result-share-note { font-size: 0.74rem; color: var(--muted); margin-top: 0.5rem; opacity: 0.65; }

.result-retake { text-align: center; margin-top: 2rem; display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }


/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .quiz-grid-2 { grid-template-columns: 1fr; }
  .result-email-form { flex-direction: column; }
  .result-email-form input { min-width: unset; }
}

/* ══════════════════════════════════════
   EMAIL POPUP
   ══════════════════════════════════════ */

.popup-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(6, 6, 26, 0.85);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.popup-overlay.visible {
  opacity: 1; visibility: visible;
}

.popup-card {
  background: linear-gradient(160deg, var(--deep) 0%, rgba(13,13,43,0.98) 100%);
  border: 1px solid rgba(123, 47, 255, 0.35);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 0 80px rgba(123, 47, 255, 0.25);
  text-align: center;
  animation: fadeUp 0.4s ease both;
}

.popup-close {
  position: absolute; top: 1rem; right: 1.1rem;
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 1.3rem; line-height: 1;
  transition: color 0.2s;
}
.popup-close:hover { color: var(--star-white); }

.popup-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green); font-family: 'Nunito', sans-serif; font-weight: 600;
  margin-bottom: 0.6rem;
}

.popup-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  background: linear-gradient(135deg, var(--star-white), var(--lavender));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem; line-height: 1.2;
}

.popup-sub {
  color: var(--muted); font-size: 0.9rem; line-height: 1.65;
  font-weight: 400; margin-bottom: 1.5rem; max-width: 360px; margin-left: auto; margin-right: auto;
}

.popup-form {
  display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center;
}

.popup-form input[type="email"] {
  flex: 1; min-width: 200px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  border-radius: 50px; padding: 0.75rem 1.25rem;
  color: var(--star-white); font-family: 'Nunito', sans-serif;
  font-size: 0.93rem; outline: none;
  transition: border-color 0.2s;
}
.popup-form input[type="email"]:focus { border-color: var(--purple-glow); }
.popup-form input[type="email"]::placeholder { color: rgba(255,255,255,0.3); }

.popup-skip {
  margin-top: 0.9rem; font-size: 0.78rem; color: var(--muted); font-weight: 400;
}
.popup-skip a {
  color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer; transition: color 0.2s;
}
.popup-skip a:hover { color: var(--star-white); }

.popup-success {
  display: none; text-align: center;
}
.popup-success .success-emoji { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.popup-success h3 { font-family: 'Cinzel', serif; font-size: 1.2rem; color: var(--green); margin-bottom: 0.5rem; }
.popup-success p { color: var(--muted); font-size: 0.88rem; font-weight: 400; line-height: 1.6; }

@media (max-width: 480px) {
  .popup-card { padding: 2rem 1.25rem; }
  .popup-form { flex-direction: column; }
  .popup-form input[type="email"] { min-width: unset; }
}
