/* === BASE STYLES === */:root {
  --primary-electric: #00F0FF;
  --primary-deep: #0077FF;
  --accent-neon: #FF00F7;
  --accent-warm: #FF3D00;
  --dark-bg: #0A0E27;
  --dark-card: #141B3D;
  --dark-surface: #1E2749;
  --text-light: #FFFFFF;
  --text-muted: #A0A8C8;
  --gradient-primary: linear-gradient(135deg, var(--primary-electric) 0%, var(--primary-deep) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-neon) 0%, var(--accent-warm) 100%);
  --gradient-dark: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-card) 100%);
  --shadow-sm: 0 4px 12px rgba(0, 240, 255, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 240, 255, 0.25);
  --shadow-lg: 0 16px 48px rgba(0, 240, 255, 0.35);
  --shadow-glow: 0 0 30px rgba(0, 240, 255, 0.4);
}

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

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.7;
  font-size: 16px;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(36px, 5vw, 72px);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(32px, 4vw, 56px);
  color: var(--text-light);
  margin-bottom: 2rem;
}

h3 {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--primary-electric);
  margin-bottom: 1.25rem;
}

h4 {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--text-light);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 17px;
}

a {
  color: var(--primary-electric);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-neon);
}

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  min-width: 44px;
  min-height: 44px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: var(--text-light);
}

.cta-button {
  background: var(--gradient-accent);
  color: var(--text-light);
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 18px;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 60px rgba(255, 0, 247, 0.5);
  color: var(--text-light);
}

.cta-button:hover::after {
  left: 100%;
}

.card {
  background: var(--dark-card);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 240, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 240, 255, 0.3);
}

.card:hover::before {
  transform: scaleX(1);
}

.highlight-box {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(0, 119, 255, 0.1) 100%);
  border-left: 4px solid var(--primary-electric);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
}

.info-card {
  background: var(--dark-surface);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 0, 247, 0.2);
  margin: 1.5rem 0;
}

.promo-block {
  background: linear-gradient(135deg, var(--dark-card) 0%, var(--dark-surface) 100%);
  padding: 2rem;
  border-radius: 20px;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  margin: 2rem 0;
}

.promo-block::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-accent);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.5;
}

.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--dark-card);
}

thead {
  background: var(--gradient-primary);
}

thead th {
  color: var(--text-light);
  font-weight: 700;
  padding: 1rem;
  text-align: left;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

tbody tr {
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  transition: background 0.3s ease;
}

tbody tr:hover {
  background: rgba(0, 240, 255, 0.05);
}

tbody td {
  padding: 1rem;
  color: var(--text-muted);
  font-size: 15px;
}

.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-electric);
  font-weight: bold;
  font-size: 18px;
  width: 24px;
  height: 24px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-image {
  max-width: 100%;
  margin: 1.5rem auto;
  text-align: center;
}

.content-image img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.content-image.portrait img {
  max-height: 350px;
  max-width: 300px;
}

.content-image.wide img {
  max-height: 300px;
  max-width: 100%;
}

.content-image figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* === LAYOUT STYLES === */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.1rem;
}

.logo {
  display: inline-block;
}

.logo img {
  max-height: 50px;
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.hamburger {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--primary-electric);
  margin: 4px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav ul li a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

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

nav ul li a:hover::after {
  width: 100%;
}

header .cta-button {
  padding: 12px 28px;
  font-size: 15px;
  white-space: nowrap;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

footer {
  background: var(--dark-card);
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--primary-electric);
  margin-bottom: 1.5rem;
  font-size: 20px;
}

.footer-section p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: var(--text-muted);
  transition: color 0.3s ease;
  font-size: 15px;
}

.footer-section ul li a:hover {
  color: var(--primary-electric);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 991px) {
  header nav {
    order: 3;
    width: 100%;
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  header nav ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  }

  header nav ul li a {
    display: block;
    padding: 1rem;
  }

  header .cta-button {
    order: 2;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 767px) {
  header .container {
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
  }

  .hamburger {
    display: flex;
    order: 2;
  }

  header nav {
    order: 4;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  header nav.active {
    max-height: 500px;
  }

  header .cta-button {
    order: 3;
  }
}

@media (max-width: 767px) {
  section {
    padding: 3rem 0;
  }

  .hero-section {
    padding: 5rem 0 4rem;
  }

  .hero-section p {
    font-size: 16px;
  }

  .hero-section .cta-button {
    font-size: 18px;
    padding: 18px 40px;
  }

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

  .cards-grid-2 {
    grid-template-columns: 1fr;
  }

  .cards-grid-3 {
    grid-template-columns: 1fr;
  }

  .cards-grid article {
    padding: 1.5rem;
  }

  .accordion-header {
    padding: 1.25rem 1.5rem;
    font-size: 18px;
    padding-right: 3rem;
  }

  .accordion-header::after {
    right: 1.5rem;
  }

  .accordion-body {
    padding: 0 1.5rem;
  }

  .accordion-item.active .accordion-body {
    padding: 0 1.5rem 1.25rem;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .cta-section p {
    font-size: 16px;
  }

  .cta-section .cta-button {
    font-size: 18px;
    padding: 18px 40px;
  }

  h2 {
    font-size: 32px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  .hero-section .cta-button,
  .cta-section .cta-button {
    width: 100%;
    padding: 16px 30px;
  }
}