/* Main Street AI — dark neon tech theme */
:root {
  --bg: #070b1a;
  --bg-alt: #0b1126;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(138, 176, 255, 0.16);
  --border-bright: rgba(138, 176, 255, 0.38);
  --ink: #eaf0ff;
  --gray: #9aa8cc;
  --navy: #eaf0ff;            /* legacy var: headings now light */
  --blue: #4f8cff;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --grad: linear-gradient(100deg, #4f8cff 0%, #8b5cf6 55%, #22d3ee 120%);
  --glow-blue: 0 0 24px rgba(79, 140, 255, 0.35);
  --radius: 16px;
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
  --maxw: 1080px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(800px 480px at 0% 10%, rgba(79, 140, 255, 0.14), transparent 55%),
    var(--bg);
  line-height: 1.65;
}
h1, h2, h3, h4, .brand-name, .price-big, .stat .num {
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.01em;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 26, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 50px; width: auto; filter: drop-shadow(0 0 10px rgba(79,140,255,0.45)); }
.brand-name { font-size: 1.22rem; font-weight: 700; letter-spacing: 0.05em; color: var(--ink); }
.brand-name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-tag { display: block; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em; color: var(--gray); text-transform: uppercase; }
nav.links { display: flex; gap: 4px; align-items: center; }
nav.links a {
  text-decoration: none; color: var(--gray); font-weight: 600; font-size: 0.94rem;
  padding: 8px 14px; border-radius: 10px; transition: all 0.18s;
}
nav.links a:hover { color: var(--ink); background: var(--surface-2); }
nav.links a.active { color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }
nav.links a.cta {
  background: var(--grad); color: #fff; margin-left: 10px;
  box-shadow: var(--glow-blue);
}
nav.links a.cta:hover { transform: translateY(-1px); box-shadow: 0 0 34px rgba(79,140,255,0.5); }
#menu-toggle { display: none; background: none; border: none; font-size: 1.7rem; color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 92px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px);
  animation: float 10s ease-in-out infinite;
}
.hero::before {
  width: 520px; height: 520px; top: -180px; left: -160px;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.22), transparent 65%);
}
.hero::after {
  width: 620px; height: 620px; bottom: -260px; right: -180px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 65%);
  animation-delay: -5s;
}
.hero .container { position: relative; z-index: 1; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(30px) scale(1.07); }
}
.hero img.hero-logo { height: 165px; margin-bottom: 20px; filter: drop-shadow(0 0 26px rgba(79,140,255,0.55)); animation: drop-in 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.4rem); line-height: 1.12; font-weight: 700;
  animation: rise 0.7s 0.15s ease-out both;
}
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { max-width: 650px; margin: 20px auto 0; font-size: 1.16rem; color: var(--gray); animation: rise 0.7s 0.3s ease-out both; }
.hero .btn-row { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: rise 0.7s 0.45s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-18px) scale(0.92); } to { opacity: 1; transform: none; } }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 1rem;
  padding: 14px 32px; border-radius: 12px; transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--glow-blue); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 38px rgba(79, 140, 255, 0.55); }
.btn-outline {
  border: 1px solid var(--border-bright); color: var(--ink);
  background: var(--surface);
}
.btn-outline:hover { background: var(--surface-2); transform: translateY(-2px); border-color: rgba(138,176,255,0.6); }

