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

:root {
  --black: #0b0b0b;
  --black-soft: #121212;
  --graphite: #1c1c1e;
  --graphite-2: #232326;
  --steel: #d1d1d6;
  --steel-dim: #9a9aa2;
  --orange: #ff6a18;
  --orange-dim: #c94f0f;
  --cocoa: #5b3a21;
  --white: #f5f5f5;
  --radius: 16px;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --max: 1180px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--steel);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--orange); }

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dim));
  color: var(--black);
  box-shadow: 0 8px 24px rgba(255, 106, 24, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 106, 24, 0.5); }
.btn--outline {
  border-color: var(--orange);
  color: var(--orange);
  background: transparent;
}
.btn--outline:hover { background: var(--orange); color: var(--black); }
.btn--ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--full { width: 100%; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 1px;
}
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--cocoa));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--black);
  font-size: 1.3rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav__links a:not(.btn) { color: var(--steel); transition: color 0.2s; position: relative; }
.nav__links a:not(.btn):hover { color: var(--orange); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.hero__glow--1 { width: 500px; height: 500px; background: var(--orange); top: -150px; right: -100px; }
.hero__glow--2 { width: 400px; height: 400px; background: var(--cocoa); bottom: -100px; left: -100px; opacity: 0.25; }
.hero__glow--3 { width: 450px; height: 450px; background: var(--orange); top: -100px; left: 50%; transform: translateX(-50%); opacity: 0.15; }
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--steel-dim);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  background: var(--orange);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDown 1.6s infinite;
}
@keyframes scrollDown {
  0% { top: 6px; opacity: 1; }
  70% { top: 22px; opacity: 0; }
  100% { top: 6px; opacity: 0; }
}

/* ============ HERO MACHINE VISUAL ============ */
.machine-card {
  background: var(--graphite);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  max-width: 340px;
  margin: 0 auto;
}
.machine-card__topbar {
  display: flex;
  gap: 6px;
  padding: 4px 8px 12px;
}
.machine-card__topbar .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.machine {
  background: linear-gradient(160deg, var(--black-soft), var(--black));
  border-radius: 16px;
  padding: 22px 20px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.machine__brand { text-align: center; margin-bottom: 16px; }
.machine__logo {
  width: 44px; height: 44px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: conic-gradient(var(--orange), var(--steel), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; color: var(--black);
}
.machine__wordmark { font-family: var(--font-head); font-weight: 800; letter-spacing: 2px; color: var(--white); font-size: 1.1rem; }
.machine__tagline { font-size: 0.6rem; letter-spacing: 3px; color: var(--orange); margin-top: 2px; }
.machine__screen {
  background: #0e0e0e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 18px 16px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.machine__screen::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,106,24,0.08) 50%, transparent 60%);
  animation: shimmer 3.5s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.machine__screen-label { font-family: var(--font-head); color: var(--white); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; }
.machine__screen-sub { font-size: 0.7rem; color: var(--steel-dim); margin: 4px 0 14px; }
.machine__cup {
  width: 36px; height: 44px;
  margin: 0 auto 12px;
  background: linear-gradient(180deg, var(--cocoa), #3a2413);
  border-radius: 4px 4px 10px 10px;
  border-top: 4px solid var(--white);
  position: relative;
}
.machine__cup--small { width: 26px; height: 30px; margin: 0; overflow: hidden; }
.machine__cup-fill {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0%;
  background: linear-gradient(180deg, var(--orange), var(--orange-dim));
  transition: height 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.machine__cta {
  text-align: center;
  background: var(--orange);
  color: var(--black);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 1px;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  transition: filter 0.2s ease, transform 0.1s ease, background 0.3s ease;
}
.machine__cta:hover:not(.is-busy) { filter: brightness(1.1); }
.machine__cta:active:not(.is-busy) { transform: scale(0.97); }
.machine__cta.is-busy { background: var(--steel); cursor: default; }
.machine__dispense {
  height: 60px;
  border: 2px solid var(--orange);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 0 20px rgba(255,106,24,0.15) inset;
  transition: box-shadow 0.3s ease;
}
.machine__dispense.is-active {
  animation: dispensePulse 0.9s ease-in-out infinite;
}
@keyframes dispensePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255,106,24,0.2) inset; }
  50% { box-shadow: 0 0 36px rgba(255,106,24,0.6) inset; }
}
.machine__footer { text-align: center; font-size: 0.6rem; letter-spacing: 2px; color: var(--steel-dim); text-transform: uppercase; }

/* ============ STATS ============ */
.stats {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: var(--black-soft);
  padding: 56px 0 40px;
  position: relative;
  z-index: 1;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange);
}
.stat__label {
  color: var(--steel-dim);
  font-size: 0.9rem;
  margin-top: 4px;
}
.stats__note {
  text-align: center;
  color: var(--steel-dim);
  font-size: 0.85rem;
  margin-top: 28px;
  font-style: italic;
}

/* ============ SECTIONS ============ */
.section { padding: 110px 0; }
.section--alt { background: var(--black-soft); }
.section__head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 8px 0 16px;
}
.section__head p { color: var(--steel-dim); font-size: 1.05rem; }

