/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0c1009;
  --bg-card: #131b10;
  --bg-card-alt: #192215;
  --green: #4ade80;
  --green-dim: #2a6b3c;
  --green-text: #86efac;
  --text: #e8f5e3;
  --text-muted: #8ab89a;
  --border: #1e3320;
  --orange: #f97316;
  --font-display: 'Syne', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 16, 9, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* === HERO === */
.hero {
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(74, 222, 128, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--green-dim);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: normal;
  color: var(--green);
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 460px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stat-div {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* === HERO PHONE === */
.hero-right {
  display: flex;
  justify-content: center;
}

.hero-phone-frame {
  width: 220px;
  background: #0a0f0b;
  border-radius: 32px;
  border: 1.5px solid rgba(74, 222, 128, 0.2);
  padding: 3px;
  box-shadow: 0 0 60px rgba(74, 222, 128, 0.08), 0 20px 40px rgba(0,0,0,0.4);
}

.phone-notch {
  width: 70px;
  height: 18px;
  background: #0a0f0b;
  border-radius: 0 0 12px 12px;
  margin: 0 auto;
}

.phone-screen {
  background: var(--bg-card);
  border-radius: 28px 28px 24px 24px;
  padding: 1.25rem;
  border: 1px solid var(--border);
}

.pos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.pos-emp {
  background: var(--green-dim);
  color: var(--green-text);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
}

.pos-product {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.pos-product-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.pos-product-grams {
  font-size: 0.85rem;
  color: var(--green-text);
  background: rgba(74, 222, 128, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
}

.pos-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.pos-discount {
  background: rgba(249, 115, 22, 0.15);
  color: var(--orange);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
}

.pos-subtotal, .pos-tax {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.pos-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.pos-pay-method {
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--green-dim);
  color: var(--green-text);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px;
  border-radius: 8px;
}

/* === DASHBOARD === */
.dashboard-section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.dash-header {
  margin-bottom: 3rem;
}

.dash-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.dash-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.7;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.dash-card--main {
  grid-column: span 1;
}

.dash-card--wide {
  grid-column: span 2;
}

.dash-card-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.dash-card-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.dash-card-change {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dash-card-change.positive { color: var(--green-text); }
.dash-card-change.negative { color: var(--orange); }

.dash-spark {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 100px;
  opacity: 0.8;
}

/* Week bars */
.week-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  height: 80px;
  padding-top: 0.5rem;
}

.week-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.week-bar {
  width: 100%;
  background: var(--green-dim);
  border-radius: 4px 4px 0 0;
  transition: height 0.3s ease;
}

.week-bar--today {
  background: var(--green);
}

.week-day {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* === FEATURES === */
.features-section {
  padding: 5rem 2rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-header {
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.features-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--green-dim);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === PRICING === */
.pricing-section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-header {
  margin-bottom: 3rem;
}

.pricing-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.pricing-sub {
  color: var(--text-muted);
  font-size: 1rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.pricing-tier-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-text);
  margin-bottom: 0.75rem;
}

.pricing-tier-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.pricing-tier-price span {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-tier-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text);
}

.vs-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.vs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vs-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.vs-comp {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.vs-price {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
}

.vs-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

/* === CLOSING === */
.closing-section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.closing-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.closing-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.closing-note {
  font-size: 0.875rem;
  color: var(--green-text);
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: left;
  }
  .hero-right {
    display: none;
  }
  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash-card--wide {
    grid-column: span 2;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .hero-stats {
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .dash-card--wide {
    grid-column: span 1;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }
}