:root {
  --bg: #07090f;
  --panel: rgba(17, 22, 34, 0.82);
  --panel-2: rgba(10, 14, 24, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f8ff;
  --muted: #a9b2c7;
  --cyan: #28e7ff;
  --green: #7cff6b;
  --yellow: #ffd84a;
  --red: #ff5d6e;
  --purple: #a65cff;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 12%, rgba(40, 231, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 78% 20%, rgba(255, 93, 110, 0.16), transparent 28rem),
    radial-gradient(circle at 50% 95%, rgba(124, 255, 107, 0.10), transparent 34rem),
    linear-gradient(180deg, #080a12 0%, #07090f 45%, #030409 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.075;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 100% 4px;
  mix-blend-mode: overlay;
}

/* TESTER BUTTON - Top Right */
.tester-button {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  z-index: 100;
  width: 72px;
  height: 72px;
  border-radius: 17px;
  overflow: hidden;
  border: 2px solid rgba(40, 231, 255, 0.4);
  background: rgba(7, 9, 15, 0.95);
  box-shadow: 0 8px 32px rgba(40, 231, 255, 0.2);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tester-button:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(40, 231, 255, 0.35);
  border-color: rgba(40, 231, 255, 0.8);
}

.tester-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

/* EARLY ACCESS SECTION */
#early-access {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
  text-align: center;
  /* 2026-07-08 Niko: telefon+kartuş kolajı arka plan (koyu overlay ile metin okunur) */
  background:
    linear-gradient(rgba(4, 5, 9, 0.8), rgba(4, 5, 9, 0.86)),
    url("assets/early_access_bg.webp?v=20260718c") center / cover no-repeat;
}

#early-access h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
}

#early-access .sub {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.early-access-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
}

.early-access-form input {
  flex: 1;
  min-height: 52px;
  padding: 0 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.early-access-form input:focus {
  outline: none;
  border-color: rgba(40, 231, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(40, 231, 255, 0.1);
}

.early-access-form button {
  min-height: 52px;
  padding: 0 2rem;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #07100d;
  font-weight: 850;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.early-access-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(40, 231, 255, 0.3);
}

.form-status {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 1.5rem;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--red);
}

@media (max-width: 600px) {
  .early-access-form {
    flex-direction: column;
  }

  .early-access-form button {
    width: 100%;
  }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(7, 9, 15, 0.7);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 950;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.brand img {
  image-rendering: auto;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line), 0 0 32px rgba(40, 231, 255, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 5rem);
}

.hero-marquee {
  grid-column: 1 / -1;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.kicker {
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.4rem 0.65rem;
  color: #07100d;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--yellow));
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(3.4rem, 10vw, 8.8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  padding-right: 0.1em;
}

.rainbow {
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--purple), var(--red), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  padding-right: 0.05em;
}

.lead {
  max-width: 44rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 850;
  letter-spacing: 0.01em;
}

.btn-primary {
  color: #07100d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 12px 45px rgba(40, 231, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 60px rgba(40, 231, 255, 0.3);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.note {
  color: #7f8aa5;
  font-size: 0.9rem;
}

.hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  justify-self: center;
  position: relative;
  margin-left: -3vw;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  border-radius: 45%;
  background: conic-gradient(from 120deg, var(--green), var(--cyan), var(--purple), var(--red), var(--yellow), var(--green));
  filter: blur(55px);
  opacity: 0.28;
  animation: pulse 5s ease-in-out infinite;
}

.hero-device-img {
  width: min(640px, 90vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  50% { transform: scale(1.06); opacity: 0.38; }
}

.interstitial-device {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
  pointer-events: none;
  margin: -8rem 0;
}

.interstitial-device img {
  width: min(400px, 80vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.7));
  animation: float 8s ease-in-out infinite;
}

.interstitial-device.right {
  justify-content: flex-end;
  margin-right: -10vw;
}

.interstitial-device.left {
  justify-content: flex-start;
  margin-left: -10vw;
}

.interstitial-device.center {
  justify-content: center;
}

.interstitial-device.dual {
  gap: 2rem;
}

.interstitial-device.dual img {
  width: min(400px, 45vw);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}

.section.alt {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}

.section-title {
  margin: 0 auto 1rem;
  max-width: 820px;
  text-align: center;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.section-sub {
  max-width: 740px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1180px;
  margin: 2rem auto 0;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
}

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

.card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 231, 255, 0.32);
}

.ico {
  font-size: 1.9rem;
}

.card h3 {
  margin: 0.8rem 0 0.4rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 980px;
  margin: 2rem auto 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  color: #d9def0;
  font-weight: 750;
}

