/* Logofast — dark editorial UI (v2) */

:root {
  --bg: #08090D;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --ink: #EDF0F7;
  --muted: #8B93A7;
  --muted-2: #5E6678;
  --accent: #7C6CF8;
  --accent-2: #22D3EE;
  --grad: linear-gradient(120deg, #7C6CF8 0%, #22D3EE 55%, #A78BFA 100%);
  --grad-soft: linear-gradient(120deg, rgba(124,108,248,.22), rgba(34,211,238,.16));
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 8% -12%, rgba(124, 108, 248, .30), transparent 62%),
    radial-gradient(760px 460px at 92% -4%, rgba(34, 211, 238, .17), transparent 60%),
    radial-gradient(700px 520px at 50% 108%, rgba(244, 114, 182, .10), transparent 62%),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* fine grid overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

/* ---------------- header ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 28px;
  background: rgba(8, 9, 13, .72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  padding: 4px 6px 4px 4px;
  border-radius: 12px;
  transition: background .18s ease, transform .18s ease;
}
.brand:hover { background: var(--surface); transform: translateY(-1px); }
.brand:active { transform: translateY(0); }

.brand-mark {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--grad);
  box-shadow: 0 6px 18px rgba(124, 108, 248, .42), inset 0 1px 0 rgba(255, 255, 255, .35);
  display: grid;
  place-items: center;
  flex: none;
}
.brand-mark svg { width: 20px; height: 20px; display: block; }

.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.topnav { display: flex; gap: 4px; margin-left: 8px; }
.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: 9px;
  transition: color .15s ease, background .15s ease;
}
.topnav a:hover { color: var(--ink); background: var(--surface); }

.top-right { margin-left: auto; }
.free-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #C9D2E4;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.free-pill i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, .18);
}

/* ---------------- layout ---------------- */
.container { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 44px 22px 72px; }

/* ---------------- hero ---------------- */
.hero { max-width: 700px; margin: 0 auto 34px; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #C6CBE0;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--grad-soft);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 5.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto 22px;
}
.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: .04em;
}
.trust i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); display: block; }

/* ---------------- card ---------------- */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .028));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.step-card { max-width: 660px; margin: 0 auto; padding: 30px 32px 32px; }

.step-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}

.step-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 27px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

/* progress */
.progress { display: flex; gap: 7px; margin-bottom: 26px; }
.p-step {
  height: 4px;
  flex: 1;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  transition: background .35s ease, box-shadow .35s ease;
}
.p-step.on {
  background: var(--grad);
  box-shadow: 0 0 14px rgba(34, 211, 238, .35);
}

.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }

/* fields */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.muted { color: var(--muted); font-weight: 400; font-size: 14px; }

input[type="text"] {
  width: 100%;
  padding: 15px 16px;
  font-size: 16.5px;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 13px;
  outline: none;
  font-family: inherit;
  /* gradient border by default (matches the brand mark), purple glow */
  background:
    linear-gradient(rgba(10, 11, 16, .92), rgba(10, 11, 16, .92)) padding-box,
    linear-gradient(120deg, rgba(124, 108, 248, .85), rgba(34, 211, 238, .55)) border-box;
  box-shadow: 0 0 24px -8px rgba(124, 108, 248, .55);
  transition: box-shadow .22s ease, background .22s ease;
}
input[type="text"]::placeholder { color: var(--muted-2); }
input[type="text"]:focus {
  /* focus shifts the gradient to cyan/violet and brightens the glow */
  background:
    linear-gradient(rgba(10, 11, 16, .95), rgba(10, 11, 16, .95)) padding-box,
    linear-gradient(120deg, rgba(34, 211, 238, .95), rgba(167, 139, 250, .85)) border-box;
  box-shadow: 0 0 32px -8px rgba(34, 211, 238, .65);
}

