:root {
  --bg-gradient-start: rgb(22,21,26);
  --bg-gradient-end: rgb(22,21,26);
  --primary-gradient-start: #6f3cf4;
  --primary-gradient-end: #9b60ff;
  --accent-color: #874bcc;
  --glass-bg: rgba(22, 23, 28, 0.25);
  --border-color: rgba(255, 255, 255, 0.1);
  --text-color: rgb(233, 231, 235);
  --border-color2: #874bcc50;
  --primary-start: #6f3cf4;
  --primary-end: #9b60ff;
  --accent: #874bcc;
  --glass: rgba(22,23,28,0.4);
  --border: rgba(255,255,255,0.028);
  --text: #e9e7eb;
}

html {
  scroll-behavior: smooth;}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--bg-gradient-start);
}

html::-webkit-scrollbar {
  width: 8px;              
}

html::-webkit-scrollbar-track {
  background: transparent; 
}

html::-webkit-scrollbar-thumb {
  background-color: var(--accent-color);
  border-radius: 8px;    
  border: 2px solid transparent;
  background-clip: content-box; 
}

body {
  min-height: 100vh;   
     
  margin: 0;
  padding: 0;
  font-family: 'Raleway', sans-serif;
  background: linear-gradient(135deg, rgb(4,6,23) 40%, rgb(22,13,45) 100%);
  color: var(--text-color);
}

.container {
  max-width: 1200px;
  margin: 15px auto 0;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: transparent;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo__img {
  width: 1.4em;
  height: auto;
  padding: 0;
  margin-right: 0.25em;
}

.logo__dark {
  color: #a7a7a7;
}

.navbar .logo {
  font-weight: 700;
  font-size: 1.5rem;
  background: rgb(213,211,214);
  -webkit-background-clip: text;
  color: transparent;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.navbar a {
  position: relative;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s;
}

.navbar a:hover {
  opacity: 1;
}

.navbar a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: 1rem;
  padding: 50px 25px;
}

#bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.highlight {
  color: #b4b4b4;
  font-size: 4rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-content h1 {
  font-size: clamp(1.5rem, 8vw, 1.5rem);
  line-height: 1.1;
  margin: 0 0 20px;
  background: rgb(213,211,214);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  opacity: 0.7;
  font-size: 1.5rem;
  font-weight: 400;
}
.hero-links a i {
  margin-left: 8px;
  color: #95a09e;
  font-size: 1em;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.hero-links a:hover i {
  transform: translateX(2px);
}

.glow {
  position: absolute;
  width: var(--glow-size, 400px);
  height: var(--glow-size, 400px);
  pointer-events: none;
  z-index: 0;
}

.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgb(22,13,45);
  filter: blur(50px);
  opacity: 1;
  mix-blend-mode: screen;
}

.hero-content p {
  font-size: 1.125rem;
  opacity: 0.8;
  margin-bottom: 20px;
}

.features p {
  margin-bottom: 0;
}

.buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.btn {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-family: "Raleway";
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
}

.btn-primary {
  background: #874bcc;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
}

.btn:hover {
  box-shadow: 0 12px 24px rgba(0,0,0,0.5);
  opacity: 0.8;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 1rem;
}

.features p::before {
  content: '›';
  margin-right: 8px;
  color: var(--accent-color);
}

.badges {
  display: flex;
  gap: 15px;
  margin-top: 50px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  cursor: default;
  transition: background 0.2s;
}

.badge-icon {
  width: 30px;
  height: 30px;
  color: var(--accent-color);
}

.hero-image {
  position: relative;
  z-index: 2;
  max-width: 100%;
  height: auto;
  justify-self: end;
  transform: none;
  animation: none;
}

.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 2;
}

.hero-links {
  display: flex;
  gap: 0;
  margin-top: -30px;
  justify-content: center;
  z-index: 999;
}

.hero-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.8;
  color: var(--text-color);
  transition: all 0.4s ease;
}

.hero-links a.btn-links {
  border: none;
}

.hero-links a.btn-links:hover {
  opacity: 0.7;
}

.downloads-container {
  padding: 25px 20px;
}

.downloads {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.download-left {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  background: transparent;
  padding: 20px;
}

.download-left h2 {
  margin-top: 0;
}

.os-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.os-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  margin-bottom: 14px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}

.os-list li:hover {
  background: rgba(255,255,255,0.1);
}

.os-list li.active {
  background: var(--accent-color);
  color: #000;
  font-weight: 600;
}

.os-list li[data-os="windows"]::after {
  content: "Stable installer for Windows environments.";
}

.os-list li[data-os="linux"]::after {
  content: "Portable AppImage – no installation required.";
}

.os-list li[data-os="macos"]::after {
  content: "Drag & drop .dmg into Applications folder.";
}

.os-list li::after {
  display: block;
  margin-top: 4px;
  padding-left: 28px;
  font-size: 0.8rem;
  opacity: 0.7;
  color: var(--text-color);
}

.download-right {
  flex: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  background: transparent;
  padding: 20px;
}

.content-panel {
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s ease;
}

.install-column h3,
.build-column h3 {
  margin-top: 0;
}

.quick-desc {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-color);
  opacity: 0.9;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; 
  height: 1px; 
  padding: 0; 
  margin: -1px; 
  overflow: hidden; 
  clip: rect(0, 0, 0, 0); 
  white-space: nowrap; 
  border: 0;
}


.quick-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.quick-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.quick-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 10px;
  height: 10px;
  background: var(--primary-gradient-start);
  border-radius: 3px;
}

.download-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  background: #874bcc;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.download-btn:hover {
  opacity: 0.8;
}

.build-instructions {
  background: var(--glass-bg);
  border-radius: 22px;
  border: 1px solid var(--border-color);
  padding: 16px;
  width: 100%;
  height: 240px;
  overflow-y: auto;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) transparent;
}

.scroll-wrapper {
  height: 100%;
  overflow-y: auto;
  padding-right: 16px;
  margin-right: -16px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) transparent;
}

.scroll-wrapper::-webkit-scrollbar {
  width: 6px;
}

.scroll-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 3px;
}

.build-instructions pre {
  margin: 0;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e0e0e0;
  white-space: pre-wrap;
  word-break: break-word;
}

.typing::after {
  content: '|';
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  from, to { opacity: 0; }
  50% { opacity: 1; }
}

.about {
  padding: 85px 20px;
}

.about-wrapper {
  display: flex;
  flex-direction: column;
  gap: 45px;
  max-width: 870px;
  margin: 0 auto;
}

.about1,
.about2 {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  max-height: 395px;
  overflow: hidden;
  margin: 0 auto;
}

.about-col {
  flex: 1;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-col--left {
  border-right: 1px solid var(--border-color);
}

.about-col--right1,
.about-col--right2 {
  background: var(--glass-bg);
}

.about-col--right1 {
  border-right: 1px solid var(--border-color);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.about-text p {
  font-size: 1rem;
  color: #777;
}

.about-animation {
  display: flex;
  justify-content: center;
  align-items: center;
}

.orbit-section {
  position: relative;
  width: 350px;
  height: 350px;
}

.center-coin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.center-coin img {
  width: 100%;
  height: 100%;
}

.orbit-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.orbit-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-origin: center;
}

.orbit-rotate {
  width: 0;
  height: 0;
  transform-origin: center;
  animation: spin 20s linear infinite;
  animation-play-state: paused;
}

.orbit-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  opacity: 0;
  transform: translate(0, 0);
  transition: transform 1s ease-out, opacity 1s ease-out;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.photo-container {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo {
  max-width: 90%;
  height: auto;
  transform: translateZ(-200px) scale(0.8);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
  border-radius: 8px;
}

.photo.visible {
  transform: translateZ(0) scale(1);
  opacity: 1;
}

.learn-more {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--btn-bg);
  color: #777;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 0;
}

.faq-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  overflow: hidden;
  background: transparent;
}

.faq {
  padding: 30px;
}

.faq-header {
  padding: 15px 20px 0;
  border-radius: 20px;
}

.faq-header h2 {
  font-size: 2.15rem;
  margin: 0 0 10px;
  text-align: left;
}

.faq-header p {
  font-size: 0.95rem;
  text-align: left;
  opacity: 0.8;
  margin-bottom: 30px;
}

.faq-container {
  display: flex;
}

.faq-col {
  flex: 1;
  padding: 25px 40px;
}

.faq-col--left {
  border-right: 1px solid var(--border-color);
}

.faq-separator {
  width: 1px;
  background: var(--border-color);
}

.faq-container > input[type="radio"] {
  display: none;
}

.faq-question {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
  cursor: pointer;
  transition: color 0.3s;
  position: relative;
  padding-left: 48px;
}

.faq-badge {
  position: absolute;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.3s;
}

.faq-question:hover .faq-badge {
  background: var(--primary-gradient-end);
}

.faq-question:hover {
  color: var(--primary-gradient-start);
}

.faq-answer {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
  padding: 10px 0;
  margin-top: -50px;
}

.faq-answer h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  opacity: 0.95;
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.95;
}

.faq-answer li {
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
  opacity: 0.89;
}

#faq1:checked ~ .faq-col--left label[for="faq1"] .faq-badge,
#faq2:checked ~ .faq-col--left label[for="faq2"] .faq-badge,
#faq3:checked ~ .faq-col--left label[for="faq3"] .faq-badge,
#faq4:checked ~ .faq-col--left label[for="faq4"] .faq-badge,
#faq5:checked ~ .faq-col--left label[for="faq5"] .faq-badge {
  background: var(--primary-gradient-start);
}

