/* ─── Fonts ──────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400&display=swap');

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
  /* Brand */
  --primary:            #000000;   /* CTA fill — black only            */
  --primary-active:     #1a1a1a;   /* CTA press state                  */
  --text-link:          #0d74ce;   /* Inline body links only           */

  /* Surface */
  --canvas:             #ffffff;
  --canvas-soft:        #fafafa;
  --surface-card:       #ffffff;
  --surface-strong:     #f0f0f3;   /* Badges, secondary buttons        */
  --surface-dark:       #171717;   /* Dark cards, code blocks          */
  --surface-dark-elev:  #1a1a1a;   /* Inside dark cards                */

  /* Atmospheric — hero only */
  --sky-light:          #cfe7ff;
  --sky-mid:            #a8c8e8;

  /* Hairlines */
  --hairline:           #f0f0f3;
  --hairline-soft:      #f5f5f7;
  --hairline-strong:    #dcdee0;

  /* Text */
  --ink:                #171717;
  --body:               #60646c;
  --muted:              #999999;
  --muted-soft:         #cccccc;
  --on-dark:            #ffffff;
  --on-dark-soft:       #b0b4ba;

  /* Semantic */
  --success:            #16a34a;
  --error:              #eb8e90;
  --warning:            #ab6400;

  /* Radius scale */
  --r-xs:   4px;
  --r-sm:   6px;
  --r-md:   8px;    /* CTAs, inputs */
  --r-lg:   12px;   /* Cards        */
  --r-xl:   16px;   /* Mockups      */
  --r-xxl:  24px;
  --r-pill: 9999px; /* Badges only  */

  /* Elevation */
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,.04);

  /* Spacing */
  --space-section: 96px;
}

/* ─── Base ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
code, pre { font-family: 'JetBrains Mono', monospace; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ───────────────────────────────────────────── */
/* Primary — pure black, 8px radius, 40px height */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: background .15s ease, transform .1s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-dark);
}
.btn-primary:hover  { background: #111; }
.btn-primary:active { background: var(--primary-active); transform: scale(.98); }

/* Secondary — white with hairline-strong border */
.btn-outline {
  background: var(--surface-card);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
}
.btn-outline:hover { background: var(--surface-strong); }

.btn-lg {
  height: 44px;
  padding: 12px 22px;
  font-size: 15px;
  border-radius: var(--r-md);
}

/* ─── Navbar ────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo svg { width: 18px; height: 18px; color: #fff; }
.nav-brand-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-actions .btn { height: 36px; padding: 8px 16px; }

/* hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  padding: 80px 0 72px;
  background: var(--canvas);
  overflow: hidden;
  position: relative;
}
/* Sky-blue atmospheric gradient wash — hero only */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 480px;
  background: radial-gradient(
    ellipse 80% 100% at 50% 0%,
    var(--sky-light) 0%,
    var(--sky-mid)   20%,
    #ddeeff          45%,
    transparent      72%
  );
  opacity: .45;
  pointer-events: none;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
  position: relative;
}

/* Badge — surface-strong, uppercase caption */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-strong);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--body);
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

/* display-mega: 64px / 600 / lh 1.05 / ls -1.92px */
.hero-text { max-width: 780px; }
.hero-text h1 {
  font-size: clamp(2rem, 5.5vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1.92px;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-text h1 span { color: var(--ink); }

/* body-md: 16px / 400 / lh 1.5 */
.hero-text p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
  max-width: 540px;
  margin: 0 auto 28px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Dashboard Mockup ──────────────────────────────────── */
.hero-mockup {
  width: 100%;
  max-width: 960px;
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline-strong);
  background: var(--surface-card);
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
  overflow: hidden;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface-strong);
  border-bottom: 1px solid var(--hairline);
}
.mockup-dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup-dot.red   { background: #fca5a5; }
.mockup-dot.amber { background: #fcd34d; }
.mockup-dot.green { background: #86efac; }
.mockup-url-bar {
  margin-left: 12px;
  height: 18px;
  width: 200px;
  background: var(--hairline-strong);
  border-radius: var(--r-sm);
}

.mockup-body { display: flex; min-height: 280px; }
.mockup-sidebar {
  width: 164px;
  flex-shrink: 0;
  padding: 14px 10px;
  border-right: 1px solid var(--hairline);
  background: var(--canvas-soft);
}
.mockup-sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: var(--r-sm);
  margin-bottom: 2px;
}
.mockup-sidebar-item.active { background: var(--surface-strong); }
.mockup-icon { width: 12px; height: 12px; background: var(--hairline-strong); border-radius: 2px; }
.mockup-sidebar-item.active .mockup-icon { background: var(--ink); opacity: .6; }
.mockup-label { height: 9px; border-radius: 2px; background: var(--hairline-strong); }
.mockup-sidebar-item.active .mockup-label { background: var(--muted-soft, #ccc); opacity: .7; }

.mockup-content { flex: 1; padding: 18px; }
.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.mockup-stat-card { border-radius: var(--r-lg); padding: 14px; }
.mockup-stat-card.green { background: #16a34a; }
.mockup-stat-card.sky   { background: #0284c7; }
.mockup-stat-card.amber { background: #ca8a04; }
.mockup-stat-number { font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.mockup-stat-label  { font-size: 10px; color: rgba(255,255,255,.75); }

.mockup-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mockup-chart-box {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 12px;
  height: 110px;
  overflow: hidden;
}
.mockup-chart-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.mockup-bars { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.mockup-bar-item { flex: 1; border-radius: 3px 3px 0 0; background: var(--ink); opacity: .15; }
.mockup-bar-item.alt { opacity: .08; }

/* ─── Stats ─────────────────────────────────────────────── */
.stats {
  padding: 56px 0;
  background: var(--canvas-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 12px 8px;
  border-left: 1px solid var(--hairline);
}
.stat-item:first-child { border-left: none; }
.stat-value {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--body); }

/* ─── Section Shared ────────────────────────────────────── */
.section { padding: var(--space-section) 0; background: var(--canvas); }
.section-alt { background: var(--canvas-soft); }

.section-header { text-align: center; margin-bottom: 56px; }

/* Badge label — caption-uppercase style */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-strong);
  color: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

/* display-lg: 36px / 600 / lh 1.15 / ls -1.08px */
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.08px;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-header p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
  max-width: 500px;
  margin: 0 auto;
}

/* ─── Features ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--surface-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 20px; height: 20px; color: var(--ink); }

/* title-md: 18px / 600 / lh 1.4 */
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 8px;
}
/* body-sm: 14px / 400 / lh 1.5 */
.feature-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
}

/* ─── Coming Soon — PoS ─────────────────────────────────── */
.pos-section { padding: var(--space-section) 0; background: var(--canvas); }
.pos-inner {
  background: var(--surface-dark);
  border-radius: var(--r-xxl);
  overflow: hidden;
}
.pos-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: center;
}
.pos-text { padding: 56px 52px; }

.pos-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface-dark-elev);
  color: var(--on-dark-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.pos-tag .blink {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: blink-pulse 1.8s ease-in-out infinite;
}
@keyframes blink-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}

/* display-md: 28px / 600 / lh 1.2 / ls -0.84px */
.pos-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.84px;
  color: var(--on-dark);
  margin-bottom: 14px;
}
.pos-text p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--on-dark-soft);
  margin-bottom: 28px;
}