/* ---------------- buttons ---------------- */
.btn {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 14.5px;
  font-weight: 650;
  font-family: inherit;
  cursor: pointer;
  color: var(--ink);
  background: var(--surface-2);
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow { display: inline-block; transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn.primary {
  background: var(--grad);
  background-size: 160% 100%;
  color: #0A0B10;
  border: none;
  box-shadow: 0 14px 34px -14px rgba(124, 108, 248, .85), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn.primary:hover { background-position: 100% 0; box-shadow: 0 18px 40px -14px rgba(34, 211, 238, .6); }
.btn.primary:disabled {
  background: rgba(255, 255, 255, .07);
  color: var(--muted-2);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.btn.ghost {
  background: var(--surface);
  border: 1px solid var(--line);
  color: #D5DAE7;
}
.btn.ghost:hover { border-color: var(--line-strong); background: var(--surface-2); color: #fff; }
.btn.pro {
  background: linear-gradient(120deg, rgba(124, 108, 248, .18), rgba(34, 211, 238, .12));
  border: 1px solid rgba(124, 108, 248, .45);
  color: #DCE2F5;
}
.btn.pro:hover { border-color: rgba(34, 211, 238, .65); box-shadow: 0 12px 30px -16px rgba(34, 211, 238, .7); }
.btn.full { width: 100%; margin-bottom: 10px; }

/* ---------------- chips ---------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: #C6CCDD;
  font-size: 13.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s ease;
}
.chip:hover { color: #fff; border-color: rgba(124, 108, 248, .6); background: rgba(124, 108, 248, .12); }
.chip.active {
  background: var(--grad);
  border-color: transparent;
  color: #0A0B10;
  font-weight: 700;
  box-shadow: 0 8px 22px -10px rgba(124, 108, 248, .8);
}
.chips.small .chip { padding: 6px 11px; font-size: 12px; }

/* ---------------- mood / vibe cards ---------------- */
.mood-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vibe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .mood-grid, .vibe-grid { grid-template-columns: repeat(2, 1fr); } }

.mood-card, .vibe-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all .16s ease;
}
.mood-card:hover, .vibe-card:hover {
  border-color: rgba(124, 108, 248, .55);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -20px rgba(124, 108, 248, .9);
}
.mood-card.active, .vibe-card.active {
  border-color: transparent;
  box-shadow: 0 0 0 1.5px rgba(124, 108, 248, .9), 0 16px 36px -22px rgba(34, 211, 238, .9);
  background: linear-gradient(180deg, rgba(124, 108, 248, .16), rgba(34, 211, 238, .07));
}
.mood-swatches { display: flex; gap: 5px; margin-bottom: 9px; }
.mood-swatches i {
  width: 26px; height: 26px; border-radius: 8px; display: block;
  border: 1px solid rgba(255, 255, 255, .18);
}
.mood-card b { font-size: 13px; letter-spacing: .01em; }

.vibe-card { text-align: center; padding: 15px 10px; }
.vibe-sample {
  display: block;
  font-size: 21px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #F2F4FA;
}
.vibe-card b {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

/* ---------------- results ---------------- */
.hidden { display: none !important; }

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.results-bar h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.logo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #101218;
  border: 1px solid var(--line);
  transition: transform .2s cubic-bezier(.2, .7, .3, 1), box-shadow .25s ease, border-color .2s ease;
  animation: rise .45s cubic-bezier(.2, .7, .3, 1) both;
}
.logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 108, 248, .55);
  box-shadow: 0 26px 50px -26px rgba(124, 108, 248, .85);
}
.logo-card.selected {
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(124, 108, 248, .95), 0 0 42px -8px rgba(34, 211, 238, .55);
}
.logo-card.selected::after {
  content: 'SELECTED';
  position: absolute;
  top: 10px; right: 10px;
  font-size: 9px;
  letter-spacing: .14em;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  color: #0A0B10;
  background: var(--grad);
}
.logo-card svg { display: block; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.wstep:not(.hidden) { animation: rise .32s ease both; }

/* ---------------- detail ---------------- */
#detail { padding: 26px; margin-top: 6px; }
.detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }

.detail-left h3, .detail-side h3, .download-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  letter-spacing: .02em;
  margin: 24px 0 14px;
}
.detail-side h3:first-child { margin-top: 0; }
.download-title { margin-top: 26px; }

.detail-preview {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px -26px rgba(0, 0, 0, .95);
  min-height: 240px;
  display: flex;
  align-items: stretch;
}

/* mockups */
.mockups { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mock {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, .035);
}
.mock-label {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted-2);
  padding: 10px 12px 0;
}
.mock-body { padding: 12px; }

.biz-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
  aspect-ratio: 1.75;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10%;
}
.biz-card .biz-logo { width: 62%; }
.biz-card .biz-lines { margin-top: 10%; }
.biz-card .biz-lines i { display: block; height: 5px; border-radius: 3px; background: rgba(100, 116, 139, .35); margin-bottom: 6px; }
.biz-card .biz-lines i:nth-child(1) { width: 45%; background: rgba(100, 116, 139, .55); }
.biz-card .biz-lines i:nth-child(2) { width: 34%; }
.biz-card .biz-lines i:nth-child(3) { width: 40%; }