/* ---------- Sections ---------- */
section.block { padding: 76px 0; }
section.block.alt {
  background: linear-gradient(180deg, rgba(79,140,255,0.05), rgba(139,92,246,0.04));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.kicker {
  display: inline-block;
  color: var(--cyan); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem;
  padding: 5px 14px; border: 1px solid rgba(34, 211, 238, 0.3); border-radius: 999px;
  background: rgba(34, 211, 238, 0.07);
}
h2.title { font-size: clamp(1.7rem, 3.6vw, 2.35rem); color: var(--ink); margin: 16px 0 14px; font-weight: 700; }
p.sub { color: var(--gray); max-width: 700px; font-size: 1.05rem; }
.center { text-align: center; }
.center p.sub { margin: 0 auto; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; margin-top: 40px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); backdrop-filter: blur(6px);
}
.card h3 { color: var(--ink); font-size: 1.14rem; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 0.96rem; }
.card .emoji { font-size: 2rem; display: block; margin-bottom: 14px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 18px; text-align: center;
}
.stat .num {
  font-size: 2.1rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { font-size: 0.87rem; color: var(--gray); font-weight: 600; }

/* tool cards */
.tool-cat { margin-top: 58px; }
.tool-cat .cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.cat-num {
  background: var(--grad); color: #fff; font-weight: 700; border-radius: 12px;
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
  flex-shrink: 0; box-shadow: var(--glow-blue);
  font-family: "Space Grotesk", sans-serif;
}
.tool-cat h3 { color: var(--ink); font-size: 1.35rem; }
.tool-cat p.cat-sub { color: var(--gray); margin-bottom: 6px; }
.tool {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; backdrop-filter: blur(6px);
}
.tool h4 { color: var(--ink); font-size: 1.07rem; margin-bottom: 8px; }
.tool p.desc { color: var(--gray); font-size: 0.93rem; flex-grow: 1; }
.tool .impact {
  margin-top: 14px; background: rgba(79, 140, 255, 0.1); color: #bcd2ff; font-size: 0.85rem;
  font-weight: 600; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(79, 140, 255, 0.22);
}
.tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  background: var(--surface-2); color: #a9bdf0; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border);
}
.tag.built { background: rgba(34, 211, 160, 0.12); color: #4ee6ad; border-color: rgba(34, 211, 160, 0.35); }

/* pricing table (legacy) */
table.pricing { width: 100%; border-collapse: collapse; margin-top: 28px; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
table.pricing th { background: rgba(79,140,255,0.15); color: var(--ink); text-align: left; padding: 14px 18px; font-size: 0.92rem; }
table.pricing td { padding: 13px 18px; border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--gray); }
table.pricing td.price { font-weight: 700; color: var(--blue); white-space: nowrap; }
.cat-row td { background: rgba(139,92,246,0.1); font-weight: 700; color: var(--ink); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff;
  font-weight: 700; margin-bottom: 14px; box-shadow: var(--glow-blue);
  font-family: "Space Grotesk", sans-serif;
}
.step h4 { color: var(--ink); margin-bottom: 6px; font-size: 1rem; }
.step p { color: var(--gray); font-size: 0.9rem; }
.step em { color: #bcd2ff; font-style: normal; font-weight: 700; }

/* about profiles */
.profile { display: flex; gap: 22px; align-items: flex-start; }
.avatar {
  flex-shrink: 0; width: 84px; height: 84px; border-radius: 22px;
  background: var(--grad);
  color: #fff; font-size: 2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow-blue);
  font-family: "Space Grotesk", sans-serif;
}
.profile h3 { color: var(--ink); font-size: 1.3rem; }
.profile .role {
  color: var(--cyan); font-weight: 700; font-size: 0.82rem; margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* quote band */
.band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(79, 140, 255, 0.25), transparent 60%),
    radial-gradient(700px 320px at 80% 100%, rgba(139, 92, 246, 0.25), transparent 60%),
    #0a1030;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  color: #fff; padding: 72px 0; text-align: center;
}
.band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }
.band p { color: #aab8dd; max-width: 640px; margin: 0 auto 28px; font-size: 1.08rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; margin-top: 40px; }
.info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.info-item .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0;
}
.info-item h4 { color: var(--ink); font-size: 0.98rem; }
.info-item p, .info-item a { color: var(--gray); font-size: 0.95rem; text-decoration: none; }
.info-item a:hover { color: var(--blue); }
form.contact {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); backdrop-filter: blur(6px);
}
form.contact label { display: block; font-weight: 700; color: var(--ink); font-size: 0.88rem; margin: 16px 0 6px; }
form.contact label:first-child { margin-top: 0; }
form.contact input, form.contact select, form.contact textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 0.97rem; font-family: inherit; color: var(--ink); background: rgba(7, 11, 26, 0.6);
}
form.contact select option { background: #0b1126; color: var(--ink); }
form.contact input::placeholder, form.contact textarea::placeholder { color: #5b6a93; }
form.contact input:focus, form.contact select:focus, form.contact textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.18);
}
form.contact button {
  margin-top: 22px; width: 100%; background: var(--grad); color: #fff; border: none;
  padding: 14px; border-radius: 12px; font-size: 1.02rem; font-weight: 700; cursor: pointer;
  box-shadow: var(--glow-blue); transition: transform 0.15s, box-shadow 0.2s;
}
form.contact button:hover { transform: translateY(-1px); box-shadow: 0 0 34px rgba(79,140,255,0.5); }

