:root{
  --bg1:#002b6f;
  --bg2:#005bbb;

  --accent1:#005bbb;
  --accent2:#ffd500;
  --accent3:#1e88e5;
  --accent4:#ffe066;

  --text:#ffffff;
  --muted:#ffffffcc;

  --shadow: 0 18px 55px rgba(0,0,0,.35);
  --radius: 22px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  line-height:1.55;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0,91,187,.55), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(255,213,0,.44), transparent 55%),
    radial-gradient(800px 500px at 85% 100%, rgba(30,136,229,.35), transparent 58%),
    radial-gradient(700px 400px at 15% 85%, rgba(255,224,102,.32), transparent 60%),
    linear-gradient(160deg, #002b6f 0%, #004b99 45%, #005bbb 100%);
  background-attachment: fixed;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:-20%;
  background:
    radial-gradient(600px 400px at 20% 20%, rgba(0,91,187,.14), transparent 60%),
    radial-gradient(600px 400px at 80% 30%, rgba(30,136,229,.12), transparent 60%),
    radial-gradient(600px 400px at 50% 80%, rgba(255,213,0,.10), transparent 60%);
  animation:bgFloat 18s ease-in-out infinite alternate;
  pointer-events:none;
  z-index:0;
}

@keyframes bgFloat{
  0%{ transform:translateY(0); }
  100%{ transform:translateY(-40px); }
}

/* Sparkles */
.sparkles{
  position:fixed;
  inset:0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.8), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(255,213,0,.62), transparent),
    radial-gradient(2px 2px at 60% 20%, rgba(0,91,187,.65), transparent),
    radial-gradient(2px 2px at 80% 50%, rgba(30,136,229,.58), transparent),
    radial-gradient(2px 2px at 30% 80%, rgba(255,224,102,.62), transparent);
  background-size:300px 300px;
  animation:sparkle 4s infinite alternate;
  pointer-events:none;
  z-index:0;
}
@keyframes sparkle{
  0%{ opacity:.30; transform:translateY(0); }
  100%{ opacity:.70; transform:translateY(-20px); }
}

/* Layout */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 18px;
  position:relative;
  z-index:1;
}
.section{
  padding:70px 0;
  position:relative;
  z-index:1;
}
.section::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:min(92%, 980px);
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,213,0,.48), rgba(0,91,187,.68), transparent);
  opacity:.55;
  pointer-events:none;
}

h1{
  margin:0 0 14px;
  font-size:44px;
  letter-spacing:-.02em;
  line-height:1.08;
}
.hero h1{
  background:linear-gradient(100deg, #ffffff 0%, #ffd500 38%, #ffffff 64%, #8bc8ff 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 6px 22px rgba(0,43,111,.22);
}
h2{
  margin:0 0 14px;
  font-size:32px;
  letter-spacing:-.02em;
  line-height:1.15;
}
p{
  margin:0 0 16px;
  color:var(--muted);
  max-width:760px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:18px;
  padding:14px 22px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  color:#0b0b10;
  background:linear-gradient(135deg, var(--accent1), var(--accent2), var(--accent4));
  box-shadow:0 14px 44px rgba(0,91,187,.30), 0 10px 30px rgba(255,213,0,.18);
  transition:transform .25s ease, filter .25s ease, box-shadow .25s ease, border-color .25s ease;
  border:1px solid rgba(255,255,255,.20);
  white-space:nowrap;
}
.btn:hover{
  transform:translateY(-2px) scale(1.015);
  filter:brightness(1.08);
  box-shadow:0 18px 50px rgba(0,91,187,.36), 0 10px 32px rgba(255,213,0,.24);
}
.btn.secondary{
  background:linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  color:var(--text);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:none;
}
.btn.secondary:hover{
  background:linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.09));
  border-color:rgba(255,213,0,.45);
}

/* Hero */
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:34px 0 86px; /* запас под ноты и стрелку */
  position:relative;
  z-index:1;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:26px;
  align-items:center;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  font-weight:600;
  margin-bottom:16px;
  backdrop-filter: blur(4px);
}
.badge-dot{
  width:9px;height:9px;border-radius:50%;
  background:linear-gradient(135deg,var(--accent1),var(--accent2));
  box-shadow:0 0 0 0 rgba(255,213,0,.65);
  animation:badgePulse 2.2s ease-out infinite;
}
@keyframes badgePulse{
  0%{ box-shadow:0 0 0 0 rgba(255,213,0,.55); }
  100%{ box-shadow:0 0 0 12px rgba(255,213,0,0); }
}

