/* PAGES CSS - content of description.html and video.html */
/* Top bar + PL/EN rules live in CSS/Components/site-nav.css */
/* Tokens match style.css (landing) so the three entry pages feel like one site */

:root {
  --neon-blue: #36d6ff;
  --neon-purple: #c35cff;
  --neon-pink: #ff7aff;
  --ok: #40c057;
  --mock: #fcc419;
  --plan: #8ea2ff;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.78);
  --text-3: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.1);
  --panel: rgba(30, 20, 55, 0.5);
  --panel-2: rgba(255, 255, 255, 0.04);
  --radius: 12px;
  --max: 112rem;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html {
  background-color: #140f30;
}

body.dot-page {
  position: relative;
  min-height: 100vh;
  font-family: "Rajdhani", sans-serif;
  font-weight: 500;
  font-size: 1.9rem;
  line-height: 1.55;
  color: var(--text);
}

/* Fixed gradient layer - works on iOS, where background-attachment: fixed does not */
body.dot-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 10%, rgba(22, 54, 91, 0.8) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(95, 27, 74, 0.7) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(70, 35, 88, 0.5) 0%, transparent 60%),
    linear-gradient(135deg, #10193b, #190f2b, #2b1130);
}

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

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2.4rem;
}

/* --- TYPE --- */
.eyebrow {
  display: inline-block;
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--neon-blue);
  margin-bottom: 1.6rem;
}