.appicon-row { display: flex; align-items: flex-end; gap: 12px; }
.appicon {
  width: 72px; height: 72px; border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .5);
}
.appicon.small { width: 44px; height: 44px; border-radius: 11px; opacity: .92; }
.appicon svg { display: block; width: 100%; height: 100%; }

.avatar {
  width: 76px; height: 76px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .5);
  display: flex; align-items: center; justify-content: center;
}
.avatar svg { display: block; width: 150%; height: 150%; flex: none; }

.browser { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.browser .chrome { display: flex; gap: 5px; padding: 7px 10px; background: #EFF2F7; border-bottom: 1px solid #E2E8F0; }
.browser .chrome i { width: 8px; height: 8px; border-radius: 50%; background: #CBD5E1; display: block; }
.browser .navbar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; }
.browser .navbar .nav-logo { height: 26px; overflow: hidden; }
.browser .navbar .nav-logo svg { display: block; height: 26px; width: auto; }
.browser .navbar .nav-links { margin-left: auto; display: flex; gap: 8px; }
.browser .navbar .nav-links i { width: 30px; height: 5px; border-radius: 3px; background: #CBD5E1; display: block; }
.browser .hero { padding: 14px 12px 18px; }
.browser .hero i { display: block; height: 8px; border-radius: 4px; background: #E2E8F0; margin-bottom: 7px; }
.browser .hero i:nth-child(1) { width: 60%; height: 12px; background: #CBD5E1; }
.browser .hero i:nth-child(2) { width: 85%; }
.browser .hero i:nth-child(3) { width: 50%; }

.favicon-tab { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #F1F5F9; }
.favicon-tab .fav-ico { width: 20px; height: 20px; border-radius: 5px; overflow: hidden; flex: none; }
.favicon-tab .fav-ico svg { display: block; width: 100%; height: 100%; }
.favicon-tab .fav-text { height: 6px; width: 60px; border-radius: 3px; background: #CBD5E1; }

/* editor widgets */
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  width: 30px; height: 30px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .14);
  cursor: pointer;
  position: relative;
  padding: 0;
  background: none;
  transition: transform .14s ease, box-shadow .16s ease;
}
.swatch i { position: absolute; inset: 3px; border-radius: 6px; display: block; }
.swatch:hover { transform: scale(1.14); }
.swatch.active { box-shadow: 0 0 0 2px rgba(124, 108, 248, .95); border-color: transparent; }

.icon-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.icon-pick {
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: #C9CFDF;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .14s ease;
}
.icon-pick:hover { border-color: rgba(124, 108, 248, .6); color: #fff; transform: translateY(-1px); }
.icon-pick.active {
  border-color: transparent;
  background: var(--grad);
  color: #0A0B10;
  box-shadow: 0 8px 20px -10px rgba(124, 108, 248, .9);
}
.icon-pick svg { width: 20px; height: 20px; }

.slogan-list { display: flex; flex-direction: column; gap: 8px; }
.slogan-item {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: #D3D9E7;
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  transition: all .14s ease;
}
.slogan-item:hover { border-color: rgba(124, 108, 248, .55); color: #fff; }
.slogan-item.active {
  border-color: transparent;
  background: linear-gradient(180deg, rgba(124, 108, 248, .18), rgba(34, 211, 238, .08));
  box-shadow: 0 0 0 1.5px rgba(124, 108, 248, .85);
  color: #fff;
}
.slogan-item .tone {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-right: 8px;
}

.downloads { margin-top: 4px; }
.note { font-size: 11.5px; color: var(--muted-2); line-height: 1.6; margin-top: 8px; }
#pay-status { color: #9BE7C4; }

/* ---------------- footer ---------------- */
.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 24px 44px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12px;
}
.footer-links { display: flex; gap: 4px; flex-wrap: wrap; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 5px 9px;
  border-radius: 8px;
  transition: all .14s ease;
}
.footer-links a:hover { color: #fff; background: var(--surface); }

/* focus visibility */
.btn:focus-visible, .chip:focus-visible, .swatch:focus-visible, .icon-pick:focus-visible,
input:focus-visible, .brand:focus-visible, .slogan-item:focus-visible {
  outline: 2px solid rgba(34, 211, 238, .9);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