/* Hero card */
.hero-card{
  border-radius:var(--radius);
  background:linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.07));
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 18px 46px rgba(0,43,111,.30);
  padding:22px;
  position:relative;
  overflow:hidden;
  backdrop-filter:blur(8px);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.hero-card:hover{
  transform:translateY(-3px);
  border-color:rgba(255,213,0,.35);
  box-shadow:0 24px 58px rgba(0,43,111,.38);
}
.deco.gift{
  position:absolute;
  top:20px;
  right:20px;
  width:180px;
  height:180px;
  opacity:.7;
  z-index:0;
}
.mini{
  display:flex;
  flex-direction:column;
  gap:12px;
  position:relative;
  z-index:1;
}
.mini-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
}
.pill{
  padding:20px 20px;
  border-radius:999px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.12);
  font-size:15px;
  flex:1;
}
.wave img{
  animation: waveFloat 6s ease-in-out infinite;
}
.wave{
  height: 145px;
  overflow: hidden;
  margin-top: 5px;

  display: flex;
 
}
  

@keyframes waveFloat{
  0%{ transform: scale(1) translateY(0); opacity:.9; }
  50%{ transform: scale(1.03) translateY(-2px); opacity:1; }
  100%{ transform: scale(1) translateY(0); opacity:.9; }
}


/* Cards */
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(400px, 1fr));
  gap:21px;
  margin-top:26px;
}
.card{
  background:linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:0 10px 30px rgba(0,0,0,.22);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,213,0,.34);
  box-shadow:0 16px 36px rgba(0,43,111,.30);
}
.card.quote{ font-style:italic; }
.example-title{ font-weight:800; margin-bottom:6px; }

audio{
  width:100%;
  margin-top:10px;
  border-radius:12px;
}

/* Headings icon */
.hicon{ display:flex; align-items:center; gap:10px; }
.hicon .ico{
  width:60px;height:50px;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(135deg, rgba(0,91,187,.34), rgba(255,213,0,.26), rgba(30,136,229,.22));
  border:1px solid rgba(255,255,255,.16);
  flex-shrink:0;
}

.note{
  font-size:15px;
  color:#ffffffb3;
  margin-top:10px;
}

.center{
  display:flex;
  justify-content:center;
  margin-top:24px;
}

/* ✅ Notes in hero (единственное место) */
.hero-notes{
  position:absolute;
  left:50%;
  bottom:52px;
  transform:translateX(-50%);
  pointer-events:none;
  opacity:.24;
  z-index:2;
  filter: blur(.15px);
}
.hero-notes .notes{
  width:220px;
  height:auto;
  display:block;
}

