:root {
  --bg: #070b18;
  --panel: rgba(15, 22, 48, 0.74);
  --panel-strong: #10182f;
  --text: #f5f7ff;
  --muted: #9ea8c6;
  --primary: #6e7cff;
  --primary-2: #9b63ff;
  --cyan: #25d4ff;
  --green: #43e3a0;
  --gold: #ffd466;
  --border: rgba(255,255,255,.10);
  --shadow: 0 28px 80px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lp-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(83, 81, 255, .16), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(37, 212, 255, .12), transparent 30%),
    var(--bg);
  overflow-x: hidden;
}

button, a { font: inherit; }
button { cursor: pointer; }

.page-shell { position: relative; min-height: 100vh; overflow: hidden; }
.grid-overlay {
  position: absolute; inset: 0; pointer-events: none; opacity: .22;
  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: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.ambient { position: absolute; border-radius: 999px; filter: blur(24px); opacity: .45; pointer-events: none; }
.ambient-one { width: 360px; height: 360px; background: #653bff; top: 18%; left: -220px; }
.ambient-two { width: 320px; height: 320px; background: #00bcd4; right: -180px; bottom: 8%; }

.topbar {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 5;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px;
  color: white; background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 34px rgba(111,124,255,.33);
}
.brand-mark svg { width: 29px; height: 29px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: "Space Grotesk", sans-serif; font-size: 22px; letter-spacing: -.4px; }
.brand-text strong span { color: #9aa7ff; }
.brand-text small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: 1.15px; text-transform: uppercase; }
.nav-actions { display: flex; gap: 10px; }

.btn {
  border: 0; border-radius: 12px; padding: 12px 20px; font-weight: 700;
  color: white; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  transition: .25s ease; position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 14px 34px rgba(105,91,255,.30); }
.btn-primary:hover { box-shadow: 0 18px 42px rgba(105,91,255,.42); }
.btn-ghost { background: transparent; border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-soft { background: rgba(255,255,255,.055); border: 1px solid var(--border); }
.btn-large { padding: 15px 22px; border-radius: 14px; }
.btn-large span { margin-left: 10px; }

.hero {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  min-height: calc(100vh - 150px);
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 72px;
  align-items: center; padding: 34px 0 56px; position: relative; z-index: 2;
}
.hero-copy { padding: 12px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px;
  border: 1px solid rgba(116,132,255,.25); background: rgba(106,115,255,.08);
  color: #bdc5ff; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
}
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
h1 { margin: 24px 0 20px; font-family: "Space Grotesk", sans-serif; font-size: clamp(48px, 5.4vw, 82px); line-height: 1.01; letter-spacing: -3.6px; max-width: 760px; }
.headline-gradient { display: block; color: transparent; background: linear-gradient(90deg, #9ca8ff 0%, #d397ff 48%, #66e2ff 100%); -webkit-background-clip: text; background-clip: text; }
.lead { max-width: 690px; color: var(--muted); font-size: 18px; line-height: 1.75; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-card {
  display: flex; gap: 13px; padding: 17px; border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  border-radius: 16px; transition: .28s ease; backdrop-filter: blur(12px);
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(137,149,255,.35); background: rgba(255,255,255,.07); }
.feature-icon { flex: 0 0 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.feature-icon svg { width: 19px; height: 19px; }
.icon-blue { background: rgba(83,112,255,.16); color: #91a5ff; }
.icon-violet { background: rgba(172,91,255,.16); color: #ca8fff; }
.icon-cyan { background: rgba(37,212,255,.14); color: #6fe8ff; }
.icon-green { background: rgba(67,227,160,.14); color: #70efb6; }
.feature-card h3 { margin: 0 0 6px; font-size: 14px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.55; }

.integration-banner {
  margin-top: 18px; display: flex; align-items: center; gap: 13px; padding: 15px 17px;
  border-radius: 16px; border: 1px solid rgba(255,212,102,.25);
  background: linear-gradient(90deg, rgba(255,211,101,.09), rgba(163,104,255,.08));
}
.star-badge { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #1a1430; background: linear-gradient(135deg, #fff2aa, #ffbf3f); box-shadow: 0 0 26px rgba(255,206,76,.25); font-size: 20px; animation: starPulse 2.4s infinite; }
.integration-banner p { margin: 0; color: #d6dbec; font-size: 13px; line-height: 1.6; }
.product-name { display: inline-block; margin-left: 5px; font-family: "Space Grotesk", sans-serif; font-weight: 800; font-size: 15px; }
.pos-name { color: #60d8ff; text-shadow: 0 0 18px rgba(63,207,255,.35); }
.diner-name { color: #ff9cd9; text-shadow: 0 0 18px rgba(255,101,196,.32); }
.joiner { margin-left: 5px; color: var(--muted); }

.visual-stage { position: relative; min-height: 650px; display: grid; place-items: center; perspective: 1200px; }
.dashboard-card {
  width: min(620px, 100%); padding: 24px; border-radius: 28px; border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(145deg, rgba(18,27,56,.94), rgba(9,14,30,.95));
  box-shadow: var(--shadow); backdrop-filter: blur(28px); transform: rotateY(-4deg) rotateX(1.5deg); position: relative; z-index: 2;
}
.dashboard-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(142,155,255,.65), transparent 35%, rgba(37,212,255,.25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.dashboard-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.dashboard-label { color: #8e9abc; font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; }
.dashboard-top h2 { margin: 6px 0 0; font-size: 20px; }
.live-pill { padding: 7px 10px; border-radius: 999px; background: rgba(67,227,160,.08); color: #80efbd; font-size: 11px; font-weight: 800; border: 1px solid rgba(67,227,160,.20); }
.live-pill span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 6px; box-shadow: 0 0 10px var(--green); }
.metric-row { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; margin: 22px 0 12px; }
.metric-card { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.075); }
.primary-metric { background: linear-gradient(135deg, rgba(105,112,255,.19), rgba(150,91,255,.10)); }
.metric-card span { display: block; color: #9aa6c5; font-size: 11px; }
.metric-card strong { display: block; margin: 8px 0 5px; font-size: 25px; letter-spacing: -.8px; }
.metric-card small { color: #9aa6c5; font-size: 10px; }
.metric-card small b { color: var(--green); }
.chart-panel { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.075); }
.chart-heading { display: flex; align-items: center; justify-content: space-between; }
.chart-heading span { display: block; color: #9aa6c5; font-size: 10px; }
.chart-heading strong { font-size: 13px; }
.legend { font-size: 10px; color: #9aa6c5; }
.legend span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); margin-right: 5px; }
.line-chart { width: 100%; height: 188px; margin-top: 2px; overflow: visible; }
.chart-grid line { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.chart-area { fill: url(#areaGradient); }
.chart-line { fill: none; stroke: #7b87ff; stroke-width: 4; stroke-linecap: round; filter: url(#glow); stroke-dasharray: 900; stroke-dashoffset: 900; animation: drawLine 2.4s ease forwards .35s; }
.chart-dots circle { fill: #96a0ff; stroke: #151d3a; stroke-width: 4; }
.chart-months { display: flex; justify-content: space-between; color: #66708c; font-size: 9px; margin-top: -7px; }
.insight-card { margin-top: 12px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: linear-gradient(90deg, rgba(143,85,255,.13), rgba(37,212,255,.07)); border: 1px solid rgba(160,118,255,.16); }
.ai-symbol { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: #e2c1ff; background: rgba(174,101,255,.15); font-size: 18px; }
.insight-card span { display: block; color: #aab4cf; font-size: 10px; }
.insight-card strong { display: block; margin-top: 4px; font-size: 12px; }
.insight-card button { border: 0; color: white; font-weight: 800; font-size: 10px; padding: 8px 11px; border-radius: 9px; background: rgba(255,255,255,.09); }

.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-radius: 16px; background: rgba(16,24,49,.88); border: 1px solid rgba(255,255,255,.13); box-shadow: 0 18px 44px rgba(0,0,0,.32); backdrop-filter: blur(14px); animation: float 4s ease-in-out infinite; }
.floating-card span { display: block; color: #8f9ab8; font-size: 9px; }
.floating-card strong { display: block; margin-top: 3px; font-size: 11px; }
.mobile-card { right: -12px; top: 16%; }
.accounting-card { left: -22px; bottom: 13%; animation-delay: -1.8s; }
.phone-dot, .checkmark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; }
.phone-dot { background: rgba(37,212,255,.15); position: relative; }
.phone-dot::before { content: ""; width: 11px; height: 18px; border: 2px solid #60e5ff; border-radius: 3px; }
.checkmark { background: rgba(67,227,160,.14); color: #65efb2; font-weight: 900; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(122,140,255,.12); }
.orbit-one { width: 700px; height: 700px; animation: spin 24s linear infinite; }
.orbit-two { width: 530px; height: 530px; border-style: dashed; animation: spinReverse 18s linear infinite; }

footer.lp-footer { width: min(1440px, calc(100% - 48px)); margin: 0 auto; padding: 20px 0 28px; color: #68738f; border-top: 1px solid rgba(255,255,255,.06); display: flex; justify-content: space-between; gap: 20px; font-size: 11px; position: relative; z-index: 2; }
footer.lp-footer .lp-legal { display: flex; gap: 18px; }
footer.lp-footer .lp-legal a { color: #8b95b0; text-decoration: none; font-weight: 600; }
footer.lp-footer .lp-legal a:hover { color: #d7dcea; text-decoration: underline; }

@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes starPulse { 0%,100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.08) rotate(6deg); } }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { text-align: center; }
  h1, .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .feature-card { text-align: left; }
  .integration-banner { justify-content: center; text-align: left; }
  .visual-stage { min-height: 620px; }
}

@media (max-width: 680px) {
  .topbar, .hero, footer.lp-footer { width: min(100% - 28px, 1440px); }
  .topbar { padding-top: 16px; }
  .brand-text small { display: none; }
  .nav-actions .btn { padding: 10px 13px; font-size: 12px; }
  h1 { font-size: clamp(42px, 14vw, 62px); letter-spacing: -2.4px; }
  .lead { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .feature-list { grid-template-columns: 1fr; }
  .integration-banner { align-items: flex-start; }
  .visual-stage { min-height: 520px; }
  .dashboard-card { padding: 16px; transform: none; }
  .dashboard-top h2 { font-size: 16px; }
  .metric-row { grid-template-columns: 1fr; }
  .chart-panel { padding: 12px; }
  .line-chart { height: 140px; }
  .floating-card { display: none; }
  footer.lp-footer { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
