/* ===== KudaNet — Vision Pro / Glass aesthetic ===== */

:root {
  --bg: #07070a;
  --bg-2: #0b0b10;
  --ink: #f5f5f7;
  --ink-2: rgba(245, 245, 247, 0.68);
  --ink-3: rgba(245, 245, 247, 0.42);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.18);

  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.09);
  --glass-edge: rgba(255, 255, 255, 0.22);
  --glass-inner: rgba(255, 255, 255, 0.04);

  --accent: #c2f04a;   /* acid green, used sparingly */
  --good: #7be39b;
  --warn: #ffd166;
  --bad:  #ff7a7a;

  --radius: 22px;
  --radius-sm: 14px;

  --font-display: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

:root.light {
  --bg: #f3efe9;
  --bg-2: #ecE7de;
  --ink: #111114;
  --ink-2: rgba(17, 17, 20, 0.68);
  --ink-3: rgba(17, 17, 20, 0.42);
  --line: rgba(17, 17, 20, 0.10);
  --line-2: rgba(17, 17, 20, 0.18);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-2: rgba(255, 255, 255, 0.72);
  --glass-edge: rgba(255, 255, 255, 0.9);
  --glass-inner: rgba(255, 255, 255, 0.3);
  --accent: #1a7f37;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { color-scheme: dark; background: var(--bg); }
:root.light { color-scheme: light; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: transparent;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "ss02", "cv11";
  overflow-x: hidden;
}

/* ===== Animated aurora / blurred backdrop (Vision Pro-ish) ===== */
.bgfield {
  position: fixed;
  inset: -20vmax;
  z-index: -1;
  pointer-events: none;
  filter: blur(80px) saturate(1.25);
  opacity: 0.9;
}
.bgfield .blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform;
}
:root.light .bgfield { opacity: 0.55; filter: blur(90px) saturate(1.4); }
:root.light .bgfield .blob { mix-blend-mode: multiply; opacity: 0.55; }

.bgfield .b1 { width: 60vmax; height: 60vmax; left: -10vmax; top: -10vmax;
  background: radial-gradient(circle at 40% 40%, #3d6bff 0%, transparent 60%);
  animation: drift1 26s ease-in-out infinite alternate; }
.bgfield .b2 { width: 55vmax; height: 55vmax; right: -15vmax; top: 10vmax;
  background: radial-gradient(circle at 60% 50%, #b347ff 0%, transparent 60%);
  animation: drift2 32s ease-in-out infinite alternate; }
.bgfield .b3 { width: 50vmax; height: 50vmax; left: 20vmax; bottom: -20vmax;
  background: radial-gradient(circle at 50% 50%, #ff5b8a 0%, transparent 60%);
  animation: drift3 38s ease-in-out infinite alternate; }
.bgfield .b4 { width: 45vmax; height: 45vmax; right: 10vmax; bottom: 10vmax;
  background: radial-gradient(circle at 50% 50%, #29e0c7 0%, transparent 60%);
  animation: drift4 34s ease-in-out infinite alternate; }

@keyframes drift1 { to { transform: translate(10vmax, 8vmax) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-8vmax, 6vmax) scale(1.05); } }
@keyframes drift3 { to { transform: translate(6vmax, -10vmax) scale(1.08); } }
@keyframes drift4 { to { transform: translate(-10vmax, -6vmax) scale(1.12); } }

/* Film grain over everything so the blur doesn't look plastic */
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ===== Glass utility ===== */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 30px 80px -30px rgba(0,0,0,0.7),
    0 8px 24px -8px rgba(0,0,0,0.45);
  position: relative;
}
.glass::before {
  /* top highlight */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 30%);
  pointer-events: none;
}
:root.light .glass {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 30px 60px -30px rgba(30,30,60,0.25),
    0 8px 24px -8px rgba(30,30,60,0.15);
}

/* ===== Layout ===== */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 16px; z-index: 50;
  margin: 16px auto 0;
  max-width: 1200px;
  padding: 0 28px;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 10px 20px;
  border-radius: 999px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em; font-size: 16px;
  color: var(--ink); text-decoration: none;
}
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: conic-gradient(from 210deg at 50% 50%, #c2f04a, #29e0c7, #3d6bff, #b347ff, #c2f04a);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3), 0 4px 10px rgba(0,0,0,0.4);
  position: relative;
}
.brand-mark::after{
  content:"";
  position:absolute; inset:5px; border-radius:4px;
  background: var(--bg); opacity: .85;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  color: var(--ink-2); text-decoration: none; font-size: 14px;
  padding: 8px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--glass-inner); }
.nav-cta {
  background: var(--ink); color: var(--bg);
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: transform .2s;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); }
.mode-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--glass);
  color: var(--ink); cursor: pointer; display: grid; place-items: center;
  transition: background .2s;
}
.mode-toggle:hover { background: var(--glass-2); }

/* ===== Hero ===== */
.hero { padding: 80px 0 40px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-edge);
  font-size: 12px; letter-spacing: 0.02em; color: var(--ink-2);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  white-space: nowrap;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