.pos-features { }
.pos-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.pos-feature-item:first-child { border-top: none; }
.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-icon svg { width: 10px; height: 10px; color: var(--on-dark-soft); }
.pos-feature-item span {
  font-size: 14px;
  color: var(--on-dark-soft);
  font-weight: 400;
}

/* PoS Mockup card */
.pos-visual {
  padding: 48px 36px 48px 0;
  display: flex;
  justify-content: center;
}
.pos-card {
  background: var(--surface-dark-elev);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,.08);
  width: 280px;
  overflow: hidden;
}
.pos-card-header {
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--on-dark-soft);
  text-align: center;
  padding: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
}
.pos-card-body { padding: 14px; }
.pos-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.04);
  border-radius: var(--r-sm);
  padding: 9px 11px;
  margin-bottom: 6px;
  gap: 8px;
}
.pos-item-name  { font-size: 12px; font-weight: 500; flex: 1; color: var(--on-dark); }
.pos-item-qty   { font-size: 12px; color: var(--on-dark-soft); width: 26px; text-align: center; }
.pos-item-price { font-size: 12px; font-weight: 600; color: var(--on-dark); }

.pos-total { border-top: 1px solid rgba(255,255,255,.06); margin-top: 8px; padding-top: 12px; }
.pos-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--on-dark-soft);
}
.pos-total-main {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-dark);
  margin-bottom: 12px;
}
.pos-total-main .amount { color: var(--on-dark); }
.pos-pay-btn {
  display: block;
  width: 100%;
  background: var(--on-dark);
  color: var(--ink);
  border: none;
  border-radius: var(--r-md);
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: opacity .15s;
}
.pos-pay-btn:hover { opacity: .88; }

/* ─── Why LABANTA ─────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--surface-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.why-icon svg { width: 20px; height: 20px; color: var(--ink); }
.why-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.why-item p { font-size: 14px; color: var(--body); line-height: 1.5; }

/* ─── CTA Band ───────────────────────────────────────────── */
/* White canvas, display-lg headline, single black CTA */
.cta-section {
  padding: var(--space-section) 0;
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.08px;
  color: var(--ink);
  margin-bottom: 14px;
}
.cta-section p {
  font-size: 16px;
  color: var(--body);
  max-width: 420px;
  margin: 0 auto 36px;
}
/* btn-white here reuses btn-primary on white bg — same black pill */
.btn-cta-band {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--on-dark);
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 500;
  transition: background .15s;
}
.btn-cta-band:hover  { background: #111; }
.btn-cta-band:active { background: var(--primary-active); }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 48px 0 40px;
  color: var(--body);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo svg { width: 16px; height: 16px; color: #fff; }
.footer-brand-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px;
  color: var(--body);
  transition: color .15s;
}
.footer-links a:hover { color: var(--ink); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-text h1 { font-size: 48px; letter-spacing: -1.44px; }
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .pos-content   { grid-template-columns: 1fr; }
  .pos-text      { padding: 44px 40px 28px; }
  .pos-visual    { padding: 0 40px 44px; justify-content: flex-start; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn-outline { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 24px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
  }

  .hero-text h1 { font-size: 32px; letter-spacing: -1px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
  .mockup-stats   { grid-template-columns: 1fr; }
  .mockup-charts  { grid-template-columns: 1fr; }
  .pos-text  { padding: 32px 24px 20px; }
  .pos-visual { padding: 0 24px 32px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-cta .btn-lg { width: 100%; justify-content: center; }
  .stat-item { border-left: none; border-top: 1px solid var(--hairline); padding: 16px 0; }
  .stat-item:first-child { border-top: none; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Contact form ── */
.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .01em;
}

.form-input {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  padding: 0 14px;
  height: 44px;
  width: 100%;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}

.form-textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  min-height: 120px;
}

.form-footer {
  display: flex;
  justify-content: flex-start;
}

.form-status {
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
}

.form-status--success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.form-status--error {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}

#contact-submit[data-loading] svg { display: none; }
#contact-submit[data-loading] .btn-label::after { content: '…'; }
