/* ============================================
   NiteStock — Styles
   Mobile-first, dark theme, amber accents
   ============================================ */

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

:root {
  --black: #0A0A0A;
  --charcoal: #1A1A1A;
  --smoke: #2A2A2A;
  --dark-gray: #333333;
  --med-gray: #666666;
  --light-gray: #999999;
  --white: #F5F5F0;
  --amber: #F5A623;
  --amber-dark: #E08E0B;
  --amber-glow: rgba(245, 166, 35, 0.15);
  --violet: #8B5CF6;
  --font-heading: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background-color: var(--black);
}

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

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

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.text-amber {
  color: var(--amber);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--amber);
  color: var(--black);
  padding: 12px 28px;
}

.btn--primary:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  padding: 12px 28px;
  border: 2px solid var(--smoke);
}

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

.btn--lg {
  padding: 16px 36px;
  font-size: 16px;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
}

.section-title--left {
  text-align: left;
}

.section-subtitle {
  text-align: center;
  color: var(--light-gray);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ---------- Fade-in Animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 28px;
  letter-spacing: 3px;
  display: flex;
  gap: 0;
}

.nav__logo-nite {
  color: var(--white);
}

.nav__logo-stock {
  color: var(--amber);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--light-gray);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

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

.nav__cta {
  margin-left: 8px;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

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

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

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

/* Mobile nav dropdown */
.nav__links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--charcoal);
  padding: 24px 20px;
  gap: 20px;
  border-bottom: 1px solid var(--smoke);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(245, 166, 35, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
    var(--black);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--amber);
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 17px;
  color: var(--light-gray);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

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

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--amber);
  letter-spacing: 1px;
}

.hero__stat-label {
  font-size: 13px;
  color: var(--med-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Machine mockup */
.hero__visual {
  display: flex;
  justify-content: center;
}

.machine-mockup {
  width: 220px;
  height: 340px;
  background: linear-gradient(180deg, var(--charcoal) 0%, #111 100%);
  border-radius: 16px;
  border: 2px solid var(--smoke);
  padding: 16px;
  position: relative;
  box-shadow:
    0 0 40px rgba(245, 166, 35, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.5);
}

.machine-mockup__screen {
  width: 100%;
  height: 240px;
  background: var(--black);
  border-radius: 8px;
  padding: 12px;
  border: 1px solid var(--smoke);
}

.machine-mockup__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
  height: 100%;
}

.machine-mockup__item {
  background: var(--smoke);
  border-radius: 6px;
  border: 1px solid rgba(245, 166, 35, 0.15);
}

.machine-mockup__badge {
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 2px;
}

/* ============================================
   PROBLEM / SOLUTION
   ============================================ */
.problem {
  padding: 80px 0;
  background: var(--charcoal);
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.problem__card {
  background: var(--black);
  border: 1px solid var(--smoke);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.problem__card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}

.problem__icon {
  margin-bottom: 20px;
}

.problem__card-title {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.problem__card-text {
  font-size: 15px;
  color: var(--light-gray);
  line-height: 1.6;
}

.problem__solution {
  text-align: center;
  padding: 32px;
  border: 2px solid var(--amber);
  border-radius: 12px;
  background: var(--amber-glow);
}

.problem__solution-text {
  font-size: 18px;
  color: var(--white);
}

.problem__solution-text strong {
  color: var(--amber);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: 80px 0;
  background: var(--black);
}

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.step {
  text-align: center;
  padding: 32px 24px;
  max-width: 340px;
}

.step__number {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--amber);
  opacity: 0.3;
  margin-bottom: 8px;
}

.step__icon {
  margin-bottom: 20px;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.step__text {
  font-size: 15px;
  color: var(--light-gray);
  line-height: 1.6;
}

.step__connector {
  transform: rotate(90deg);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  padding: 80px 0;
  background: var(--charcoal);
}

.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.product-card {
  background: var(--black);
  border: 1px solid var(--smoke);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s;
}

.product-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}

.product-card__icon {
  margin-bottom: 16px;
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-card__text {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.6;
  margin-bottom: 12px;
}

.product-card__price {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--amber);
  letter-spacing: 1px;
}

/* ============================================
   REVENUE
   ============================================ */
.revenue {
  padding: 80px 0;
  background: var(--black);
}

.revenue__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.revenue__card {
  background: var(--charcoal);
  border: 1px solid var(--smoke);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}

.revenue__card--highlight {
  border-color: var(--amber);
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.08) 0%, var(--charcoal) 100%);
}

.revenue__card-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 42px;
  color: var(--amber);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.revenue__card-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.revenue__card-detail {
  display: block;
  font-size: 14px;
  color: var(--med-gray);
  line-height: 1.6;
}

.revenue__cta {
  text-align: center;
  padding: 40px 24px;
  background: var(--charcoal);
  border-radius: 16px;
  border: 1px solid var(--smoke);
}

.revenue__cta-text {
  font-size: 17px;
  color: var(--light-gray);
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.revenue__cta-text strong {
  color: var(--amber);
}

/* ============================================
   COVERAGE MAP
   ============================================ */
.coverage {
  padding: 80px 0;
  background: var(--charcoal);
}

.coverage__layout {
  max-width: 800px;
  margin: 0 auto;
}

.coverage__map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.coverage__region {
  background: var(--black);
  border: 1px solid var(--smoke);
  border-radius: 12px;
  padding: 28px 24px;
}

.coverage__region-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.coverage__region-header h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.coverage__cities {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.coverage__city {
  display: flex;
  flex-direction: column;
  padding-left: 36px;
  position: relative;
}

.coverage__city::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
}

.coverage__city-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
}

.coverage__city-detail {
  font-size: 13px;
  color: var(--med-gray);
}

.coverage__note {
  text-align: center;
  padding: 24px;
  border-radius: 8px;
  background: rgba(245, 166, 35, 0.06);
  border: 1px solid rgba(245, 166, 35, 0.15);
}

.coverage__note p {
  font-size: 15px;
  color: var(--light-gray);
}

.coverage__note a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.proof {
  padding: 60px 0;
  background: var(--black);
}

.proof__banner {
  text-align: center;
  margin-bottom: 48px;
}

.proof__headline {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--med-gray);
  margin-bottom: 24px;
}

