/* Obsidian Flow — Bee Ai Landing */
:root {
  --bg: oklch(0.08 0.005 260);
  --bg-deep: oklch(0.06 0.004 260);
  --surface: oklch(0.12 0.008 260);
  --border: oklch(1 0 0 / 8%);
  --text: oklch(0.95 0.005 65);
  --muted: oklch(0.55 0.01 260);
  --amber: oklch(0.75 0.18 65);
  --amber-hover: oklch(0.82 0.18 65);
  --amber-glow: oklch(0.75 0.18 65 / 0.4);
  --accent2: #4ade80;
  --danger: #f87171;
  --radius: 14px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --hero-bg-url: url("https://d2xsxph8kpxj0f.cloudfront.net/310519663533239634/YqaP7mCF25J9jiikmFbutR/hero-bg-4jmFuW8btaMoeiAhFHoVib.webp");
  --features-bg-url: url("https://d2xsxph8kpxj0f.cloudfront.net/310519663533239634/YqaP7mCF25J9jiikmFbutR/features-bg-jYU8bFu3mKsByKBYBryAcs.webp");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.landing-page { background: var(--bg); }

.container {
  width: min(1280px, 92vw);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

.display-font { font-family: var(--font-display); }
.mono { font-family: var(--font-mono); }
.text-amber { color: var(--amber); }
.muted { color: oklch(0.55 0.01 260 / 0.9); }
.hidden { display: none !important; }

/* ── Utilities ── */
.hex-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='52' viewBox='0 0 60 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 17.3 L60 34.7 L30 52 L0 34.7 L0 17.3 Z' fill='none' stroke='rgba(245,158,11,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 52px;
}

.glass-card {
  background: oklch(0.12 0.008 260 / 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.glass-card:hover {
  border-color: oklch(0.75 0.18 65 / 0.35);
  box-shadow: 0 0 30px oklch(0.75 0.18 65 / 0.1);
}

.btn-amber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--amber);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: 0 0 20px var(--amber-glow);
}

.btn-amber:hover {
  background: var(--amber-hover);
  box-shadow: 0 0 35px oklch(0.75 0.18 65 / 0.55);
  transform: translateY(-1px);
}

.btn-amber-sm {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid oklch(1 0 0 / 15%);
  color: oklch(0.95 0.005 65 / 0.85);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: oklch(1 0 0 / 30%);
  background: oklch(1 0 0 / 5%);
  color: var(--text);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px var(--amber-glow); }
  50% { box-shadow: 0 0 40px oklch(0.75 0.18 65 / 0.65); }
}

