/* =========================================
   LOCALDASH — Custom Landing Page Theme
   ========================================= */

:root {
  --midnight: #060D18;
  --deep-navy: #0D1B2A;
  --surface: #132136;
  --surface-2: #1A2D47;
  --amber: #F5A623;
  --amber-dim: rgba(245, 166, 35, 0.15);
  --amber-mid: rgba(245, 166, 35, 0.4);
  --text-primary: #F0F4F8;
  --text-muted: #8BA3C1;
  --text-dim: #4E6D8A;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 10px;
  --radius-lg: 18px;
}

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

body {
  background: var(--midnight);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(6, 13, 24, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 244, 248, 0.06);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  text-decoration: none;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 48px 80px;
  position: relative;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 166, 35, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 166, 35, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid var(--amber-mid);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero__highlight {
  color: var(--amber);
  display: block;
}

.hero__sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid rgba(240, 244, 248, 0.1);
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ---- Store Mock ---- */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.store-mock {
  width: 100%;
  max-width: 400px;
  background: var(--deep-navy);
  border-radius: 20px;
  border: 1px solid rgba(240, 244, 248, 0.08);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 166, 35, 0.1);
}

.store-mock__bar {
  background: var(--surface);
  padding: 10px 16px;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid rgba(240, 244, 248, 0.06);
}

.store-mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(240, 244, 248, 0.15);
}

.store-mock__screen {
  padding: 20px;
}

.store-mock__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.store-mock__brand {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.store-mock__cart {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--midnight);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-mock__hero-block {
  height: 120px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border-radius: 10px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.store-mock__hero-block::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: linear-gradient(135deg, transparent, var(--amber-dim));
}

.store-mock__product-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.store-mock__product {
  height: 72px;
  background: var(--surface);
  border-radius: 8px;
}

.store-mock__delivery-block {
  background: var(--surface);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--amber-mid);
}

.store-mock__delivery-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--amber-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-mock__delivery-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.store-mock__delivery-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.store-mock__delivery-check { margin-left: auto; }

.store-mock__courier {
  border-top: 1px solid rgba(240, 244, 248, 0.06);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(245, 166, 35, 0.05);
}

.courier__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--amber-mid);
}

.courier__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.courier__status {
  font-size: 11px;
  color: var(--text-dim);
}

.courier__eta {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
}

/* ---- Orbit decoration ---- */
.hero__orbit {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 280px;
  height: 280px;
  pointer-events: none;
}

.orbit__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--amber-dim);
  animation: rotate 20s linear infinite;
}

.orbit__ring--2 {
  inset: 40px;
  border-color: rgba(245, 166, 35, 0.06);
  animation-duration: 30s;
  animation-direction: reverse;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit__center {
  position: absolute;
  inset: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Stats ---- */
.stats {
  border-top: 1px solid rgba(240, 244, 248, 0.06);
  border-bottom: 1px solid rgba(240, 244, 248, 0.06);
  background: var(--deep-navy);
}

.stats__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 56px 48px;
  gap: 0;
}

.stat__value {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat__sub {
  font-size: 12px;
  color: var(--text-dim);
}

.stat__divider {
  width: 1px;
  height: 80px;
  background: rgba(240, 244, 248, 0.06);
  margin: 0 48px;
}

/* ---- How it works ---- */
.how {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.how__header {
  margin-bottom: 72px;
}

.how__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.how__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  max-width: 600px;
  line-height: 1.15;
}

.how__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step {
  padding: 0 40px;
}

.step__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.step__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.25;
}

.step__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.step__connector {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--amber-mid), transparent);
  margin-top: 36px;
}

/* ---- Platform ---- */
.platform {
  background: var(--deep-navy);
  border-top: 1px solid rgba(240, 244, 248, 0.06);
  border-bottom: 1px solid rgba(240, 244, 248, 0.06);
  padding: 120px 48px;
}

.platform__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.platform__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.platform__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 20px;
}

.platform__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.platform__card {
  background: var(--surface);
  border: 1px solid rgba(240, 244, 248, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.platform__card:hover {
  border-color: var(--amber-mid);
  box-shadow: 0 0 0 1px var(--amber-mid);
}

.platform__card span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.platform__card-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ---- Manifesto ---- */
.manifesto {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.manifesto__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.manifesto__quote-mark {
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 0.5;
  color: var(--amber);
  margin-bottom: 24px;
  display: block;
  opacity: 0.4;
}

.manifesto__text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 28px;
  font-style: normal;
}

.manifesto__attribution {
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---- Closing ---- */
.closing {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--midnight) 100%);
  border-top: 1px solid rgba(240, 244, 248, 0.06);
  padding: 120px 48px;
}

.closing__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.closing__headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 24px;
}

.closing__sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 60px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.closing__cta-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.closing__cta {
  background: var(--surface);
  border: 1px solid rgba(240, 244, 248, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-align: left;
}

.closing__cta-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}

.closing__cta-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid rgba(240, 244, 248, 0.06);
  padding: 40px 48px;
  background: var(--midnight);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer__tagline {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 6px;
}

.footer__meta {
  font-size: 12px;
  color: var(--text-dim);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 60px 32px 80px; }
  .hero__visual { display: none; }
  .stats__inner { grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px 32px; }
  .stat__divider { display: none; }
  .how__steps { grid-template-columns: 1fr; }
  .step__connector { display: none; }
  .platform__inner { grid-template-columns: 1fr; }
  .platform__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav { padding: 14px 20px; }
  .hero { padding: 48px 20px 64px; }
  .hero__headline { font-size: 40px; }
  .how { padding: 72px 20px; }
  .platform { padding: 72px 20px; }
  .manifesto { padding: 72px 20px; }
  .closing { padding: 72px 20px; }
  .closing__cta-area { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: 1fr; padding: 40px 20px; }
  .footer__inner { flex-direction: column; gap: 20px; text-align: center; }
}
