/* Reset и базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-dark: #0a0a14;
  --secondary-dark: #1a1a2e;
  --accent-blue: #00b4d8;
  --accent-purple: #9d4edd;
  --text-light: #e0e0e0;
  --text-gray: #8a8a8a;
  --success: #4cc9f0;
  --warning: #f8961e;
  --danger: #f94144;
  --card-bg: rgba(30, 30, 46, 0.7);
  --border-color: rgba(100, 100, 140, 0.3);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --gradient: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  --transition: all 0.3s ease;
}

body {
  font-family: 'Rubik', sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

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

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */
.header {
  background-color: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  position: relative;
  width: 40px;
  height: 40px;
}

.logo-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

.logo-circle::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-dark);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 12px;
  color: var(--text-gray);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  padding: 8px 0;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

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

.theme-toggle {
  color: var(--text-light);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover {
  color: var(--accent-blue);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.1) 0%, transparent 70%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 25px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.hero-title {
  font-size: 3.2rem;
  margin-bottom: 15px;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text-gray);
  margin-bottom: 25px;
  font-weight: 400;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 35px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-gray);
}

/* Network Visualization */
.network-visual {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.node {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.node:hover {
  border-color: var(--accent-blue);
  transform: scale(1.05);
}

.node i {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--accent-blue);
}

.node span {
  font-size: 12px;
  color: var(--text-light);
}

.center-node {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: rgba(0, 180, 216, 0.1);
  border-color: var(--accent-blue);
}

.center-node i {
  font-size: 32px;
}

.node-1 {
  top: 20%;
  left: 20%;
}

.node-2 {
  top: 20%;
  right: 20%;
}

.node-3 {
  bottom: 20%;
  left: 20%;
}

.node-4 {
  bottom: 20%;
  right: 20%;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

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

.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.warning-box {
  background: rgba(248, 150, 30, 0.1);
  border: 1px solid rgba(248, 150, 30, 0.3);
  border-radius: 10px;
  padding: 20px;
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.warning-box i {
  color: var(--warning);
  font-size: 24px;
  flex-shrink: 0;
}

.warning-box h4 {
  color: var(--warning);
  margin-bottom: 8px;
}

.feature-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.image-caption {
  margin-top: 15px;
  text-align: center;
  color: var(--text-gray);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Access Section */
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.access-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.access-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-blue);
}

.access-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 48px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
}

.access-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 180, 216, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-blue);
  font-size: 24px;
}

.access-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.access-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

.technical-info {
  background: rgba(30, 30, 46, 0.5);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid var(--border-color);
}

.technical-info h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--accent-blue);
}

.code-block {
  background: #1e1e2e;
  border-radius: 10px;
  padding: 20px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  border: 1px solid var(--border-color);
}

.code-block pre {
  margin: 0;
}

.code-block code {
  color: #8be9fd;
}

/* Features Section */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--accent-blue);
  transform: translateX(10px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(157, 78, 221, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  font-size: 20px;
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-content p {
  color: var(--text-gray);
  line-height: 1.6;
}

.note-box {
  background: rgba(76, 201, 240, 0.1);
  border: 1px solid rgba(76, 201, 240, 0.3);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.note-box i {
  color: var(--success);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.note-box p {
  color: var(--text-light);
}

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

.privacy-text .section-title {
  text-align: left;
  margin-bottom: 25px;
}

.privacy-text p {
  margin-bottom: 20px;
  line-height: 1.7;
}

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

.privacy-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: var(--transition);
}

.privacy-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-5px);
}

.privacy-card i {
  font-size: 32px;
  color: var(--accent-purple);
  margin-bottom: 15px;
}

.privacy-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.privacy-card p {
  color: var(--text-gray);
  font-size: 14px;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 500;
}

.faq-question i {
  color: var(--accent-blue);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 25px 25px;
  max-height: 200px;
}

.faq-answer p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--secondary-dark);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-tagline {
  color: var(--text-gray);
  margin-top: 15px;
  line-height: 1.6;
}

.footer-disclaimer {
  background: rgba(249, 65, 68, 0.05);
  border: 1px solid rgba(249, 65, 68, 0.2);
  border-radius: 15px;
  padding: 25px;
  display: flex;
  gap: 20px;
}

.disclaimer-icon {
  color: var(--danger);
  font-size: 24px;
  flex-shrink: 0;
}

.disclaimer-text h4 {
  color: var(--danger);
  margin-bottom: 10px;
}

.disclaimer-text p {
  color: var(--text-gray);
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent-blue);
}

.footer-copyright {
  color: var(--text-gray);
  font-size: 14px;
}

.copyright-note {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .about-content,
  .privacy-content {
      grid-template-columns: 1fr;
      gap: 40px;
  }
  
  .access-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
      grid-template-columns: 1fr;
      gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: rgba(10, 10, 20, 0.95);
      backdrop-filter: blur(10px);
      flex-direction: column;
      padding: 20px;
      border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
      display: flex;
  }
  
  .menu-toggle {
      display: block;
  }
  
  .theme-toggle {
      display: none;
  }
  
  .hero-title {
      font-size: 2.5rem;
  }
  
  .hero-subtitle {
      font-size: 1.2rem;
  }
  
  .access-grid {
      grid-template-columns: 1fr;
  }
  
  .network-visual {
      width: 300px;
      height: 300px;
  }
  
  .privacy-visual {
      grid-template-columns: 1fr;
  }
}