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

    :root {
      --bg: #06061a;
      --bg-card: rgba(15, 20, 45, 0.75);
      --border: rgba(99, 102, 241, 0.25);
      --text: #f1f5f9;
      --muted: #94a3b8;
      --gradient: linear-gradient(135deg, #6366f1, #a855f7);
      --font: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      --star: #fbbf24;
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font);
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    body.menu-open { overflow: hidden; }
    a { text-decoration: none; color: inherit; }

    .bg-grid {
      position: fixed; inset: 0; z-index: 0; pointer-events: none;
      background-image:
        linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
      background-size: 50px 50px;
    }
    .bg-glow {
      position: fixed; width: 600px; height: 600px; border-radius: 50%;
      filter: blur(120px); opacity: 0.25; pointer-events: none; z-index: 0;
    }
    .bg-glow-1 { top: -150px; right: 10%; background: #6366f1; }
    .bg-glow-2 { bottom: 10%; left: -100px; background: #a855f7; opacity: 0.15; }

    .page { position: relative; z-index: 1; }

    header {
      position: sticky; top: 0; z-index: 100;
      background: rgba(6, 6, 26, 0.85);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    }
    .nav {
      max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem;
      display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    }
    .logo { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.25rem; }
    .logo-icon {
      width: 32px; height: 32px; border-radius: 9px; background: var(--gradient);
      display: flex; align-items: center; justify-content: center;
      font-weight: 800; font-size: 1rem; color: #fff;
      box-shadow: 0 0 20px rgba(99, 102, 241, 0.45);
    }
    .nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
    .nav-links a { font-size: 0.925rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
    .nav-links a:hover { color: #fff; }
    .nav-links a.nav-active { color: #a78bfa; position: relative; }
    .nav-links a.nav-active::after {
      content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
      height: 2px; background: var(--gradient); border-radius: 2px;
    }
    .nav-actions { display: flex; align-items: center; gap: 0.75rem; }
    .btn-login {
      padding: 0.5rem 1.1rem; font-size: 0.9rem; font-weight: 500; color: var(--muted);
      border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 999px;
      background: transparent; cursor: pointer; transition: all 0.2s; font-family: inherit;
    }
    .btn-login:hover { color: #fff; border-color: rgba(148, 163, 184, 0.5); }
    .btn-get-started {
      padding: 0.55rem 1.25rem; font-size: 0.9rem; font-weight: 600; color: #fff;
      background: var(--gradient); border: none; border-radius: 999px; cursor: pointer;
      box-shadow: 0 0 20px rgba(99, 102, 241, 0.4); transition: transform 0.2s, box-shadow 0.2s;
      font-family: inherit; margin: 0.125rem;
    }
    .btn-get-started:hover { transform: translateY(-1px); box-shadow: 0 0 28px rgba(99, 102, 241, 0.55); }

    .menu-toggle {
      display: none; width: 36px; height: 36px; background: none; border: none;
      cursor: pointer; position: relative; z-index: 200; padding: 0;
    }
    .menu-toggle span {
      display: block; position: absolute; left: 6px; width: 24px; height: 2.5px;
      background: #fff; border-radius: 2px; transition: all 0.3s ease;
    }
    .menu-toggle span:nth-child(1) { top: 10px; }
    .menu-toggle span:nth-child(2) { top: 17px; }
    .menu-toggle span:nth-child(3) { top: 24px; }
    .menu-toggle.active span:nth-child(1) { top: 17px; transform: rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
    .menu-toggle.active span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

    .mobile-menu {
      display: none; position: fixed; inset: 0; z-index: 150;
      background: rgba(6, 6, 26, 0.98); flex-direction: column;
      align-items: center; justify-content: center; gap: 1.5rem;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { font-size: 1.35rem; font-weight: 600; color: var(--muted); }
    .mobile-menu a:hover, .mobile-menu a.nav-active { color: #a78bfa; }
    .mobile-close {
      position: absolute; top: 1.25rem; right: 1.25rem;
      background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer;
    }
    .mobile-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; width: 200px; }
    .mobile-actions .btn-login, .mobile-actions .btn-get-started { width: 100%; text-align: center; }

    /* PAGE */
    .reviews-page {
      max-width: 1100px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem;
    }
    .page-hero { text-align: center; margin-bottom: 3rem; }
    .section-label {
      font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
      color: #a78bfa; margin-bottom: 0.75rem; text-transform: uppercase;
    }
    .page-hero h1 {
      font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800;
      letter-spacing: -0.02em; margin-bottom: 0.75rem;
    }
    .page-hero p { color: var(--muted); max-width: 540px; margin: 0 auto; font-size: 1.05rem; }

    /* Summary card */
    .summary-card {
      background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
      padding: 1.75rem 2rem; margin-bottom: 2rem;
      backdrop-filter: blur(12px);
      box-shadow: 0 0 40px rgba(99, 102, 241, 0.08);
      display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
    }
    .summary-score { text-align: center; min-width: 140px; }
    .summary-score .big {
      font-size: 3.25rem; font-weight: 800; line-height: 1;
      background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    .summary-stars { color: var(--star); font-size: 1.25rem; letter-spacing: 2px; margin: 0.35rem 0; }
    .summary-count { font-size: 0.85rem; color: var(--muted); }
    .google-badge {
      display: inline-flex; align-items: center; gap: 0.4rem;
      margin-top: 0.5rem; font-size: 0.75rem; font-weight: 600; color: var(--muted);
    }
    .google-badge span.g {
      width: 18px; height: 18px; border-radius: 4px; background: #fff; color: #4285f4;
      display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 800;
    }

    .rating-bars { display: flex; flex-direction: column; gap: 0.5rem; }
    .rating-row { display: flex; align-items: center; gap: 0.65rem; font-size: 0.85rem; }
    .rb-label { width: 2.4rem; color: var(--muted); font-weight: 600; }
    .rb-track {
      flex: 1; height: 8px; background: rgba(148, 163, 184, 0.15);
      border-radius: 999px; overflow: hidden;
    }
    .rb-fill {
      height: 100%; border-radius: 999px;
      background: linear-gradient(90deg, #f59e0b, #fbbf24);
    }
    .rb-count { width: 2rem; text-align: right; color: var(--muted); font-weight: 600; font-size: 0.8rem; }

    /* Toolbar */
    .toolbar {
      display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
      justify-content: space-between; margin-bottom: 1.5rem;
    }
    .tabs {
      display: flex; flex-wrap: wrap; gap: 0.35rem;
      background: rgba(15, 20, 45, 0.6); border: 1px solid var(--border);
      border-radius: 12px; padding: 0.3rem;
    }
    .tab {
      padding: 0.5rem 1rem; border: none; border-radius: 9px; background: transparent;
      color: var(--muted); font-size: 0.85rem; font-weight: 500; cursor: pointer;
      font-family: inherit; transition: all 0.2s; white-space: nowrap;
    }
    .tab:hover { color: #fff; }
    .tab.active {
      color: #fff; background: rgba(99, 102, 241, 0.35);
      box-shadow: 0 0 16px rgba(99, 102, 241, 0.25);
    }
    .toolbar-right { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
    .search-box {
      display: flex; align-items: center; gap: 0.45rem;
      padding: 0.5rem 0.9rem; background: rgba(15, 20, 45, 0.7);
      border: 1px solid var(--border); border-radius: 10px; min-width: 180px;
    }
    .search-box input {
      border: none; background: transparent; outline: none; color: var(--text);
      font-size: 0.88rem; width: 100%; font-family: inherit;
    }
    .search-box input::placeholder { color: var(--muted); }
    .select-sort {
      padding: 0.5rem 0.85rem; background: rgba(15, 20, 45, 0.7);
      border: 1px solid var(--border); border-radius: 10px; color: var(--text);
      font-size: 0.85rem; font-family: inherit; cursor: pointer;
    }

    /* Review cards */
    .reviews-grid {
      display: grid; grid-template-columns: 1fr; gap: 1rem;
    }
    @media (min-width: 720px) {
      .reviews-grid { grid-template-columns: 1fr 1fr; }
    }

    .review-card {
      background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
      padding: 1.35rem 1.4rem; backdrop-filter: blur(10px);
      transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    }
    .review-card:hover {
      border-color: rgba(168, 85, 247, 0.45);
      box-shadow: 0 0 28px rgba(99, 102, 241, 0.15);
      transform: translateY(-2px);
    }
    .review-head { display: flex; gap: 0.85rem; margin-bottom: 0.85rem; }
    .review-avatar {
      width: 46px; height: 46px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-weight: 700; font-size: 0.9rem; color: #fff; flex-shrink: 0;
    }
    .review-name { font-weight: 700; font-size: 0.95rem; }
    .review-stars { color: var(--star); font-size: 0.9rem; letter-spacing: 1px; }
    .review-time { font-size: 0.75rem; color: var(--muted); }
    .review-text { font-size: 0.9rem; color: #cbd5e1; line-height: 1.55; margin-bottom: 0.85rem; }
    .review-footer {
      display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
    }
    .via-google {
      font-size: 0.72rem; font-weight: 600; color: var(--muted);
      padding: 0.2rem 0.55rem; border-radius: 999px;
      background: rgba(148, 163, 184, 0.12); border: 1px solid rgba(148, 163, 184, 0.15);
    }

    .pagination {
      display: flex; align-items: center; justify-content: center; gap: 0.4rem;
      margin-top: 2rem; flex-wrap: wrap;
    }
    .page-btn {
      min-width: 38px; height: 38px; padding: 0 0.5rem; border-radius: 10px;
      border: 1px solid var(--border); background: rgba(15, 20, 45, 0.7);
      color: var(--text); font-size: 0.85rem; cursor: pointer; font-family: inherit;
    }
    .page-btn.active {
      background: var(--gradient); border-color: transparent; font-weight: 700;
      box-shadow: 0 0 16px rgba(99, 102, 241, 0.4);
    }
    .page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

    .cta-banner {
      margin-top: 3.5rem; text-align: center;
      background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
      padding: 2.5rem 1.5rem;
      box-shadow: 0 0 40px rgba(99, 102, 241, 0.1);
    }
    .cta-banner h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
    .cta-banner p { color: var(--muted); margin-bottom: 1.25rem; max-width: 420px; margin-left: auto; margin-right: auto; }
    .cta-banner .btn-get-started { font-size: 1rem; padding: 0.7rem 1.6rem; }

    /* Footer */
    footer {
      border-top: 1px solid rgba(99, 102, 241, 0.15);
      padding: 4rem 1.5rem 2rem; margin-top: 2rem;
    }
    .footer-inner {
      max-width: 1200px; margin: 0 auto;
      display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
    }
    .footer-brand p { font-size: 0.9rem; color: var(--muted); margin: 0.75rem 0 1.25rem; max-width: 240px; }
    @media (max-width: 768px) {
      .footer-brand .logo { justify-content: center; }
    }
    .socials { display: flex; gap: 0.6rem; }
    .socials a {
      width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      font-size: 0.85rem; color: var(--muted); transition: all 0.2s;
    }
    .socials a:hover { color: #fff; border-color: #a78bfa; }
    .footer-col h4 {
      font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem;
      text-transform: uppercase; letter-spacing: 0.05em; color: #e2e8f0;
    }
    .footer-col ul { list-style: none; }
    .footer-col li { margin-bottom: 0.55rem; }
    .footer-col a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
    .footer-col a:hover { color: #a78bfa; }
    .footer-bottom {
      max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.5rem;
      border-top: 1px solid rgba(99, 102, 241, 0.12);
      display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
      font-size: 0.8rem; color: var(--muted);
    }
    .footer-bottom a { color: var(--muted); margin-left: 0.75rem; }
    .footer-bottom a:hover { color: #a78bfa; }

    @media (max-width: 900px) {
      .footer-inner { grid-template-columns: 1fr 1fr; }
      .summary-card { grid-template-columns: 1fr; text-align: center; }
      .summary-score { margin: 0 auto; }
    }
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .menu-toggle { display: block; }
      .btn-login, .nav-actions .btn-get-started { display: none; }
      .toolbar { flex-direction: column; align-items: stretch; }
      .tabs { width: 100%; overflow-x: auto; }
      .toolbar-right { width: 100%; }
      .search-box { flex: 1; min-width: 0; }
    }
    @media (max-width: 560px) {
      .footer-inner { grid-template-columns: 1fr; text-align: center; }
      .footer-brand p { margin-left: auto; margin-right: auto; }
      .socials { justify-content: center; }
      .footer-bottom { justify-content: center; text-align: center; }
      .reviews-page { padding: 2.5rem 1rem 4rem; }
    }