/* Qbig — one page site
   Dark, brand green, mobile first. */

:root {
  --bg: #050705;
  --bg-soft: #0a0e0b;
  --panel: #0e130f;
  --panel-2: #121814;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef3ee;
  --muted: #a3afa6;
  --green: #2ae84e;
  --green-soft: rgba(42, 232, 78, 0.14);
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.7rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.13rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.accent { color: var(--green); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green); color: #04140a; padding: 10px 16px; z-index: 100;
  font-weight: 700; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.9rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 5, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--green); color: #04140a;
  display: grid; place-items: center;
  font-weight: 900; font-size: 1.05rem;
}
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav .nav-cta { color: #04140a; }

.nav-toggle-box, .nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #04140a; }
.btn-primary:hover { background: #4bf46a; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.22); color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(46px, 8vw, 92px) 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -30% auto -30%; height: 70%;
  background: radial-gradient(50% 55% at 30% 40%, rgba(42, 232, 78, 0.16), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 64px); align-items: center;
}
.hero-copy { max-width: 620px; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 26px; }

.hero-facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px;
  padding: 0; margin: 0; color: var(--muted); font-size: 0.92rem;
}
.hero-facts strong { color: var(--text); font-weight: 700; }
.hero-facts li { position: relative; padding-left: 16px; }
.hero-facts li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-glow {
  position: absolute; inset: 8% 12%;
  background: radial-gradient(circle, rgba(42, 232, 78, 0.35), transparent 65%);
  filter: blur(48px);
}
.phone-shot {
  position: relative;
  width: min(100%, 320px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}

.banner { margin: clamp(40px, 6vw, 72px) 0 0; }
.banner img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-sub { color: var(--muted); font-size: 1.04rem; }

.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}
.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(42, 232, 78, 0.45); transform: translateY(-4px); }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.card-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--green-soft); color: var(--green);
  margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; }

/* ---------- Screenshots ---------- */
.shot-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-bottom: 40px;
}
@media (min-width: 700px) { .shot-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .shot-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; } }
.shot { margin: 0; }
.shot img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #000;
}
.shot figcaption { padding: 14px 4px 0; }
.shot figcaption strong { display: block; font-size: 1rem; font-weight: 700; }
.shot figcaption span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Company ---------- */
.about-copy { max-width: 780px; }
.about-copy p { color: var(--muted); }
.about-copy strong { color: var(--text); }

/* ---------- Contact + newsletter (one row) ---------- */
.connect-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(30px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 900px) { .connect-grid { grid-template-columns: 1.1fr 0.9fr; } }
.connect-copy h2 { margin-bottom: 14px; }
.connect-copy .section-sub { margin-bottom: 22px; }
.connect-mail {
  display: inline-block; color: var(--green); font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.3rem); word-break: break-word;
}
.connect-mail:hover { text-decoration: underline; }
.connect-note { color: var(--muted); font-size: 0.95rem; margin: 10px 0 0; }
.connect-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px);
}
.connect-card h3 { font-size: 1.3rem; font-weight: 800; margin: 10px 0 8px; }
.connect-card .connect-note { margin: 0 0 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #0b130d, #071008 60%);
  border-top: 1px solid var(--line);
  padding: clamp(46px, 6vw, 76px) 0;
}
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 { margin-bottom: 6px; }
.cta-inner p { color: var(--muted); margin: 0; }
.cta-inner .hero-actions { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 46px 0 28px; }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px;
  padding-bottom: 26px; border-bottom: 1px solid var(--line);
}
.footer-brand { max-width: 380px; }
.footer-brand p { color: var(--muted); font-size: 0.93rem; margin: 14px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-start; }
.footer-nav a { color: var(--muted); font-size: 0.93rem; }
.footer-nav a:hover { color: var(--text); text-decoration: none; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding-top: 20px; color: var(--muted); font-size: 0.86rem;
}
.footer-base p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .phone-shot { width: min(100%, 260px); }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; cursor: pointer; padding: 8px; }
  .nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--text);
    margin: 5px 0; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
    display: none;
  }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav .nav-cta { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .nav-toggle-box:checked ~ .site-nav { display: flex; }
  .nav-toggle-box:checked + .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle-box:checked + .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-toggle-box:checked + .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .shot-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

/* ---------- Newsletter ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.subscribe-form { display: block; max-width: none; margin: 0; }
.subscribe-row { display: flex; gap: 12px; }
.subscribe-form input {
  flex: 1; min-width: 0;
  background: var(--panel-2); border: 1px solid var(--line);
  color: var(--text); border-radius: 999px;
  padding: 14px 22px; font-size: 1rem; font-family: inherit;
}
.subscribe-form input::placeholder { color: var(--muted); }
.subscribe-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.subscribe-form .btn { white-space: nowrap; }
.subscribe-form .btn:disabled { opacity: 0.6; cursor: wait; }
.subscribe-msg { min-height: 1.5em; margin: 14px 0 0; font-size: 0.97rem; color: var(--muted); text-align: left; }
.subscribe-msg.ok { color: var(--green); }
.subscribe-msg.err { color: #ff8080; }
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid rgba(4, 20, 10, 0.3);
  border-top-color: #04140a;
  border-radius: 50%;
  vertical-align: -2px;
  animation: btn-spin 0.7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

@media (max-width: 560px) {
  .subscribe-row { flex-direction: column; }
  .subscribe-row .btn { justify-content: center; }
}