h1.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: 0.98;
  margin: 28px auto 20px;
  max-width: 16ch;
  text-wrap: balance;
}
h1 .shine {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink) 40%, rgba(255,255,255,0.3) 50%, var(--ink) 60%, var(--ink) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -250% 0; } }
:root.light h1 .shine { background: linear-gradient(120deg, #111 0%, #111 40%, rgba(17,17,20,0.35) 50%, #111 60%, #111 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 250% 100%; }

.sub {
  max-width: 56ch; margin: 0 auto;
  color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  text-wrap: pretty;
}

/* ===== The search module ===== */
.searchcard {
  margin: 44px auto 0; max-width: 820px;
  padding: 18px;
  border-radius: 28px;
}
.searchform {
  display: flex; gap: 10px; align-items: center;
  background: rgba(0,0,0,0.22);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 8px 8px 8px 18px;
}
:root.light .searchform { background: rgba(255,255,255,0.55); }
.searchform input {
  flex: 1; background: transparent; border: 0; outline: none;
  color: var(--ink); font: inherit; font-size: 17px; padding: 14px 6px;
  letter-spacing: -0.01em;
}
.searchform input::placeholder { color: var(--ink-3); }
.searchform .chips { display: flex; gap: 6px; }
.chip {
  background: var(--glass); border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 12px; padding: 6px 10px; border-radius: 999px; cursor: pointer;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.chip:hover { color: var(--ink); background: var(--glass-2); }
.chip.active { color: var(--bg); background: var(--ink); border-color: var(--ink); }

.cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bg);
  border: 0; border-radius: 14px;
  padding: 14px 20px; font-size: 15px; font-weight: 500;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 10px 30px -10px rgba(255,255,255,0.25);
}
.cta:hover { transform: translateY(-1px); }
.cta:disabled { opacity: 0.6; cursor: wait; }
.cta .arrow { transition: transform .2s; }
.cta:hover .arrow { transform: translateX(3px); }

.searchhint {
  display: flex; gap: 12px; align-items: center; justify-content: center;
  margin-top: 14px; flex-wrap: wrap;
  color: var(--ink-3); font-size: 13px;
}
.searchhint .pill {
  background: var(--glass); border: 1px solid var(--line);
  color: var(--ink-2);
  padding: 4px 10px; border-radius: 999px; font-size: 12px;
  cursor: pointer;
}
.searchhint .pill:hover { background: var(--glass-2); color: var(--ink); }

.trust {
  margin-top: 28px;
  color: var(--ink-3); font-size: 13px;
  display: flex; gap: 14px; justify-content: center; align-items: center;
}
.trust .avatars { display: inline-flex; }
.trust .avatars span {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--bg);
  display: inline-block; margin-left: -6px;
  background: linear-gradient(135deg, #c2f04a, #29e0c7);
}
.trust .avatars span:nth-child(2) { background: linear-gradient(135deg, #ff5b8a, #b347ff); }
.trust .avatars span:nth-child(3) { background: linear-gradient(135deg, #3d6bff, #29e0c7); }
.trust .avatars span:nth-child(4) { background: linear-gradient(135deg, #ffd166, #ff5b8a); }

/* ===== Results (in-hero) ===== */
.results {
  margin-top: 22px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 720px) { .results { grid-template-columns: 1fr; } }

.dom {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  text-align: left;
  animation: pop .5s cubic-bezier(.2,.8,.2,1) backwards;
}
.dom.taken { opacity: 0.55; }
@keyframes pop {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.dom .score {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 600;
  background: rgba(194,240,74,0.14); color: var(--accent);
  border: 1px solid rgba(194,240,74,0.25);
  font-size: 15px;
}
.dom .score.mid { background: rgba(255,209,102,0.12); color: var(--warn); border-color: rgba(255,209,102,0.25); }
.dom .score.low { background: rgba(255,122,122,0.12); color: var(--bad); border-color: rgba(255,122,122,0.25); }

.dom .name {
  font-family: var(--font-display);
  font-size: 19px; letter-spacing: -0.015em;
}
.dom .name .tld { color: var(--ink-3); }
.dom .meta { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.dom .badge {
  font-size: 11px; padding: 4px 8px; border-radius: 999px;
  background: rgba(123,227,155,0.12); color: var(--good);
  border: 1px solid rgba(123,227,155,0.3);
  font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: .04em;
}
.dom .badge.tk { background: rgba(255,122,122,0.1); color: var(--bad); border-color: rgba(255,122,122,0.25); }

.dom .buy {
  background: var(--ink); color: var(--bg); border: 0;
  padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}
.dom .buy.ghost {
  background: transparent; color: var(--ink-2); border: 1px solid var(--line-2);
}

.skel .dom {
  background: var(--glass);
  position: relative; overflow: hidden;
  min-height: 70px;
}
.skel .dom::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  animation: sweep 1.2s linear infinite;
}
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ===== Marquee / Social proof ===== */
.marquee {
  margin-top: 100px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: scroll 40s linear infinite;
}
.marquee-track > div {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--ink-2); font-size: 15px;
  white-space: nowrap;
}
.marquee-track .who { color: var(--ink-3); font-size: 13px; }
.marquee-track .dotdiv { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== Section headers ===== */
.section { padding: 120px 0; }
.section-head { text-align: left; margin-bottom: 56px; max-width: 820px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500; letter-spacing: -0.03em;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.section-head p {
  color: var(--ink-2); font-size: 18px;
  margin-top: 16px; max-width: 48ch; line-height: 1.55;
}

/* ===== Pricing ===== */
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.brand-logo {
  height: 22px; width: auto; display: block;
  filter: drop-shadow(0 0 12px rgba(41, 224, 199, 0.25));
}
:root.light .brand-logo { filter: none; }
.footer-logo { height: 26px; }

.plan { padding: 32px; border-radius: 24px; position: relative; display: flex; flex-direction: column; }
.plan .lede { min-height: 3.2em; }
.plan ul { flex: 1; }
.plan .tag {
  position: absolute; top: 20px; right: 20px;
  font-size: 11px; font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 9px; border-radius: 999px;
  background: var(--accent); color: #0a0a0a;
}
.plan .kicker { color: var(--ink-3); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; font-family: var(--font-mono);}
.plan .price {
  font-family: var(--font-display);
  font-size: 56px; letter-spacing: -0.035em;
  margin: 12px 0 6px;
}
.plan .price .unit { color: var(--ink-3); font-size: 16px; letter-spacing: 0; }
.plan .lede { color: var(--ink-2); margin-bottom: 24px; font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 14px; }
.plan li svg { flex-shrink: 0; margin-top: 3px; }
.plan .cta-plan {
  display: block; width: 100%;
  text-align: center;
  padding: 14px; border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--glass);
  color: var(--ink); font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}
.plan .cta-plan:hover { background: var(--glass-2); }
.plan.featured .cta-plan { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 10px; }
.qa {
  padding: 22px 26px; border-radius: 18px;
  cursor: pointer;
}
.qa summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--font-display); font-size: 19px; letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  transition: transform .3s;
  flex-shrink: 0;
}
.qa[open] summary .plus { transform: rotate(45deg); }
.qa .a {
  color: var(--ink-2); font-size: 15px; line-height: 1.6;
  margin-top: 14px; max-width: 64ch;
  text-wrap: pretty;
}

/* ===== Footer ===== */
.footer {
  margin-top: 80px; padding: 48px 0 60px;
  border-top: 1px solid var(--line);
}
.footer .brand { color: var(--ink); text-decoration: none; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  flex-wrap: wrap;
}
.footer .brand-block { max-width: 32ch; }
.footer .brand-block p { color: var(--ink-3); font-size: 14px; margin-top: 12px; }
.footer-cols { display: flex; gap: 60px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 0 0 14px; font-family: var(--font-mono); font-weight: 500; }
.footer-col a { display: block; color: var(--ink-2); text-decoration: none; font-size: 14px; padding: 4px 0; }
.footer-col a:hover { color: var(--ink); }
.footer .fine { margin-top: 40px; display: flex; justify-content: space-between; color: var(--ink-3); font-size: 12px; border-top: 1px solid var(--line); padding-top: 22px; }

/* ===== Final CTA ===== */
.finalcta {
  margin-top: 80px; padding: 80px 40px; text-align: center;
  border-radius: 32px;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  position: relative; overflow: hidden;
}
.finalcta::before {
  content: ""; position: absolute; inset: -50% -10% auto -10%; height: 120%;
  background: radial-gradient(ellipse at 50% 0%, rgba(194,240,74,0.22), transparent 50%);
  pointer-events: none;
}
.finalcta h2 {
  font-family: var(--font-display); font-weight: 500;
  letter-spacing: -0.03em;
  font-size: clamp(36px, 5vw, 56px);
  margin: 0;
}
.finalcta p { color: var(--ink-2); margin: 14px 0 28px; }
.finalcta .cta { font-size: 17px; padding: 16px 24px; }
.finalcta .micro { display: block; color: var(--ink-3); font-size: 13px; margin-top: 14px; }

/* ===== Tweaks panel ===== */
.tweaks {
  position: fixed; bottom: 20px; right: 20px; z-index: 100;
  padding: 16px; border-radius: 18px;
  width: 240px;
  display: none;
  font-size: 13px;
}
.tweaks.open { display: block; animation: pop .3s; }
.tweaks h5 { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-family: var(--font-mono); font-weight: 500; }
.tweaks .row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.tweaks .seg { display: inline-flex; background: var(--glass); border: 1px solid var(--line-2); border-radius: 10px; padding: 2px; }
.tweaks .seg button { background: transparent; border: 0; color: var(--ink-2); padding: 6px 10px; border-radius: 8px; cursor: pointer; font: inherit; font-size: 12px; }
.tweaks .seg button.on { background: var(--ink); color: var(--bg); }
