/* =============================================
   JayrocksOS Landing Page — Dark Commerce Theme
   ============================================= */

:root {
  --bg: #080b1a;
  --bg-card: #0d1120;
  --bg-elevated: #111827;
  --surface: #161d2e;
  --border: #1e2740;
  --text: #e8edf5;
  --text-muted: #6b7899;
  --accent: #ff5c1a;
  --accent-dim: rgba(255, 92, 26, 0.12);
  --green: #00e5a0;
  --green-dim: rgba(0, 229, 160, 0.1);
  --orange-dim: rgba(255, 92, 26, 0.08);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 5%;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,92,26,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,229,160,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 28px;
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(255,92,26,0.3);
  border-radius: 3px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-headline .accent {
  color: var(--accent);
}

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

.hero-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.divider-line {
  width: 48px;
  height: 2px;
  background: var(--accent);
}

.divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.hero-meta {
  display: flex;
  gap: 40px;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
}

.meta-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* DASHBOARD MOCK */
.dashboard-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03) inset;
  position: relative;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dash-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.dash-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--green);
  font-weight: 500;
}

.status-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; }
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}

.kpi-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.kpi-delta {
  font-size: 10px;
  color: var(--text-muted);
}

.kpi-delta.up { color: var(--green); }

.dash-chart {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}

.chart-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
}

.chart-bar {
  flex: 1;
  background: rgba(255,92,26,0.25);
  border-radius: 4px 4px 0 0;
  height: var(--h);
  transition: background 0.3s;
}

.chart-bar.active {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255,92,26,0.4);
}

.dash-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.table-header {
  display: grid;
  grid-template-columns: 1fr 70px 60px 60px;
  padding: 8px 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  gap: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 70px 60px 60px;
  padding: 8px 12px;
  font-size: 11px;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.table-row:last-child { border-bottom: none; }

.table-row span:first-child {
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price { color: var(--text) !important; }
.orders { color: var(--text-muted) !important; }
.margin-good { color: var(--green) !important; }
.margin-warn { color: var(--accent) !important; }

.dash-footer {
  display: flex;
  gap: 10px;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 500;
}

.footer-badge.automation {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(0,229,160,0.2);
}

.footer-badge.alert {
  background: var(--orange-dim);
  color: var(--accent);
  border: 1px solid rgba(255,92,26,0.2);
}

/* CAPABILITIES */
.capabilities {
  padding: 120px 5%;
  border-bottom: 1px solid var(--border);
}

.cap-inner { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 60px;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.cap-card:hover {
  border-color: rgba(255,92,26,0.3);
  transform: translateY(-4px);
}

.cap-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-elevated);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.cap-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

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

/* PRODUCT SHOWCASE */
.productshowcase {
  padding: 120px 5%;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 100%);
}

.ps-inner { max-width: 1200px; margin: 0 auto; }

.ps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.ps-product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}

.ps-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,92,26,0.25);
}

.ps-product-card.featured {
  border-color: rgba(255,92,26,0.35);
  box-shadow: 0 0 0 1px rgba(255,92,26,0.15) inset;
}

.ps-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ps-img-placeholder {
  padding: 0;
  line-height: 0;
}

.ps-img-placeholder svg {
  display: block;
  width: 100%;
  height: auto;
}

.ps-info {
  padding: 16px;
}

.ps-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ps-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.ps-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

.ps-cat {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: var(--surface);
  padding: 3px 7px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

.ps-metric {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.ps-bar-fill {
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--accent) 0%, var(--green) 100%);
  border-radius: 2px;
}

.ps-margin {
  font-size: 11px;
  color: var(--green);
  white-space: nowrap;
}

/* MANIFESTO */
.manifesto {
  padding: 120px 5%;
  border-bottom: 1px solid var(--border);
}

.manifesto-inner { max-width: 1200px; margin: 0 auto; }

.manifesto-quote {
  max-width: 800px;
  margin: 0 auto 80px;
  text-align: center;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 100px;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: 24px;
  opacity: 0.4;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.01em;
}

.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 60px;
}

.m-stat { text-align: center; }

.m-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.m-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}

.manifesto-origin {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.origin-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  white-space: nowrap;
}

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

/* CLOSING */
.closing {
  padding: 160px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,92,26,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing-orb {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 60px;
}

.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,92,26,0.3);
  animation: orb-pulse 3s ease-in-out infinite;
}

.orb-ring.ring-1 { animation-delay: 0s; }
.orb-ring.ring-2 { inset: -20px; animation-delay: 0.5s; }
.orb-ring.ring-3 { inset: -40px; animation-delay: 1s; }

@keyframes orb-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.1; transform: scale(1.05); }
}

.orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 30px rgba(255,92,26,0.6);
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.closing-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 400px;
  margin: 0 auto;
}

.cd-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.cd-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap;
}

/* FOOTER */
.site-footer {
  padding: 40px 5%;
  border-top: 1px solid var(--border);
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

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

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
}

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

.footer-slug {
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
}

/* CTA BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255, 92, 26, 0.3);
}

.btn-primary:hover {
  background: #ff6a2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 92, 26, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.btn-large {
  font-size: 17px;
  padding: 18px 36px;
  border-radius: 10px;
}

/* HERO CTAS */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

/* SHOP NOW SECTION */
.shopnow {
  padding: 120px 5%;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.shopnow::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,229,160,0.05) 0%, transparent 70%);
  pointer-events: none;
}

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

.sn-content { position: relative; z-index: 1; }

.sn-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.sn-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
}

.sn-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 500;
}

/* Shop card grid */
.sn-visual { position: relative; z-index: 1; }

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

.sn-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.3s, transform 0.3s;
}

.sn-card:hover {
  border-color: rgba(255,92,26,0.25);
  transform: translateY(-3px);
}

.sn-card-label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.sn-card-price {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.sn-card-1 { background: linear-gradient(135deg, var(--surface) 0%, rgba(255,92,26,0.08) 100%); }
.sn-card-2 { background: linear-gradient(135deg, var(--surface) 0%, rgba(0,229,160,0.08) 100%); }
.sn-card-3 { background: linear-gradient(135deg, var(--surface) 0%, rgba(255,92,26,0.06) 100%); }
.sn-card-4 { background: linear-gradient(135deg, var(--surface) 0%, rgba(0,229,160,0.06) 100%); }

/* FOOTER STORE LINK */
.footer-store-link {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  transition: color 0.2s;
  display: block;
}

.footer-store-link:hover {
  color: #ff6a2e;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .ps-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-stats { grid-template-columns: repeat(3, 1fr); padding: 40px; }
  .sn-inner { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 768px) {
  .hero { padding: 60px 5%; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .cap-grid { grid-template-columns: 1fr; }
  .ps-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-stats { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .manifesto-origin { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-inner { flex-direction: column; gap: 20px; align-items: flex-start; }
  .footer-meta { align-items: flex-start; }
  .m-num { font-size: 44px; }
}

@media (max-width: 480px) {
  .ps-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 24px; }
  .meta-num { font-size: 24px; }
}