/* style.css — базовый стиль для Buildstudio */

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #0e1a2b; /* или другой тёмный */
  position: relative; 
  color: #222;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at center, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8) 100%),
    url('/assets/bg/wordcloud.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
/*  opacity: 0.2; /* регулируй как удобно */
  pointer-events: none;
}

header, section, .sta, nav, footer {
  border: 2px solid red;
  border-radius: 10px;
}

header, section, footer {
  background-color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  z-index: 1;
  margin-top: 1rem;
}

header {
/*  border-bottom: 1px solid red;*/
  text-align: center;
}

header h1 {
  margin: 0.2em 0;
  font-size: 2.2em;
  color: #2b2b2b;
}

header p {
  font-size: 1.1em;
  color: #666;
}

nav a {
  text-decoration: none;
  margin: 0 0.5rem;
  font-weight: bold;
  color: #0066cc;
}

nav a:hover {
  text-decoration: underline;
}

section h2 {
  font-size: 1.6em;
  color: #333;
  margin-bottom: 0.5em;
}

ul, ol {
  padding-left: 1.2em;
}

ul li, ol li {
  margin-bottom: 0.5em;
}

.cta {
  text-align: center;
  background: #f5f5f5;
  padding: 2em 1em;
  margin-top: 1em;
}

.cta-button {
  display: inline-block;
  margin-top: 1em;
  background: #0077cc;
  color: #fff;
  padding: 0.8em 1.5em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #005fa3;
}

footer {
  text-align: center;
  font-size: 0.9em;
  color: #888;
  background-color: #fff;
  padding-top: 1rem;
  margin-top: 1rem;
}

.feature-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.feature-block .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.feature-block.left .illustration {
  order: 0;
}
.feature-block.left .feature-text {
  order: 1;
}

.illustration img {
  width: 200px;
  height: auto;
  display: block;
}

.feature-text {
  flex: 1 1 400px;
  max-width: 500px;
}

@media (max-width: 600px) {
  .feature-block .container {
    flex-direction: column;
    text-align: center;
  }
}

