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

html {
  /* Dark behind Safari's toolbars, the notch and overscroll, not white. */
  background: var(--bg-primary);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(120px + env(safe-area-inset-top, 0px));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* The page glow lives on body itself (it scrolls with the page). It used to be a fixed,
   full-screen layer, which iOS 26+ Safari treats as a header/footer and paints solid bars
   for, instead of showing the site behind the camera pill and floating toolbar. */
body {
  font-family: var(--font-body);
  background:
    radial-gradient(900px 700px at 10% 0%, rgba(92, 124, 250, 0.06), transparent 60%),
    radial-gradient(800px 600px at 100% 100%, rgba(255, 135, 135, 0.04), transparent 60%),
    linear-gradient(180deg, #0c0d12 0%, #0e0f14 60%, #0b0c10 100%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip; /* iOS ignores hidden here; clip really stops sideways scrolling */
  min-height: 100vh;
  min-height: 100dvh; /* follows Safari's collapsing address bar */
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

.section__head {
  margin-bottom: 2.5rem;
}

.section__head.center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  color: var(--text-tertiary);
}

.background-container {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.app {
  width: min(1200px, 92%);
  margin: 0 auto;
  position: relative;
  padding-top: calc(105px + env(safe-area-inset-top, 0px));
  /* Landscape iPhones: keep content out from under the notch. */
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  width: 100%;
}

.row > * {
  flex: 1;
  min-width: 0;
}

.col-lg-2 {
  flex: 1 1 calc(50% - 0.7rem);
  min-width: 280px;
}

.col-lg-4 {
  flex: 1 1 calc(33.333% - 1rem);
  min-width: 260px;
  max-width: calc(33.333% - 1rem);
}

.glass-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.glass-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md), var(--shadow-accent);
}

.glass-card-inner {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
  margin-top: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.btn i {
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent-button);
  color: #ffffff;
  box-shadow: 0 6px 18px -8px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-button-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -8px var(--accent-glow);
}

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

.btn-ghost {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-ghost:hover {
  border-color: var(--border-accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
  color: var(--accent-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.1rem;
  border-radius: 9px;
  background: var(--accent-button);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.button:hover {
  background: var(--accent-button-hover);
  transform: translateY(-1px);
}

.button:disabled {
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
  cursor: not-allowed;
  transform: none;
  border: 1px solid var(--border-light);
}

.btnss {
  position: fixed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  right: calc(26px + env(safe-area-inset-right, 0px));
  bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  background: var(--accent-button);
  color: #ffffff;
  box-shadow: 0 10px 26px -10px var(--accent-glow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.35s var(--ease);
}

.btnss.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btnss:hover {
  transform: translateY(-3px);
  background: var(--accent-button-hover);
}

.animation {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.animation.show,
.animation.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: none !important;
}

.section__navbar {
  padding-top: 1.2rem;
}
.section__header {
  padding: 2.5rem 0 4rem;
}
.section__about {
  padding: 4rem 0;
}
.section__shop {
  padding: 4rem 0;
}
.section__faq {
  padding: 4rem 0;
}
.section__reviews {
  padding: 4rem 0 5rem;
}
.section__footer {
  padding: 4rem 0 3rem;
}

@media (max-width: 960px) {
  .row {
    gap: 1.1rem;
  }
  .col-lg-4 {
    flex: 1 1 calc(50% - 0.55rem);
    max-width: calc(50% - 0.55rem);
  }
  .col-lg-2 {
    flex: 1 1 100%;
  }
}

@media (max-width: 640px) {
  .app {
    width: min(100%, 92%);
  }
  .col-lg-4 {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .section__navbar {
    padding-top: calc(0.7rem + env(safe-area-inset-top, 0px));
  }
  .section__header {
    padding: 1.5rem 0 3rem;
  }
  .section__about,
  .section__shop,
  .section__faq,
  .section__reviews {
    padding: 2.8rem 0;
  }
}

/* Keyboard users: a clear focus ring on anything they tab to. */
:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

/* Visitors who ask their system for less motion: no slide/fade animations. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animation {
    opacity: 1;
    transform: none;
  }
}

/* Sell.app adds an invisible, full-screen fixed layer to every page for its checkout.
   iOS Safari can treat full-screen fixed layers as page chrome and paint solid bars around the
   camera pill / toolbar, so keep it out of the page while it is idle. Sell.app draws the checkout
   in a shadow root (so the layer always looks empty) and switches it to pointer-events: auto
   when a checkout opens; that is when it shows again. */
[id^="checkout-embed-"][style*="pointer-events: none"] {
  display: none !important;
}