/* footer */
footer.site {
  background: #060917; color: var(--gray); padding: 46px 0 30px;
  border-top: 1px solid var(--border);
}
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 36px; }
footer h4 { color: var(--ink); margin-bottom: 12px; font-size: 1rem; }
footer a { color: var(--gray); text-decoration: none; display: block; margin-bottom: 8px; font-size: 0.93rem; }
footer a:hover { color: var(--ink); }
footer p { font-size: 0.93rem; }
footer .legal { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 18px; font-size: 0.83rem; text-align: center; color: #5b6a93; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero::after, .hero img.hero-logo, .hero h1, .hero p.lede, .hero .btn-row { animation: none; }
  .marquee .track { animation: none; }
}
.card, .tool, .step, .stat { transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, opacity 0.6s ease; }
.card:hover, .tool:hover, .step:hover, .stat:hover {
  transform: translateY(-6px);
  border-color: var(--border-bright);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 24px rgba(79, 140, 255, 0.18);
}

/* founders photo */
.photo-frame {
  max-width: 560px; margin: 40px auto 0; padding: 2px;
  background: var(--grad);
  border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,0.55), var(--glow-blue);
  transition: transform 0.3s ease;
}
.photo-frame:hover { transform: scale(1.015); }
.photo-frame img { width: 100%; display: block; border-radius: 20px 20px 0 0; }
.photo-frame figcaption {
  color: #fff; text-align: center; font-size: 0.92rem; font-weight: 600;
  padding: 12px 8px; letter-spacing: 0.02em;
}

.profile-card { position: relative; overflow: hidden; }
.profile-card::after {
  content: ""; position: absolute; top: -50px; right: -50px; width: 160px; height: 160px;
  border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 70%);
}

/* marquee + chips */
.marquee { overflow: hidden; margin-top: 40px; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee .track { display: flex; gap: 14px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.chip {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 20px; font-weight: 600; color: var(--ink); font-size: 0.94rem;
}
.chip span.e { font-size: 1.2rem; }
.platforms { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* pricing plan cards */
.plan { text-align: center; position: relative; }
.plan .price-big { font-size: 2.4rem; font-weight: 700; margin: 10px 0 2px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan .price-big small { font-size: 1rem; color: var(--gray); font-weight: 600; -webkit-text-fill-color: var(--gray); }
.plan .setup-note { font-size: 0.85rem; color: var(--gray); margin-bottom: 14px; }
.plan ul { list-style: none; text-align: left; margin: 16px 0 22px; }
.plan ul li { padding: 8px 0 8px 26px; position: relative; color: var(--gray); font-size: 0.93rem; border-bottom: 1px dashed rgba(138,176,255,0.12); }
.plan ul li:last-child { border-bottom: none; }
.plan ul li::before { content: "✓"; position: absolute; left: 2px; color: var(--cyan); font-weight: 800; }
.plan.featured { border-color: var(--border-bright); box-shadow: 0 0 44px rgba(79, 140, 255, 0.22); }
.plan .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: var(--glow-blue);
}
.band .btn-primary { background: #fff; color: #0a1030; box-shadow: 0 0 30px rgba(255,255,255,0.25); }
.band .btn-primary:hover { box-shadow: 0 0 40px rgba(255,255,255,0.4); }

/* responsive */
@media (max-width: 860px) {
  .grid.cols-3, .grid.cols-2, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .contact-grid, footer .cols { grid-template-columns: 1fr; }
  #menu-toggle { display: block; }
  nav.links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; background: rgba(7, 11, 26, 0.97); backdrop-filter: blur(14px);
    padding: 16px; border-bottom: 1px solid var(--border);
  }
  nav.links.open { display: flex; }
  nav.links a { width: 100%; text-align: center; }
}
@media (max-width: 540px) {
  .grid.cols-3, .grid.cols-2, .steps, .stats { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 60px; }
  .hero img.hero-logo { height: 125px; }
  table.pricing th:nth-child(4), table.pricing td:nth-child(4) { display: none; }
}
