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

    :root {
      --bg: #121212;
      --bg2: #121212;
      --panel: #1f1f1f;
      --c1: #1ed760;
      --c2: #1db954;
      --c3: #f3727f;
      --c4: #ffa42b;
      --c5: #b3b3b3;
      --primary-soft: #1db954;
      --primary-deep: #1db954;
      --ink-strong: #ffffff;
      --mute: #b3b3b3;
      --border: transparent;
      --text: #ffffff;
      --text2: #b3b3b3;
      --orb: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
      --mono: 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace;
    }

    html,
    body {
      height: 100%;
      background: var(--bg);
      color: var(--text);
      font-family: var(--orb);
      overflow: hidden;
    }

    /* ── AMBIENT ORBS ── */
    .orb {
      display: none;
    }

    /* ── SCROLL ANIMATIONS ── */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease-out;
    }

    .reveal.active {
      opacity: 1;
      transform: translateY(0);
    }

    /* ── LANDING NAV BAR ── */
    .landing-nav {
      position: sticky;
      top: 0;
      z-index: 50;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.8rem 2rem;
      background: rgba(18, 18, 18, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
      cursor: pointer;
    }

    .nav-logo img {
      height: 28px;
      width: auto;
      filter: saturate(0.8);
      transition: filter 0.3s;
    }

    .nav-logo:hover img {
      filter: none;
    }

    .nav-logo span {
      font-family: var(--orb);
      font-weight: 700;
      font-size: 1rem;
      letter-spacing: 0.06em;
      color: #ffffff;
    }

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

    .nav-links a {
      font-family: var(--orb);
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text2);
      text-decoration: none;
      letter-spacing: 0.04em;
      transition: color 0.2s;
    }

    .nav-links a:hover {
      color: #ffffff;
    }

    .nav-links a.nav-pro {
      color: var(--c1);
      font-weight: 700;
    }

    .nav-links a.nav-pro:hover {
      color: #1fdf64;
    }

    @media (max-width: 480px) {
      .landing-nav {
        padding: 0.7rem 1rem;
      }

      .nav-logo span {
        font-size: 0.85rem;
      }

      .nav-links {
        gap: 1rem;
      }

      .nav-links a {
        font-size: 0.75rem;
      }
    }

    /* ── LANDING PAGE ── */
    #landing {
      height: 100dvh;
      overflow-y: auto;
      overflow-x: hidden;
      position: relative;
      z-index: 2;
      scroll-behavior: smooth;
    }

    section {
      padding: 2.5rem 2rem;
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    section:last-of-type {
      border-bottom: none;
    }

    /* Hero */
    .hero {
      min-height: 60dvh;
      justify-content: center;
      padding-bottom: 1rem;
    }

    .title-main {
      font-family: var(--orb);
      font-weight: 700;
      font-size: clamp(2.2rem, 6vw, 60px);
      letter-spacing: -0.03em;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.4em;
    }

    .title-main span {
      color: var(--ink-strong);
      text-shadow: none;
    }

    .title-main img {
      height: 1.15em;
      width: auto;
      vertical-align: middle;
      filter: saturate(0.8);
      transition: all 0.4s ease;
    }

    .title-main img:hover {
      transform: scale(1.05) rotate(2deg);
      filter: none;
    }

    .title-sub {
      font-family: var(--orb);
      font-size: 14px;
      font-weight: 600;
      line-height: 20px;
      color: var(--text2);
      letter-spacing: 2.52px;
      margin-top: 1rem;
      text-align: center;
      text-transform: uppercase;
      opacity: 0.9;
    }

    .start-btn {
      margin-top: 2.5rem;
      padding: 12px 32px;
      background: var(--c1);
      border: none;
      color: #121212;
      font-family: var(--orb);
      font-weight: 700;
      font-size: 14px;
      line-height: 1;
      cursor: pointer;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      transition: all 0.2s ease;
      border-radius: 9999px;
      position: relative;
      overflow: hidden;
    }

    .start-btn:hover {
      background: #1fdf64;
      transform: scale(1.04);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }

    .start-btn:active {
      transform: scale(0.98);
    }

    /* Headings */
    .section-title {
      font-family: var(--orb);
      font-size: clamp(1.8rem, 4vw, 36px);
      font-weight: 700;
      line-height: 40px;
      letter-spacing: -0.02em;
      color: var(--ink-strong);
      text-align: center;
      margin-bottom: 0.5rem;
    }

    .section-subtitle {
      font-family: var(--orb);
      font-size: 14px;
      color: var(--text2);
      text-align: center;
      margin-bottom: 3rem;
      letter-spacing: 0.05em;
    }

    /* Features */
    .feat-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
      width: 100%;
    }

    .feat-card {
      background: var(--canvas-soft);
      border: none;
      padding: 2rem 1.5rem;
      text-align: center;
      border-radius: 8px;
      transition: all 0.25s ease;
      box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
    }

    .feat-card:hover {
      background: #252525;
      box-shadow: rgba(0, 0, 0, 0.3) 0px 8px 8px;
      transform: translateY(-4px);
    }

    .feat-card:hover .feat-icon {
      transform: scale(1.05);
      transition: transform 0.25s ease;
    }

    .feat-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
      transition: transform 0.25s ease;
    }

    .feat-title {
      font-family: var(--orb);
      font-size: 18px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 1rem;
      letter-spacing: 0;
    }

    .feat-desc {
      font-family: var(--orb);
      font-size: 14px;
      color: var(--text2);
      line-height: 1.65;
    }

    /* Discover */
    .discover {
      margin-top: 2rem;
    }

    .disc-content {
      display: flex;
      gap: 4rem;
      align-items: center;
      width: 100%;
      flex-wrap: wrap;
    }

    .disc-mockup {
      flex: 1;
      position: relative;
      height: 400px;
      min-width: 300px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .phone {
      width: 200px;
      height: 380px;
      background: var(--bg);
      border: none;
      border-radius: 20px;
      position: absolute;
      transform: rotate(-5deg);
      box-shadow: rgba(0, 0, 0, 0.5) 0px 8px 24px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: all 0.3s ease;
    }

    .p2 {
      transform: rotate(10deg) translate(80px, 20px);
      z-index: -1;
    }

    .disc-mockup:hover .phone:not(.p2) {
      transform: rotate(-10deg) translate(-20px, -10px);
      box-shadow: rgba(0, 0, 0, 0.6) 0px 12px 30px;
    }

    .disc-mockup:hover .p2 {
      transform: rotate(8deg) translate(80px, 15px);
      box-shadow: rgba(0, 0, 0, 0.6) 0px 12px 30px;
    }

    .p-vid {
      height: 60%;
      background: #1a1a1a;
      transition: all 0.3s ease;
    }

    .v2 {
      background: #161616;
    }

    .p-msg {
      background: rgba(30, 215, 96, 0.1);
      padding: 0.8rem;
      margin: 1rem;
      border-radius: 9999px;
      font-family: var(--orb);
      font-size: 0.8rem;
      color: var(--c1);
      transition: all 0.3s ease;
      text-align: center;
    }

    .m2 {
      background: var(--canvas-soft);
      color: var(--text);
      margin-top: auto;
    }

    .disc-text {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 2rem;
      min-width: 300px;
    }

    .disc-card {
      padding: 1.5rem;
      background-color: var(--canvas-soft);
      border: none;
      border-radius: 8px;
      transition: all 0.3s ease;
      box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
    }

    .disc-card:hover {
      background-color: #252525;
      transform: translateX(5px);
      box-shadow: rgba(0, 0, 0, 0.3) 0px 8px 8px;
    }

    .d-title {
      font-family: var(--orb);
      font-size: 18px;
      font-weight: 700;
      color: var(--c1);
      margin-bottom: 0.8rem;
      letter-spacing: 0;
    }

    .d-desc {
      font-family: var(--orb);
      font-size: 14px;
      color: var(--text2);
      line-height: 1.6;
    }

    /* Testimonials Marquee */
    .testimonials {
      margin-top: 2rem;
      width: 100%;
    }

    .test-marquee-container {
      overflow: hidden;
      width: 100%;
      position: relative;
      padding: 1.5rem 0;
      margin-top: 2rem;
    }

    .test-marquee-container::before,
    .test-marquee-container::after {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      width: 120px;
      z-index: 2;
      pointer-events: none;
    }

    .test-marquee-container::before {
      left: 0;
      background: linear-gradient(to right, var(--bg), transparent);
    }

    .test-marquee-container::after {
      right: 0;
      background: linear-gradient(to left, var(--bg), transparent);
    }

    .test-marquee-track {
      display: flex;
      gap: 2rem;
      width: max-content;
      animation: marquee-scroll 45s linear infinite;
    }

    .test-marquee-track:hover {
      animation-play-state: paused;
    }

    @keyframes marquee-scroll {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }
    }

    .test-card {
      background: var(--canvas-soft);
      border: none;
      padding: 2rem;
      border-radius: 8px;
      transition: all 0.25s ease;
      box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
      width: 320px;
      flex-shrink: 0;
    }

    .test-card:hover {
      background: #252525;
      box-shadow: rgba(0, 0, 0, 0.3) 0px 8px 16px;
      transform: translateY(-4px);
    }

    .stars {
      color: var(--c1);
      margin-bottom: 1rem;
      font-size: 1rem;
      text-shadow: none;
    }

    .t-name {
      font-family: var(--orb);
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 0.8rem;
    }

    .t-text {
      font-family: var(--orb);
      font-size: 14px;
      color: var(--text2);
      line-height: 1.65;
      font-style: italic;
    }

    /* Footer */
    .footer {
      padding: 3rem 1rem;
      text-align: center;
      width: 100%;
      border-top: none;
      margin-top: 4rem;
      background: var(--bg2);
    }

    .f-text {
      font-family: var(--orb);
      font-size: 13px;
      color: var(--mute);
    }

    /* ── CHAT SCREEN ── */
    #chat-screen {
      display: none;
      flex-direction: column;
      height: 100dvh;
      background: var(--bg);
      position: relative;
      z-index: 2;
    }

    .chat-hdr {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.8rem 1.5rem;
      background: var(--canvas-soft);
      border-bottom: none;
      box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px;
      flex-shrink: 0;
    }

    .ch-left {
      display: flex;
      flex-direction: column;
    }

    .ch-room {
      font-family: var(--orb);
      font-weight: 700;
      font-size: 0.8rem;
      color: var(--text);
      letter-spacing: 0.08em;
      margin-bottom: 0.4rem;
    }

    /* Big Invite Link Button */
    .invite-btn {
      background: var(--panel);
      border: none;
      color: var(--text);
      padding: 8px 16px;
      font-family: var(--orb);
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      border-radius: 9999px;
      transition: all 0.2s;
      text-transform: uppercase;
      letter-spacing: 1.4px;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .invite-btn:hover {
      background: #252525;
      color: var(--c1);
    }

    .invite-btn.copied {
      background: rgba(30, 215, 96, 0.15);
      color: var(--c1);
    }

    .leave-btn {
      background: transparent;
      border: 1px solid var(--c3);
      color: var(--c3);
      font-family: var(--orb);
      font-size: 12px;
      font-weight: 700;
      padding: 8px 16px;
      cursor: pointer;
      transition: all 0.15s;
      border-radius: 9999px;
      text-transform: uppercase;
      letter-spacing: 1.4px;
    }

    .leave-btn:hover {
      background: rgba(243, 114, 127, 0.1);
      border-color: var(--c3);
    }

    /* ── FLOATING DRAGGABLE VIDEO PANEL ── */
    .video-container {
      position: absolute;
      top: 90px;
      right: 20px;
      width: 320px;
      height: 240px;
      z-index: 100;
      background: rgba(24, 24, 24, 0.95);
      border: none;
      border-radius: 8px;
      backdrop-filter: blur(15px);
      box-shadow: rgba(0, 0, 0, 0.5) 0px 8px 24px;
      display: flex;
      flex-direction: column;
      padding: 8px;
      transition: width 0.3s ease, height 0.3s ease;
    }

    .video-container.minimized {
      width: 180px;
      height: 48px;
      padding: 6px;
      box-shadow: rgba(0, 0, 0, 0.4) 0px 6px 16px;
      overflow: hidden;
    }

    .video-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      padding: 4px 6px;
      border-bottom: none;
      margin-bottom: 6px;
      cursor: move;
      user-select: none;
      width: 100%;
      overflow: hidden;
      box-sizing: border-box;
    }

    .video-container.minimized .video-header {
      margin-bottom: 0;
      height: 100%;
    }

    .vid-ctrl-btn {
      background: transparent;
      border: none;
      color: #8696a0;
      cursor: pointer;
      width: auto;
      height: auto;
      padding: 4px;
      transition: color 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      outline: none;
      box-sizing: border-box;
      flex-shrink: 0;
    }

    .vid-ctrl-btn i {
      font-size: 22px;
    }

    .vid-ctrl-btn:hover {
      color: #ffffff;
      background: transparent;
    }

    .vid-ctrl-btn.active {
      color: #00a884;
    }

    .vid-ctrl-btn.muted {
      color: #ef4444;
    }

    .vid-ctrl-btn.active:hover,
    .vid-ctrl-btn.muted:hover {
      color: #ffffff;
    }

    .video-header-actions {
      display: flex;
      gap: 12px;
      align-items: center;
      max-width: 140px;
      flex-shrink: 0;
      box-sizing: border-box;
    }

    /* Small/Minimized panel overrides to prevent overflow */
    .video-container.size-s .live-room-text,
    .video-container.minimized .live-room-text {
      display: none;
    }

    .video-container.size-s .video-header-actions,
    .video-container.minimized .video-header-actions {
      gap: 6px;
    }

    .video-container.size-s .vid-ctrl-btn i,
    .video-container.minimized .vid-ctrl-btn i {
      font-size: 18px;
    }

    /* Hide other buttons when minimized to make it super compact */
    .video-container.minimized .vid-ctrl-btn:not(#vid-min-btn) {
      display: none;
    }

    .video-content-wrapper {
      flex: 1;
      position: relative;
      width: 100%;
      height: calc(100% - 32px);
      border-radius: 6px;
      overflow: hidden;
      background: #0d0d0d;
      border: none;
    }

    .video-container.minimized .video-content-wrapper {
      display: none;
    }

    .vid-remote-wrapper {
      width: 100%;
      height: 100%;
      position: relative;
      background: #000;
    }

    .vid-remote-wrapper video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .vid-local-wrapper {
      position: absolute;
      bottom: 8px;
      right: 8px;
      width: 80px;
      height: 105px;
      border-radius: 6px;
      overflow: hidden;
      border: none;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
      z-index: 5;
      background: #000;
      transition: all 0.3s;
    }

    .vid-local-wrapper:hover {
      transform: scale(1.05);
    }

    .vid-local-wrapper video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .vid-label {
      position: absolute;
      bottom: 6px;
      left: 6px;
      background: rgba(18, 18, 18, 0.8);
      padding: 3px 8px;
      font-size: 11px;
      font-weight: 700;
      color: #fff;
      border-radius: 4px;
      pointer-events: none;
      font-family: var(--orb);
      letter-spacing: 0.05em;
    }

    .vid-local-wrapper .vid-label {
      color: var(--c1);
    }

    /* Video Size Presets */
    .video-container.size-s {
      width: 220px;
      height: 165px;
    }

    .video-container.size-s .vid-local-wrapper {
      width: 55px;
      height: 75px;
    }

    .video-container.size-m {
      width: 320px;
      height: 240px;
    }

    .video-container.size-m .vid-local-wrapper {
      width: 80px;
      height: 105px;
    }

    .video-container.size-l {
      width: 440px;
      height: 330px;
    }

    .video-container.size-l .vid-local-wrapper {
      width: 110px;
      height: 145px;
    }

    /* Setup Modal preview styles */
    .setup-preview-btn {
      background: var(--panel);
      border: none;
      color: var(--text);
      width: 44px;
      height: 44px;
      border-radius: 50%;
      cursor: pointer;
      transition: all 0.25s;
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .setup-preview-btn:hover {
      background: #252525;
      color: var(--c1);
      transform: scale(1.05);
    }

    /* ── MESSAGES ── */
    .msg-wrap {
      flex: 1;
      overflow-y: auto;
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      scroll-behavior: smooth;
    }

    .msg-grp {
      display: flex;
      flex-direction: column;
      margin: 0.2rem 0;
    }

    .msg-grp.mine {
      align-items: flex-end;
    }

    .msg-grp.theirs {
      align-items: flex-start;
    }

    .bubble {
      padding: 0.75rem 1.1rem;
      font-size: 14px;
      line-height: 1.5;
      max-width: 75%;
      word-break: break-word;
      font-family: var(--orb);
    }

    .msg-grp.mine .bubble {
      background: rgba(30, 215, 96, 0.15);
      color: #ffffff;
      border: none;
      border-radius: 16px 16px 2px 16px;
    }

    .msg-grp.theirs .bubble {
      background: var(--panel);
      color: #ffffff;
      border: none;
      border-radius: 16px 16px 16px 2px;
    }

    .msg-grp.bot-msg .bubble {
      background: rgba(83, 157, 245, 0.12);
      color: #ffffff;
      border: none;
      border-radius: 16px 16px 16px 2px;
    }

    .sys-msg {
      align-self: center;
      font-size: 12px;
      font-weight: 700;
      color: var(--text2);
      background: var(--panel);
      border: none;
      padding: 0.4rem 1.2rem;
      margin: 0.75rem 0;
      border-radius: 9999px;
      font-family: var(--orb);
      letter-spacing: 0.02em;
    }

    /* ── INPUT ── */
    .input-bar {
      position: relative;
      padding: 1.2rem;
      background: var(--canvas-soft);
      border-top: none;
      display: flex;
      gap: 0.8rem;
      align-items: center;
    }

    .msg-ta {
      flex: 1;
      background: var(--panel);
      border: none;
      color: var(--text);
      font-size: 14px;
      padding: 0.9rem 1.2rem;
      outline: none;
      resize: none;
      height: 52px;
      border-radius: 8px;
      font-family: var(--orb);
      box-shadow: rgb(18, 18, 18) 0px 1px 0px, rgb(124, 124, 124) 0px 0px 0px 1px inset;
      transition: box-shadow 0.2s;
    }

    .msg-ta:focus {
      box-shadow: 0 0 0 2px var(--c1);
    }

    .send-btn {
      background: var(--c1);
      border: none;
      color: #121212;
      width: 52px;
      height: 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 1.2rem;
      transition: all 0.2s;
      border-radius: 50%;
    }

    .send-btn:hover {
      background: #1fdf64;
      transform: scale(1.05);
    }

    @keyframes pulse {
      0% {
        transform: scale(0.95);
        opacity: 0.5;
      }

      50% {
        transform: scale(1.25);
        opacity: 1;
      }

      100% {
        transform: scale(0.95);
        opacity: 0.5;
      }
    }

    .pulse-dot {
      display: inline-block;
      width: 6px;
      height: 6px;
      background: var(--c1);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--c1);
      animation: pulse 2s infinite ease-in-out;
    }

    .demo-bubble {
      padding: 0.65rem 1rem;
      font-size: 13px;
      line-height: 1.45;
      border-radius: 12px;
      max-width: 90%;
      animation: bubble-appear 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
      opacity: 0;
      transform: translateY(10px);
    }

    @keyframes bubble-appear {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .demo-bubble.mine {
      background: rgba(30, 215, 96, 0.15);
      color: #ffffff;
      align-self: flex-end;
      border-bottom-right-radius: 2px;
    }

    .demo-bubble.theirs {
      background: var(--panel);
      color: #ffffff;
      align-self: flex-start;
      border-bottom-left-radius: 2px;
    }

    @media(max-width:600px) {
      section {
        padding: 2rem 1rem;
      }

      .title-main {
        flex-direction: column;
        gap: 0.6rem;
        font-size: clamp(1.8rem, 8.5vw, 2.6rem);
      }

      .title-main img {
        height: 1.3em;
      }

      .disc-mockup {
        transform: scale(0.8);
        height: 320px;
        margin-bottom: 1.5rem;
      }

      .video-container {
        top: 140px;
        right: 10px;
        width: 180px;
        height: 135px;
      }

      .video-container.size-s .video-header-actions,
      .video-container.minimized .video-header-actions {
        gap: 4px;
      }

      .video-container.size-s .vid-ctrl-btn i,
      .video-container.minimized .vid-ctrl-btn i {
        font-size: 16px;
      }

      .video-container.size-s {
        width: 140px;
        height: 105px;
      }

      .video-container.size-s .vid-local-wrapper {
        width: 35px;
        height: 48px;
      }

      .video-container.size-m {
        width: 180px;
        height: 135px;
      }

      .video-container.size-m .vid-local-wrapper {
        width: 45px;
        height: 60px;
      }

      .video-container.size-l {
        width: 220px;
        height: 165px;
      }

      .video-container.size-l .vid-local-wrapper {
        width: 55px;
        height: 75px;
      }

      .video-container.minimized {
        width: 140px;
        height: 40px;
      }

      .vid-local-wrapper {
        width: 45px;
        height: 60px;
        bottom: 4px;
        right: 4px;
      }

      .start-btn {
        font-size: 14px;
        padding: 12px 32px;
      }

      .chat-hdr {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
      }

      .leave-btn {
        align-self: flex-end;
      }

      .comparison-table {
        font-size: 11px;
      }

      .comparison-table th,
      .comparison-table td {
        padding: 0.8rem 0.5rem;
      }
    }

    /* ── GLOBAL PRESENCE WORLD MAP ── */
    .global-presence {
      width: 100%;
      margin-top: 2rem;
    }

    .map-container {
      width: 100%;
      max-width: 900px;
      background: var(--panel);
      border-radius: 12px;
      padding: 1.5rem;
      position: relative;
      box-shadow: rgba(0, 0, 0, 0.3) 0px 8px 24px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
    }

    #map-svg-container {
      width: 100%;
      height: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    #map-svg-container svg {
      background: transparent;
      width: 100%;
      height: auto;
    }

    #map-svg-container svg path {
      fill: #333333 !important;
      stroke: #1c1c1c !important;
      stroke-width: 1px !important;
      transition: fill 0.3s;
    }

    #map-svg-container svg path:hover {
      fill: #404040 !important;
    }

    #map-svg-container circle {
      transition: transform 0.2s ease, filter 0.2s ease;
      cursor: pointer;
    }

    #map-svg-container circle:hover {
      transform: scale(1.5);
      filter: drop-shadow(0 0 8px var(--c1));
    }

    @keyframes pulse-ring {
      0% {
        r: 4px;
        opacity: 1;
        stroke-width: 1.5px;
      }

      100% {
        r: 18px;
        opacity: 0;
        stroke-width: 0.5px;
      }
    }

    .map-pulse {
      animation: pulse-ring 2.5s infinite ease-out;
      transform-origin: center;
    }

    /* ── COMPARISON TABLE ── */
    .comparison {
      width: 100%;
      margin-top: 2rem;
    }

    .comparison-container {
      width: 100%;
      max-width: 800px;
      background: var(--panel);
      border-radius: 12px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 24px;
      margin: 0 auto;
    }

    .comparison-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
      padding: 1.2rem 1.5rem;
    }

    .comparison-table th {
      background: rgba(255, 255, 255, 0.03);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text2);
    }

    .comparison-table th.highlight {
      color: var(--c1);
    }

    .comparison-table tr {
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .comparison-table tr:last-child {
      border-bottom: none;
    }

    .comparison-table tr:hover {
      background: rgba(255, 255, 255, 0.02);
    }

    .feat-name {
      font-weight: 600;
      color: var(--text);
    }

    .highlight-cell {
      color: var(--c1);
      font-weight: 700;
    }

    .cross-cell {
      color: var(--text2);
      opacity: 0.8;
    }

    .check-icon {
      color: var(--c1);
      font-weight: bold;
      margin-right: 4px;
    }

    .cross-icon {
      color: var(--c3);
      font-weight: bold;
      margin-right: 4px;
    }

    /* Minimal Notion/Vercel style Toggle Switch */
    .setup-switch {
      position: relative;
      display: inline-block;
      width: 40px;
      height: 22px;
    }

    .setup-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .setup-slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #333333;
      transition: .2s;
      border-radius: 22px;
    }

    .setup-slider:before {
      position: absolute;
      content: "";
      height: 16px;
      width: 16px;
      left: 3px;
      bottom: 3px;
      background-color: #999999;
      transition: .2s;
      border-radius: 50%;
    }

    .setup-switch input:checked+.setup-slider {
      background-color: var(--c1);
    }

    .setup-switch input:checked+.setup-slider:before {
      transform: translateX(18px);
      background-color: #121212;
    }

    /* ── MATCHING OVERLAY & RADAR PULSES ── */
    @keyframes radar-expand {
      0% {
        transform: scale(0.3);
        opacity: 1;
      }

      100% {
        transform: scale(1.3);
        opacity: 0;
      }
    }

    .radar-pulse-ring {
      transform-origin: center;
    }

    .pulse-next-btn {
      animation: next-pulse 1.8s infinite !important;
    }

    @keyframes next-pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(30, 215, 96, 0.7);
      }

      70% {
        box-shadow: 0 0 0 10px rgba(30, 215, 96, 0);
      }

      100% {
        box-shadow: 0 0 0 0 rgba(30, 215, 96, 0);
      }
    }

    @media (max-width: 600px) {
      #matching-overlay {
        padding: 1.5rem !important;
      }

      #matching-overlay .radar-circle {
        width: 140px !important;
        height: 140px !important;
        margin-bottom: 1.5rem !important;
      }

      #matching-status-title {
        font-size: 1.15rem !important;
        margin-bottom: 0.4rem !important;
      }

      #matching-status-subtitle {
        font-size: 0.8rem !important;
        margin-bottom: 1.5rem !important;
      }
    }

    /* Animated typing indicator bubble */
    .typing-bubble {
      display: flex !important;
      align-items: center;
      gap: 5px;
      padding: 0.85rem 1.2rem !important;
      min-width: 52px;
      min-height: 36px;
      justify-content: center;
      opacity: 0;
      transform: translateY(6px);
      transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    }

    .typing-bubble.active {
      opacity: 1;
      transform: translateY(0);
    }

    .typing-dot {
      width: 6px;
      height: 6px;
      background: #888888;
      border-radius: 50%;
      display: inline-block;
      animation: bounce-dot 1.2s infinite ease-in-out;
    }

    .typing-dot:nth-child(1) {
      animation-delay: 0s;
    }

    .typing-dot:nth-child(2) {
      animation-delay: 0.15s;
    }

    .typing-dot:nth-child(3) {
      animation-delay: 0.3s;
    }

    @keyframes bounce-dot {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-5px);
      }
    }

    /* Emoji Picker Trigger and Panel Styling */
    .input-actions-wrap {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .emoji-trigger-btn,
    .image-upload-btn {
      background: transparent;
      border: none;
      width: 24px;
      height: 24px;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #8696a0;
      transition: color 0.2s;
      user-select: none;
      outline: none;
    }

    .emoji-trigger-btn:hover,
    .image-upload-btn:hover {
      color: #aebac1;
    }

    .emoji-trigger-btn svg,
    .image-upload-btn svg {
      width: 24px;
      height: 24px;
      display: block;
    }

    #emoji-picker-container {
      display: none;
      position: absolute;
      bottom: 74px;
      right: 74px;
      z-index: 1000;
      box-shadow: rgba(0, 0, 0, 0.5) 0px 8px 24px;
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.08);
      animation: picker-slide-up 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes picker-slide-up {
      from {
        opacity: 0;
        transform: translateY(8px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    emoji-picker {
      --background: #1f1f1f;
      --border-color: rgba(255, 255, 255, 0.08);
      --outline-color: var(--c1);
      --indicator-color: var(--c1);
      --button-hover-background: #2a2a2a;
      --search-background: #121212;
      --search-placeholder-color: #888888;
      width: 320px;
      height: 350px;
    }

    @media (max-width: 480px) {
      .video-header {
        padding: 4px 8px !important;
      }
      .video-header-actions {
        gap: 6px !important;
      }
      .vid-ctrl-btn i {
        font-size: 18px !important;
      }
    }

    /* CSP Compliant Hover & Focus style overrides */
    #join-code-btn:hover {
      border-color: var(--c1) !important;
      color: var(--c1) !important;
    }
    #close-policy-btn:hover {
      color: var(--c1) !important;
    }
    #setup-confirm-btn:hover {
      background: #1fdf64 !important;
      transform: scale(1.04) !important;
    }
    #cancel-image-btn:hover {
      color: #fff !important;
      border-color: #fff !important;
    }
    #send-image-btn:hover {
      background: #1fdf64 !important;
      transform: scale(1.02) !important;
    }
    #cancel-match-btn:hover {
      color: #fff !important;
      border-color: #fff !important;
    }
    #next-btn:hover {
      background: #1fdf64 !important;
      transform: scale(1.05) !important;
    }
    #room-code-input:focus,
    #setup-nick-input:focus {
      box-shadow: 0 0 0 2px var(--c1) !important;
    }

    #reconnect-banner {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: #f59e0b;
      color: #121212;
      text-align: center;
      padding: 8px 16px;
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      z-index: 99999;
      font-family: var(--orb);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
      from {
        transform: translateY(-100%);
      }
      to {
        transform: translateY(0);
      }
    }

    .reconnect-spinner {
      width: 14px;
      height: 14px;
      border: 2px solid rgba(18, 18, 18, 0.25);
      border-top: 2px solid #121212;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }