/* HorosCode SellerShops — Blue Core Template (ADAMANT-inspired) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bc-blue: #00a2ff;
  --bc-blue-dim: #0077cc;
  --bc-blue-glow: rgba(0, 162, 255, 0.45);
  --bc-blue-soft: rgba(0, 162, 255, 0.12);
  --bc-bg: #0a0a0f;
  --bc-bg-card: #14141c;
  --bc-bg-card2: #1a1a24;
  --bc-text: #f0f0f5;
  --bc-text-muted: #8a8a9a;
  --bc-border: rgba(255, 255, 255, 0.06);
  --bc-radius: 4px;
  --bc-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bc-bg);
  color: var(--bc-text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10001;
  padding: 12px 20px;
  background: var(--bc-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--bc-blue);
  outline-offset: 2px;
}

a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible,
.bc-btn:focus-visible {
  outline: 2px solid var(--bc-blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Background */
.bc-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.bc-bg-diagonal {
  position: absolute;
  inset: 0;
  background-color: var(--bc-bg);
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.015) 8px,
      rgba(255, 255, 255, 0.015) 9px
    ),
    linear-gradient(
      135deg,
      #0a0a0f 0%,
      #0d0d14 25%,
      #0a0a0f 50%,
      #111118 75%,
      #0a0a0f 100%
    );
}

.bc-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.bc-bg-glow--hero {
  width: 320px;
  height: 320px;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--bc-blue-glow) 0%, transparent 70%);
}

.bc-bg-glow--cards {
  width: 240px;
  height: 240px;
  bottom: 30%;
  right: -60px;
  background: radial-gradient(circle, rgba(0, 120, 200, 0.3) 0%, transparent 70%);
}

/* Header */
.bc-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 20px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bc-border);
}

.bc-header-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bc-nav-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 162, 255, 0.25);
  background: rgba(20, 20, 28, 0.9);
  color: var(--bc-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--bc-transition);
}

.bc-nav-btn:hover {
  border-color: var(--bc-blue);
  box-shadow: 0 0 20px var(--bc-blue-soft);
}

.bc-nav-btn-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bc-blue-soft) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.bc-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bc-blue);
  box-shadow: 0 0 12px var(--bc-blue-glow);
}

.bc-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: min(280px, 85vw);
  height: 100vh;
  background: rgba(14, 14, 20, 0.98);
  border-right: 1px solid var(--bc-border);
  padding: 80px 24px 24px;
  transform: translateX(-100%);
  transition: transform var(--bc-transition);
  z-index: 999;
}

.bc-nav.open {
  transform: translateX(0);
}

.bc-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bc-nav-list a {
  display: block;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bc-text-muted);
  border-left: 2px solid transparent;
  transition: var(--bc-transition);
}

.bc-nav-list a:hover,
.bc-nav-list a:focus-visible {
  color: var(--bc-blue);
  border-left-color: var(--bc-blue);
  background: var(--bc-blue-soft);
}

.bc-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--bc-transition), visibility var(--bc-transition);
}

.bc-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Hero */
.bc-hero {
  text-align: center;
  padding: 48px 24px 32px;
  max-width: 480px;
  margin: 0 auto;
}

.bc-hero-emblem {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 32px;
}

.bc-hero-emblem-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bc-blue-glow) 0%, transparent 65%);
  animation: bc-pulse 4s ease-in-out infinite;
}

@keyframes bc-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.bc-hero-emblem-ring {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0, 162, 255, 0.2);
  background: rgba(20, 20, 28, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-hero-logo {
  width: 72px;
  height: 72px;
  color: var(--bc-blue);
}

.bc-hero-title {
  font-size: clamp(2rem, 8vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  color: var(--bc-text);
  margin-bottom: 8px;
}

.bc-hero-subtitle {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bc-text-muted);
  margin-bottom: 24px;
}

.bc-hero-keywords {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--bc-text-muted);
  margin-bottom: 40px;
  min-height: 1.4em;
}

.bc-cursor {
  display: inline-block;
  width: 6px;
  height: 12px;
  background: var(--bc-text);
  animation: bc-blink 1s step-end infinite;
}

@keyframes bc-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Phone mockup */
.bc-hero-phone {
  margin: 0 auto;
  max-width: 220px;
}

.bc-phone-frame {
  background: #1c1c24;
  border-radius: 28px;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 40px rgba(0, 162, 255, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.5);
}

.bc-phone-notch {
  width: 60px;
  height: 6px;
  background: #0a0a0f;
  border-radius: 3px;
  margin: 0 auto 10px;
}

.bc-phone-screen {
  background: #12121a;
  border-radius: 18px;
  padding: 16px 14px;
  min-height: 280px;
}

.bc-phone-header {
  text-align: center;
  margin-bottom: 16px;
}

.bc-phone-logo-mini {
  width: 28px;
  height: 28px;
  margin: 0 auto 8px;
  background: linear-gradient(135deg, var(--bc-blue-soft), transparent);
  border: 1px solid rgba(0, 162, 255, 0.3);
  border-radius: 6px;
  transform: rotate(45deg);
}

.bc-phone-address {
  height: 8px;
  width: 70%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.bc-phone-assets {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.bc-phone-assets span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bc-blue-soft);
  border: 1px solid rgba(0, 162, 255, 0.25);
}

.bc-phone-menu {
  list-style: none;
  margin-bottom: 16px;
}

.bc-phone-menu li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--bc-border);
  font-size: 0.75rem;
  color: var(--bc-text-muted);
}

.bc-chevron {
  color: var(--bc-blue);
  font-size: 1rem;
}

.bc-phone-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--bc-text-muted);
}