#faq1:checked ~ .faq-col--right #answer1,
#faq2:checked ~ .faq-col--right #answer2,
#faq3:checked ~ .faq-col--right #answer3,
#faq4:checked ~ .faq-col--right #answer4,
#faq5:checked ~ .faq-col--right #answer5 {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

#faq6:checked ~ .faq-col--left label[for="faq6"] .faq-badge,
#faq7:checked ~ .faq-col--left label[for="faq7"] .faq-badge,
#faq8:checked ~ .faq-col--left label[for="faq8"] .faq-badge,
#faq9:checked ~ .faq-col--left label[for="faq9"] .faq-badge,
#faq10:checked ~ .faq-col--left label[for="faq10"] .faq-badge {
  background: var(--primary-gradient-start);
}

#faq6:checked ~ .faq-col--right #answer6,
#faq7:checked ~ .faq-col--right #answer7,
#faq8:checked ~ .faq-col--right #answer8,
#faq9:checked ~ .faq-col--right #answer9,
#faq10:checked ~ .faq-col--right #answer10 {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

input[name="faqpage"] {
  display: none;
}

.faq-pages {
  text-align: center;
  margin: 20px 0;
}

.page-btn {
  display: inline-block;
  margin: 0 8px;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--border-color);
  color: var(--text-color);
  cursor: pointer;
  transition: background 0.3s;
}

.page-btn:hover {
  background: var(--accent-color);
}

#page1:checked ~ .faq-pages label[for="page1"],
#page2:checked ~ .faq-pages label[for="page2"] {
  background: var(--primary-gradient-start);
  color: #000;
}

.faq-questions {
  display: none;
}

#page1:checked ~ .faq-container .faq-questions.page1,
#page2:checked ~ .faq-container .faq-questions.page2 {
  display: block;
}

.footer-minimal {
  background: transparent;
  border-top: 1px solid var(--border-color);
  padding: 20px 25px;
  font-size: 0.9rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s;
  padding: 4px 0;
  position: relative;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transition: width 0.2s;
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-nav a:hover {
  color: var(--accent-color);
}

.footer-note {
  opacity: 0.6;
  margin: 0;
}

.roadmap__tech {
  color: var(--text-color);
  background: none !important;
  -webkit-background-clip: unset !important;
}

.roadmap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
}

.roadmap__title {
  text-align: left;
  font-size: 3rem;
  margin-bottom: 20px;
  margin-left: 20px;
  background: linear-gradient(90deg, var(--primary-start), var(--primary-end));
  -webkit-background-clip: text;
  color: transparent;
}

.roadmap__canvas {
  position: relative;
  width: 100%;
  height: 500px;
  background:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 20px 20px;
  border-radius: 12px;
  overflow: hidden;
}

.roadmap__svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.diagonal {
  fill: none;
  stroke: url(#grad);
  stroke-width: 4;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}

.point {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--glass);
  border: 2px solid var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.card {
  position: absolute;
  width: 180px;
  background: rgba(22, 23, 28, 0.70);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  transform: scale(0.8);
  opacity: 0;
}

.card h3 {
  font-size: 1rem;
  margin: 0 0 5px;
  background: linear-gradient(90deg, var(--primary-start), var(--primary-end));
  -webkit-background-clip: text;
  color: transparent;
}

.card p {
  font-size: .85rem;
  line-height: 1.3;
  margin: 0;
}

.dw-sec-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
  height: fit-content;
  position: relative;
  border-bottom: none;
  border-radius: 30px 30px 0 0;
  z-index: 0;
}

.dw-sec-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  color: var(--text-color);
  backdrop-filter: blur(20px);
  transition: transform .35s, box-shadow .35s;
  z-index: 1;
}

.dw-sec-card h3 {
  margin: 0;
  font-size: 1.25rem;
  background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
  -webkit-background-clip: text;
  color: transparent;
}

.dw-sec-card p {
  margin: 0;
  font-size: .90rem;
  line-height: 1.55;
  opacity: .88;
}

.dw-sec-center {
  grid-column: 2/3;
  grid-row: 2/3;
  padding: 20px;
}

.dw-sec-center h3 {
  font-size: 1.6rem;
}

.dw-sec-center p {
  font-size: 1rem;
}

.dw-sec-tl {
  grid-column: 1/2;
  grid-row: 1/2;
}

.dw-sec-tr {
  grid-column: 3/4;
  grid-row: 1/2;
}

.dw-sec-bl {
  grid-column: 1/2;
  grid-row: 3/4;
}

.dw-sec-br {
  grid-column: 3/4;
  grid-row: 3/4;
}

.dw-sec-grid::before {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 440px;
  height: 440px;
  transform: translate(-50%, -50%);
  border: 1px dashed var(--border-color);
  border-radius: 24px;
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 980px) {
  .dw-sec-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .dw-sec-center {
    grid-column: 1/3;
    grid-row: auto;
  }
  .dw-sec-grid::before {
    display: none;
  }
}

@keyframes dash {
  to { stroke-dashoffset: 20; }
}
