/* =============================
   CityGrid Vending Stylesheet
   ============================= */

:root {
  --bg: #0f1115;           /* Deep charcoal */
  --text: #f5f7fa;         /* Off‑white */
  --muted: #a3acb9;        /* Muted gray */
  --primary: #2f6dff;      /* Electric blue */
  --primary-600: #2658cc;  /* Darker blue */
  --accent: #ffd60a;       /* NYC taxi yellow */
  --card: #151922;         /* Card surface */
  --card-2: #121620;       /* Alt surface */
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1100px;
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: radial-gradient(1200px 800px at 80% -10%, rgba(47,109,255,.12), transparent 50%),
              radial-gradient(800px 600px at 20% 110%, rgba(255,214,10,.08), transparent 50%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(92vw, var(--maxw)); margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.2rem; border-radius: 999px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn.primary { background: var(--primary); color: white; box-shadow: 0 8px 20px rgba(47,109,255,.35); }
.btn.primary:hover { transform: translateY(-1px); background: var(--primary-600); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.14); color: var(--text); }
.btn.ghost:hover { border-color: rgba(255,255,255,.28); }

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(15,17,21,.6);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; }
.brand { display: flex; align-items: center; gap: .9rem; }
.brand .mark {
  width:80px; height: 80px; border-radius: 14px; background: linear-gradient(145deg, var(--card), var(--card-2)); display: grid; place-items: center; box-shadow: var(--shadow);
}
.brand .mark img {
  width: 70px;   
  height: auto;
}

.brand .wordmark { font-weight: 800; letter-spacing: .2px; }
nav a { opacity: .9; }
.nav-links { display: none; gap: 1.2rem; align-items: center; }
.mobile-toggle { display: inline-flex; background: transparent; border: 1px solid rgba(255,255,255,.14); color: var(--text); border-radius: 12px; padding: .5rem .7rem; }

@media (min-width: 900px) { .nav-links { display: flex; } .mobile-toggle { display: none; } }
/* @media (max-width: 420px) {
  .brand .mark {
    width: 60px; height: 60px;
  }
  .brand .mark img {
    width: 52px;
  }
} */

/* Mobile menu */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; padding: .6rem 0 .9rem; }
.mobile-menu a { display: block; padding: .65rem 0; border-top: 1px solid rgba(255,255,255,.06); }

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6rem) 0; position: relative; }
.hero-grid { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
/* .kicker { color: var(--accent); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; } */
.kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 1rem; /* slightly larger overall */
  display: flex;
  align-items: center;
  gap: .4rem; /* space between 🗽 and text */
}
.kicker::before {
  content: "🗽";
  font-size: 2rem; /* make the icon pop */
}
.headline { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; margin: .5rem 0 1rem; font-weight: 900; }
.subhead { color: var(--muted); max-width: 46ch; }
.hero-calls { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-card { justify-items: center; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: 1rem; display: grid; gap: 1rem; box-shadow: var(--shadow); }


.hero-card .demo-svg {
  width: 100%;
  height: auto;
  max-width: clamp(340px, 44vw, 560px);      /* adjust if you want it smaller/larger */
  display: block;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
}

/* Sections */
section { padding: clamp(2.2rem, 6vw, 4rem) 0; }
.section-title { font-size: clamp(1.4rem, 3.2vw, 2rem); margin: 0 0 .6rem; }
.section-sub { color: var(--muted); margin: 0 0 1.4rem; max-width: 70ch; }
.cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.card { background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; font-size: 1.05rem; }
.pill { display: inline-block; padding: .35rem .6rem; border-radius: 999px; font-size: .82rem; border: 1px solid rgba(255,255,255,.12); opacity: .9; }

@media (min-width: 700px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* Service Area */
.areas { display: flex; flex-wrap: wrap; gap: .6rem; }
.areas .pill { background: rgba(47,109,255,.1); border-color: rgba(47,109,255,.25); }

/* CTA Banner */
.cta { background: radial-gradient(600px 300px at 10% -20%, rgba(255,214,10,.15), transparent 60%), radial-gradient(700px 400px at 90% 120%, rgba(47,109,255,.18), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: clamp(1.2rem, 4vw, 2rem); box-shadow: var(--shadow); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }
form { display: grid; gap: .8rem; }
label { font-weight: 600; font-size: .93rem; }
input, textarea, select { width: 100%; padding: .9rem 1rem; background: #0e121a; color: var(--text); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; outline: none; }
textarea { min-height: 130px; resize: vertical; }
.disclaimer { color: var(--muted); font-size: .9rem; }

/* Footer */
footer { border-top: 1px solid rgba(255,255,255,.08); color: var(--muted); padding: 1.2rem 0 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr auto; align-items: center; } }

/* Logo slot */
.logo-slot { 
    /* border: 1px dashed rgba(255,255,255,.2); */
    padding: 16px; border-radius: 14px; display: inline-flex; align-items: center; gap: 12px; }
.logo-slot small { color: var(--muted); }

/* #logo { */
  /* width: 180px;   adjust as needed (150–200px is sweet spot) */
  /* height: auto; */
  /* object-fit: contain; */
/* } */


/* Animation styles */
@keyframes coil-spin {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: 90; }
}

/* Give coils a dashed stroke so dashoffset looks like motion */
.coil {
  stroke-dasharray: 10 7;
  transform-origin: center;
}

/* Active states */
.key { transition: fill 120ms ease, filter 120ms ease; }
.key.active { fill: var(--accent) !important; filter: drop-shadow(0 0 6px rgba(255,214,10,.6)); }
.coil.active { stroke: var(--accent); stroke-opacity: 1; animation: coil-spin 1.2s linear both; filter: drop-shadow(0 0 6px rgba(255,214,10,.5)); }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .coil { animation: none !important; }
}
