* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --text: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.72);
  --glass: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-highlight: rgba(255, 255, 255, 0.28);
  --accent: #4ade80;
}

body {
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 180, 220, 0.42), transparent 38%),
    radial-gradient(circle at 85% 15%, rgba(34, 139, 34, 0.32), transparent 40%),
    radial-gradient(circle at 70% 85%, rgba(0, 200, 180, 0.28), transparent 42%),
    linear-gradient(135deg, #0a1f2e 0%, #0d3b4f 45%, #0a2a3c 100%);
}

body::before, body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
body::before {
  width: 480px; height: 480px; top: -180px; right: -120px;
  background: linear-gradient(135deg, rgba(64, 224, 208, 0.28), rgba(46, 134, 193, 0.12));
  animation: floatOne 14s ease-in-out infinite alternate;
}
body::after {
  width: 420px; height: 420px; left: -160px; bottom: -120px;
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.22), rgba(0, 180, 216, 0.08));
  animation: floatTwo 16s ease-in-out infinite alternate;
}

/* Навигация */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 40px; background: rgba(10, 31, 46, 0.85);
  backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
  font-size: 22px; font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #a8e6ff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-menu { display: flex; gap: 32px; list-style: none; }
.nav-menu a {
  color: var(--text-secondary); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.3s ease;
}
.nav-menu a:hover { color: var(--accent); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 25px; height: 3px; background: var(--text); border-radius: 3px; }

/* Основной контент */
.page { min-height: 100vh; padding: 120px 24px 60px; position: relative; isolation: isolate; }
.container { max-width: 1200px; margin: 0 auto; }

/* Hero секция */
.hero { text-align: center; margin-bottom: 40px; }
.hero-icon { font-size: 72px; margin-bottom: 24px; animation: gentleBob 4s ease-in-out infinite; }
@keyframes gentleBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-3deg); }
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #a8e6ff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { font-size: 18px; line-height: 1.7; color: var(--text-secondary); max-width: 700px; margin: 0 auto; }

/* Секция с видео */
.video-section {
  margin: 60px 0 80px;
  text-align: center;
}
.video-section h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin-bottom: 32px;
  background: linear-gradient(135deg, #ffffff 0%, #a8e6ff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* Соотношение 16:9 */
  height: 0;
  overflow: hidden;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Карточки */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 60px;
}
.card {
  border-radius: 24px; border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(20px); overflow: hidden; transition: all 0.3s ease;
  text-decoration: none; color: inherit; display: block;
}
.card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 255, 255, 0.3);
}
.card-visual {
  height: 180px; display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--glass-border); position: relative; overflow: hidden;
}
.card-emoji {
  font-size: 80px; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 2;
}
.card:hover .card-emoji { transform: scale(1.2) rotate(-5deg); }

.card-content { padding: 28px; }
.card h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.card p { font-size: 15px; line-height: 1.6; color: var(--text-secondary); }

/* Текстовые секции */
.content-section { margin-bottom: 80px; }
.content-section h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #a8e6ff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.content-section p { font-size: 16px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 20px; }

.tip-box {
  padding: 32px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.12), rgba(34, 139, 34, 0.08));
  border: 1px solid rgba(74, 222, 128, 0.25); margin: 24px 0;
}
.tip-box h4 { color: var(--accent); font-size: 18px; margin-bottom: 12px; }
.tip-box p { margin-bottom: 0; }

/* Футер */
.footer {
  text-align: center; padding: 40px 24px; color: rgba(255, 255, 255, 0.4);
  font-size: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 80px;
}

/* Анимации фона */
@keyframes floatOne { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-60px, 50px, 0); } }
@keyframes floatTwo { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(70px, -40px, 0); } }

/* Адаптивность */
@media (max-width: 768px) {
  .navbar { padding: 16px 20px; }
  .nav-menu {
    position: fixed; top: 70px; left: 0; right: 0; flex-direction: column;
    background: rgba(10, 31, 46, 0.95); backdrop-filter: blur(20px);
    padding: 20px; gap: 20px; transform: translateY(-150%); transition: transform 0.3s ease;
  }
  .nav-menu.active { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .page { padding: 100px 20px 40px; }
  .cards-grid { grid-template-columns: 1fr; gap: 20px; }
}