/* ============================================
   QuickBill — Showcase Website
   ============================================ */

:root {
  --bg: #0a0e17;
  --bg-elevated: #111827;
  --bg-card: #151d2e;
  --bg-muted: #f4f6f9;
  --text: #e8ecf4;
  --text-muted: #8b95a8;
  --text-dark: #1a2332;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.12);
  --accent-glow: rgba(0, 212, 170, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --border-light: #e2e8f0;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;
  --header-h: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* Background glow */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 170, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(99, 102, 241, 0.08), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(0, 212, 170, 0.06), transparent);
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 14, 23, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 14, 23, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.logo__mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), #00a88a);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--bg);
}

.logo__text em {
  font-style: normal;
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--white);
}

.header__actions {
  display: flex;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}

.btn--primary:hover {
  background: #00eabc;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--white {
  background: var(--white);
  color: var(--bg);
}

.btn--white:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn--ghost-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.badge__dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero__title-accent {
  font-style: italic;
  color: var(--accent);
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* POS Mockup */
.hero__visual {
  position: relative;
}

.pos-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pos-mockup__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot--red { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green { background: #28c840; }

.pos-mockup__title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pos-mockup__body {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 320px;
}

.pos-mockup__sidebar {
  padding: 0.75rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pos-cat {
  padding: 0.5rem 0.65rem;
  font-size: 0.7rem;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: default;
}

.pos-cat.active {
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
}

.pos-mockup__main {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 0;
}

.pos-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.75rem;
  align-content: start;
}

.pos-product {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem;
  text-align: center;
}

.pos-product__img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(99, 102, 241, 0.1));
  border-radius: 6px;
  margin-bottom: 0.35rem;
}

.pos-product span {
  display: block;
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.pos-product em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
}

.pos-cart {
  background: rgba(0, 0, 0, 0.25);
  border-left: 1px solid var(--border);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
}

.pos-cart__head {
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pos-cart__line {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.pos-cart__line em {
  font-style: normal;
  color: var(--text);
}

.pos-cart__total {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding: 0.75rem 0;
  font-size: 0.75rem;
  font-weight: 600;
}

.pos-cart__total strong {
  color: var(--accent);
  font-size: 0.9rem;
}

.pos-cart__pay {
  background: var(--accent);
  color: var(--bg);
  text-align: center;
  padding: 0.5rem;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 700;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}

.float-card svg {
  color: var(--accent);
  flex-shrink: 0;
}

.float-card--1 {
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.float-card--2 {
  bottom: 15%;
  left: -8%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ========== Trust ========== */
.trust {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.trust p {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.trust__items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust__items span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========== Sections ========== */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.section--dark {
  background: var(--bg-elevated);
}

.section--muted {
  background: var(--bg-muted);
  color: var(--text-dark);
}

.section--muted .section__label {
  color: var(--accent);
}

.section--muted .section__head p,
.section--muted .why-content p {
  color: #64748b;
}

.section__head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ========== Features ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-4px);
}

.feature-card--large {
  grid-column: span 2;
  grid-row: span 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card--accent {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.12), rgba(0, 212, 170, 0.04));
  border-color: rgba(0, 212, 170, 0.25);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* ========== Modules ========== */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.module {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.module:hover {
  background: rgba(0, 212, 170, 0.06);
  border-color: rgba(0, 212, 170, 0.2);
}

.module__num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.7;
  display: block;
  margin-bottom: 0.75rem;
}

.module h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.module p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========== Screens ========== */
.screens-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: end;
}

.screen-card {
  text-align: center;
}

.screen-card--featured {
  transform: scale(1.05);
}

.screen-card__frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}

.screen-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.screen-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Dashboard mock */
.dash-mock {
  display: grid;
  grid-template-columns: 50px 1fr;
  height: 100%;
}

.dash-mock__sidebar {
  background: rgba(0, 0, 0, 0.3);
}

.dash-mock__content {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.dash-card {
  height: 28px;
  background: rgba(0, 212, 170, 0.15);
  border-radius: 4px;
}

.dash-mock__chart {
  flex: 1;
  background: linear-gradient(180deg, rgba(0, 212, 170, 0.1) 0%, transparent 100%);
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* Mini POS mock */
.mini-pos {
  display: grid;
  grid-template-columns: 1fr 80px;
  height: 100%;
  padding: 0.5rem;
  gap: 0.5rem;
}

.mini-pos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  align-content: start;
}

.mini-pos__grid div {
  aspect-ratio: 1;
  background: rgba(0, 212, 170, 0.12);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.mini-pos__cart {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* Table mock */
.table-mock {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 100%;
}

.table-mock__row {
  height: 24px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.table-mock__row--head {
  background: rgba(0, 212, 170, 0.15);
  height: 20px;
}

/* ========== Why ========== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  margin-top: 1.5rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #475569;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0e17' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.metric-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.metric-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.metric-box--highlight {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg), #151d2e);
  color: var(--white);
  border: none;
}

.metric-box__value {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-box--highlight .metric-box__value {
  color: var(--accent);
}

.metric-box__label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.metric-box--highlight .metric-box__label {
  color: rgba(255, 255, 255, 0.6);
}

/* ========== Pricing ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(0, 212, 170, 0.08) 0%, var(--bg-card) 40%);
  transform: scale(1.04);
}

.price-card--featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.price-card__amount {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price-card__amount .currency {
  font-size: 1.25rem;
  font-weight: 500;
  opacity: 0.7;
}

.price-card__period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.price-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.price-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ========== Tech Stack ========== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tech-group {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}

.tech-group:hover {
  border-color: rgba(0, 212, 170, 0.25);
  background: rgba(0, 212, 170, 0.04);
}

.tech-group--wide {
  grid-column: span 3;
}

.tech-group h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: var(--transition);
}

.tech-tag:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
}

.tech-tag--highlight {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(0, 212, 170, 0.3);
}

.tech-powered {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.tech-powered p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.tech-powered strong {
  color: var(--white);
}

.tech-powered a {
  font-size: 0.9rem;
  color: var(--accent);
  transition: opacity var(--transition);
}

.tech-powered a:hover {
  opacity: 0.8;
}

/* ========== CTA ========== */
.cta {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.cta__inner {
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-item a {
  color: var(--white);
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(139, 149, 168, 0.6);
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 1rem;
  min-height: 1.25rem;
}

.form-note--hint {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.form-note.success {
  color: var(--accent);
}

.contact-item svg[fill="currentColor"] {
  color: #25d366;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem 0.85rem 0.95rem;
  background: #25d366;
  color: #fff;
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.whatsapp-float__label {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.9rem;
    border-radius: 50%;
  }

  .whatsapp-float__label {
    display: none;
  }
}

/* ========== Footer ========== */
.footer {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 280px;
}

.footer__links h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer__links a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== Animations on scroll ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__visual {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card--large {
    grid-column: span 2;
  }

  .modules-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .screens-row {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .screen-card--featured {
    transform: none;
  }

  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .price-card--featured {
    transform: none;
  }

  .tech-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tech-group--wide {
    grid-column: span 2;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav,
  .header__actions {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .header__actions.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(var(--header-h) + 200px);
    left: 1.5rem;
    right: 1.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding-top: calc(var(--header-h) + 2rem);
    min-height: auto;
  }

  .hero__stats {
    flex-direction: column;
    gap: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--large {
    grid-column: span 1;
  }

  .modules-grid {
    grid-template-columns: 1fr 1fr;
  }

  .float-card {
    display: none;
  }

  .pos-mockup__body {
    grid-template-columns: 90px 1fr;
  }

  .pos-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .tech-group--wide {
    grid-column: span 1;
  }
}

.footer__bottom a {
  color: var(--accent);
  transition: opacity var(--transition);
}

.footer__bottom a:hover {
  opacity: 0.8;
}
