:root {
  --bg-main: #0a0a0a;
  --bg-darker: #050505;
  --bg-card: #141414;
  --text-main: #e0e0e0;
  --text-muted: #a0a0a0;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --border: #262626;
  --font-main: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3 {
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.2rem;
}
h3 {
  font-size: 1.3rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.mono {
  font-family: var(--font-mono);
}

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}
.bg-darker {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.max-width-800 {
  max-width: 800px;
  margin: 0 auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 20px 0;
}

.header__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: #fff;
}

.logo i {
  color: var(--accent);
}

.logo img {
  width: 52px;
  height: 52px;
}

.desktop-nav {
  display: flex;
  gap: 30px;
}

.desktop-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.line {
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-main);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Hero */
.hero {
  padding: 180px 0 100px;
  background-image: url("./images/6194995.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
}

.hero__content {
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 24px;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
  border: 1px solid transparent;
}

.btn--primary {
  background-color: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--text-main);
}

.btn--outline:hover {
  border-color: var(--text-main);
}

.btn--submit {
  width: 100%;
  background-color: var(--text-main);
  color: var(--bg-main);
  margin-top: 20px;
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.9rem;
  background-color: var(--accent);
  color: #fff;
  border: none;
}

/* Grids */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

/* Cards */
.tech-card,
.feature-box,
.info-card {
  background: var(--bg-card);
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 0.3s, border-color 0.3s;
}

.tech-card:hover,
.feature-box:hover,
.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.tech-card i,
.info-card i {
  color: var(--accent);
  margin-bottom: 15px;
  width: 32px;
  height: 32px;
}

/* Architecture Diagram */
.architecture-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  font-family: var(--font-mono);
  margin-top: 40px;
}

.arch-node {
  padding: 15px 30px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.05);
  min-width: 200px;
  text-align: center;
}

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

.arch-split {
  display: flex;
  gap: 40px;
}

.arch-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* List */
.tech-list {
  margin-top: 20px;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}

.tech-list li {
  margin-bottom: 15px;
  color: var(--text-muted);
}

.tech-list strong {
  color: #fff;
}

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.step {
  position: relative;
  padding-top: 20px;
  border-top: 2px solid var(--border);
  transition: border-color 0.3s;
}

.step:hover {
  border-color: var(--accent);
}

.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--border);
  margin-bottom: 10px;
  font-weight: 700;
}

.step:hover .step-num {
  color: var(--accent);
}

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

.acc-item {
  border-bottom: 1px solid var(--border);
}

.acc-header {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  transition: color 0.3s;
}

.acc-header:hover {
  color: var(--accent);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.acc-body p {
  padding-bottom: 20px;
  font-size: 0.95rem;
}

/* Form */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.input-group input {
  width: 100%;
  padding: 12px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 4px;
  font-family: var(--font-main);
}

.input-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group a {
  color: var(--accent);
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
}

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

.copyright {
  margin-top: 20px;
  opacity: 0.5;
}

/* Cookie */
.cookie-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  padding: 20px;
  max-width: 350px;
  border-radius: 8px;
  display: none;
  z-index: 200;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-text p {
  margin-bottom: 15px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .burger-btn {
    display: flex;
  }

  h1 {
    font-size: 2.5rem;
  }

  .content-grid,
  .grid-3,
  .grid-2,
  .process-steps,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
  .arch-node {
    min-width: 150px;
  }
}

.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;
}

@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;
  }
}

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

.margin {
  margin: 120px 0 50px;
}
