:root {
  --bg: #f6fbff;
  --ink: #0f1c33;
  --muted: #3b4e6f;
  --line: rgba(15, 28, 51, 0.15);
  --primary: #00a9ff;
  --secondary: #ff6a00;
  --accent: #00d084;
  --card: rgba(255, 255, 255, 0.82);
  --radius: 18px;
  --shadow: 0 18px 40px rgba(15, 28, 51, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 169, 255, 0.24), transparent 28%),
    radial-gradient(circle at 90% 90%, rgba(255, 106, 0, 0.2), transparent 30%),
    linear-gradient(135deg, #edf8ff 0%, #f6fbff 45%, #eef9f2 100%);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(to right, rgba(15, 28, 51, 0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(15, 28, 51, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: -4;
  pointer-events: none;
}

.glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  filter: blur(30px);
  z-index: -3;
  opacity: 0.45;
  animation: pulse 10s ease-in-out infinite;
  pointer-events: none;
}

.glow-a {
  top: -70px;
  left: -70px;
  background: #00a9ff;
}

.glow-b {
  right: -90px;
  bottom: -90px;
  background: #ff6a00;
  animation-delay: 1.8s;
}

.topbar {
  width: min(1200px, calc(100% - 1.4rem));
  margin: 0.9rem auto 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 0.6rem;
  box-shadow: var(--shadow);
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 16px rgba(0, 169, 255, 0.35);
}

.menu {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
}

.menu a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  white-space: nowrap;
  font-weight: 600;
}

.menu a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.container {
  width: min(1200px, calc(100% - 1.4rem));
  margin: 1.2rem auto 2rem;
  display: grid;
  gap: 1rem;
}

.hero {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(241, 252, 255, 0.92));
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.9rem;
}

.eyebrow {
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.6rem);
  line-height: 1.06;
  max-width: 16ch;
}

.hero-copy {
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.hero-gallery img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.tech-strip {
  display: grid;
  gap: 0.6rem;
}

.tech-strip article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.tech-strip h3 {
  color: var(--secondary);
  font-size: 1rem;
}

.tech-strip p {
  color: var(--muted);
}

.brand-showcase {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--card);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.8rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.brands-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.brands-grid span {
  display: block;
  padding: 0.45rem 0.6rem;
  font-weight: 700;
  color: var(--primary);
}

.brands-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.card-head {
  margin-bottom: 0.8rem;
  display: grid;
  gap: 0.35rem;
}

.card-head p {
  color: var(--muted);
}

.grid-two {
  display: grid;
  gap: 0.8rem;
}

.stack {
  display: grid;
  gap: 0.55rem;
}

label {
  display: grid;
  gap: 0.28rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.68rem 0.72rem;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(0, 169, 255, 0.24);
  border-color: var(--primary);
}

.btn {
  border-radius: 999px;
  padding: 0.66rem 1rem;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  width: fit-content;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #007cff);
}

.btn-ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.login-box {
  margin-top: 1rem;
  border-top: 1px dashed var(--line);
  padding-top: 1rem;
}

.wallet-bar {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.82rem;
  background: linear-gradient(130deg, rgba(0, 169, 255, 0.14), rgba(0, 208, 132, 0.14));
  display: grid;
  gap: 0.75rem;
}

.wallet-bar span {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
}

.wallet-bar strong {
  font-size: 1.3rem;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  max-height: 250px;
  overflow: auto;
}

.list li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem;
  background: #fff;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.chip.active {
  border-color: var(--secondary);
  color: var(--secondary);
}

.inline-check {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.products-grid {
  display: grid;
  gap: 0.72rem;
}

.product {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0.74rem;
  display: grid;
  gap: 0.5rem;
}

.product img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.product p {
  color: var(--muted);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
  font-size: 0.85rem;
  background: #f5fbff;
}

.price-line {
  display: grid;
  gap: 0.15rem;
}

.price-main {
  font-size: 1.15rem;
  font-weight: 700;
}

.price-beginner {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.partner-box {
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
  background: #fff;
}

.footer {
  width: min(1200px, calc(100% - 1.4rem));
  margin: 1.4rem auto 2rem;
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
  color: var(--muted);
  display: grid;
  gap: 0.2rem;
}

.sub {
  font-size: 0.9rem;
}

small {
  min-height: 1rem;
}

small.error {
  color: #d53a3a;
}

small.success {
  color: #087f57;
}

.hidden {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 25;
}

.modal-card {
  width: min(440px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.visible {
  animation: revealUp 0.65s ease forwards;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(22px);
  }
}

@media (min-width: 760px) {
  .topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .menu {
    overflow: visible;
  }

  .hero {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }

  .tech-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-two {
    grid-template-columns: 1fr 1fr;
  }

  .wallet-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brands-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .brands-grid img {
    height: 95px;
  }
}

@media (min-width: 1060px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.auth-tip {
  display: block;
  margin-top: 0.65rem;
  color: var(--muted);
  font-weight: 600;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.auth-modal-card {
  max-height: 88vh;
  overflow: auto;
}

.auth-modal-card h4 {
  margin: 0;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 0.95rem;
  color: var(--primary);
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.logo-variants {
  display: grid;
  gap: 0.7rem;
}

.logo-variants article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem;
  background: #fff;
  display: grid;
  place-items: center;
}

.logo-variants img {
  max-width: 100%;
  height: auto;
}

.support-float-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 35;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, #00a9ff, #007cff);
  color: #fff;
  font-weight: 700;
  padding: 0.72rem 1rem;
  box-shadow: 0 16px 26px rgba(0, 124, 255, 0.4);
  cursor: pointer;
}

.support-float-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

@media (min-width: 900px) {
  .logo-variants {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .support-float-btn {
    right: 1.6rem;
    bottom: 1.4rem;
  }
}

.checkout-layout {
  display: grid;
  gap: 0.9rem;
}

.checkout-card h2 {
  margin-bottom: 0.6rem;
}

.checkout-product {
  display: grid;
  gap: 0.75rem;
}

.checkout-product img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.checkout-product-info {
  display: grid;
  gap: 0.4rem;
}

.checkout-product-info p {
  color: var(--muted);
}

.checkout-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.checkout-summary {
  display: grid;
  gap: 0.55rem;
}

.checkout-summary p {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.checkout-summary span {
  color: var(--muted);
}

.checkout-summary strong {
  color: var(--ink);
}

@media (min-width: 980px) {
  .checkout-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}
