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

:root {
  --bg-primary: #0a1628;
  --bg-secondary: #0d1f3c;
  --accent: #4da8da;
  --accent-hover: #3d9acc;
  --text-primary: #ffffff;
  --text-secondary: #b8bdc4;
  --text-muted: #7a8089;
  --border: rgba(255, 255, 255, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

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

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #0a1628;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #6ec5ed;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(94, 184, 229, 0.3);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 5rem 0 3rem;
  background: linear-gradient(135deg, #0a1628 0%, #0d1f3c 50%, #0a1628 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(90deg, rgba(77, 168, 218, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(77, 168, 218, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(77, 168, 218, 0.3) 25%, transparent 25%),
    linear-gradient(90deg, transparent 33%, rgba(77, 168, 218, 0.2) 66%, transparent 66%),
    linear-gradient(0deg, transparent 0%, rgba(77, 168, 218, 0.15) 75%, transparent 75%),
    linear-gradient(0deg, transparent 25%, rgba(77, 168, 218, 0.2) 50%, transparent 50%);
  background-size: 100% 1px, 100% 1px, 1px 100%, 1px 100%;
  background-position: 0 25%, 0 66%, 25% 0, 75% 0;
  background-repeat: no-repeat;
  animation: linesPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes linesPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.hero .container {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: clamp(1.25rem, 4vw, 1.875rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-content {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.hero-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-notes {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-notes p {
  margin: 0.5rem 0;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--accent);
  color: #0a1628;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(94, 184, 229, 0.3);
}

.btn-hero:hover {
  background: #6ec5ed;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(94, 184, 229, 0.4);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: #0d1f3c;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  display: block;
  width: 5rem;
  height: 4px;
  background: var(--accent);
  margin: 1rem auto 4rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 4rem;
  line-height: 1.8;
}

.section-highlight {
  text-align: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 3rem;
  font-weight: 500;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.card {
  background: rgba(13, 31, 60, 0.5);
  border: 1px solid rgba(94, 184, 229, 0.15);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.section-alt .card {
  background: rgba(10, 22, 40, 0.5);
}

.card:hover {
  border-color: rgba(94, 184, 229, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(94, 184, 229, 0.15);
}

.card-icon {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

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

/* Timeline */
.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 3rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(94, 184, 229, 0.5), var(--accent));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 6rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 3rem;
}

/* Элементы слева от линии (1 и 3) */
.timeline-item:nth-child(odd) {
  justify-content: flex-end;
  padding-right: calc(50% + 3rem);
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
  max-width: 420px;
}

.timeline-item:nth-child(odd) .timeline-number {
  margin: 0 0 1.5rem auto;
}

/* Элемент справа от линии (2) */
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-left: calc(50% + 3rem);
}

.timeline-item:nth-child(even) .timeline-content {
  text-align: left;
  max-width: 420px;
}

.timeline-item:nth-child(even) .timeline-number {
  margin: 0 auto 1.5rem 0;
}

.timeline-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: 50%;
  font-size: 1.75rem;
  font-weight: 700;
  z-index: 1;
  flex-shrink: 0;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(94, 184, 229, 0.3);
}

.timeline-content h3 {
  font-size: 1.625rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Callout */
.callout {
  text-align: center;
  padding: 2rem 2.5rem;
  border: 2px solid rgba(77, 168, 218, 0.3);
  border-radius: 10px;
  margin-top: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(94, 184, 229, 0.03);
}

.callout p {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .callout {
    padding: 1.5rem;
    margin-top: 3rem;
  }
  
  .callout p {
    font-size: 1.125rem;
  }
}

/* List Items */
.list-items {
  max-width: 800px;
  margin: 0 auto;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(13, 31, 60, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

.section-alt .list-item {
  background: rgba(10, 22, 40, 0.5);
}

.list-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.list-icon-check {
  color: var(--accent);
  background: rgba(77, 168, 218, 0.1);
}

.list-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.contact-card {
  background: rgba(13, 31, 60, 0.6);
  border: 1px solid rgba(94, 184, 229, 0.15);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  color: var(--accent);
  padding: 0.5rem;
  background: rgba(77, 168, 218, 0.1);
  border-radius: 8px;
}

.contact-item h4 {
  margin-bottom: 0.5rem;
}

.contact-item p,
.contact-item a {
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-item a {
  color: var(--accent);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: scale(1.02);
}

.contact-map {
  background: linear-gradient(135deg, rgba(13, 31, 60, 0.6), rgba(10, 22, 40, 0.6));
  border: 1px solid rgba(94, 184, 229, 0.15);
  border-radius: 12px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.contact-map:hover {
  border-color: rgba(94, 184, 229, 0.4);
  box-shadow: 0 8px 24px rgba(94, 184, 229, 0.15);
}

.contact-map a {
  text-align: center;
  text-decoration: none;
  color: var(--text-secondary);
  padding: 3rem;
}

.map-icon {
  width: 5rem;
  height: 5rem;
  color: var(--accent);
  margin: 0 auto 1.5rem;
  transition: transform 0.3s;
}

.contact-map:hover .map-icon {
  transform: scale(1.1);
}

.contact-map p {
  margin: 0.5rem 0;
}

/* Warning Section */
.warning-section {
  padding: 5rem 0;
  background: linear-gradient(90deg, #1a1a2e, #16213e, #1a1a2e);
  border-top: 4px solid #f59e0b;
}

.warning-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.warning-text {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.warning-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
}

.warning-features span:nth-child(odd) {
  color: var(--text-primary);
}

.warning-features span:nth-child(2n+1):not(.dot) {
  color: var(--accent);
}

.dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

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

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(94, 184, 229, 0.4);
  transition: all 0.3s;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(94, 184, 229, 0.5);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Responsive */
@media (max-width: 1023px) and (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .timeline {
    max-width: 700px;
  }
  
  .timeline-item:nth-child(odd) {
    padding-right: calc(50% + 2rem);
  }
  
  .timeline-item:nth-child(even) {
    padding-left: calc(50% + 2rem);
  }
  
  .timeline-content {
    max-width: 350px;
  }
  
  .timeline-content h3 {
    font-size: 1.375rem;
  }
  
  .timeline-content p {
    font-size: 0.9375rem;
  }
  
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 767px) {
  .nav-container {
    padding: 0.75rem 1rem;
  }
  
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    gap: 0;
  }
  
  .nav-links a {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  
  .nav-links a:last-child {
    border-bottom: none;
  }
  
  .hero {
    padding: 6rem 0 4rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-content {
    margin-bottom: 2rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .hero-notes {
    font-size: 0.875rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
  }
  
  .section-title::after {
    width: 4rem;
    height: 3px;
    margin: 0.75rem auto 3rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 3rem;
  }
  
  .section-highlight {
    font-size: 1.25rem;
    margin-top: 2.5rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .list-item {
    padding: 1rem;
    flex-direction: row;
  }
  
  .list-icon {
    width: 2rem;
    height: 2rem;
  }
  
  .timeline {
    padding: 2rem 0;
  }
  
  .timeline::before {
    display: none;
  }
  
  .timeline-item {
    padding: 0 !important;
    justify-content: center !important;
    margin-bottom: 3.5rem;
  }
  
  .timeline-item:last-child {
    margin-bottom: 2rem;
  }
  
  .timeline-content {
    max-width: 100% !important;
    text-align: center !important;
  }
  
  .timeline-number {
    margin: 0 auto 1.5rem !important;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
  }
  
  .timeline-content h3 {
    font-size: 1.375rem;
  }
  
  .timeline-content p {
    font-size: 0.9375rem;
  }
  
  .callout {
    padding: 1.5rem;
    margin-top: 3rem;
  }
  
  .callout p {
    font-size: 1.125rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-box {
    padding: 2rem 1.5rem;
  }
  
  .contact-map {
    min-height: 300px;
  }
  
  .contact-map a {
    padding: 2rem 1.5rem;
  }
  
  .map-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
  }
  
  .btn-whatsapp {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
  
  .warning-section {
    padding: 3rem 0;
  }
  
  .warning-badge {
    font-size: 0.8125rem;
    padding: 0.375rem 0.875rem;
    margin-bottom: 1.5rem;
  }
  
  .warning-text {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }
  
  .warning-features {
    flex-direction: column;
    gap: 0.75rem;
    font-size: 1rem;
  }
  
  .warning-features .dot {
    display: none;
  }
  
  .footer {
    padding: 2.5rem 0 2rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .back-to-top {
    width: 3rem;
    height: 3rem;
    bottom: 1rem;
    right: 1rem;
  }
  
  .back-to-top svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex !important;
  }

  .hero {
    padding: 8rem 0 5rem;
  }

  .section {
    padding: 7rem 0;
  }

  .timeline::before {
    display: block;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .warning-section {
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

/* Дополнительный слой для "летающих" частиц-полосок (по желанию) */
.hero-glow-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-glow-lines::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 25%;
  width: 1px;
  height: 200%;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  animation: slideVertical 6s ease-in-out infinite;
  opacity: 0.4;
}

.hero-glow-lines::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 40%;
  width: 200%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  animation: slideHorizontal 10s ease-in-out infinite;
  opacity: 0.4;
}

/* Анимации */
@keyframes gridScan {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

@keyframes slideVertical {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes slideHorizontal {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Фикс для контента, чтобы он был поверх сетки */
.hero .container {
  position: relative;
  z-index: 10;
  text-align: center;
}