/* ============ STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: var(--graphite);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.step:hover { transform: translateY(-6px); border-color: var(--orange); }
.step__num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.5;
  margin-bottom: 8px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--steel-dim); font-size: 0.92rem; }

/* ============ PRODUCTS ============ */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: linear-gradient(160deg, var(--graphite), var(--black-soft));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(255,106,24,0.15); }
.product-card__icon { font-size: 2.6rem; margin-bottom: 16px; }
.product-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.product-card p { color: var(--steel-dim); font-size: 0.92rem; }

/* ============ BENEFITS ============ */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.benefit:hover { background: rgba(255,106,24,0.06); border-color: rgba(255,106,24,0.3); }
.benefit h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; text-transform: none; }
.benefit__icon { font-size: 1.3rem; }
.benefit p { color: var(--steel-dim); font-size: 0.9rem; }

/* ============ CALCULATOR ============ */
.calc {
  background: var(--graphite);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.calc__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.calc__value { color: var(--orange); font-weight: 700; }
.calc__slider {
  width: 100%;
  margin-bottom: 28px;
  accent-color: var(--orange);
  height: 6px;
}
.calc__results {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.calc__result {
  background: var(--black-soft);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.calc__result--highlight {
  background: linear-gradient(135deg, rgba(255,106,24,0.18), rgba(255,106,24,0.05));
  border: 1px solid rgba(255,106,24,0.4);
}
.calc__result-num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--white); }
.calc__result-label { font-size: 0.8rem; color: var(--steel-dim); text-align: right; }
.calc__disclaimer {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  color: var(--steel-dim);
  opacity: 0.7;
  font-style: italic;
}

/* ============ SPECS ============ */
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.specs__copy p { margin: 16px 0 28px; color: var(--steel-dim); }
.palette { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch {
  width: 90px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--steel-dim);
}
.swatch::before {
  content: '';
  display: block;
  width: 100%; height: 50px;
  border-radius: 10px;
  background: var(--c);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 6px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feature-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--graphite);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}
.feature-list strong { color: var(--white); font-weight: 700; }
.feature-list span { color: var(--steel-dim); font-size: 0.85rem; }

/* ============ LOCATIONS ============ */
.locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.location-card {
  background: var(--graphite);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 26px;
}
.location-card--live { border-color: rgba(255,106,24,0.4); box-shadow: 0 0 30px rgba(255,106,24,0.1); }
.location-card--cta { background: linear-gradient(160deg, var(--cocoa), var(--black-soft)); display: flex; flex-direction: column; gap: 12px; }
.location-card h3 { margin: 10px 0; font-size: 1.15rem; }
.location-card p { color: var(--steel-dim); font-size: 0.9rem; }
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--steel-dim);
}
.badge--live { background: rgba(255,106,24,0.15); color: var(--orange); }

/* ============ CONTACT ============ */
.contact { position: relative; overflow: hidden; }
.contact__inner { position: relative; z-index: 1; }
.form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--graphite);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 36px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form__field { margin-bottom: 18px; }
.form__field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--black-soft);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  resize: vertical;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.form__status { margin-top: 14px; font-size: 0.85rem; color: var(--orange); text-align: center; min-height: 1em; }

/* ============ FOOTER ============ */
.footer { background: var(--black-soft); border-top: 1px solid rgba(255,255,255,0.06); padding: 60px 0 24px; }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer__brand p { margin-top: 14px; color: var(--steel-dim); font-size: 0.9rem; max-width: 320px; }
.footer__links h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 1px; }
.footer__links a { display: block; color: var(--steel-dim); font-size: 0.9rem; margin-bottom: 10px; transition: color 0.2s; }
.footer__links a:hover { color: var(--orange); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: var(--steel-dim);
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__visual { order: -1; max-width: 320px; margin: 0 auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .locations { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 700px) {
  .nav__links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(11,11,11,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 30px;
    gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a.btn { align-self: flex-start; }
  .nav__toggle { display: flex; }
  .form__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
