/* ═══════════════════════════════════════════════
   WeBothWant — Design System
   Palette: Deep Rose · Blush · Cream · Onyx
   Fonts: Playfair Display (headings) · DM Sans (body)
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ─── Tokens ─────────────────────────────────── */
:root {
  --rose:          #C85A7A;
  --rose-deep:     #A0405A;
  --rose-light:    #F2C4D0;
  --rose-xlight:   #FBF0F3;
  --blush:         #F7E8ED;
  --cream:         #FDF8F5;
  --warm-white:    #FFFFFF;
  --onyx:          #1C1620;
  --onyx-soft:     #2E2535;
  --text-muted:    #7A6D73;
  --text-body:     #3D3040;
  --border:        rgba(200, 90, 122, 0.15);
  --border-strong: rgba(200, 90, 122, 0.30);
  --shadow-soft:   0 4px 24px rgba(28, 22, 32, 0.07);
  --shadow-card:   0 8px 40px rgba(200, 90, 122, 0.10);
  --gradient-hero: linear-gradient(145deg, #2E1B2E 0%, #5C2D45 50%, #3A1828 100%);
  --gradient-rose: linear-gradient(135deg, var(--rose), var(--rose-deep));
  --gradient-blush:linear-gradient(135deg, #F7E8ED 0%, #FBF0F3 100%);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
  --transition:    0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  background: var(--cream);
  color: var(--text-body);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--onyx);
  margin-top: 0;
}

a { color: var(--rose); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rose-deep); }

/* ─── Layout ──────────────────────────────────── */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ─── Header / Navigation ─────────────────────── */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.logo a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rose-deep);
  letter-spacing: -0.02em;
}

.logo a span {
  color: var(--rose);
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-xl);
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover {
  background: var(--blush);
  color: var(--rose-deep);
}

.nav-links a.active {
  background: var(--gradient-rose);
  color: white;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ─── Hero ────────────────────────────────────── */
.hero {
  background: var(--gradient-hero);
  color: white;
  text-align: center;
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(200, 90, 122, 0.25) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 180, 200, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose-light);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero { padding: 4rem 1.5rem 3.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
}

/* ─── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gradient-rose);
  color: white;
  box-shadow: 0 4px 20px rgba(200, 90, 122, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 90, 122, 0.45);
  color: white;
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--rose);
  border: 1.5px solid var(--rose-light);
}
.btn-outline:hover {
  background: var(--blush);
  border-color: var(--rose);
}

.btn-secondary {
  background: var(--blush);
  color: var(--rose-deep);
}
.btn-secondary:hover {
  background: var(--rose-light);
}

.btn-danger {
  background: #e53935;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.3);
}
.btn-danger:hover {
  background: #c62828;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
  color: white;
}

/* ─── Sections ─────────────────────────────────── */
.intro, .features, .advice, .cta {
  padding: 5rem 1.5rem;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
}

.intro p, .advice p, .cta p {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ─── Cards ────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: left;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blush);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--onyx);
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ─── Flash / Alerts ──────────────────────────── */
.flash {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-left: 4px solid #ffc107;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #5d4037;
}

/* ─── Forms ────────────────────────────────────── */
fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  background: var(--warm-white);
  box-shadow: var(--shadow-soft);
}

legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--rose-deep);
  padding: 0 0.75rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-body);
}

.form-group select,
.comment-field,
.pin-input {
  width: 100%;
  max-width: 460px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--warm-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group select:focus,
.comment-field:focus,
.pin-input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(200, 90, 122, 0.12);
}

.comment-field {
  width: 100%;
  max-width: 500px;
  resize: vertical;
}

.pin-input {
  width: 100%;
  max-width: 250px;
  font-size: 1.4rem;
  text-align: center;
  letter-spacing: 0.4rem;
}

/* ─── Practice / Fill Section ───────────────────── */
.fill-section, .pin-section, .create-section {
  padding: 3rem 1.5rem;
}

.fill-form fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  background: var(--warm-white);
}

.fill-form legend {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--rose-deep);
}

.practice {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.practice:last-child { border-bottom: none; }

.practice-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text-body);
  font-size: 0.95rem;
}

.answers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.answer-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-strong);
  transition: all var(--transition);
  background: var(--warm-white);
  color: var(--text-body);
}

