body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #fafafa;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.typing {
  white-space: pre-wrap;
  word-wrap: break-word;
  border-right: 2px solid #1a56db;
  animation: blink 1s step-end infinite;
  padding: 0.5rem 0;
  font-size: 1.1rem;
  line-height: 1.6;
  min-height: 1.5em;
}
@keyframes blink {
  50% { border-color: transparent; }
}
.thinking-dots {
  color: #1a56db;
  font-weight: bold;
}
.thinking-dots .dot1 {
  animation: thinking1 1.5s ease-in-out infinite;
}
.thinking-dots .dot2 {
  animation: thinking2 1.5s ease-in-out infinite;
}
.thinking-dots .dot3 {
  animation: thinking3 1.5s ease-in-out infinite;
}
@keyframes thinking1 {
  0%, 20% { opacity: 1; }
  40%, 100% { opacity: 0.3; }
}
@keyframes thinking2 {
  0%, 20% { opacity: 0.3; }
  30%, 50% { opacity: 1; }
  70%, 100% { opacity: 0.3; }
}
@keyframes thinking3 {
  0%, 50% { opacity: 0.3; }
  60%, 80% { opacity: 1; }
  90%, 100% { opacity: 0.3; }
}
.personal {
  background: #f0f8ff;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 2rem;
}
.personal-next {
  background: #f0f8ff;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: -4rem;
}
.personal h2 {
  margin-top: 0;
  color: #1a56db;
}
.personal ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}
.cta-button {
  display: inline-block;
  background: #1a56db;
  color: white;
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: bold;
  margin-top: 1rem;
  box-shadow: 0 4px 10px rgba(26, 86, 219, 0.3);
}
.cta-button:hover {
  background: #0d47a1;
}
footer {
  text-align: center;
  margin-top: 3rem;
  color: #777;
  font-size: 0.9rem;
}

/* Анимация точек в кнопке */
.cta-button .button-dots {
  display: inline-block;
  margin-left: 4px;
  font-weight: 900;
  font-size: 1.2em;
  color: inherit;
}

.cta-button .button-dots span {
  display: inline-block;
  animation: dotPulse 1.4s infinite ease-in-out;
  opacity: 0.3;
}

.cta-button .button-dots .dot1 {
  animation-delay: 0s;
}

.cta-button .button-dots .dot2 {
  animation-delay: 0.2s;
}

.cta-button .button-dots .dot3 {
  animation-delay: 0.4s;
}

@keyframes dotPulse {
  0%, 80%, 100% { 
    opacity: 0.3;
    transform: scale(1);
  }
  40% { 
    opacity: 1;
    transform: scale(1.2);
  }
}


 /* Минималистичный адаптивный стиль */
 .ii-page {
   font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
   line-height: 1.6;
   margin: 0;
   padding: 0;
   color: #333;
   background-color: #fafafa;
   /* Override global body styles from main.css */
   background-image: none !important;
   backdrop-filter: none !important;
   font-size: 16px !important;
   width: 100%;
   min-height: 100vh;
 }

/* Force system sans-serif fonts on the whole page, overriding global body rule */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Override heading and basic text elements inside ii-page */
.ii-page, .ii-page h1, .ii-page h2, .ii-page h3, .ii-page h4, .ii-page h5, .ii-page h6,
.ii-page p, .ii-page li, .ii-page a, .ii-page ul {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

header {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #e6f2ff, #f0f8ff);
}
h1 {
  font-size: 2rem;
  color: #1a56db;
  margin-bottom: 1.5rem;
  margin-top: 50px !important;
  margin-bottom: 10px !important;
}
/*h1 {
  font-size: 2.2rem;
  margin: 0 0 0.5rem;
  color: #1a56db;
}*/
.subtitle {
  font-size: 1.2rem;
  color: #555;
  max-width: 760px;
  margin: 0 auto;
}
.hero {
  text-align: center;
  padding: 0.5rem 1rem 2rem 1rem; /* уменьшили верхний отступ */
}
.cta-button {
  display: inline-block;
  background: #1a56db;
  color: white;
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  margin: 1rem 0;
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
  transition: background 0.3s;
}
.cta-button:hover {
  background: #0d47a1;
}
.features {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  font-size: 1.2rem;
}
.features h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1a56db;
  font-size: 1.5rem;
}
.features ul {
  padding-left: 1.5rem;
  font-size: 1.0rem;
}
.faq {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  font-size: 1.0rem;
}
.faq h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1a56db;
}
/*footer {
  text-align: center;
  padding: 1.5rem;
  color: #777;
  font-size: 0.9rem;
  !*border-top: 1px solid #eee;*!
}*/

.section {
  max-width: 860px;
  margin: 0 auto 1rem;
  padding: 0 1rem;
}
.section.reduced-top {
  margin-top: -1rem; /* уменьшаем верхний отступ */
}
.section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1a56db;
}
.section ul {
  padding-left: 1.5rem;
}
/* Анимация трех точек */
.thinking-dots {
  display: inline-block;
  margin-left: 4px;
  font-weight: 900; /* максимальная жирность */
  font-size: 1.2em; /* чуть крупнее */
  color: inherit; /* наследует цвет от родителя */
}

.thinking-dots span {
  display: inline-block;
  animation: dotPulse 1.4s infinite ease-in-out;
  opacity: 0.3;
}

.thinking-dots .dot1 {
  animation-delay: 0s;
}

.thinking-dots .dot2 {
  animation-delay: 0.2s;
}

.thinking-dots .dot3 {
  animation-delay: 0.4s;
}

@keyframes dotPulse {
   0%, 80%, 100% {
     opacity: 0.3;
     transform: scale(1);
   }
   40% {
     opacity: 1;
     transform: scale(1.2);
   }
 }

@media(max-width: 600px) {
  h1 { font-size: 1.8rem; }
  .subtitle { font-size: 1rem; }
}
