/* ========================================
   HeartSpring — Main Styles v2
   Theme: Rose Pink / Clean Structure
======================================== */

/* ===== Variables ===== */
:root {
  --primary: #E8B4B8;
  --primary-dark: #D65468;
  --primary-hover: #B44358;
  --primary-bg: #FFF5F7;
  --primary-light: #FFE4EC;

  --pink-50: #FFF5F7;
  --pink-100: #FFE4EC;
  --pink-200: #FECDD6;
  --pink-300: #FCA3B4;
  --pink-400: #F4778F;
  --pink-500: #E8637B;
  --pink-600: #D65468;
  --pink-700: #B44358;

  --white: #FFFFFF;
  --off-white: #FFFAF8;
  --background: #FFFAF8;

  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --border: #FECDD6;

  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ===== Header ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--pink-200);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
}

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

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}

.nav-link:hover {
  background: var(--pink-50);
  color: var(--primary-dark);
}

.nav-link.active {
  color: var(--primary-dark);
  background: var(--pink-50);
}

.nav-cta {
  background: var(--primary);
  color: white !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  color: white !important;
}

/* ===== Hero ===== */
.hero-section {
  background: linear-gradient(135deg, var(--pink-100) 0%, var(--pink-50) 50%, var(--white) 100%);
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero-content {
  max-width: 680px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--primary-dark);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,99,120,0.3);
}

.btn-outline {
  background: var(--white);
  color: var(--text-primary);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: var(--pink-50);
}

.btn-white {
  background: white;
  color: var(--primary-dark);
}
.btn-white:hover {
  background: var(--pink-50);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ===== Content Sections ===== */
.content-section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--white);
}

.section-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subheading {
  font-size: 1.05rem;
  color: var(--gray-500);
  text-align: center;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

/* ===== Quick Action Cards ===== */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.action-card {
  background: var(--white);
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.action-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.action-card .action-icon {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.action-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pink-700);
}

.action-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.5;
  flex: 1;
}

.action-card .action-arrow {
  font-size: 1.25rem;
  color: var(--primary);
  margin-top: 0.5rem;
  transition: transform 0.2s;
}

.action-card:hover .action-arrow {
  transform: translateX(4px);
}

/* ===== Stages Grid ===== */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.stage-card {
  background: var(--white);
  border: 2px solid var(--pink-100);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.2s;
}

.stage-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stage-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stage-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.stage-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pink-700);
  line-height: 1.3;
}

/* ===== Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 2px;
  background: linear-gradient(to right, var(--pink-200), var(--primary), var(--pink-200));
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.step-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
}

.step-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.step-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 3rem 0;
  background: var(--pink-50);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-2xl);
  padding: 3rem;
  text-align: center;
  color: white;
}

.cta-box h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-box p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--pink-100);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-dark);
}

.footer-copy {
  border-top: 1px solid var(--pink-50);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ===== Topics Page ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.9;
  font-size: 1rem;
}

/* Filters */
.filter-section {
  background: var(--white);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--pink-100);
  margin-bottom: 2rem;
}

.filter-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.filter-row select {
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text-primary);
  cursor: pointer;
  min-width: 160px;
}

.filter-row select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Topic Cards */
.topics-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 3rem;
}

.topic-card {
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.topic-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.topic-card .topic-stage {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--pink-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 140px;
}

.topic-card .topic-question {
  flex: 1;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

.topic-card .topic-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.topic-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: var(--pink-50);
  color: var(--pink-600);
  border-radius: 9999px;
  font-weight: 500;
  white-space: nowrap;
}

.topic-arrow {
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ===== Modal ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active { display: flex; }

.modal-content {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--gray-400);
  cursor: pointer;
  background: var(--gray-100);
  border: none;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--pink-100);
  color: var(--primary-dark);
}

/* Flip Card */
.flip-card-wrapper {
  perspective: 1000px;
  max-width: 300px;
  margin: 0 auto 1.5rem;
}

