/* css/styles.css */

:root {
  --bg: #101010;
  --bg-soft: #161616;
  --text: #e9e4dc;
  --muted: #aaa39a;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #8aad12;
  --link: #39a8e8;
  --card: rgba(255, 255, 255, 0.045);
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.55;
}

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

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(16, 16, 16, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: -0.04em;
  color: #f6f3ed;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 1.02rem;
  font-weight: 700;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.88;
}

.nav-links a:hover {
  opacity: 1;
  color: #fff;
}

.nav-toggle {
  display: none;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 28px 64px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
  align-items: center;
  min-height: 620px;
}

.eyebrow {
  color: var(--accent);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.95;
  color: #f5f0e8;
}

.subtitle {
  margin: 28px 0 0;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: #d9d3ca;
  max-width: 620px;
}

.body-copy {
  margin: 26px 0 0;
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 650px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img.actions {
 height: 45px; 
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  background: var(--card);
}

.button.primary {
  background: var(--accent);
  color: #101010;
  border-color: transparent;
}

.hero-art {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.orb-field {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  filter: blur(22px);
  background:
    radial-gradient(circle at 20% 40%, #fc4e08 0 6%, transparent 18%),
    radial-gradient(circle at 60% 20%, #fca514 0 7%, transparent 19%),
    radial-gradient(circle at 75% 55%, #59657b 0 8%, transparent 24%),
    radial-gradient(circle at 42% 72%, #681cad 0 9%, transparent 24%);
}

.wheel-mark {
  width: min(380px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 28px 90px rgba(0,0,0,0.55);
  background: conic-gradient(
    #fff537,
    #b4d82b,
    #5aad30,
    #39889a,
    #1054f5,
    #4a28cf,
    #9300b0,
    #c71468,
    #ff2b1f,
    #fc5b12,
    #fca514,
    #fff537
  );
}

.wheel-mark::before {
  content: "";
  position: absolute;
  inset: 23%;
  border-radius: 50%;
  background: var(--bg);
  border: 18px solid var(--bg);
}

.wheel-mark::after {
  content: "";
  width: 16%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg);
  z-index: 1;
}

section {
  padding: 82px 0;
  border-bottom: 1px solid var(--line);
}

section:first-of-type {
  padding-top: 0px;
}

section:last-of-type {
  border-bottom: 0;
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 0 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text);
}

.section-intro {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 40px;
}

.screenshot-grid,
.features {
  display: grid;
  gap: 26px;
}

.screenshot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.screenshot-dots {
  display: none;
}

.features {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}

.phone-shot,
.feature-card {
  border-radius: 24px;
  border: 1px solid var(--line);
}

.phone-shot {
  background: linear-gradient(180deg, #020202, #151515);
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(6px, 1vw, 10px);
  overflow: hidden;
}

.phone-shot img {
  display: block;
  width: min(100%, 306px);
  max-height: min(68vh, 680px);
  height: auto;
  object-fit: contain;
}

.feature-card {
  background:
    linear-gradient(
      135deg,
      rgba(252, 81, 8, 0.18),
      rgba(252, 165, 20, 0.14),
      rgba(255, 245, 55, 0.12),
      rgba(138, 173, 18, 0.16),
      rgba(57, 168, 232, 0.16),
      rgba(151, 84, 214, 0.14)
    ),
    var(--card);
  padding: 26px;
}

.footer {
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 28px 52px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--muted);
}

@media (max-width: 860px) {
  .nav {
    padding: 18px 28px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    display: block;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .nav.is-open .nav-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.is-open .nav-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 28px;
    width: min(260px, calc(100vw - 56px));
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(16, 16, 16, 0.98);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.34);
    display: grid;
    gap: 0;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .nav.is-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    border-radius: 6px;
    padding: 12px 14px;
  }

  .nav-links a:hover {
    background: var(--card);
  }

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

  .screenshot-grid {
    display: flex;
    gap: 18px;
    margin: 0 -28px;
    padding: 0 28px 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 28px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .screenshot-grid::-webkit-scrollbar {
    display: none;
  }

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

  .phone-shot {
    flex: 0 0 min(82vw, 340px);
    padding: clamp(16px, 5vw, 24px);
    scroll-snap-align: center;
  }

  .phone-shot img {
    width: min(100%, 300px);
    max-height: calc(100vh - 120px);
    max-height: calc(100svh - 120px);
  }

  .screenshot-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
  }

  .screenshot-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(233, 228, 220, 0.32);
    padding: 0;
    cursor: pointer;
  }

  .screenshot-dot.is-active {
    background: var(--accent);
  }
}
