
:root {
  --primary-color: #1e3a8a;
  --accent-color: #3b82f6;
  --bg-color: #f9fafb;
  --text-color: #1f2937;
}
[data-theme="dark"] {
  --bg-color: #0f172a;
  --text-color: #f1f5f9;
  --primary-color: #0e1e52;
  --accent-color: #60a5fa;
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  scroll-behavior: smooth;
}
header {
  background: var(--primary-color);
  color: white;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
nav {
  display: flex;
  gap: 1em;
  align-items: center;
}
nav a, .toggle-theme {
  color: white;
  text-decoration: none;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle {
  display: none;
  font-size: 1.5em;
  cursor: pointer;
}
.hero {
  padding: 4em 2em;
  background: white;
  text-align: center;
}
.btn {
  background: var(--accent-color);
  color: white;
  padding: 1em 2em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.section {
  padding: 4em 2em;
  max-width: 1200px;
  margin: 0 auto;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5em;
}
.card {
  background: white;
  border-radius: 12px;
  padding: 1.5em;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.checklist ul {
  list-style: none;
  padding-left: 0;
}
.checklist li::before {
  content: '✅';
  margin-right: 0.5em;
}
.logos img {
  height: 40px;
  margin: 0.5em;
}
footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 2em 1em;
}
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    width: 100%;
    display: none;
  }
  nav.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}
/* fade-in эффект */
.fade-in { opacity: 0; transform: translateY(20px); transition: all 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
/* модалка */
.modal.hidden { display: none; }
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; }
.modal-content { background: white; padding: 2em; border-radius: 10px; max-width: 400px; }


/* Новый стиль как на aiscriptor.ru */

body {
  background-color: #f9fafb;
  font-family: 'Inter', sans-serif;
  color: #111827;
  margin: 0;
  padding: 0;
}

header {
  background-color: #1e3a8a;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  flex-wrap: wrap;
}

header h1 {
  font-size: 24px;
  margin: 0;
}

nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

.hero {
  text-align: center;
  padding: 80px 20px 40px;
  background: white;
}

.hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero p {
  font-size: 18px;
  color: #4b5563;
  margin-bottom: 24px;
}

.btn {
  background-color: #3b82f6;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #2563eb;
}

.section {
  background-color: #f3f4f6;
  padding: 60px 20px;
}

.section h2 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin-top: 0;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}

.card p {
  margin-top: 8px;
  color: #4b5563;
  font-size: 16px;
}
