:root {
  --bg: #0b0e14;
  --bg-alt: #12161f;
  --bg-card: #1a1f2b;
  --primary: #c6ff00;
  --primary-dark: #a3d100;
  --text: #e0e6ed;
  --text-muted: #94a3b8;
  --border: #2d3748;
  --font-mono: "JetBrains Mono", monospace;
  --font-main: "Inter", sans-serif;
  --container: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 30px;
}
.section {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}
.bg-dim {
  background: var(--bg-alt);
}
.bg-dark {
  background: #07090d;
}
.max-800 {
  max-width: 800px;
  margin: 0 auto;
}
.max-600 {
  max-width: 600px;
  margin: 0 auto;
}
.center {
  text-align: center;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
}
h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  letter-spacing: -2px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
span {
  color: var(--primary);
}
p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
  font-weight: 700;
}

/* NAVBAR */
.navbar {
  height: 90px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.logo {
  font-size: 1.4rem;
  gap: 10px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-weight: 900;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-mono);
}
.logo img {
  height: 50px;
  width: auto;
  vertical-align: middle;
}
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  transition: 0.3s;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-cta {
  border: 1px solid var(--primary);
  padding: 8px 20px;
  color: var(--primary) !important;
  border-radius: 4px;
}
.menu-open {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* FULLSCREEN MENU */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}
.fullscreen-menu.active {
  transform: translateX(0);
}
.menu-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}
.menu-content a {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}
.menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* HERO */
.hero-asymmetric {
  padding: 180px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-bottom: 25px;
}

.code-window {
  background: #011627;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.code-header {
  padding: 12px;
  background: #010d17;
  display: flex;
  gap: 8px;
}
.code-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f56;
}
.code-header span:nth-child(2) {
  background: #ffbd2e;
}
.code-header span:nth-child(3) {
  background: #27c93f;
}
pre {
  padding: 30px;
  color: #addb67;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* BUTTONS */
.btn-main {
  display: inline-block;
  padding: 18px 40px;
  background: var(--primary);
  color: #000;
  text-decoration: none;
  font-weight: 800;
  border-radius: 4px;
  transition: 0.3s;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(198, 255, 0, 0.3);
}

/* SECTION 05 & 06 SPECIFIC STYLES */

.image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.image-wrapper img {
  width: 100%;
  display: block;
  filter: grayscale(0.2);
  transition: 0.5s;
}

.image-wrapper:hover img {
  filter: grayscale(0);
  transform: scale(1.02);
}

.floating-info-card {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-side {
  @media (max-width: 700px) {
    display: none;
  }
}

.floating-info-card i {
  color: var(--accent);
}

.floating-info-card span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Roadmap Grid */
.roadmap-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 60px 0;
}

.roadmap-item {
  background: var(--bg-card);
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  transition: 0.4s;
}

.roadmap-item:hover {
  border-color: var(--accent);
  transform: translateY(-10px);
}

.roadmap-num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
}

.section-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
  font-weight: 700;
}

.roadmap-img {
  margin-top: 50px;
  max-width: 900px;
  width: 100%;
  border: 1px solid var(--border);
  opacity: 0.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .roadmap-container {
    grid-template-columns: 1fr;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .split-visual {
    order: 2;
  }
}

/* LAYOUTS */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-image img {
  width: 100%;
  border-radius: 12px;
  filter: grayscale(1);
  transition: 0.5s;
}
.split-image img:hover {
  filter: grayscale(0);
}

.cards-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.logic-card {
  background: var(--bg-card);
  padding: 50px 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: 0.3s;
}
.logic-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
}
.logic-card i {
  color: var(--primary);
  margin-bottom: 25px;
  width: 36px;
  height: 36px;
}

.modern-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.orb-animation {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0.4;
  animation: pulse 4s infinite alternate;
  margin: 0 auto;
}
@keyframes pulse {
  from {
    transform: scale(1);
    opacity: 0.2;
  }
  to {
    transform: scale(1.3);
    opacity: 0.5;
  }
}

/* Mobile: reduce orb animation/size for better performance and UX */
@media (max-width: 768px) {
  .orb-animation {
    width: 180px;
    height: 180px;
    filter: blur(18px);
    opacity: 0.6;
    animation: pulse 2s infinite alternate;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .orb-animation {
    animation: none;
    transition: none;
  }
}

.dark-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.white-text {
  color: #fff;
}

.asymmetric-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.asym-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 12px;
}

/* FAQ */
.accordion {
  margin-top: 50px;
}

/* legacy classes kept for backward compatibility */
.acc-item {
  margin-bottom: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
}
.acc-header {
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
}

/* Current accordion markup styles */
.accordion-item {
  margin-bottom: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
}

.accordion-header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: left;
  font-weight: 600;
  color: var(--text);
}

.accordion-header i {
  transition: transform 0.28s ease;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease, padding 0.32s ease;
  padding: 0 18px;
}

.accordion-item.active .accordion-body {
  padding: 18px;
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}
.acc-header:hover {
  background: rgba(255, 255, 255, 0.02);
}
.acc-header span {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease-out;
}
.acc-content p {
  padding: 0 25px 25px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FORM */
.form-holder {
  background: var(--bg-card);
  padding: 60px;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.form-intro {
  text-align: center;
  margin-bottom: 40px;
}
.vertical-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-group input {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 18px;
  color: #fff;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}
.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}
.form-check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
}
.form-check label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.btn-submit {
  background: var(--primary);
  color: #000;
  border: none;
  padding: 20px;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px;
}

/* FOOTER */
.footer {
  padding: 100px 0 40px;
  background: #07090d;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-contacts h4 {
  color: #fff;
  margin-bottom: 25px;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.footer-contacts p {
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-legal h4 {
  color: #fff;
  margin-bottom: 25px;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.footer-legal a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 0.85rem;
}
.footer-legal a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* COOKIE */
.cookie-modal {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--primary);
  z-index: 5000;
  max-width: 400px;
  display: none;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-content i {
  color: var(--primary);
}
.btn-cookie {
  background: var(--primary);
  color: #000;
  border: none;
  padding: 10px 20px;
  font-weight: 800;
  border-radius: 4px;
  cursor: pointer;
}

.pc-no-wrap a {
  color: var(--primary);
  text-decoration: underline;
}

.pc-no-wrap {
    white-space: wrap;
  }

/* RESPONSIVE */
@media (max-width: 1023px) {
  .hero-grid,
  .split-block,
  .cards-layout,
  .modern-grid,
  .asymmetric-layout,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-asymmetric {
    padding: 150px 0 80px;
  }
  .nav-links {
    display: none;
  }
  .menu-open {
    display: block;
  }
  .form-holder {
    padding: 30px;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    margin: 80px 0 30px;
    font-size: 28px;
  }
}
