/* ===========================
   BUYVIRTUAL.LAND – Global Styles
   =========================== */

/* DARK THEME (default) */
:root {
  --bg-main: #030615;
  --bg-alt: #070b1f;
  --card-bg: #0d1024;
  --accent: #4b7cff;
  --accent-2: #9b4bff;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.6);
  --transition: 0.2s ease-out;
}

/* LIGHT THEME OVERRIDES */
:root.light {
  --bg-main: #fafafa;
  --bg-alt: #f3f4f6;
  --card-bg: #ffffff;
  --text-main: #111827;
  --text-muted: #4b5563;
  --accent: #2563eb;
  --accent-2: #7c3aed;
  --border-subtle: #d1d5db;
}

:root.light body {
  background: #ffffff;
}

:root.light .site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #d1d5db;
}

:root.light .section-alt {
  background: #f3f4f6;
  border-top-color: #d1d5db;
  border-bottom-color: #d1d5db;
}

:root.light .card,
:root.light .usecase,
:root.light .ea-form,
:root.light .step {
  background: #ffffff;
  border-color: #d1d5db;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

:root.light .footer-bottom {
  border-color: #d1d5db;
}

:root.light .brand-tagline,
:root.light .hero-meta span {
  color: #6b7280;
}

:root.light .site-footer {
  background: #f9fafb;
}

/* RESET & BASE */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #15193a 0, #020414 40%, #000 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

/* LAYOUT HELPERS */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* HEADER & NAV */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(3, 6, 21, 0.96),
    rgba(3, 6, 21, 0.78)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.25rem;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* NAV LINKS */

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.site-nav a:hover {
  color: var(--text-main);
}

.btn-nav {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.86rem;
}

/* THEME TOGGLE */

.theme-toggle {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.7);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 0.4rem;
  font-size: 0.9rem;
}

.theme-toggle:hover {
  border-color: var(--accent);
}

.theme-toggle .sun {
  display: none;
}

.theme-toggle .moon {
  display: block;
}

:root.light .theme-toggle .sun {
  display: block;
}

:root.light .theme-toggle .moon {
  display: none;
}

/* MOBILE NAV TOGGLE */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  width: 18px;
  background: #e5e7eb;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.nav-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle.nav-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.nav-open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* HERO */

.hero {
  padding: 4.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.3rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
}

.hero-content p {
  max-width: 34rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* HERO VISUAL */

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-orbit {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #4b7cff40, transparent 55%),
    radial-gradient(circle at 80% 80%, #9b4bff50, transparent 60%);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pin shape pseudo-metaverse marker */

.hero-pin {
  width: 120px;
  height: 140px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  position: relative;
  border-radius: 60px;
  clip-path: path(
    "M60 0 C90 0 120 24 120 56 C120 96 80 120 60 140 C40 120 0 96 0 56 C0 24 30 0 60 0 Z"
  );
}

/* Grid inside pin */

.hero-pin::after {
  content: "";
  position: absolute;
  inset: 34% 18% 12% 18%;
  background-image: linear-gradient(
      to right,
      rgba(15, 23, 42, 0.7) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.7) 1px,
      transparent 1px
    );
  background-size: 22px 22px;
  border-radius: 10px;
}

.hero-grid-card {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  width: 210px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  backdrop-filter: blur(14px);
}

.hero-grid-card h3 {
  font-size: 0.95rem;
  margin: 0 0 0.2rem;
}
.hero-grid-card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.hero-grid-card .price {
  margin-top: 0.4rem;
  font-weight: 600;
  color: #e5e7eb;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform 0.12s ease-out,
    box-shadow 0.12s ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #f9fafb;
  box-shadow: 0 14px 40px rgba(79, 70, 229, 0.6);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 60px rgba(79, 70, 229, 0.7);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text-main);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn.full {
  width: 100%;
}

/* FILTERS */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #f9fafb;
  border-color: transparent;
}

/* CARD GRID */

.card-grid {
  display: grid;
  gap: 1.4rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.card-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.7);
}

.card h3 {
  margin: 0.3rem 0 0.1rem;
  font-size: 1.02rem;
}

.card-meta {
  margin: 0;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.card-price {
  margin: 0.15rem 0 0.25rem;
  font-weight: 600;
  color: #e5e7eb;
}

.card-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0 0 0.45rem;
}

.card-tags li {
  font-size: 0.74rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.card-cta {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: transparent;
  color: var(--text-main);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    transform 0.12s ease-out;
}

.card-cta:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #f9fafb;
  transform: translateY(-1px);
}

/* STEPS (HOW IT WORKS) */

.steps-grid {
  display: grid;
  gap: 1.4rem;
}

.step {
  background: #050819;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #4b7cff, #9b4bff);
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.step h3 {
  margin: 0.1rem 0 0.25rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* USE CASES */

.usecase-grid {
  display: grid;
  gap: 1.3rem;
}

.usecase {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.usecase h3 {
  margin: 0 0 0.3rem;
}

.usecase p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* EARLY ACCESS SECTION */

.early-access {
  display: grid;
  gap: 2rem;
}

.ea-text h2 {
  margin-top: 0;
}

.ea-text p {
  color: var(--text-muted);
}

.ea-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--text-main);
  font-size: 0.9rem;
}

.ea-points li::before {
  content: "•";
  margin-right: 0.4rem;
  color: var(--accent);
}

/* FORM */

.ea-form {
  background: #050819;
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.7);
}

.ea-form label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.ea-form input,
.ea-form select,
.ea-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-main);
  font-size: 0.9rem;
}

.ea-form input:focus,
.ea-form select:focus,
.ea-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FOOTER */

.site-footer {
  background: #020310;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.footer-grid {
  display: grid;
  gap: 1.8rem;
}

.footer-brand {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
}

.footer-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 20rem;
}

.site-footer h4 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text-main);
}

.footer-bottom {
  border-top: 1px solid rgba(55, 65, 81, 0.8);
  margin-top: 1.6rem;
  padding-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* RESPONSIVE BREAKPOINTS */

@media (min-width: 700px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usecase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .early-access {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 799px) {
  .site-nav {
    position: absolute;
    inset: 58px 1rem auto;
    background: rgba(3, 6, 21, 0.98);
    border-radius: 16px;
    padding: 0.75rem 0.8rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.8);
  }

  :root.light .site-nav {
    background: #ffffff;
  }

  .site-nav.nav-open {
    display: flex;
  }

  .btn-nav {
    text-align: center;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (min-width: 800px) {
  .hero {
    padding-top: 5.2rem;
  }
}