h1,
h2,
h3 {
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

h1 {
  font-size: clamp(3rem, 4.2vw, 4.8rem);
}

h2 {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  margin-bottom: 1.6rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.grad {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 2.2rem;
  color: var(--text-2);
  max-width: 60ch;
}

.muted {
  color: var(--text-3);
}

p + p {
  margin-top: 1.2rem;
}

/* --- SECTIONS --- */
.section {
  padding: 8rem 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 72rem;
  margin-bottom: 4rem;
}

/* --- BUTTONS --- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 3.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 2.6rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  border: 1px solid rgba(54, 214, 255, 0.6);
  box-shadow:
    inset 0 0 10px rgba(54, 214, 255, 0.1),
    0 0 10px rgba(54, 214, 255, 0.1);
  transition: all 0.25s ease;
}

.btn:hover {
  background: rgba(54, 214, 255, 0.15);
  box-shadow:
    0 0 15px rgba(54, 214, 255, 0.5),
    inset 0 0 15px rgba(54, 214, 255, 0.3);
}

.btn-primary {
  background: linear-gradient(90deg, rgba(54, 214, 255, 0.25), rgba(255, 122, 255, 0.25));
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-pink {
  border-color: rgba(255, 122, 255, 0.6);
  box-shadow:
    inset 0 0 10px rgba(255, 122, 255, 0.1),
    0 0 10px rgba(255, 122, 255, 0.1);
}

.btn-pink:hover {
  background: rgba(255, 122, 255, 0.15);
  box-shadow:
    0 0 15px rgba(255, 122, 255, 0.5),
    inset 0 0 15px rgba(255, 122, 255, 0.3);
}

/* --- HERO --- */
.hero {
  padding: 8rem 0 6.4rem;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6.4rem;
  align-items: center;
}

.hero h1 {
  margin-bottom: 2.4rem;
}

.photo-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(54, 214, 255, 0.9), rgba(255, 122, 255, 0.3));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-caption {
  font-size: 1.4rem;
  color: var(--text-3);
  margin-top: 1rem;
}

/* --- GRIDS & CARDS --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.8rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card p {
  color: var(--text-2);
}

.step-no {
  font-family: "Orbitron", sans-serif;
  font-size: 1.3rem;
  color: var(--neon-pink);
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
}

.icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.6rem;
  stroke: var(--neon-blue);
  filter: drop-shadow(0 0 8px rgba(54, 214, 255, 0.5));
}

/* --- STATUS --- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 30px;
  margin-bottom: 1.6rem;
}

.pill::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: currentColor;
}

.pill-ok {
  color: var(--ok);
  background: rgba(64, 192, 87, 0.12);
}

.pill-mock {
  color: var(--mock);
  background: rgba(252, 196, 25, 0.12);
}

.pill-plan {
  color: var(--plan);
  background: rgba(142, 162, 255, 0.12);
}

.checklist {
  list-style: none;
  margin-top: 1.2rem;
}

.checklist li {
  position: relative;
  padding-left: 2.2rem;
  color: var(--text-2);
}

.checklist li + li {
  margin-top: 0.6rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.05rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  border: 1.5px solid var(--neon-blue);
}

.note {
  margin-top: 3.2rem;
  padding: 2rem 2.4rem;
  border-left: 3px solid var(--neon-purple);
  background: var(--panel-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-2);
  max-width: 80rem;
}

/* --- PROTOTYPE GALLERY --- */
.proto {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.proto figure {
  margin: 0;
}

.proto .photo-frame {
  aspect-ratio: 4 / 5;
}

.spec {
  list-style: none;
  font-size: 1.7rem;
}

.spec li {
  display: flex;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.spec .k {
  color: var(--text-3);
}

.spec .v {
  text-align: right;
}

/* --- MODEL / CHIPS --- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

.chip {
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel-2);
}

/* --- ROADMAP --- */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.roadmap .card {
  padding-top: 3.6rem;
}

.roadmap .when {
  font-family: "Orbitron", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--neon-blue);
  margin-bottom: 1rem;
}

.roadmap .card.now {
  border-color: rgba(54, 214, 255, 0.5);
  box-shadow: 0 0 25px rgba(54, 214, 255, 0.12);
}

/* --- FOUNDER / CTA --- */
.founder {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.ask {
  background: linear-gradient(135deg, rgba(54, 214, 255, 0.12), rgba(255, 122, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 3.6rem;
}

.ask ul {
  margin-top: 1.6rem;
}

.contact-list {
  list-style: none;
  margin-top: 2.4rem;
}

.contact-list li {
  display: flex;
  gap: 1.6rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list .k {
  min-width: 9rem;
  color: var(--text-3);
}

.contact-list a {
  text-decoration: none;
  color: var(--neon-blue);
}

.contact-list a:hover {
  text-decoration: underline;
}

/* --- VIDEOS --- */
.video-feature {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  align-items: center;
}

.yt {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(54, 214, 255, 0.25), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(255, 122, 255, 0.25), transparent 60%),
    #0b0a1c;
  cursor: pointer;
}

.yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.4s;
}

.yt:hover img {
  opacity: 1;
  transform: scale(1.02);
}

.yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(16, 15, 40, 0.55);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  box-shadow: 0 0 25px rgba(255, 122, 255, 0.5);
  pointer-events: none;
}

.yt .play::after {
  content: "";
  margin-left: 0.6rem;
  border-style: solid;
  border-width: 1.2rem 0 1.2rem 2rem;
  border-color: transparent transparent transparent #fff;
}

.yt .duration {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.7);
}

.yt.is-playing {
  cursor: default;
}

.tag {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ok);
  border: 1px solid rgba(64, 192, 87, 0.5);
  border-radius: 6px;
  padding: 0.2rem 0.8rem;
  margin-bottom: 1.2rem;
}

.video-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.loop-frame {
  position: relative;
  max-width: 36rem;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  margin: 0 auto;
}

/* Landscape loop (prototype clip) */
.video-grid.is-wide {
  grid-template-columns: 1.3fr 1fr;
}

.loop-frame.is-wide {
  max-width: none;
  aspect-ratio: 16 / 9;
}

.loop-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watch-list {
  list-style: none;
  margin-top: 1.6rem;
}

.watch-list li {
  display: grid;
  grid-template-columns: 6.4rem 1fr;
  gap: 1.2rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
}

.watch-list li span:first-child {
  font-family: "Orbitron", sans-serif;
  font-size: 1.3rem;
  color: var(--neon-pink);
  padding-top: 0.3rem;
}

/* --- FOOTER --- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 6rem;
  font-size: 1.5rem;
  color: var(--text-3);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.6rem;
}

.site-footer a {
  color: var(--text-2);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--neon-blue);
}

/* --- REVEAL (progressive: content visible without JS) --- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }
  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 62em) {
  .hero .wrap,
  .founder,
  .video-feature,
  .video-grid,
  .video-grid.is-wide {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .hero .photo-frame {
    max-width: 52rem;
  }
  .proto {
    grid-template-columns: 1fr 1fr;
  }
  .proto .spec-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 48em) {
  body.dot-page {
    font-size: 1.8rem;
  }
  .wrap {
    padding: 0 1.6rem;
  }
  .section {
    padding: 5.6rem 0;
  }
  .hero {
    padding: 4.8rem 0 4rem;
  }
  .grid-3,
  .grid-2,
  .roadmap {
    grid-template-columns: 1fr;
  }
  .lead {
    font-size: 2rem;
  }
  .card,
  .ask {
    padding: 2.4rem;
  }
}