.answer-option:hover,
.answer-option:has(input:checked) {
  background: var(--blush);
  border-color: var(--rose);
  color: var(--rose-deep);
}

.answer-option input[type="radio"] {
  accent-color: var(--rose);
}

/* ─── Results / Tables ──────────────────────────── */
.results {
  padding: 3rem 1.5rem;
}

.category-title {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--rose-deep);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
}

table.matches {
  width: 100%;
  border-collapse: collapse;
  background: var(--warm-white);
  font-size: 0.9rem;
}

table.matches th,
table.matches td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

table.matches thead tr:last-child th { border-bottom: 2px solid var(--border-strong); }
table.matches tbody tr:last-child td { border-bottom: none; }

table.matches th {
  background: var(--blush);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

table.matches tbody tr:hover { background: var(--rose-xlight); }

table.matches td:nth-child(3),
table.matches td:nth-child(4) {
  width: 30%;
  font-style: italic;
  color: var(--text-muted);
  word-break: break-word;
}

.match-type {
  font-weight: 600;
  color: var(--rose-deep);
}

/* ─── Sessions Table ────────────────────────────── */
table.sessions {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

table.sessions th,
table.sessions td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

table.sessions th {
  background: var(--blush);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

table.sessions tbody tr:last-child td { border-bottom: none; }
table.sessions tbody tr:hover { background: var(--rose-xlight); }

/* ─── Premium Hint ──────────────────────────────── */
.premium-hint {
  background: linear-gradient(135deg, #fff8f0, #fbeef3);
  border: 1.5px solid var(--rose-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem auto;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(200, 90, 122, 0.08);
}

.premium-hint strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--onyx);
}

.premium-hint p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ─── Premium Badge ──────────────────────────────── */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, #FFD700, #FFA000);
  color: #3E2000;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Pin / Create Forms ─────────────────────────── */
.pin-form, .create-form {
  display: inline-block;
  background: var(--warm-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-top: 2rem;
  border: 1px solid var(--border);
}

.created-box {
  background: var(--blush);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 600px;
}

.pin-display {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rose-deep);
  letter-spacing: 0.3rem;
}

.hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ─── Error / Expired States ─────────────────────── */
.expired-section, .error-section {
  padding: 5rem 1.5rem;
  text-align: center;
}

.expired-section h2, .error-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--onyx);
  margin-bottom: 1rem;
}

.expired-section p, .error-section p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.expired-actions, .error-actions, .actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ─── Products / Recommendations ─────────────────── */
.recommendations { margin: 2.5rem 0; }

.recommendations-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.product-card {
  position: relative;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(200, 90, 122, 0.12);
}

.product-card img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--gradient-rose);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-xl);
  letter-spacing: 0.03em;
}

.product-price {
  font-weight: 700;
  color: var(--onyx);
  font-size: 1rem;
}

/* ─── Footer ──────────────────────────────────────── */
.site-footer {
  background: var(--onyx);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 1.5rem;
  margin-top: 5rem;
  font-size: 0.875rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.footer-right {
  display: flex;
  gap: 0.25rem;
}

.footer-right a {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-xl);
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition), background var(--transition);
}

.footer-right a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-right { justify-content: center; flex-wrap: wrap; }
}

/* ─── Utilities ───────────────────────────────────── */
.empty { color: var(--text-muted); margin-top: 2rem; font-style: italic; font-size: 0.9rem; }
.btn-accent { background: var(--gradient-rose); color: white; }
.text-rose { color: var(--rose); }
.text-muted { color: var(--text-muted); }


/* ═══════════════════════════════════════════════
   WeBothWant — Design System
   Palette: Deep Rose · Blush · Cream · Onyx
   Fonts: Playfair Display (headings) · DM Sans (body)
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ─── Tokens ─────────────────────────────────── */
:root {
  --rose:          #C85A7A;
  --rose-deep:     #A0405A;
  --rose-light:    #F2C4D0;
  --rose-xlight:   #FBF0F3;
  --blush:         #F7E8ED;
  --cream:         #FDF8F5;
  --warm-white:    #FFFFFF;
  --onyx:          #1C1620;
  --onyx-soft:     #2E2535;
  --text-muted:    #7A6D73;
  --text-body:     #3D3040;
  --border:        rgba(200, 90, 122, 0.15);
  --border-strong: rgba(200, 90, 122, 0.30);
  --shadow-soft:   0 4px 24px rgba(28, 22, 32, 0.07);
  --shadow-card:   0 8px 40px rgba(200, 90, 122, 0.10);
  --gradient-hero: linear-gradient(145deg, #2E1B2E 0%, #5C2D45 50%, #3A1828 100%);
  --gradient-rose: linear-gradient(135deg, var(--rose), var(--rose-deep));
  --gradient-blush:linear-gradient(135deg, #F7E8ED 0%, #FBF0F3 100%);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
  --transition:    0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  background: var(--cream);
  color: var(--text-body);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--onyx);
  margin-top: 0;
}

a { color: var(--rose); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rose-deep); }

