:root {
  --bg: #0a0a0f;
  --surface: #13131a;
  --surface2: #0f0f18;
  --border: #1e1e2e;
  --cyan: #00e5ff;
  --orange: #ff8c00;
  --text: #e0e0e0;
  --muted: #888;
  --green: #00ff88;
  --purple: #cc44ff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.back-link {
  position: fixed;
  top: 1.25rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
  z-index: 100;
}
.back-link:hover { color: var(--cyan); }
.back-link svg { width: 16px; height: 16px; fill: currentColor; }

.hero {
  text-align: center;
  padding: 8rem 2rem 5rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.hero-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('./DualUfo_Splash.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.13;
  z-index: -1;
  pointer-events: none;
}
.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  border: 1.5px solid var(--cyan);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 0 60px #00e5ff33;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.app-icon:hover { box-shadow: 0 0 80px #00e5ff55; }
.app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0;
  line-height: 1.15;
}
h1 span { color: var(--cyan); }
.hero-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin-bottom: 2.5rem;
  margin-top: 0.5rem;
}
.hl-zero-trust {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hl-crypto {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 3rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.82rem;
  color: var(--cyan);
}
.badge.orange { color: var(--orange); }
.badge.green  { color: var(--green); }
.badge.blue   { color: #4da6ff; }
.badge.muted  { color: var(--muted); }
.badge.white  { color: #fff; }

section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
section + section { border-top: 1px solid var(--border); }
.section-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  line-height: 1.2;
}
h2 span { color: var(--cyan); }
.lead {
  color: #bbb;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 680px;
}
.lead b { color: var(--cyan); font-weight: 600; }

#pqc-section .section-label, #pqc-section h2, #pqc-section .lead,
#features-section .section-label, #features-section h2, #features-section .lead,
#trust-section .section-label, #trust-section h2, #trust-section .lead,
#crypto-section .section-label, #crypto-section h2, #crypto-section .lead,
#app-section .section-label, #app-section h2, #app-section .lead {
  text-align: center; margin-left: auto; margin-right: auto;
}

.cascade-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2.5rem;
}
.cascade-card {
  flex: 1 1 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.cascade-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
}
.cascade-card .card-icon { font-size: 1.6rem; margin-bottom: 0.75rem; }
.cascade-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--cyan); margin-bottom: 0.4rem; }
.cascade-card p  { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.cascade-card .algo {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  font-family: monospace;
  background: #00e5ff0d;
  color: var(--cyan);
  border: 1px solid #00e5ff22;
  border-radius: 6px;
  padding: 3px 8px;
}
.cascade-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1.5rem;
  font-weight: 300;
  flex: 0 0 auto;
  align-self: center;
}
@media (max-width: 600px) { .cascade-plus { display: none; } }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 2.5rem;
}
.feature-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}
.feature-item .fi-icon  { font-size: 1.4rem; margin-bottom: 0.5rem; }
.feature-item h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--text); }
.feature-item p  { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

.trust-grid { display: flex; gap: 24px; margin-top: 2.5rem; flex-wrap: wrap; }
.trust-card {
  flex: 1 1 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.trust-card.trusted  { border-color: var(--cyan);   box-shadow: 0 0 30px #00e5ff18; }
.trust-card.untrusted{ border-color: var(--orange);  box-shadow: 0 0 20px #ff8c0010; }
.trust-card img { width: 100px; height: 100px; object-fit: contain; margin-bottom: 1.25rem; }
.trust-label { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.trust-card.trusted  .trust-label { color: var(--cyan); }
.trust-card.untrusted .trust-label { color: var(--orange); }
.trust-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.trust-tag {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 500;
}
.trust-card.trusted  .trust-tag { background: #00e5ff10; color: var(--cyan);   border: 1px solid #00e5ff30; }
.trust-card.untrusted .trust-tag { background: #ff8c0010; color: var(--orange); border: 1px solid #ff8c0030; }

.algo-list {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.algo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}
.algo-dot  { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }
.algo-name { font-size: 0.78rem; font-family: monospace; color: var(--cyan); flex: 0 0 auto; }
.algo-desc { font-size: 0.76rem; color: var(--muted); }

footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}
footer a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--cyan); }
footer .footer-links { margin-bottom: 0.75rem; display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }

#easter-ufo {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 12px #00e5ff55;
}
#easter-ufo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@keyframes ufo-hover {
  0%   { margin-top: 0px; }
  50%  { margin-top: -6px; }
  100% { margin-top: 0px; }
}
#easter-ufo.hovering { animation: ufo-hover 1.1s ease-in-out infinite; }

@keyframes ufo-look {
  0%   { transform: rotate(0deg)   scaleX(1); }
  25%  { transform: rotate(-10deg) scaleX(1); }
  55%  { transform: rotate(8deg)   scaleX(1); }
  80%  { transform: rotate(-4deg)  scaleX(1); }
  100% { transform: rotate(0deg)   scaleX(1); }
}
#easter-ufo.looking { animation: ufo-look 1.0s ease-in-out 1; }

#ufo-thought {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.35s;
  width: 52px;
}
.thought-bubble {
  width: 52px;
  height: 52px;
  background: #1a0a2e;
  border: 2px solid var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 0 18px #cc44ff55, inset 0 0 10px #cc44ff18;
}
@keyframes heart-pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.22); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}
.thought-bubble { animation: heart-pulse 0.9s ease-in-out infinite; }
.thought-dot {
  position: absolute;
  background: var(--purple);
  border-radius: 50%;
  box-shadow: 0 0 5px #cc44ff66;
  left: 50%;
  transform: translateX(-50%);
}
.thought-dot.td1 { width: 5px;  height: 5px;  top: 58px; }
.thought-dot.td2 { width: 9px;  height: 9px;  top: 68px; }
.thought-dot.td3 { width: 13px; height: 13px; top: 81px; }

#alienkuh-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
#alienkuh-popup.active {
  display: flex;
  animation: popup-fadein 0.3s ease-out;
}
@keyframes popup-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#alienkuh-popup-inner {
  animation: popup-scalein 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popup-scalein {
  from { transform: scale(0.6); }
  to   { transform: scale(1); }
}
#alienkuh-popup img {
  max-width: 88vw;
  max-height: 82vh;
  border-radius: 22px;
  border: 2px solid var(--purple);
  box-shadow: 0 0 60px #cc44ff55, 0 0 120px #cc44ff22;
  display: block;
}
#alienkuh-popup-hint {
  margin-top: 1rem;
  text-align: center;
  color: #cc44ff88;
  font-size: 0.78rem;
  letter-spacing: 1px;
}

/* Classes replacing inline styles */
.lead-sub {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.screenshots-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 1.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.screenshot {
  height: 480px;
  width: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.screenshot--click {
  cursor: pointer;
}

.footer-pqtls {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78em;
}
