:root{
  --bg: #000000;
  --ink: #e2e5e7;
  --muted: #a6b2b6;
  --deep: #192123;
  --teal: #01c5a8;
  --teal2:#2be8c3;
  --purple:#551fcf;
  --stroke: rgba(255,255,255,.14);
  --maxw: 1120px;
  --radius: 18px;
}
*{ box-sizing: border-box; }
html,body{ height: 100%; }
html{
  scroll-behavior: smooth;
}
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow-x: hidden;
}

.brand-mark{
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: block;
}
a{ color: inherit; text-decoration: none; }
.mono{ font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

#bg{ position: fixed; inset: 0; z-index: 0; }
#webgl{ width: 100%; height: 100%; display:block; }

.vignette{
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 700px at 50% 30%, rgba(1,197,168,.10), transparent 55%),
    radial-gradient(900px 600px at 65% 55%, rgba(85,31,207,.10), transparent 60%),
    radial-gradient(900px 600px at 35% 65%, rgba(43,232,195,.08), transparent 60%),
    radial-gradient(1200px 900px at 50% 70%, rgba(0,0,0,.65), rgba(0,0,0,.92));
  pointer-events:none;
}
.noise{
  position:absolute; inset:0;
  pointer-events:none;
  opacity:.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.topbar{ position: fixed; top: 14px; left: 14px; right: 14px; z-index: 10; border-radius: 999px; }
.topbar-inner{ display:flex; align-items:center; justify-content: space-between; padding: 12px 14px; gap: 14px; }
.glass{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border: 1px solid var(--stroke);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 55px rgba(0,0,0,.45);
}
.brand{ display:flex; align-items:center; gap: 10px; padding: 6px 10px; border-radius: 999px; }
.dot{
  width: 10px; height:10px; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--teal2), var(--teal));
  box-shadow: 0 0 20px rgba(1,197,168,.45);
}
.brand-text{ display:flex; align-items:center; font-weight: 700; letter-spacing: .2px; line-height: 1; }
.brand-text .logo{
  display: block;
  width: 60px;
  height: auto;
  filter: brightness(0) invert(1);
}
.brand-suffix {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin-left: 1px;
  margin-bottom: 2px;
  letter-spacing: -0.5px;
  transform: translateY(1px);
  background-image: linear-gradient(90deg, var(--teal2), var(--purple));
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@supports (color: color-mix(in srgb, white, black)){
  .brand-suffix{
    background-image: linear-gradient(
      90deg,
      color-mix(in srgb, var(--teal2) 82%, var(--ink) 18%) 0%,
      color-mix(in srgb, var(--teal2) 52%, var(--purple) 48%) 55%,
      var(--purple) 100%
    );
  }
}

.menu{ display:flex; align-items:center; gap: 10px; flex-wrap: wrap; justify-content:flex-end; }
.menu-link{
  font-size: 13px; color: rgba(226,229,231,.92);
  padding: 8px 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.0);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.menu-link:hover{ background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.10); transform: translateY(-1px); }
.sep{ width: 1px; height: 18px; background: rgba(255,255,255,.14); margin: 0 4px; }
.external{ display:flex; align-items:center; gap: 8px; }
.ext-ico{ width: 16px; height: 16px; opacity:.9; }

main{ position: relative; z-index: 1; }
.section{ min-height: 92vh; display:flex; align-items:center; padding: 120px 20px 80px; }
.hero{ min-height: 100vh; padding-top: 150px; }
.content{ width: min(var(--maxw), calc(100% - 40px)); margin: 0 auto; }