/* Final block */
.final{
  background:
    radial-gradient(700px 380px at 25% 10%, rgba(255,213,0,.36), transparent 55%),
    radial-gradient(700px 380px at 80% 90%, rgba(0,91,187,.34), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border-radius:var(--radius);
  margin:20px;
  padding:60px 24px;
}

/* Footer */
footer{
  opacity:.65;
  font-size:13px;
  text-align:center;
  padding:28px 18px;
}

/* CTA bar: только мобилка */
.cta-bar{
  position:fixed;
  bottom:0; left:0; right:0;
  background:linear-gradient(135deg, rgba(0,43,111,.96), rgba(0,91,187,.95));
  backdrop-filter: blur(10px);
  border-top:1px solid rgba(255,255,255,.10);
  padding:12px 0;
  z-index:1000;
  display:none;
}
.cta-inner{
  max-width:1100px;
  margin:0 auto;
  padding:0 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.cta-text{ font-size:14px; }

/* ✅ Scroll arrow: одна стрелка, строго вверх-вниз */
.scroll-hint{
  position:absolute;
  left:50%;
  bottom:160px; /* поднять выше/ниже — меняй тут */
  transform:translateX(-50%);
  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;
  opacity:.85;
  z-index:5;
}
.scroll-hint:hover{ opacity:1; }

/* двигаем контейнер (не повернутый) */
.scroll-hint span{
  display:block;
  width:26px;
  height:26px;
  animation:arrowY 2.2s ease-in-out infinite;
  will-change: transform;
}

/* рисуем стрелку только в ::before (иначе будет “двойная”) */
.scroll-hint span::before{
  content:"";
  display:block;
  width:20px;
  height:20px;
  border-right:3px solid rgba(255,255,255,.95);
  border-bottom:3px solid rgba(255,255,255,.95);
  transform:rotate(45deg);
  margin:2px auto 0;
}

@keyframes arrowY{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(14px); }
}

/* Responsive */
/* =========================================
   ✅ RESPONSIVE (добавь в самый низ CSS)
   ========================================= */

/* 1) Планшеты и небольшие ноуты */
@media (max-width: 1100px) {
  .container { max-width: 980px; }

  .hero-grid { grid-template-columns: 1fr; gap: 28px; }

  /* 2 карточки в ряд */
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hero-notes { bottom: 56px; opacity: .18; }
  .hero-notes .notes { width: 190px; }
}

/* 2) Телефоны (главная адаптация “чтобы везде похоже выглядело”) */
@media (max-width: 768px) {

  /* Резиновый “масштаб” без zoom */
  html { font-size: clamp(16px, 4.2vw, 18px); }

  .container { width: 92%; padding: 0; }

  .section { padding: clamp(44px, 7vw, 64px) 0; }

  h1 { font-size: clamp(30px, 7.5vw, 38px); line-height: 1.12; }
  h2 { font-size: clamp(22px, 5.8vw, 30px); line-height: 1.18; }
  p  { font-size: clamp(14px, 4.2vw, 17px); }

  .hero {
    min-height: auto;
    padding: 26px 0 26px;
  }

  /* Кнопки на мобиле — удобные */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    font-size: clamp(14px, 4.2vw, 16px);
  }
  .btn.secondary { margin-left: 0 !important; }

  /* Карточки — в 1 колонку */
  .cards { grid-template-columns: 1fr; gap: 16px; }

  .card { padding: 18px; }

  /* Уменьшаем hero-card */
  .hero-card { padding: 18px; }
  .deco.gift { width: 120px; height: 120px; top: 10px; right: 10px; opacity: .55; }

  /* Пиллы лучше в столбик */
  .mini-row { flex-direction: column; }

  /* Волна — чтобы не ломалась */
  .wave { height: 120px; justify-content: center; }
  .wave img { width: 100%; height: 100%; object-fit: contain; }

  /* ✅ Убираем стрелку на мобиле */
  .scroll-hint { display: none !important; }

  /* ✅ Пример: скрыть конкретную иконку на мобиле */
  .ico-fl { display: none !important; }

  /* CTA-бар показываем */
  body { padding-bottom: 84px; }
  .cta-bar { display: block; }
  .cta-inner { flex-direction: column; text-align: center; }
}

/* 3) Очень маленькие телефоны */
@media (max-width: 420px) {
  .wave { height: 105px; }
  .hero-notes { display: none; } /* чтобы не мешали */
}

/* 4) Десктоп: строго 3 карточки в ряд (перетирает auto-fit) */
@media (min-width: 901px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* === Global scale === */
html{
  font-size: 18px; /* было ~16px — это и есть общий “масштаб” */
}

.container{
  max-width: 1400px; /* было 1100px — станет “шире и крупнее” */
}

/* Чуть усилить заголовки под новый масштаб */
h1{
  font-size: 3.15rem; /* было 44px, станет крупнее и адаптивнее */
}

h2{
  font-size: 2.2rem; /* было 32px */
}

/* Текст немного крупнее */
p{
  font-size: 1.05rem;
}

/* Кнопки крупнее */
.btn{
  font-size: 1rem;
  padding: 16px 26px; /* было 14/22 */
}

.center{
  display:flex;
  justify-content:center;
  margin-top: 40px
}

.pod{
 display: flex;
    justify-content: center;
}


/* Превью — не интерактивное */
.hero-card .pill,
.hero-card .wave,
.hero-card .mini {
  cursor: default;
  user-select: none;
}

.hero-card .pill{
  background: rgba(0,0,0,.14);      /* было темнее и "инпутно" */
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: none;                 /* убрать “поле ввода” */
}

.hero-card .pill:hover{
  transform: none;
  filter: none;
}

/* Если где-то есть pointer/click эффекты */
.hero-card .pill,
.hero-card .wave,
.hero-card .mini *{
  pointer-events: none;
}
.preview-label{
  font-size: 12px;
  opacity: .65;
  letter-spacing: .02em;
  margin: 4px 2px -6px;
  display: flex; justify-content: center;
}

.note-strong{
  opacity: .9;
  font-weight: 600;
  display: flex; justify-content: center;
}

.pill-wide{ width:100%; }
