:root {
  --red: #ff4d4d;
  --dark: #1a1a1a;
  --light: #fdfcf9;
  --accent: #ffbb33;
}

/* 🌸 Общий фон — текстура бумаги */
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--light);
  background-image: url('paper-texture.jpg');
  background-size: cover;
  background-repeat: repeat;
}

/* 🎌 HERO */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--red), var(--accent));
  color: white;
  text-align: center;
  padding: 160px 80px 20px;
  overflow: hidden;
}

/* 🈶 Полупрозрачные иероглифы */
.hero::before {
  content: "学 语 爱 力";
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  font-size: 180px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.08);
  text-align: center;
  letter-spacing: 50px;
  z-index: 0;
  user-select: none;
  white-space: nowrap;
  font-family: "Noto Sans SC", sans-serif;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 25px;
  font-size: 1.1rem;
}

.cta-btn {
  display: inline-block;
  background-color: white;
  color: var(--red);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.cta-btn:hover {
  background-color: var(--dark);
  color: white;
}

/* 🧧 BENEFITS */
.benefits {
  padding: 60px 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
}

.benefits h2 {
  margin-bottom: 40px;
  font-size: 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit {
  background-color: var(--light);
  border-radius: 12px;
  padding: 20px;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.benefit:hover {
  transform: translateY(-5px);
  background-color: #fff6f6;
}

/* 💬 OFFER */
.offer {
  text-align: center;
  background: var(--accent);
  padding: 60px 20px;
  background-color: rgba(255, 187, 51, 0.3);
}

.offer h2 {
  color: var(--dark);
  margin-bottom: 10px;
}

.offer p {
  margin-bottom: 30px;
  font-weight: 500;
}

.contact-form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #fff;
}

.contact-form button {
  background-color: var(--dark);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: var(--red);
}

/* ⚫ FOOTER */
footer {
  background-color: var(--dark);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover,
footer a:active,
footer a:focus {
  color: #ffffff;
  text-decoration: none;
}

/* 🔴 Верхний баннер */
.top-banner {
  background: linear-gradient(90deg, var(--red), var(--accent));
  color: white;
  text-align: center;
  font-weight: 600;
  padding: 10px 15px;
  font-size: 1rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ⚫ Основная лента под баннером */
.main-bar {
  position: fixed;
  top: 45px;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  z-index: 9999;
}

/* Плавающие кнопки */
.floating-top-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #E63946;
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease, opacity 0.5s ease;
  z-index: 9999;
  opacity: 0.9;
}

.floating-top-btn:hover {
  opacity: 1;
  transform: scale(1.05);
}

.floating-bottom-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #FFCC80;
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-si

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

