
    :root {
      --gold: #d4a017;
      --gold-light: #e8c04a;
      --midnight: #0a0e1a;
      --charcoal: #1a1f2e;
      --slate: #252b3b;
      --ivory: #f5f0e8;
      --text-muted: rgba(245,240,232,0.6);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      font-family: 'Poppins', system-ui, sans-serif;
      background: var(--midnight);
      color: var(--ivory);
      min-height: 100vh;
      overflow-x: hidden;
    }

    h1,h2,h3,.font-serif {
      font-family: 'Playfair Display', Georgia, serif;
    }

    /* Scrollbar */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--midnight); }
    ::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

    /* ===== HERO ===== */
    .hero {
      position: relative;
      padding: 5rem 1.5rem 4rem;
      text-align: center;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,160,23,0.12) 0%, transparent 70%);
      pointer-events: none;
    }

    /* Stars background */
    .stars {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
    }
    .star {
      position: absolute;
      width: 2px;
      height: 2px;
      background: rgba(212,160,23,0.4);
      border-radius: 50%;
      animation: twinkle var(--d, 3s) ease-in-out infinite var(--delay, 0s);
    }
    @keyframes twinkle {
      0%,100% { opacity: 0.2; transform: scale(1); }
      50% { opacity: 1; transform: scale(1.5); }
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(212,160,23,0.1);
      border: 1px solid rgba(212,160,23,0.3);
      color: var(--gold);
      font-size: 0.75rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.4rem 1rem;
      border-radius: 100px;
      margin-bottom: 1.5rem;
    }

    .hero h1 {
      font-size: clamp(2rem, 5vw, 3.5rem);
      line-height: 1.2;
      margin-bottom: 1rem;
    }

    .hero h1 span { color: var(--gold); }

    .hero p {
      max-width: 560px;
      margin: 0 auto 2.5rem;
      color: var(--text-muted);
      font-size: 1.05rem;
      line-height: 1.7;
    }

    .stars-row {
      display: flex;
      justify-content: center;
      gap: 0.3rem;
      margin-bottom: 0.5rem;
      font-size: 1.5rem;
    }

   .container {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;        /* default mobile spacing */
}

/* Tablet */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 20px;
  }
}

/* Laptop */
@media (min-width: 1024px) {
  .container {
    max-width: 960px;
    padding: 0 29px;
  }
}

/* Desktop */
@media (min-width: 1280px) {
  .container {
    max-width: 1100px;
    padding: 0 29px;
  }
}