.animate-pulse-glow { animation: pulseGlow 3s ease-in-out infinite; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.animate-marquee:hover { animation-play-state: paused; }
.marquee-reverse { animation-direction: reverse; animation-duration: 25s; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid oklch(0.75 0.18 65 / 0.3);
  background: oklch(0.75 0.18 65 / 0.1);
  font-size: 0.75rem;
  font-weight: 500;
  color: oklch(0.78 0.16 65);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.section-badge-center { display: flex; justify-content: center; }

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: oklch(0.78 0.16 65);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

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

.section-desc {
  margin: 0;
  color: oklch(0.55 0.01 260 / 0.85);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 36rem;
}

.section-desc-center { text-align: center; margin-left: auto; margin-right: auto; }

.section-intro { margin-bottom: 3.5rem; max-width: 40rem; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.navbar.is-scrolled {
  background: oklch(0.08 0.005 260 / 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.navbar-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  object-fit: cover;
}

.navbar-wordmark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.navbar-links a {
  color: oklch(0.95 0.005 65 / 0.55);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-links a:hover { color: var(--text); }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  position: relative;
  z-index: 3;
}

.navbar-console {
  display: none;
  color: oklch(0.95 0.005 65 / 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.navbar-console-mobile {
  display: block;
  color: oklch(0.95 0.005 65 / 0.85);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.35rem 0;
  cursor: pointer;
}

.navbar-console:hover { color: var(--text); }

.navbar-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border: none;
  background: transparent;
  color: oklch(0.95 0.005 65 / 0.7);
  cursor: pointer;
}

.navbar-menu-btn:hover { color: var(--text); }

.navbar-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: oklch(0.1 0.008 260 / 0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
}

.navbar-mobile a {
  color: oklch(0.95 0.005 65 / 0.75);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.35rem 0;
}

.navbar-mobile .btn-amber {
  margin-top: 0.25rem;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .navbar-links { display: flex; }
  .navbar-console { display: inline; }
  .navbar-console-mobile { display: none; }
  .navbar-menu-btn { display: none; }
  .navbar-mobile { display: none !important; }
}

/* Subpages: legacy header */
.header {
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
  background: oklch(0.08 0.005 260 / 0.92);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand { display: flex; gap: 0.8rem; align-items: center; }
.brand-link { color: inherit; text-decoration: none; }
.brand-link:hover h1 { color: var(--amber); }
.logo {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.brand h1 { margin: 0; font-size: 1.2rem; font-family: var(--font-display); }
.brand p { margin: 0; color: var(--muted); font-size: 0.85rem; }

.header-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-nav a {
  color: oklch(0.95 0.005 65 / 0.55);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.92rem;
  padding: 0.45rem 0;
}

.header-nav a:hover { color: var(--text); }

/* ── Hero ── */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-url);
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, oklch(0.08 0.005 260 / 0.88), oklch(0.08 0.005 260 / 0.55) 55%, transparent),
    linear-gradient(to top, var(--bg), transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 7rem 0 5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: oklch(0.95 0.005 65 / 0.55);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  max-width: 32rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-cta .btn-amber {
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.hero-stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: oklch(0.95 0.005 65 / 0.4);
}

.hero-visual {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .hero-visual { display: flex; }
}

.hero-visual-img {
  width: 100%;
  max-width: 28rem;
  border-radius: 1rem;
  filter: drop-shadow(0 0 40px oklch(0.75 0.18 65 / 0.28));
}

.code-card {
  width: 100%;
  max-width: 28rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border-color: oklch(0.75 0.18 65 / 0.2);
}

.code-card-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.code-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.code-dot-red { background: rgb(239 68 68 / 0.7); }
.code-dot-yellow { background: rgb(234 179 8 / 0.7); }
.code-dot-green { background: rgb(34 197 94 / 0.7); }

.code-filename {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: oklch(0.95 0.005 65 / 0.3);
}

.code-snippet {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.55;
  overflow-x: auto;
  color: oklch(0.95 0.005 65 / 0.7);
}

.code-kw { color: oklch(0.78 0.16 65 / 0.95); }
.code-str { color: rgb(74 222 128 / 0.85); }

.hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

/* ── Features ── */
.features-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.features-bg {
  position: absolute;
  inset: 0;
  background-image: var(--features-bg-url);
  background-size: cover;
  background-position: center;
}

.features-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: oklch(0.08 0.005 260 / 0.72);
}

.features-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  z-index: 0;
}

.features-inner {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0.75 0.18 65 / 0.12);
  color: var(--amber);
  border: 1px solid oklch(0.75 0.18 65 / 0.2);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 0.875rem;
  color: oklch(0.95 0.005 65 / 0.5);
  line-height: 1.6;
  flex: 1;
}

.feature-tag {
  display: inline-block;
  width: fit-content;
  margin-top: auto;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  background: oklch(0.75 0.18 65 / 0.1);
  color: var(--amber);
  border: 1px solid oklch(0.75 0.18 65 / 0.2);
}

/* ── Models ── */
.models-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background: var(--bg-deep);
}

.models-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
}

.models-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
}

.marquee-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.marquee-row { overflow: hidden; margin-bottom: 0.75rem; }

.marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6rem;
  z-index: 2;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg-deep), transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg-deep), transparent);
}

.model-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid oklch(1 0 0 / 8%);
  background: oklch(1 0 0 / 4%);
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}

.model-chip:hover {
  border-color: oklch(0.75 0.18 65 / 0.3);
  background: oklch(0.75 0.18 65 / 8%);
}

.model-chip-icon { font-size: 1rem; line-height: 1; }

.model-chip-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: oklch(0.95 0.005 65 / 0.7);
}

.models-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .models-stats { grid-template-columns: repeat(4, 1fr); }
}

.models-stat {
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.models-stat span:first-child {
  font-size: 1.5rem;
  font-weight: 700;
}

.models-stat span:last-child {
  font-size: 0.85rem;
  color: oklch(0.95 0.005 65 / 0.4);
}

/* ── Pricing ── */
.pricing-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.pricing-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
}

