.index-body {
  margin: 0;
  background: #0b0f14;
  font-family: Inter, system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

.index-button {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid #2fb9ff;
  color: #39ff14;
  letter-spacing: 2px;
  cursor: pointer;
  font-size: 1rem;
  z-index: 2;
  position: relative;
}

.index-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.index-transition {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
}

#index-lattice,
#index-background-lattice {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.index-flash {
  position: fixed;
  inset: 0;
  background: #2fb9ff;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

:root {
  --bg: #0b0f14;
  --panel: #0b0f14;
  --text: #e6e8eb;
  --muted: #9aa4b2;
  --accent: #39ff14;
  --accent-blue: #2fb9ff;
  --border: #1e2633;
}

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

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;



  line-height: 1.6;
}

header, main, footer { position: relative; z-index: 2; }

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

header {
  padding: 32px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(15,21,32,1);
}

.logo-container { display: flex; align-items: center; gap: 8px; }
.logo-container img { height: 64px; }
.logo-text { font-size: 2rem; font-weight: 700; color: var(--accent); }

nav a { margin-left: 32px; font-size: 1rem; font-weight: 600; display: inline-block; position: relative; }
nav a::after { content: ''; display: block; height: 2px; width: 0%; background: var(--accent); position: absolute; bottom: -4px; left: 0; transition: width 0.3s ease; }
nav a:hover::after { width: 100%; }

.hero { 
  max-width: 1100px;
  margin: 120px auto 0px;
  padding: 0 32px;
  text-align: center;
  position: relative;
  height: 400px; 
  overflow: hidden;
  border-radius: 12px;
  background: rgba(0,0,0,0.05);
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.hero p { 
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.cta { display: inline-flex; gap: 16px; position: relative; z-index: 1; }

.button { padding: 14px 28px; background: transparent; border: 1px solid #39ff14;
  color: #39ff14; letter-spacing: 2px; cursor: pointer; font-size: 1 rem; text-align: center; min-width: 200px; }

.button.primary { padding: 14px 28px; background: transparent; border: 1px solid #2fb9ff;
  color: #2fb9ff; letter-spacing: 2px; cursor: pointer; font-size: 1 rem; text-align: center; min-width: 200px; }

.button:hover { transform: translateY(-1px); filter: brightness(1.1); }

footer { border-top: 1px solid var(--border); padding: 32px 64px; text-align: center; color: var(--muted); font-size: 0.85rem; background: rgba(15,21,32,1); margin-top: auto; }
.footer-logo img { height: 64px; opacity: 0.9; margin-bottom: 16px; }

.green-text { color: var(--accent); }
.blue-text { color: var(--accent-blue); }

footer {
  border-top: 1px solid var(--border);
  padding: 32px 64px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  background: rgba(15,21,32,1);
  margin-top: auto;
  position: relative; 
}

.footer-contact {
  position: absolute;
  right: 64px;          
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-legal-link,
.footer-contact-link {
  color: #4a5a72;              
  cursor: pointer;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-legal-link:hover,
.footer-contact-link:hover {
  color: var(--accent);        
}

.footer-copied-bubble {
  position: absolute;
  top: -30px;
  right: 0;
  background: #39ff14;
  color: #0b0f14;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  white-space: nowrap;
  z-index: 3;
}

#footer-contact-link {
  background: none;
  border: none;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
}

.green-text { color: var(--accent); }
.blue-text {color: var(--accent-blue); }

.background-wrapper,
.background-wrapper-last {
  position: relative;
  width: 100%;
  min-height: auto;
  z-index: 1;
}

.background-image {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: calc(100% + 120px);
  background-image: url("images/PRUVN Chat background.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  z-index: 0;
}

section { position: relative; z-index: 1; max-width: 1100px; margin: 80px auto; padding: 0 32px; }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 40px;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.card.hover-effect { filter: brightness(1.2); }
.card h2 { margin-bottom: 16px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.specs { font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif; font-size: 0.9rem; color: var(--muted); line-height: 1.8; list-style: none; margin-top: 24px; padding-left: 20px; }
.specs li { position: relative; padding: 2px 6px; margin-bottom: 8px; border-radius: 4px; cursor: default; transition: background 0.2s ease, color 0.2s ease; width: fit-content; }
.specs li::before { content: "▹"; position: relative; left: 0; color: var(--accent-blue); margin-right: 6px; }
.specs li:hover { background: rgba(47,185,255,0.14); color: var(--accent-blue); }
.architecture-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.architecture-image img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); background: var(--panel); }
.architecture-text .specs li { position: relative; display: block; width: fit-content; padding: 0 4px; transition: background 0.3s ease, color 0.3s ease; filter: brightness(1.2); }
.architecture-text .specs li:hover { background: rgba(47, 185, 255, 0.14); border-radius: 4px; color: var(--accent-blue); }
.architecture-text .specs li span { display: inline-block; padding: 2px 6px; border-radius: 4px; transition: background 0.25s ease, color 0.25s ease; }
@media (max-width: 900px) { .architecture-layout { grid-template-columns: 1fr; } .architecture-image { order: -1; } }

.neon-email { color: #39ff14; text-decoration: underline; cursor: pointer; transition: color 0.2s ease; }
.copied-bubble { position: absolute; background: #39ff14; color: #0b0f14; padding: 4px 8px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 0.5s ease; white-space: nowrap; }
.activation-title { display: inline-block; margin-top: 20px; padding-bottom: 4px; border-bottom: 2px solid var(--accent); }

@keyframes heroText { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
#white-paper .cta { margin-top: 24px; }
.copy-email { position: relative; display: inline-block; }
.copy-email .copied-bubble {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #39ff14;
  color: #0b0f14;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  white-space: nowrap;
}

.platform {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

.os-icon { height: 18px; width: auto; filter: brightness(0.9); }

#tos-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background-color: #0b0f14;   
  border: 1px solid #E3E3E3;
  cursor: pointer;
  position: relative;
}

#tos-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 3px;
  width: 3px;
  height: 7px;
  border: solid #39FF14;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-subtext {
  font-size: 0.75em;
  letter-spacing: 0.3em;
  color: #e3e3e3;
  margin-top: -1.2em;
  margin-left: 18px;
}

.tos-page main {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.tos-page h1 {
  margin-bottom: 20px;
}

.tos-page h2 {
  margin-top: 40px;
  margin-bottom: 15px;
}

.tos-page h3 {
  margin-top: 25px;
  margin-bottom: 10px;
}

.tos-page p {
  margin-bottom: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.tos-page ul {
  margin-bottom: 20px;
  padding-left: 24px;
}

.tos-page li {
  margin-bottom: 8px;
  color: var(--muted);
}

body.tos-page main {
  padding-bottom: 40px;
  padding-left: 80px;
  padding-right: 80px;
}

.tos-row {
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}