.cta-band {
  text-align: center;
}

.waitlist {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  max-width: 560px;
  margin: 2rem auto 0;
}

.waitlist input {
  min-width: 0;
  flex: 1;
  min-height: 52px;
  padding: 0 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  font: inherit;
}

.waitlist input:focus {
  border-color: rgba(40, 231, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(40, 231, 255, 0.08);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 2rem 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer img {
  border-radius: 8px;
}

.footer a {
  color: var(--text);
}

/* MARQUEE */
.marquee-section {
  padding-bottom: 2rem;
  overflow: hidden;
}

.marquee-wrap {
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-top: 1.5rem;
  align-self: center;
  display: flex;
  overflow: hidden;
  padding: 0;
}

.marquee {
  display: flex;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  gap: 2rem;
  padding-right: 2rem;
  min-width: max-content;
  animation: scroll var(--marquee-duration, 90s) linear infinite;
  /* Start flush left */
  margin-left: 0;
}

.marquee-section .marquee-content {
  /* animation set by JS for uniform speed */
}

.feature-block .marquee-content {
  /* animation set by JS for uniform speed */
}

.feature-block.reverse .marquee-content {
  /* animation set by JS for uniform speed */
}

.marquee-content img {
  height: 120px;
  width: auto;
  flex-shrink: 0;
  border-radius: 12px;
  image-rendering: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transform: translateZ(0);
  will-change: transform;
}

.ui-marquee-content img {
  height: 240px;
}

@media (max-width: 600px) {
  .ui-marquee-content img {
    height: 160px;
  }
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes scroll-reverse {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

/* Ensure marquee starts flush left - override any flex centering */
.marquee-wrap {
  justify-content: flex-start !important;
}

/* UI SHOWCASE */
.ui-showcase {
  max-width: 1180px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ui-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.5);
  border: 1px solid var(--line);
  background: var(--panel);
}

.ui-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 860px) {
  .nav-links a:not(.btn) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 6rem 1rem 4rem;
  }

  .hero-copy {
    order: 1;
  }

  .hero-marquee {
    order: 3;
    margin-top: 2rem !important;
  }

  .hero-art {
    order: 2;
    margin-top: 1.4rem;
    margin-bottom: 1rem;
    justify-self: center;
    display: flex;
    flex-direction: column;
  }

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

  .waitlist {
    flex-direction: column;
  }
  }
}

/* FEATURE BLOCKS */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding: 2rem 0;
}

.features-transition {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 1.5rem;
  text-align: center;
}

.features-transition h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow:
    0 0 24px rgba(40, 231, 255, 0.26),
    0 0 42px rgba(255, 93, 110, 0.16);
}

.feature-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.feature-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  width: 100%;
  max-width: 1200px;
}

.inline-device {
  width: min(250px, 20vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  animation: float 8s ease-in-out infinite;
}

.left-device {
  animation-delay: -2s;
}

.right-device {
  animation-delay: -1s;
}

.feature-text {
  text-align: center;
  max-width: 600px;
  padding: 0 1.5rem;
}

.feature-text .ico {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-text h3 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: #fff;
  padding: 0 0.1em;
}

.feature-text p {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.6;
  padding: 0 0.1em;
}

.feature-visual {
  width: 100%;
}

.duo-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  flex-wrap: wrap;
}

.duo-grid .ui-img {
  max-height: 320px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.5);
  border: 1px solid var(--line);
}

.cart-img {
  height: clamp(80px, 10vw, 160px);
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.showcase-img {
  display: block;
  margin: 0 auto;
  max-height: 350px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.5);
  border: 1px solid var(--line);
}

.bottom-image {
  padding: 0 clamp(1rem, 5vw, 5rem) clamp(4rem, 8vw, 7rem);
  position: relative;
  z-index: 1;
}

.bottom-image img {
  display: block;
  width: min(1180px, 100%);
  margin: 0 auto;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow), 0 0 70px rgba(124, 255, 107, 0.12);
}

.nowrap { white-space: nowrap; }

.cart-river {
  overflow: hidden;
  padding: 0 0 clamp(4rem, 8vw, 7rem);
  margin-top: -2rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  position: relative;
  z-index: 10;
}

.cart-track {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  width: max-content;
  animation: cart-flow 34s linear infinite;
}

.cart-track img {
  height: clamp(76px, 9vw, 128px);
  width: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.45));
}

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

@media (prefers-reduced-motion: reduce) {
  .cart-track { animation: none; }
}