.bc-toggle {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.bc-toggle--on {
  background: var(--bc-blue-dim);
}

.bc-toggle--on::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px var(--bc-blue-glow);
}

/* Icon cards */
.bc-section-cards {
  padding: 24px 20px 48px;
  max-width: 480px;
  margin: 0 auto;
}

.bc-card-stack {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bc-icon-card {
  display: block;
  position: relative;
  background: var(--bc-bg-card);
  border-radius: var(--bc-radius);
  overflow: hidden;
  transition: var(--bc-transition);
  opacity: 0;
  transform: translateY(24px);
}

.bc-icon-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.bc-icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 162, 255, 0.12);
}

.bc-icon-card-accent {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--bc-blue), transparent);
  box-shadow: 0 0 12px var(--bc-blue-glow);
}

.bc-icon-card-body {
  padding: 48px 24px 56px;
  text-align: center;
  position: relative;
}

.bc-icon {
  width: 80px;
  height: 80px;
  color: var(--bc-blue);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 8px var(--bc-blue-soft));
}

.bc-icon-card-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bc-text);
}

.bc-icon-card-stack {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
}

.bc-icon-card-stack span {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1px;
}

.bc-icon-card-stack span:nth-child(1) { width: 120px; }
.bc-icon-card-stack span:nth-child(2) { width: 100px; }
.bc-icon-card-stack span:nth-child(3) { width: 80px; }

/* Why section */
.bc-why {
  padding: 48px 24px;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.bc-section-title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  color: var(--bc-text);
}

.bc-why-lead {
  font-size: 1rem;
  color: var(--bc-text);
  margin-bottom: 16px;
  line-height: 1.7;
}

.bc-why-text {
  font-size: 0.9rem;
  color: var(--bc-text-muted);
  line-height: 1.75;
}

/* Detail sections */
.bc-detail {
  padding: 40px 24px;
  max-width: 520px;
  margin: 0 auto;
  border-top: 1px solid var(--bc-border);
}

.bc-detail-title {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bc-blue);
  margin-bottom: 16px;
}

.bc-detail p {
  font-size: 0.9rem;
  color: var(--bc-text-muted);
  line-height: 1.75;
}

.bc-steps {
  list-style: none;
  counter-reset: bc-step;
}

.bc-steps li {
  counter-increment: bc-step;
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--bc-text-muted);
  line-height: 1.65;
}

.bc-steps li::before {
  content: counter(bc-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--bc-blue);
  color: var(--bc-blue);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-steps strong {
  color: var(--bc-text);
  display: block;
  margin-bottom: 2px;
}

/* Features */
.bc-features {
  padding: 48px 24px;
  max-width: 520px;
  margin: 0 auto;
}

.bc-feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bc-feature-bullets li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.bc-bullet-icon {
  flex-shrink: 0;
  color: var(--bc-blue);
  font-size: 0.6rem;
  margin-top: 6px;
  text-shadow: 0 0 8px var(--bc-blue-glow);
}

.bc-feature-bullets h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bc-text);
  margin-bottom: 4px;
}

.bc-feature-bullets p {
  font-size: 0.85rem;
  color: var(--bc-text-muted);
  line-height: 1.6;
}

/* Comparison table */
.bc-comparison {
  padding-bottom: 48px;
}

.bc-compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bc-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.bc-compare-table th,
.bc-compare-table td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid var(--bc-border);
}

.bc-compare-table th {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--bc-text-muted);
  background: var(--bc-bg-card);
}

.bc-compare-table td:first-child {
  text-align: left;
  color: var(--bc-text);
}

.bc-yes { color: var(--bc-blue); font-weight: 700; font-size: 1.1rem; }
.bc-no { color: #666; font-weight: 700; font-size: 1.1rem; }
.bc-partial { color: var(--bc-text-muted); font-weight: 700; font-size: 1.1rem; }

/* CTA */
.bc-cta {
  padding: 56px 24px 64px;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, transparent, var(--bc-blue-soft));
  border-top: 1px solid rgba(0, 162, 255, 0.15);
}

.bc-cta-lead {
  font-size: 0.95rem;
  color: var(--bc-text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.bc-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.bc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--bc-radius);
  transition: var(--bc-transition);
  min-width: 220px;
}

.bc-btn--primary {
  background: var(--bc-blue);
  color: #fff;
  border: none;
  box-shadow: 0 0 24px var(--bc-blue-soft);
}

.bc-btn--primary:hover {
  background: var(--bc-blue-dim);
  box-shadow: 0 0 32px var(--bc-blue-glow);
  transform: translateY(-2px);
}

.bc-btn--outline {
  background: transparent;
  color: var(--bc-text);
  border: 1px solid rgba(0, 162, 255, 0.35);
}

.bc-btn--outline:hover {
  border-color: var(--bc-blue);
  color: var(--bc-blue);
}

/* Footer */
.bc-footer {
  padding: 32px 24px 48px;
  text-align: center;
  border-top: 1px solid var(--bc-border);
}

.bc-footer p {
  font-size: 0.75rem;
  color: var(--bc-text-muted);
  margin-bottom: 8px;
}

.bc-footer a {
  color: var(--bc-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bc-footer a:hover {
  color: var(--bc-text);
}

.bc-footer-note {
  opacity: 0.7;
  max-width: 360px;
  margin: 0 auto;
}

/* Desktop enhancements */
@media (min-width: 768px) {
  .bc-hero {
    max-width: 600px;
    padding-top: 64px;
  }

  .bc-section-cards {
    max-width: 420px;
  }

  .bc-why,
  .bc-detail,
  .bc-features,
  .bc-cta {
    max-width: 640px;
  }

  .bc-cta-actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .bc-card-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
  }

  .bc-section-cards {
    max-width: 760px;
  }
}