.proof__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.proof__logo-placeholder {
  width: 140px;
  height: 56px;
  border: 1px dashed var(--smoke);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--dark-gray);
  letter-spacing: 0.5px;
}

.proof__testimonials {
  max-width: 640px;
  margin: 0 auto;
}

.proof__testimonial {
  background: var(--charcoal);
  border: 1px solid var(--smoke);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.proof__quote {
  font-size: 17px;
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 20px;
}

.proof__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proof__author-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--amber);
}

.proof__author-location {
  font-size: 13px;
  color: var(--med-gray);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact {
  padding: 80px 0;
  background: var(--charcoal);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact__description {
  font-size: 16px;
  color: var(--light-gray);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact__benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--white);
}

.contact__benefit svg {
  flex-shrink: 0;
}

.contact__form-wrapper {
  background: var(--black);
  border: 1px solid var(--smoke);
  border-radius: 16px;
  padding: 32px 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
}

.form-optional {
  color: var(--med-gray);
  font-weight: 400;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  background: var(--charcoal);
  border: 1px solid var(--smoke);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input::placeholder {
  color: var(--dark-gray);
}

.form-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23999' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

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

.contact__success {
  text-align: center;
  padding: 40px 20px;
}

.contact__success-icon {
  margin-bottom: 20px;
}

.contact__success-title {
  font-family: var(--font-heading);
  font-size: 32px;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 12px;
}

.contact__success-text {
  font-size: 15px;
  color: var(--light-gray);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 48px 0 24px;
  background: var(--black);
  border-top: 1px solid var(--smoke);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--smoke);
}

.footer__tagline {
  font-size: 14px;
  color: var(--med-gray);
  margin-top: 8px;
  font-style: italic;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__links a {
  font-size: 14px;
  color: var(--light-gray);
  transition: color 0.2s;
}

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

.footer__contact a {
  font-size: 14px;
  color: var(--amber);
}

.footer__social {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.footer__social-link {
  color: var(--med-gray);
  transition: color 0.2s;
}

.footer__social-link:hover {
  color: var(--amber);
}

.footer__bottom {
  padding-top: 24px;
  text-align: center;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--dark-gray);
}

/* ============================================
   TABLET — 768px+
   ============================================ */
@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }

  .section-title {
    font-size: 48px;
  }

  .hero__title {
    font-size: 64px;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero__content {
    flex: 1;
    max-width: 560px;
  }

  .hero__visual {
    flex: 0 0 auto;
  }

  .machine-mockup {
    width: 260px;
    height: 400px;
  }

  .machine-mockup__screen {
    height: 300px;
  }

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

  .steps {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
  }

  .step__connector {
    transform: none;
    margin-top: 80px;
  }

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

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

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

  .contact__layout {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }

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

  .contact__form-wrapper {
    padding: 40px 32px;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
  }
}

/* ============================================
   DESKTOP — 1024px+
   ============================================ */
@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }

  .nav__toggle {
    display: none;
  }

  .hero {
    padding: 0;
  }

  .hero__title {
    font-size: 72px;
  }

  .machine-mockup {
    width: 300px;
    height: 460px;
  }

  .machine-mockup__screen {
    height: 350px;
  }

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

  .section-title {
    font-size: 56px;
  }
}

/* ============================================
   LARGE DESKTOP — 1440px+
   ============================================ */
@media (min-width: 1440px) {
  .container {
    padding: 0 48px;
  }

  .hero__title {
    font-size: 80px;
  }
}