/* ─── Layout ──────────────────────────────────── */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ─── Header / Navigation ─────────────────────── */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.logo a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rose-deep);
  letter-spacing: -0.02em;
}

.logo a span {
  color: var(--rose);
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-xl);
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover {
  background: var(--blush);
  color: var(--rose-deep);
}

.nav-links a.active {
  background: var(--gradient-rose);
  color: white;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ─── Hero ────────────────────────────────────── */
.hero {
  background: var(--gradient-hero);
  color: white;
  text-align: center;
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(200, 90, 122, 0.25) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 180, 200, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose-light);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero { padding: 4rem 1.5rem 3.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
}

/* ─── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gradient-rose);
  color: white;
  box-shadow: 0 4px 20px rgba(200, 90, 122, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 90, 122, 0.45);
  color: white;
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--rose);
  border: 1.5px solid var(--rose-light);
}
.btn-outline:hover {
  background: var(--blush);
  border-color: var(--rose);
}

.btn-secondary {
  background: var(--blush);
  color: var(--rose-deep);
}
.btn-secondary:hover {
  background: var(--rose-light);
}

.btn-danger {
  background: #e53935;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.3);
}
.btn-danger:hover {
  background: #c62828;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
  color: white;
}

/* ─── Sections ─────────────────────────────────── */
.intro, .features, .advice, .cta {
  padding: 5rem 1.5rem;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
}

.intro p, .advice p, .cta p {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ─── Cards ────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: left;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blush);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--onyx);
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ─── Flash / Alerts ──────────────────────────── */
.flash {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-left: 4px solid #ffc107;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #5d4037;
}

/* ─── Forms ────────────────────────────────────── */
fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  background: var(--warm-white);
  box-shadow: var(--shadow-soft);
}

legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--rose-deep);
  padding: 0 0.75rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-body);
}

.form-group select,
.comment-field,
.pin-input {
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--warm-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group select:focus,
.comment-field:focus,
.pin-input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(200, 90, 122, 0.12);
}

.comment-field {
  width: 100%;
  max-width: 500px;
  resize: vertical;
}

.pin-input {
  width: 100%;
  max-width: 250px;
  font-size: 1.4rem;
  text-align: center;
  letter-spacing: 0.4rem;
}

/* ─── Practice / Fill Section ───────────────────── */
.fill-section, .pin-section, .create-section {
  padding: 3rem 1.5rem;
}

.fill-form fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  background: var(--warm-white);
}

.fill-form legend {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--rose-deep);
}

.practice {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.practice:last-child { border-bottom: none; }

.practice-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text-body);
  font-size: 0.95rem;
}

.answers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.answer-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-strong);
  transition: all var(--transition);
  background: var(--warm-white);
  color: var(--text-body);
}

.answer-option:hover,
.answer-option:has(input:checked) {
  background: var(--blush);
  border-color: var(--rose);
  color: var(--rose-deep);
}

.answer-option input[type="radio"] {
  accent-color: var(--rose);
}

/* ─── Results / Tables ──────────────────────────── */
.results {
  padding: 3rem 1.5rem;
}

.category-title {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--rose-deep);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
}

table.matches {
  width: 100%;
  border-collapse: collapse;
  background: var(--warm-white);
  font-size: 0.9rem;
}

table.matches th,
table.matches td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

table.matches thead tr:last-child th { border-bottom: 2px solid var(--border-strong); }
table.matches tbody tr:last-child td { border-bottom: none; }

