* {
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

/* ==================== БАЗОВЫЕ СТИЛИ ==================== */

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}

*,
::after,
::before {
  box-sizing: inherit;
}

body {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  color: #f1f1f1;
  background: linear-gradient(253.67deg, #001411 2.27%, #013930 24.48%);
  background-attachment: fixed;
}

main {
  display: block;
  min-width: 0;
}

/* ==================== ТИПОГРАФИКА ==================== */

h1 {
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  line-height: 1.3;
  margin: 40px auto 30px;
  max-width: 900px;
  color: #ffffff;
  
  /* Градиентный текст с неоновой подсветкой */
  background: linear-gradient(90deg, #ffffff 0%, #2dd4bf 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
  text-shadow: 0 0 20px rgba(45, 212, 191, 0.4);
}

h2 {
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
  color: #2dd4bf;
  text-align: center;
  margin: 40px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(45, 212, 191, 0.3);
}

h3 {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  color: #ffffff;
  margin: 30px 0 15px;
}

p {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: #e5e5e5;
  margin-bottom: 20px;
}

strong {
  font-weight: 700;
  color: #ffffff;
}

a {
  color: #2dd4bf;
  transition: all 0.3s ease;
  text-decoration: none;
}

a:hover {
  color: #14b8a6;
  text-decoration: underline;
}

/* ==================== HEADER ==================== */

.header-main {
  display: block;
  position: fixed;
  width: 100%;
  height: 80px;
  top: 0;
  left: 0;
  z-index: 9999;
  background: rgba(0, 16, 14, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(45, 212, 191, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-main_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3.6rem;
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-name {
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  margin-left: 10px;
  color: #2dd4bf;
  transition: color 0.3s ease;
}

.logo-name:hover {
  color: #14b8a6;
}

.wite {
  font-size: 32px;
  font-weight: 900;
  cursor: pointer;
  margin-left: 10px;
  background: linear-gradient(90deg, #ff4d4d, #ff7070);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quick-start-section a {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4d4d, #ff2400);
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 24px;
  margin-left: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 36, 0, 0.3);
}

.quick-start-section a:hover {
  background: linear-gradient(135deg, #ff2400, #cc1e00);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 36, 0, 0.5);
}

/* ==================== BUTTONS ==================== */

.wp-block-button__link,
.wp-element-button,
button {
  border-radius: 8px;
  background: linear-gradient(135deg, #ff4d4d, #ff2400);
  color: #fff;
  padding: 16px 32px;
  border: 0;
  line-height: 1.6;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 36, 0, 0.3);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.wp-block-button__link:hover,
.wp-element-button:hover,
button:hover {
  background: linear-gradient(135deg, #ff2400, #cc1e00);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 36, 0, 0.5);
}

.animation-btn {
  animation: glowing 2s infinite, pulse 2s infinite;
}

@keyframes glowing {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 36, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 36, 0, 0.8), 0 0 40px rgba(45, 212, 191, 0.4);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ==================== РАМКА ДЛЯ ОПИСАНИЯ ==================== */

.pinco-frame {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  border: 3px solid transparent;
  border-radius: 16px;
  background: 
    linear-gradient(135deg, #0f2c2c, #093d3d) padding-box,
    linear-gradient(135deg, #2dd4bf, #14b8a6, #ff4d4d) border-box;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.pinco-frame::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(45, 212, 191, 0.1) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.pinco-frame h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #ffffff;
  border-bottom: none;
  position: relative;
  z-index: 1;
}

.pinco-frame p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

/* ==================== ТАБЛИЦЫ ==================== */

.responsive-table {
  max-width: 100%;
  overflow-x: auto;
  margin: 30px 0;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.entry-content-section-wrapper table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 0;
  border-spacing: 0;
  background: linear-gradient(135deg, #0f2c2c, #093d3d);
  border-radius: 12px;
  overflow: hidden;
}

.entry-content-section-wrapper thead th {
  background: linear-gradient(90deg, #2dd4bf, #14b8a6);
  color: #ffffff;
  text-align: left;
  font-size: 16px;
  padding: 16px 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.entry-content-section-wrapper tbody tr {
  transition: background 0.3s ease;
}

.entry-content-section-wrapper tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.entry-content-section-wrapper tbody tr:hover {
  background: rgba(45, 212, 191, 0.1);
}

.entry-content-section-wrapper td {
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 400;
  padding: 14px 18px;
  font-size: 15px;
  color: #e5e5e5;
}

.entry-content-section-wrapper td:first-child {
  font-weight: 600;
  color: #2dd4bf;
  width: 35%;
}

.entry-content-section-wrapper tbody tr:last-child td {
  border-bottom: none;
}

/* Таблица с эмодзи */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px auto;
  background: linear-gradient(135deg, #0f2c2c, #093d3d);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.info-table thead th {
  background: linear-gradient(90deg, #2dd4bf, #14b8a6);
  color: #fff;
  text-align: center;
  font-size: 18px;
  padding: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
}

.info-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.05);
}

.info-table td:first-child {
  font-weight: 600;
  color: #2dd4bf;
  width: 40%;
}

.info-table tbody tr:hover {
  background: rgba(20, 184, 166, 0.15);
  transition: 0.3s;
}

/* ==================== СПИСКИ ==================== */

.pinco-ul {
  list-style: none;
  margin: 20px 0;
  padding-left: 0;
}

.pinco-ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  line-height: 1.7;
  font-size: 16px;
  color: #e5e5e5;
}

.pinco-ul li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 2px;
  color: #2dd4bf;
  font-size: 16px;
  line-height: 1.7;
}

.pinco-list {
  counter-reset: pinco-counter;
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.pinco-list li {
  counter-increment: pinco-counter;
  position: relative;
  padding-left: 35px;
  margin-bottom: 16px;
  line-height: 1.7;
  color: #e5e5e5;
  font-size: 16px;
}

.pinco-list li::before {
  content: counter(pinco-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: #ff4d4d;
  font-size: 18px;
}

/* Стандартные списки в контенте */
.simple-content-section ul,
.entry-content ul {
  list-style: none;
  margin: 20px 0;
  padding-left: 0;
}

.simple-content-section ul li,
.entry-content ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  line-height: 1.7;
  font-size: 16px;
  color: #e5e5e5;
}

.simple-content-section ul li::before,
.entry-content ul li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 2px;
  color: #2dd4bf;
  font-size: 16px;
}

.simple-content-section ol,
.entry-content ol {
  counter-reset: list-counter;
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.simple-content-section ol li,
.entry-content ol li {
  counter-increment: list-counter;
  position: relative;
  padding-left: 35px;
  margin-bottom: 16px;
  line-height: 1.7;
  color: #e5e5e5;
  font-size: 16px;
}

.simple-content-section ol li::before,
.entry-content ol li::before {
  content: counter(list-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: #ff4d4d;
  font-size: 18px;
}

/* ==================== ИЗОБРАЖЕНИЯ ==================== */

.responsive-img {
  text-align: center;
  margin: 30px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.responsive-img img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

/* ==================== LAYOUT ==================== */

#wrapper {
  overflow: hidden;
  overflow: clip;
}

#inner-wrap {
  border-top: 80px solid transparent;
}

.content-area {
  margin: 0;
  padding: 40px 0;
}

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

.entry-content-section-wrapper {
  padding: 40px 30px;
  background: linear-gradient(253.67deg, #001411 2.27%, #013930 24.48%);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* ==================== FOOTER ==================== */

footer {
  background: linear-gradient(180deg, #0f2c2c 0%, #081f1f 100%);
  padding: 40px 20px 20px;
  border-top: 3px solid #2dd4bf;
  margin-top: 60px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

footer ul li a {
  color: #e5e5e5;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: #2dd4bf;
  text-decoration: underline;
}

footer small {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer small p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  margin: 0;
}

/* ==================== HAMBURGER MENU ==================== */

.left-part-navigation {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #2dd4bf;
  position: absolute;
  height: 3px;
  width: 28px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -9px;
}

.menu-button::after {
  content: '';
  margin-top: 9px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

.hamburger-menu {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(0, 16, 14, 0.98);
  backdrop-filter: blur(10px);
  padding: 0;
  margin: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hamburger-menu li {
  list-style: none;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(45, 212, 191, 0.2);
}

.hamburger-menu li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.hamburger-menu li a:hover {
  color: #2dd4bf;
}

/* ==================== MEDIA QUERIES ==================== */

@media (max-width: 1024px) {
  .header-main_wrapper {
    padding: 0 20px;
  }
  
  .entry-content-section-wrapper {
    padding: 30px 20px;
  }
  
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .menu-button-container {
    display: flex;
  }
  
  .hamburger-menu {
    display: none;
  }
  
  #menu-toggle:checked ~ .hamburger-menu {
    display: block;
  }
  
  .header-main {
    height: 70px;
  }
  
  .header-main_wrapper {
    height: 70px;
    padding: 0 15px;
  }
  
  #inner-wrap {
    border-top: 70px solid transparent;
  }
  
  .wite {
    font-size: 26px;
  }
  
  .quick-start-section a {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  h1 {
    font-size: 24px;
    margin: 30px auto 20px;
  }
  
  h2 {
    font-size: 22px;
  }
  
  .pinco-frame {
    padding: 20px;
    margin: 30px auto;
  }
  
  .entry-content-section-wrapper {
    padding: 20px 15px;
  }
  
  .entry-content-section-wrapper td {
    font-size: 14px;
    padding: 12px 10px;
  }
  
  .entry-content-section-wrapper td:first-child {
    width: 40%;
  }
}

@media (max-width: 480px) {
  .quick-start-section a {
    padding: 8px 12px;
    font-size: 12px;
    margin-left: 5px;
  }
  
  .logo-name {
    font-size: 14px;
  }
  
  .wite {
    font-size: 22px;
  }
  
  h1 {
    font-size: 22px;
  }
  
  h2 {
    font-size: 20px;
  }
  
  .wp-block-button__link,
  button {
    padding: 14px 24px;
    font-size: 14px;
  }
  
  .entry-content-section-wrapper td {
    font-size: 13px;
    padding: 10px 8px;
  }
  
  footer ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* ==================== UTILITY CLASSES ==================== */

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.wp-block-buttons.aligncenter,
.wp-block-button.aligncenter {
  justify-content: center;
  text-align: center;
  margin-bottom: 30px;
}

.hide-focus-outline :focus {
  outline: 0;
}

/* ==================== WORDPRESS BLOCKS ==================== */

.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 30px 0;
}

.wp-block-button {
  margin: 0;
}

.is-layout-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.wp-block-image {
  margin-bottom: 30px;
}

.wp-block-image.aligncenter {
  text-align: center;
}
/* ==================== HERO IMAGE (под H1) ==================== */

.hero-image-wrapper {
  max-width: 1000px;
  margin: 30px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(45, 212, 191, 0.2);
  position: relative;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(1, 52, 48, 0) 0%,
    rgba(1, 52, 48, 0.3) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 450px;
}

/* Анимация появления */
.hero-image-wrapper {
  animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==================== АДАПТИВ ДЛЯ HERO IMAGE ==================== */

@media (max-width: 1024px) {
  .hero-image-wrapper {
    max-width: 90%;
    margin: 25px auto;
  }
  
  .hero-image-wrapper img {
    max-height: 380px;
  }
}

@media (max-width: 768px) {
  .hero-image-wrapper {
    max-width: 95%;
    margin: 20px auto;
    border-radius: 12px;
  }
  
  .hero-image-wrapper img {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-image-wrapper {
    max-width: 100%;
    margin: 15px 0;
    border-radius: 8px;
  }
  
  .hero-image-wrapper img {
    max-height: 220px;
  }
}

/* ==================== ОБНОВЛЕНИЕ СТАРЫХ СТИЛЕЙ ==================== */

/* Обновляем стандартный responsive-img для других картинок */
.responsive-img:not(.hero-image-wrapper) {
  text-align: center;
  margin: 30px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.responsive-img:not(.hero-image-wrapper) img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