.flip-card {
  position: relative;
  width: 100%;
  height: 380px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.flip-card.flipped { transform: rotateY(180deg); }

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.flip-card-front {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.flip-card-front-inner {
  text-align: center;
}

.flip-card-front-inner .icon {
  font-size: 5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.flip-card-front-inner p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.flip-card-back {
  background: var(--white);
  transform: rotateY(180deg);
  padding: 1.5rem;
  overflow-y: auto;
}

.flip-card-back .topic-text {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.flip-card-back .topic-tags {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.flip-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Garden Page ===== */
.garden-hero {
  background: linear-gradient(135deg, var(--pink-100), var(--white));
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.garden-plot {
  width: 160px;
  height: 160px;
  background: linear-gradient(180deg, var(--pink-100) 0%, var(--pink-50) 60%, var(--pink-200) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  flex-shrink: 0;
}

.garden-info {
  flex: 1;
}

.garden-info h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.garden-info .stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--pink-100);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pink-700);
  margin-bottom: 1rem;
}

.garden-days {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.garden-days .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.garden-days .label {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.stat-box {
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
}

.stat-box .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-box .label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Timeline */
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title-row h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-800);
}

.timeline {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.4rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--pink-300), var(--pink-100));
}

.timeline-item {
  position: relative;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 1.25rem;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item .date {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 0.2rem;
}

.timeline-item .title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* ===== Assessment ===== */
.assessment-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--pink-100);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 9999px;
  transition: width 0.3s;
}

.progress-text {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-align: center;
  margin-bottom: 1.5rem;
}

.question-card {
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}

.question-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pink-700);
  margin-bottom: 1.5rem;
  text-align: center;
}

.assessment-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.assessment-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--pink-50);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.assessment-option:hover {
  border-color: var(--primary);
  background: var(--white);
}

.assessment-option.selected {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.assessment-option input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* Result */
.result-card {
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-2xl);
  padding: 3rem 2rem;
  text-align: center;
}

.result-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.result-stage {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--pink-100);
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--pink-700);
  margin-bottom: 1rem;
}

.result-description {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ===== Invite Page ===== */
.invite-preview-card {
  background: linear-gradient(135deg, var(--pink-100), var(--white));
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.invite-preview-card h3 {
  font-family: Georgia, serif;
  font-size: 1.75rem;
  color: var(--pink-700);
  margin-bottom: 1rem;
}

.invite-preview-card .message {
  font-style: italic;
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.invite-preview-card .from {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.pairing-code-box {
  background: var(--pink-50);
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-xl);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.pairing-code-box code {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
}

/* Form Card */
.form-card {
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.form-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pink-700);
  margin-bottom: 0.25rem;
  text-align: center;
}

.form-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 1.25rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 0.4rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--pink-100);
}

/* Info List */
.info-list {
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
}

.info-list h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pink-700);
  margin-bottom: 1rem;
}

.info-list ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.info-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-800);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  z-index: 200;
  animation: toastIn 0.3s ease;
  white-space: nowrap;
}

.toast.success { background: var(--success); }
.toast.error { background: var(--error); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(1rem); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 3rem;
  background: var(--white);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-xl);
}

.empty-state .icon { font-size: 4rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 0.4rem; }
.empty-state p { font-size: 0.875rem; color: var(--gray-400); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .stages-grid { grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
  .actions-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-section { padding: 3rem 0 2.5rem; }
  .header-nav { gap: 0; }
  .nav-link { padding: 0.4rem 0.6rem; font-size: 0.875rem; }
  .nav-cta { margin-left: 0.25rem; }
  .logo-img { height: 36px; }
  
  .actions-grid { grid-template-columns: 1fr; }
  .stages-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps-grid::before { display: none; }
  
  .garden-hero { flex-direction: column; text-align: center; gap: 1.5rem; }
  .garden-plot { width: 120px; height: 120px; font-size: 3.5rem; }
  .garden-stats { justify-content: center; }
  .stats-row { grid-template-columns: 1fr; }
  
  .topic-card { flex-wrap: wrap; }
  .topic-card .topic-stage { min-width: auto; }
  
  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .footer-links { gap: 1rem; }
  
  .modal-content { padding: 1.5rem; }
  .flip-card { height: 320px; }
}

@media (max-width: 480px) {
  .stages-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* Heart icon colors (matching poker card style) */
.heart-large { color: var(--primary); }
.heart-small { color: var(--pink-400); }