table.matches th {
  background: var(--blush);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

table.matches tbody tr:hover { background: var(--rose-xlight); }

table.matches td:nth-child(3),
table.matches td:nth-child(4) {
  width: 30%;
  font-style: italic;
  color: var(--text-muted);
  word-break: break-word;
}

.match-type {
  font-weight: 600;
  color: var(--rose-deep);
}

/* ─── Sessions Table ────────────────────────────── */
table.sessions {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

table.sessions th,
table.sessions td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

table.sessions th {
  background: var(--blush);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

table.sessions tbody tr:last-child td { border-bottom: none; }
table.sessions tbody tr:hover { background: var(--rose-xlight); }

/* ─── Premium Hint ──────────────────────────────── */
.premium-hint {
  background: linear-gradient(135deg, #fff8f0, #fbeef3);
  border: 1.5px solid var(--rose-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem auto;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(200, 90, 122, 0.08);
}

.premium-hint strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--onyx);
}

.premium-hint p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ─── Premium Badge ──────────────────────────────── */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, #FFD700, #FFA000);
  color: #3E2000;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Pin / Create Forms ─────────────────────────── */
.pin-form, .create-form {
  display: inline-block;
  background: var(--warm-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-top: 2rem;
  border: 1px solid var(--border);
}

.created-box {
  background: var(--blush);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 600px;
}

.pin-display {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rose-deep);
  letter-spacing: 0.3rem;
}

.hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ─── Error / Expired States ─────────────────────── */
.expired-section, .error-section {
  padding: 5rem 1.5rem;
  text-align: center;
}

.expired-section h2, .error-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--onyx);
  margin-bottom: 1rem;
}

.expired-section p, .error-section p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.expired-actions, .error-actions, .actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ─── Products / Recommendations ─────────────────── */
.recommendations { margin: 2.5rem 0; }

.recommendations-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.product-card {
  position: relative;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(200, 90, 122, 0.12);
}

.product-card img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--gradient-rose);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-xl);
  letter-spacing: 0.03em;
}

.product-price {
  font-weight: 700;
  color: var(--onyx);
  font-size: 1rem;
}

/* ─── Footer ──────────────────────────────────────── */
.site-footer {
  background: var(--onyx);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 1.5rem;
  margin-top: 5rem;
  font-size: 0.875rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.footer-right {
  display: flex;
  gap: 0.25rem;
}

.footer-right a {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-xl);
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition), background var(--transition);
}

.footer-right a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-right { justify-content: center; flex-wrap: wrap; }
}

/* ─── Legal Pages (Datenschutz, Impressum, Kontakt) ── */
.legal-section {
  padding: 4rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.legal-box {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 3rem;
}

.legal-box h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--onyx);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.legal-intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-block h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--onyx);
  margin-bottom: 0.75rem;
}

.legal-block p,
.legal-block li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-block ul {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

.legal-block ul li {
  margin-bottom: 0.4rem;
}

.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="email"],
.contact-form .form-group textarea {
  width: 100%;
  max-width: 460px;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--warm-white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form .form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.contact-form .form-group input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(200, 90, 122, 0.12);
}

.flash-success {
  background: #f0faf4;
  border: 1px solid #a8d5b5;
  border-left: 4px solid #4caf50;
  color: #2e6b40;
}

.created-box a {
  word-break: break-all;
}

.copy-group {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.copy-input {
  flex: 1;
  min-width: 0;        /* verhindert overflow */
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--blush);
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .legal-box { padding: 2rem 1.5rem; }
}

/* ─── How it works (Details/Summary) ────────────── */
.how-it-works {
  background: var(--blush);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  max-width: 560px;
}

.how-it-works summary {
  font-weight: 600;
  color: var(--rose-deep);
  cursor: pointer;
  font-size: 0.95rem;
  list-style: none;
  padding: 0.25rem 0;
}

.how-it-works summary::-webkit-details-marker { display: none; }

.how-it-works summary::before {
  content: "▶ ";
  font-size: 0.7rem;
  transition: transform var(--transition);
}

details[open].how-it-works summary::before {
  content: "▼ ";
}

.how-it-works ol {
  margin: 1rem 0 0.5rem 1.25rem;
  padding: 0;
}

.how-it-works ol li {
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

.how-it-works ol li strong {
  color: var(--onyx);
}

/* ─── Utilities ───────────────────────────────────── */
.empty { color: var(--text-muted); margin-top: 2rem; font-style: italic; font-size: 0.9rem; }
.btn-accent { background: var(--gradient-rose); color: white; }
.text-rose { color: var(--rose); }
.text-muted { color: var(--text-muted); }