/* Large screens */
@media (min-width: 1440px) {
  .container {
    max-width: 1200px;
  }
}

    /* ===== REVIEW GENERATOR ===== */
    .generator-section {
      padding: 3rem 1.5rem 5rem;
    }

    .generator-card {
      background: var(--charcoal);
      border: 1px solid rgba(212,160,23,0.2);
      border-radius: 1.25rem;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }

    .generator-header {
      background: linear-gradient(135deg, rgba(212,160,23,0.12), rgba(212,160,23,0.04));
      border-bottom: 1px solid rgba(212,160,23,0.15);
      padding: 1.5rem 1.2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 1rem;
    }

    .generator-header h2 {
      font-size: 1.5rem;
      color: var(--ivory);
    }

    .generator-header h2 span { color: var(--gold); }

    .category-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .pill {
      padding: 0.6rem 1rem;      /* bigger click area */
      font-size: 0.85rem;        /* slightly larger text */
      border-radius: 100px;

      font-weight: 500;
      cursor: pointer;
      border: 1px solid rgba(212,160,23,0.3);
      background: transparent;
      color: var(--text-muted);
      transition: all 0.25s ease;
      letter-spacing: 0.03em;
    }

    .pill:hover, .pill.active {
      background: var(--gold);
      color: var(--midnight);
      border-color: var(--gold);
    }

    .generator-body {
  padding: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

    @media (max-width: 768px) {

  .generator-header {
    padding: 1.5rem 1.2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .category-pills {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

  .pill {
  width: 100%;
  text-align: center;
  padding: 0.7rem 0.6rem;
  font-size: 0.85rem;
}

  .generator-body {
    padding: 1.2rem;
    display: flex;
    justify-content: center;
  }

  .review-display {
    max-width: 100%;
  }

  .review-box {
  min-height: unset;
  padding: 1rem;
}

  .action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn {
  width: 100%;
  font-size: 0.8rem;
  padding: 0.7rem;
}

  .hero {
    padding: 3.5rem 1rem 3rem;
  }

  .hero p {
    font-size: 0.95rem;
  }
}

.generator-card {
  width: 100%;
  border-radius: 20px;
}

    /* Review display */
    .review-display {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
 width: 100%;
}

    .review-box {
      background: var(--slate);
      border: 1px solid rgba(212,160,23,0.15);
      border-radius: 0.875rem;
      padding: 1.5rem;
      font-size: 0.95rem;
      line-height: 1.75;
      color: var(--ivory);
      min-height: 160px;
      position: relative;
      text-align: center;
      transition: border-color 0.3s ease;
    }

    .review-box::before {
      content: '"';
      position: absolute;
      top: -0.5rem;
      left: 1.25rem;
      font-family: 'Playfair Display', serif;
      font-size: 4rem;
      color: var(--gold);
      opacity: 0.3;
      line-height: 1;
    }

    .review-box.highlight {
      border-color: var(--gold);
      animation: pulse-border 0.5s ease;
    }

    @keyframes pulse-border {
      0% { border-color: var(--gold-light); box-shadow: 0 0 0 4px rgba(212,160,23,0.2); }
      100% { border-color: var(--gold); box-shadow: none; }
    }

    .review-text {
      padding-top: 1.5rem;
    }

    .review-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 0.75rem;
    }

    .review-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 2px; }
    .review-tag {
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--gold);
      background: rgba(212,160,23,0.1);
      padding: 0.2rem 0.6rem;
      border-radius: 100px;
    }

    /* Action buttons */
    .action-buttons {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      padding: 0.875rem 1.5rem;
      border-radius: 0.625rem;
      font-size: 0.9rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.25s ease;
      border: none;
      text-decoration: none;
      font-family: 'Poppins', sans-serif;
    }

    .btn-primary {
      background: var(--gold);
      color: var(--midnight);
    }
    .btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

    .btn-secondary {
      background: transparent;
      border: 1px solid rgba(212,160,23,0.4);
      color: var(--ivory);
    }
    .btn-secondary:hover { border-color: var(--gold); background: rgba(212,160,23,0.06); }

    .btn-google {
      background: #fff;
      color: #3c4043;
      font-weight: 600;
    }
    .btn-google:hover { background: #f8f9fa; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(255,255,255,0.2); }

    .btn-outline {
      background: transparent;
      border: 1px solid rgba(212,160,23,0.3);
      color: var(--gold);
    }
    .btn-outline:hover { background: rgba(212,160,23,0.08); }

    /* Right panel */
    .right-panel {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .how-it-works {
      background: var(--slate);
      border: 1px solid rgba(212,160,23,0.1);
      border-radius: 0.875rem;
      padding: 1.5rem;
    }

    .how-it-works h3 {
      font-size: 1rem;
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      color: var(--gold);
      margin-bottom: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      font-size: 0.8rem;
    }

    .steps { display: flex; flex-direction: column; gap: 0.75rem; }

    .step {
      display: flex;
      align-items: flex-start;
      gap: 0.875rem;
    }

    .step-num {
      width: 28px;
      height: 28px;
      min-width: 28px;
      border-radius: 50%;
      background: rgba(212,160,23,0.15);
      border: 1px solid rgba(212,160,23,0.3);
      color: var(--gold);
      font-size: 0.75rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .step-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; padding-top: 0.2rem; }
    .step-text strong { color: var(--ivory); }

    /* Counter badge */
    .counter-badge {
      display: flex;
      align-items: center;
      gap: 1rem;
      background: rgba(212,160,23,0.06);
      border: 1px solid rgba(212,160,23,0.15);
      border-radius: 0.875rem;
      padding: 1.25rem 1.5rem;
    }

    .counter-icon { font-size: 2rem; }
    .counter-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
    .counter-value { font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--gold); line-height: 1; }

    /* Copied toast */
    .toast {
      position: fixed;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%) translateY(100px);
      background: var(--gold);
      color: var(--midnight);
      padding: 0.75rem 1.75rem;
      border-radius: 100px;
      font-weight: 600;
      font-size: 0.9rem;
      z-index: 9999;
      transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
      white-space: nowrap;
    }

    .toast.show { transform: translateX(-50%) translateY(0); }

    /* ===== REVIEW GRID ===== */
    .reviews-grid-section {
      padding: 4rem 1.5rem;
      background: var(--charcoal);
    }

    .section-label {
      text-align: center;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-size: 0.75rem;
      color: var(--gold);
      margin-bottom: 0.75rem;
    }

    .section-title {
      text-align: center;
      font-size: clamp(1.75rem, 3.5vw, 2.5rem);
      margin-bottom: 0.75rem;
    }

    .section-subtitle {
      text-align: center;
      color: var(--text-muted);
      font-size: 0.95rem;
      max-width: 500px;
      margin: 0 auto 3rem;
      line-height: 1.6;
    }

    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1.25rem;
    }

    .grid-review-card {
      background: var(--midnight);
      border: 1px solid rgba(212,160,23,0.1);
      border-radius: 0.875rem;
      padding: 1.5rem;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .grid-review-card::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(212,160,23,0.05), transparent);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .grid-review-card:hover {
      border-color: rgba(212,160,23,0.4);
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    }

    .grid-review-card:hover::after { opacity: 1; }

    .card-stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 0.75rem; }
    .card-text { font-size: 0.875rem; line-height: 1.65; color: var(--ivory); margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
    .card-footer { display: flex; align-items: center; justify-content: space-between; }
    .card-category { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); background: rgba(212,160,23,0.1); padding: 0.2rem 0.6rem; border-radius: 100px; }
    .card-copy-btn { font-size: 0.75rem; color: var(--text-muted); background: none; border: none; cursor: pointer; font-family: inherit; padding: 0.2rem 0.5rem; border-radius: 4px; transition: all 0.2s ease; }
    .card-copy-btn:hover { color: var(--gold); background: rgba(212,160,23,0.08); }

    /* Pagination */
    .pagination {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      margin-top: 2.5rem;
      flex-wrap: wrap;
    }

    .page-btn {
      width: 38px;
      height: 38px;
      border-radius: 8px;
      border: 1px solid rgba(212,160,23,0.25);
      background: transparent;
      color: var(--text-muted);
      font-size: 0.85rem;
      cursor: pointer;
      transition: all 0.2s ease;
      font-family: inherit;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .page-btn:hover, .page-btn.active {
      background: var(--gold);
      color: var(--midnight);
      border-color: var(--gold);
    }

    /* ===== CTA STRIP ===== */
    .cta-strip {
      background: linear-gradient(135deg, rgba(212,160,23,0.12), rgba(212,160,23,0.04));
      border-top: 1px solid rgba(212,160,23,0.15);
      border-bottom: 1px solid rgba(212,160,23,0.15);
      padding: 4rem 1.5rem;
      text-align: center;
    }

    .cta-strip h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
    .cta-strip p { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }

    .cta-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* Spinner for loading */
    .spinner {
      width: 20px;
      height: 20px;
      border: 2px solid rgba(212,160,23,0.3);
      border-top-color: var(--gold);
      border-radius: 50%;
      animation: spin 0.7s linear infinite;
      display: none;
    }
    .spinner.visible { display: block; }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* Fade animation for review swap */
    @keyframes fadeInReview {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .review-text.animate { animation: fadeInReview 0.4s ease forwards; }

    /* Filter bar */
    .filter-bar {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-wrap: wrap;
      margin-bottom: 1.5rem;
    }

    .filter-label {
      font-size: 0.8rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    /* Search box */
    .search-box {
      background: var(--slate);
      border: 1px solid rgba(212,160,23,0.2);
      border-radius: 0.5rem;
      padding: 0.5rem 0.875rem;
      color: var(--ivory);
      font-family: inherit;
      font-size: 0.85rem;
      outline: none;
      transition: border-color 0.25s;
      flex: 1;
      min-width: 200px;
    }
    .search-box:focus { border-color: var(--gold); }
    .search-box::placeholder { color: var(--text-muted); }

    /* Google logo inline */
    .google-g {
      width: 18px;
      height: 18px;
    }

    /* Divider */
    .divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(212,160,23,0.2), transparent);
      margin: 0;
    }

    
.review-display {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

/* visible state */
.review-display.show {
  opacity: 1;
  transform: translateY(0);
}

.action-buttons {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.review-display.show .action-buttons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}