.eyebrow{
  display:inline-flex; gap: 10px; align-items: baseline;
  font-size: 13px; color: rgba(43, 232, 195, .95);
  letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow .slash{ opacity: .6; }

@keyframes eyebrow-pulse{
  0%, 100%{ opacity: .50; }
  50%{ opacity: 1; }
}

.hero .eyebrow{
  animation: eyebrow-pulse 2.0s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce){
  .hero .eyebrow{ animation: none; }
  html{ scroll-behavior: auto; }
}

h1{ margin: 0 0 14px; font-size: clamp(40px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.02em; }
h2{ margin: 0 0 12px; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -0.02em; }
h3{ margin: 0 0 10px; font-size: 20px; letter-spacing: -0.01em; }

.text-gradient{
  /* Fallback: close enough without color-mix() */
  background-image: linear-gradient(90deg, var(--teal2), var(--purple));
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@supports (color: color-mix(in srgb, white, black)){
  .text-gradient{
    /* Cyan → blue → purple (derived from existing theme tokens) */
    background-image: linear-gradient(
      90deg,
      color-mix(in srgb, var(--teal2) 82%, var(--ink) 18%) 0%,
      color-mix(in srgb, var(--teal2) 52%, var(--purple) 48%) 55%,
      var(--purple) 100%
    );
  }
}

p{ margin: 0 0 14px; max-width: 70ch; color: rgba(226,229,231,.88); font-size: 16px; line-height: 1.65; }
.lead{ font-size: 18px; color: rgba(226,229,231,.92); max-width: 68ch; }
.muted{ color: rgba(166,178,182,.92); }

.cta-row{ display:flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 11px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(226,229,231,.95);
  font-weight: 600; font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn[disabled]{
  opacity: .65;
  cursor: default;
  pointer-events: none;
}
.btn .spinner{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid var(--stroke);
  border-top-color: var(--teal2);
  animation: spin 0.9s linear infinite;
  display: inline-block;
  margin-right: 8px !important;
}
@keyframes spin{ to{ transform: rotate(360deg); } }
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18); }
.btn.primary{
  border-color: rgba(1,197,168,.35);
  background: linear-gradient(180deg, rgba(1,197,168,.22), rgba(1,197,168,.12));
  box-shadow: 0 14px 40px rgba(1,197,168,.18);
}
.btn.primary:hover{ box-shadow: 0 18px 55px rgba(1,197,168,.24); }
.btn.ghost{
  border-color: rgba(85,31,207,.35);
  background: linear-gradient(180deg, rgba(85,31,207,.18), rgba(85,31,207,.08));
}

.hint{ margin-top: 22px; color: rgba(166,178,182,.85); font-size: 13px; }

.glass-card{
  padding: 20px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 20px 70px rgba(0,0,0,.45);
  max-width: 720px;
}

/* Section #s4: animated gradient border glow (border line only) */
#s4 .glass-card{
  position: relative;
  isolation: isolate;
  padding: 48px 32px;
  max-width: 600px;
  width: 100%;

  /* Tutorial-style rotating highlight (JS drives --angle) */
  /* Fallback (no color-mix): close to .text-gradient */
  --s4-border: conic-gradient(
    from var(--angle, 0deg),
    transparent 0deg,
    var(--purple) 14deg,
    var(--teal) 30deg,
    var(--teal2) 60deg,
    transparent 84deg,
    transparent 360deg
  );

  /* Base glass-card border stays consistent */
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 70px rgba(0,0,0,.45);
}

/* Match .text-gradient's cyan→purple mixing when supported */
@supports (color: color-mix(in srgb, white, black)){
  #s4 .glass-card{
    --s4-border: conic-gradient(
      from var(--angle, 0deg),
      transparent 0deg,
      /* same palette logic as .text-gradient */
      var(--purple) 14deg,
      color-mix(in srgb, var(--teal2) 52%, var(--purple) 48%) 35deg,
      color-mix(in srgb, var(--teal2) 82%, var(--ink) 18%) 60deg,
      transparent 86deg,
      transparent 360deg
    );
  }
}

#s4 .glass-card > *{ position: relative; z-index: 1; }

/* Soft glow behind the border ring (still border-only via padding-box/border-box) */
#s4 .glass-card::before{
  content: none;
}

/* Preferred implementation (matches border radius): masked ring */
@supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)){
  #s4 .glass-card::after{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;

    /* Ring thickness */
    padding: 1px;

    background: var(--s4-border);

    /* Cut out the center so it renders ONLY as a border ring */
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;

    filter:
      drop-shadow(0 0 6px rgba(1,197,168,.12))
      drop-shadow(0 0 8px rgba(85,31,207,.10));
  }
}

/* Fallback if mask-composite isn't supported: border-image (may not follow radius perfectly) */
@supports not ((-webkit-mask-composite: xor) or (mask-composite: exclude)){
  #s4 .glass-card{
    border: 2px solid transparent;
    border-image: var(--s4-border) 1;
    box-shadow:
      0 0 0 1px rgba(255,255,255,.14) inset,
      0 20px 70px rgba(0,0,0,.45);
  }
}

#s4 .content,
#s6 .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.newsletter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
  color: var(--teal2);
}

#s4 h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