.pricing-inner {
  position: relative;
  z-index: 1;
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  margin: 2rem 0 2.5rem;
  padding: 0.25rem;
  border-radius: 0.75rem;
  border: 1px solid oklch(1 0 0 / 10%);
  background: oklch(1 0 0 / 4%);
  gap: 0.25rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.pricing-tab {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: oklch(0.95 0.005 65 / 0.5);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.pricing-tab.active,
.pricing-tab:hover {
  color: var(--text);
}

.pricing-tab.active {
  background: var(--amber);
  color: var(--bg);
  box-shadow: 0 4px 20px oklch(0.75 0.18 65 / 0.35);
}

.pricing-grid,
.products-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 48rem;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .pricing-grid,
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

.pricing-card {
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.pricing-card.is-featured {
  border-color: oklch(0.75 0.18 65 / 0.4);
  box-shadow: 0 0 40px oklch(0.75 0.18 65 / 0.12);
}

.pricing-card-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-card-head h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.pricing-card-head p {
  margin: 0;
  font-size: 0.85rem;
  color: oklch(0.95 0.005 65 / 0.4);
}

.pricing-card-stock {
  font-size: 0.75rem;
  color: oklch(0.95 0.005 65 / 0.35);
}

.pricing-card-stock.low { color: var(--danger); }

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.pricing-card-price .amount {
  font-size: 2.25rem;
  font-weight: 700;
}

.pricing-card-price .unit {
  font-size: 0.85rem;
  color: oklch(0.95 0.005 65 / 0.35);
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: oklch(0.95 0.005 65 / 0.55);
}

.pricing-features li::before {
  content: "✓";
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn-buy {
  margin-top: auto;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid oklch(1 0 0 / 15%);
  background: transparent;
  color: oklch(0.95 0.005 65 / 0.85);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.pricing-card .btn-buy:hover:not(:disabled) {
  border-color: oklch(0.75 0.18 65 / 0.4);
  background: oklch(0.75 0.18 65 / 8%);
  color: var(--text);
}

.pricing-card.is-featured .btn-buy,
.pricing-card .btn-buy.btn-amber {
  border: none;
  background: var(--amber);
  color: var(--bg);
  box-shadow: 0 0 20px var(--amber-glow);
}

.pricing-card .btn-buy:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.payment-methods {
  text-align: center;
  margin-top: 2rem;
}

.payment-methods > p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: oklch(0.95 0.005 65 / 0.35);
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.payment-badge {
  padding: 0.4rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(1 0 0 / 8%);
  background: oklch(1 0 0 / 4%);
  font-size: 0.75rem;
  color: oklch(0.95 0.005 65 / 0.5);
}

.payment-badge-usdt { color: #f0b90b; }

.products-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

/* Legacy product-card (fallback) */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: oklch(0.75 0.18 65 / 0.15);
  color: var(--amber);
  width: fit-content;
}

.tag.quota {
  background: rgba(74, 222, 128, 0.12);
  color: var(--accent2);
}

/* ── Footer ── */
.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  background: var(--bg-deep);
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  color: oklch(0.95 0.005 65 / 0.4);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: oklch(0.95 0.005 65 / 0.8); }

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: oklch(0.95 0.005 65 / 0.25);
}

.footer-tagline {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid oklch(1 0 0 / 5%);
  text-align: center;
  font-size: 0.72rem;
  color: oklch(0.95 0.005 65 / 0.22);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ── Modal ── */
.modal.hidden { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.modal-card {
  position: relative;
  border-radius: 1rem;
  padding: 1.5rem;
  width: min(420px, 92vw);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.field { display: grid; gap: 0.35rem; margin: 1rem 0; }

.field input {
  background: var(--bg);
  border: 1px solid oklch(1 0 0 / 12%);
  border-radius: 8px;
  color: var(--text);
  padding: 0.65rem 0.75rem;
  font-family: inherit;
}

.pay-buttons { display: flex; gap: 0.6rem; }

.btn {
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary { background: var(--amber); color: var(--bg); }
.btn-stripe { background: #635bff; color: #fff; flex: 1; }
.btn-usdt { background: #26a17b; color: #fff; flex: 1; }
.btn-secondary {
  background: transparent;
  border: 1px solid oklch(1 0 0 / 15%);
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.error { color: var(--danger); font-size: 0.9rem; }
.price { font-size: 1.5rem; font-weight: 700; margin: 0.5rem 0; }

/* ── Lang switcher ── */
.lang-switcher-slot {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.lang-switcher { position: relative; flex-shrink: 0; }

.lang-switcher-slot-mobile {
  justify-content: flex-start;
  padding-top: 0.25rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 1px solid oklch(1 0 0 / 12%);
  border-radius: 999px;
  background: oklch(1 0 0 / 4%);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
  color: var(--text);
  border-color: oklch(0.75 0.18 65 / 0.45);
  background: oklch(0.75 0.18 65 / 8%);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 9.5rem;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  z-index: 30;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
}

.lang-option:hover,
.lang-option.active {
  background: oklch(0.75 0.18 65 / 12%);
  color: var(--amber);
}

/* ── Success page ── */
.success-page { padding: 4rem 0; }

.success-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.success-logo {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  object-fit: cover;
}

.success-card h1,
.success-card .muted,
.success-card .delivery { text-align: left; }

.delivery {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem 0;
  word-break: break-all;
  text-align: left;
}

.delivery code {
  display: block;
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: oklch(0.06 0.004 260);
  border-radius: 8px;
  font-size: 0.9rem;
}

/* ── Toast ── */
.bee-toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  z-index: 9999;
  transform: translateX(-50%) translateY(12px);
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: oklch(0.12 0.008 260 / 0.96);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
}

.bee-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.bee-toast--success { border-color: rgba(74, 222, 128, 0.4); }
.bee-toast--error { border-color: rgba(248, 113, 113, 0.4); color: #fca5a5; }

@media (max-width: 540px) {
  .navbar-actions .btn-amber-sm { display: none; }
  .header-inner { flex-wrap: nowrap; gap: 0.6rem; padding: 0.65rem 0; }
  .brand { min-width: 0; flex: 1; }
  .brand h1 { font-size: 1rem; }
  .brand p { display: none; }
  .logo { width: 38px; height: 38px; }
  .header-nav a {
    font-size: 0.76rem;
    padding: 0.36rem 0.55rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: oklch(1 0 0 / 4%);
  }
}
