:root {
      --bg: #000000;
      --text: #e5e7eb;
      --muted: #a1a1aa;
      --bubble: #1c1c1f;
      --user-bubble: #0f172a;
      --accent: #3b82f6;
      --link: #7dd3fc;
      --radius: 22px;
      --shadow: 0 4px 20px rgba(0,0,0,0.3);
    }

    * { box-sizing: border-box; }
    html, body { height: 100%; margin: 0; padding: 0; font-family: 'Inter', sans-serif; color: var(--text); background: linear-gradient(to bottom, #0b0d16, #000); overflow-x: hidden; }

    header { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 2rem; position: sticky; top: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); z-index: 10; }
    .brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: #fff; font-weight: 600; font-size: 1.1rem; }
    .dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }
    nav a { color: var(--muted); margin-left: 1rem; text-decoration: none; }
    nav a:hover { color: #fff; }

    .contact-btn { background: #fff; color: #000; padding: .6rem 1.2rem; border-radius: 10px; font-weight: 600; text-decoration: none; transition: opacity .2s ease; }
    .contact-btn:hover { opacity: 0.85; }

    main { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 1rem 2rem; max-width: 700px; margin: auto; }

    .bubble { background: var(--bubble); padding: 1rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); font-size: 1.1rem; line-height: 1.5; opacity: 0; transform: translateY(20px) scale(0.98); transition: opacity .4s ease, transform .4s ease; max-width: 85%; color: var(--text); }
    .bubble.show { opacity: 1; transform: translateY(0) scale(1); }
    .bubble.user { align-self: flex-end; background: var(--user-bubble); border: 1px solid rgba(59,130,246,.25); }

    .loading b { animation: bounce 1s infinite alternate; display: inline-block; margin: 0 .1rem; }
    .loading b:nth-child(2) { animation-delay: .2s; }
    .loading b:nth-child(3) { animation-delay: .4s; }
    @keyframes bounce { to { transform: translateY(-4px); } }

    .actions-bar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(15,15,18,0.9); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,0.1); padding: 1rem; display: flex; justify-content: center; gap: 1rem; z-index: 10; }
    .action-btn { background: var(--accent); color: white; border: none; border-radius: 12px; padding: 0.8rem 1.4rem; font-size: 1rem; font-weight: 500; cursor: pointer; box-shadow: 0 4px 20px rgba(59,130,246,0.3); transition: transform .2s ease, box-shadow .2s ease; }
    .action-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(59,130,246,0.4); }

      .messages { display:flex; flex-direction:column; align-items:flex-start; gap: 1rem; padding: 1rem 2rem; max-width: 700px; margin: 0 auto; overflow-y: auto; max-height: calc(100dvh - 180px); }

    header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
}

.menu-toggle {
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: none;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-btn {
  background-color: #fff;
  color: #000;
  padding: .5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 720px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    padding: 1rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

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

  .nav-links a {
    padding: .6rem 0;
    font-size: 1rem;
  }

  .contact-btn {
    margin-top: .5rem;
    background-color: transparent;
    color: white;
  }
      main.messages { padding: .8rem 1rem; max-height: calc(100dvh - 200px); }
      .bubble { font-size: 1rem; padding: .85rem 1rem; max-width: 92%; }
      .actions-bar { display: grid; grid-template-columns: repeat(2, 1fr); padding: .7rem; gap: .6rem; }
      .action-btn {padding: .6rem 1rem; font-size: .95rem; border-radius: 10px; }
      .contact-btn { padding: .5rem .9rem; border-radius: 8px; }
    }