#s4 p {
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.subscribe {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.subscribe .input-group {
  display: flex;
  gap: 8px;
  width: 100%;
  position: relative;
}

.subscribe input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: var(--ink);
  outline: none;
  transition: all 0.2s ease;
}

.subscribe input:focus {
  border-color: var(--teal2);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 4px rgba(1, 197, 168, 0.1);
}

.subscribe input::placeholder{ color: rgba(166,178,182,.9); }

.subscribe .btn {
  padding: 16px 24px;
  font-size: 16px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .subscribe .input-group {
    flex-direction: column;
  }
  .subscribe .btn {
    width: 100%;
  }
}
.fineprint{ margin-top: 10px; font-size: 12px; color: rgba(166,178,182,.8); }

.cards{ margin-top: 18px; display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.card{ padding: 16px; border-radius: var(--radius); }
.card-kicker{ font-size: 12px; color: rgba(43, 232, 195, .95); margin-bottom: 8px; }
.card p{ margin-bottom: 0; }

.principles{ margin: 16px 0 0; padding-left: 0; max-width: 88ch; list-style: none; text-align: left; }
.principles li{ margin: 0 0 12px; line-height: 1.65; color: rgba(226,229,231,.90); }
.principles .mono{ color: rgba(43,232,195,.95); margin-right: 10px; }

.footer{ padding: 28px 14px 36px; display:flex; justify-content:center; }
.footer-inner{
  width: min(1200px, calc(100% - 20px));
  border-radius: var(--radius);
  padding: 12px 16px;
}
.footer-row{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-meta{
  display:flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-copy{ display:flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.footer-links{ display:flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; align-items: center; }

.footer-follow{
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-follow-txt{
  font-size: 18px;
  font-weight: 550;
  padding-right: 10px;
}

.footer-icon-link{
  width: 42px;
  height: 42px;
  padding: 0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* Brand icons (monochrome) via Simple Icons CDN. Uses currentColor (no new colors). */
.footer-brand{
  width: 18px;
  height: 18px;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.footer-svg{
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.brand-x{ -webkit-mask-image: url("https://cdn.simpleicons.org/x"); mask-image: url("https://cdn.simpleicons.org/x"); }
.brand-instagram{ -webkit-mask-image: url("https://cdn.simpleicons.org/instagram"); mask-image: url("https://cdn.simpleicons.org/instagram"); }
.brand-facebook{ -webkit-mask-image: url("https://cdn.simpleicons.org/facebook"); mask-image: url("https://cdn.simpleicons.org/facebook"); }
.brand-bluesky{ -webkit-mask-image: url("https://cdn.simpleicons.org/bluesky"); mask-image: url("https://cdn.simpleicons.org/bluesky"); }
.brand-tiktok{ -webkit-mask-image: url("https://cdn.simpleicons.org/tiktok"); mask-image: url("https://cdn.simpleicons.org/tiktok"); }
.brand-youtube{ -webkit-mask-image: url("https://cdn.simpleicons.org/youtube"); mask-image: url("https://cdn.simpleicons.org/youtube"); }
.brand-spotify{ -webkit-mask-image: url("https://cdn.simpleicons.org/spotify"); mask-image: url("https://cdn.simpleicons.org/spotify"); }

/* Tool */
.tool-card{ max-width: 860px; }
.tool-form{ display:flex; flex-direction: column; gap: 10px; }
.tool-label{ font-size: 13px; color: rgba(226,229,231,.88); letter-spacing: .02em; }

#claim-input{
  width: 100%;
  resize: vertical;
  min-height: 110px;
  padding: 14px 14px 40px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.26);
  color: var(--ink);
  outline: none;
  line-height: 1.5;
  font-size: larger;
}
#claim-input:focus{ border-color: rgba(1,197,168,.35); box-shadow: 0 0 0 4px rgba(1,197,168,.10); }

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-action-link {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 11px;
  font-family: var(--mono);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.input-action-link:hover {
  color: var(--teal);
  border-color: var(--teal);
  background: rgba(1, 197, 168, 0.1);
}

.tool-actions{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.tool-output{ margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }

.tool-grid{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 12px; align-items: start; }
@media (max-width: 900px){ .tool-grid{ grid-template-columns: 1fr; } }

.query-item-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.copy-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  opacity: 0.7;
}
.copy-btn:hover {
  color: var(--teal);
  background: rgba(255,255,255,0.08);
  opacity: 1;
}
.copy-btn.copied {
  color: var(--teal2);
}

.score{ display:flex; align-items: center; gap: 12px; padding-bottom: 10px;}
.score-pill{
  position: relative;
  border-radius: 999px; padding: 8px 12px;
  background: rgba(255,255,255,.06);
  font-weight: 700;
  border: 1px solid transparent;
}
.score-pill::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;

  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.score-bar{
  flex: 1; height: 10px; border-radius: 999px;
  background: rgba(255,255,255,.10);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
}
.score-bar > i{
  display:block; height: 100%; width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(85,31,207,.8), rgba(1,197,168,.9));
}

.badges{ display:flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.badge{
  font-size: 12px; 
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: rgba(226,229,231,.92);
}
.badge.warn{ border-color: rgba(85,31,207,.30); background: rgba(85,31,207,.12); }
.badge.good{ border-color: rgba(1,197,168,.28); background: rgba(1,197,168,.10); }

.tool-alert {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
}
.tool-alert.error {
  border-color: rgba(239, 68, 68, .3);
  background: rgba(239, 68, 68, .08);
}
.tool-alert-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  opacity: 0.9;
}
.tool-alert-content {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(226,229,231,.9);
}
.tool-alert-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: rgba(226,229,231,1);
}
.tool-alert-message {
  color: rgba(166,178,182,.95);
}

.tool-block{
  padding: 14px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
.tool-block h4{ margin: 0 0 8px; font-size: 14px; letter-spacing: -0.01em; }
.tool-block ol, .tool-block ul{ margin: 0; padding-left: 18px; color: rgba(226,229,231,.88); font-size: 14px; }
.tool-block li{ margin: 0 0 8px; line-height: 1.55; }
.tool-kv{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: rgba(166,178,182,.9); }
.tool-footnote{ margin-top: 12px; font-size: 12px; color: rgba(166,178,182,.8); }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] {
  display: none;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}
.modal-content {
  position: relative;
  background: rgba(25, 33, 35, 0.95);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  max-width: 850px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
  width: 6px;
}
.modal-content::-webkit-scrollbar-track {
  background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 8px;
  margin: -8px -8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}
.modal-body h2 {
  margin-top: 0;
}

/* Floating Action Button */
.fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 1000;
  background: linear-gradient(90deg, rgba(43, 232, 195, 0.25), rgba(85, 31, 207, 0.25));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
  border-radius: 56px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(1,197,168,0.3), 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.fab:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, rgba(43, 232, 195, 0.35), rgba(85, 31, 207, 0.35));
  box-shadow: 0 0 30px rgba(1,197,168,0.5), 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255,255,255,0.7);
}
.fab svg {
  width: 30px;
  height: 30px;
}
.fab-label {
  font-weight: 600;
}

@media (max-width: 980px){
  .cards{ grid-template-columns: 1fr; }
  .topbar{ top: 10px; left: 10px; right: 10px; }
  .modal-content {
    padding: 24px;
    max-height: 95vh;
  }
  .fab {
    bottom: 20px;
    right: 20px;
    padding: 14px 20px;
    font-size: 14px;
  }
}

/* Mobile Menu Fixes */
@media (max-width: 768px) {
  .brand .mono, .brand .sep {
    display: none;
  }
  .brand {
    padding-right: 6px;
  }
}

@media (max-width: 600px) {
  .topbar-inner {
    gap: 8px;
    position: relative;
  }
  
  /* Scroll indicator (Right Arrow) */
  .topbar-inner::after {
    content: '\203A';
    position: absolute;
    right: 10px;
    top: 48%;
    transform: translateY(-50%);
    font-size: 20px;
    line-height: 1;
    color: var(--teal);
    font-weight: 700;
    pointer-events: none;
    animation: scroll-hint 2s ease-in-out infinite;
    z-index: 20;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
  }

  .menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Fade effect on both sides */
    mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
    padding: 0 15px;
    flex: 1;
    min-width: 0;
  }
  .menu::-webkit-scrollbar { 
    display: none; 
  }
  .menu-link {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 12px;
    padding: 6px 8px;
  }
  .menu .sep {
    display: none;
  }
}

@keyframes scroll-hint {
  0%, 100% { opacity: 0.3; transform: translateY(-50%) translateX(0); }
  50% { opacity: 1; transform: translateY(-50%) translateX(3px); }
}
