@import url('../fonts/fonts.css');
/* ============================================================
   PuffDesk — промо-прототип
   Тёплый кремовый фон + бирюзовый акцент. Без красного алертного.
   ============================================================ */

:root {
  /* Палитра из фирменного лого (site/images/PuffDesk_logo_*.svg) */
  --bg: #f6f2ea;            /* cream page */
  --bg-soft: #ebe5d8;       /* muted */
  --surface: #fffdf8;       /* card */
  --ink: #223438;           /* тёмный текст в тон лого */
  --ink-soft: #5f7377;      /* второстепенный текст */
  --accent: #08AEB8;        /* logo primary */
  --accent-deep: #006A78;   /* logo deep (hover, акценты) */
  --accent-mid: #0B7A88;    /* logo mid */
  --accent-soft: #B2E7E7;   /* logo light */
  --dark: #06424C;          /* тёмные секции — глубокий тил лого */
  --dark-soft: #0B5560;     /* производный */
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 4px 14px rgb(6 66 76 / 12%), 0 2px 4px rgb(6 66 76 / 7%);
  --border: rgb(6 66 76 / 12%);
  --border-strong: rgb(6 66 76 / 20%);
  --font: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Nunito', 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: linear-gradient(180deg, #fffdf8 0%, var(--bg) 100%);
  background-attachment: scroll;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Заголовки — уютный округлый Nunito */
h1, h2, h3,
.logo__text,
.pricing__price,
.pricing__flag,
.quote blockquote,
.waitlist__ok,
.footer__quote,
.hero__card-title,
.hero__card-done {
  font-family: var(--font-display);
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 24px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(8,174,184,.35); }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--border-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn--ghost-light { background: transparent; color: var(--surface); border: 2px solid rgba(255,255,255,.55); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn--light { background: var(--surface); color: var(--accent-deep); }
.btn--light:hover { background: var(--accent-soft); }
.btn--lg { padding: 16px 34px; font-size: 17px; }
.btn--small { padding: 9px 18px; font-size: 14px; }
.btn--block { display: block; width: 100%; }
.card .btn { margin-top: 14px; }
.card__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.card__actions .btn { margin-top: 0; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,247,239,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { height: 38px; width: auto; animation: breathe 4s ease-in-out infinite; }
.logo__text { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.logo__text span { color: var(--accent); }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--ink-soft); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav__links a:hover { color: var(--accent-deep); }
.nav__inner .btn--small { margin-left: 8px; }

.nav__burger { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__burger span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }
.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 18px; background: var(--bg); border-bottom: 1px solid var(--border); }
.nav__mobile a { text-decoration: none; color: var(--ink); padding: 10px 6px; font-weight: 500; border-radius: 10px; }
.nav__mobile a:hover { background: var(--accent-soft); }
.nav__mobile.open { display: flex; }

/* ---------- HERO ---------- */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.badge {
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.badge--plant {
  background: #d9e8d4;
  color: #3d6b45;
}
.badge--pet {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.badge--ai {
  background: #e2e0ea;
  color: #5c5a7a;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
.hero__sub { margin-top: 20px; font-size: 18px; color: var(--ink-soft); max-width: 540px; }
.hero__sub strong { color: var(--ink); }
.hero__cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__hints { margin-top: 28px; display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-soft); font-size: 14px; }

.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.poof { position: relative; width: 260px; }
.poof img { width: 100%; animation: breathe 4s ease-in-out infinite; filter: drop-shadow(0 18px 30px rgba(8,174,184,.3)); }
.poof__bubble {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 16px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.poof__bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
}

.hero__card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  font-size: 14px;
  width: 220px;
}
.hero__card--today { right: -10px; bottom: 10px; }
.hero__card-title { font-weight: 700; margin-bottom: 8px; }
.hero__card-row { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-soft); padding: 3px 0; }
.hero__card-row .soft { color: var(--ink); font-weight: 600; }
.hero__card-done { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); color: var(--accent-deep); font-weight: 600; }

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

/* ---------- Секции ---------- */
.section { padding: 84px 0; }
.section--soft { background: transparent; }
.section--dark { background: var(--dark); color: #f6f2ea; }
.section--cta { padding: 60px 0 90px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 10px;
}
.eyebrow--light { color: #78D4D5; }
.section__title { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.02em; font-weight: 800; line-height: 1.2; }
.section__lead { margin-top: 14px; font-size: 17px; color: var(--ink-soft); max-width: 640px; }
.section--dark .section__lead { color: #a9dade; }
.section__note { margin-top: 22px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.center { text-align: center; margin-top: 34px; }

/* ---------- Карточки ---------- */
.cards { display: grid; gap: 22px; margin-top: 40px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card__icon { font-size: 34px; margin-bottom: 14px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }

.card--companion { text-align: center; }
.companion__emoji { font-size: 56px; display: block; margin-bottom: 10px; }
.tag {
  display: inline-block;
  margin-top: 14px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.tag--plant {
  background: #d9e8d4;
  color: #3d6b45;
}
.tag--pet {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.tag--ai {
  background: #e2e0ea;
  color: #5c5a7a;
}

.card--ai { background: linear-gradient(180deg, #fff, var(--accent-soft)); }

.card--dark { background: var(--dark-soft); color: #f6f2ea; box-shadow: none; border: 1px solid rgba(255,255,255,.06); }
.card--dark h3 { color: #fffdf8; }
.card--dark p { color: #a9dade; }
.card--dark-wide { grid-column: span 2; }

/* ---------- Lucide-иконки ---------- */
svg.lucide { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.compare__col { border-radius: var(--radius); padding: 28px; }
.compare__col h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.compare__col ul { list-style: none; }
.compare__col li { padding: 9px 0; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.compare__col--good { background: var(--accent-soft); color: #045058; }
.compare__col--good h3 { color: var(--accent-deep); }
.compare__col--good li svg.lucide { color: var(--accent-deep); flex: 0 0 auto; margin-top: 4px; }
.compare__col--plant { background: #d9e8d4; color: #2a3228; }
.compare__col--plant h3 { color: #3d6b45; }
.compare__col--plant li svg.lucide { color: #3d6b45; flex: 0 0 auto; margin-top: 4px; }

.quote { margin-top: 44px; text-align: center; }
.quote blockquote {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 600;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.4;
}
.section--dark .quote blockquote {
  color: #fff;
}
.section--dark .section__note {
  color: #a9dade;
}

/* ---------- CTA / waitlist ---------- */
.cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
}
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; margin-bottom: 12px; }
.cta p { max-width: 520px; margin: 0 auto 26px; color: rgba(255,255,255,.9); }
.waitlist { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.waitlist input {
  font: inherit;
  font-size: 16px;
  padding: 15px 20px;
  border-radius: 999px;
  border: none;
  width: min(340px, 100%);
  outline: none;
}
.waitlist select {
  font: inherit;
  font-size: 16px;
  padding: 15px 36px 15px 20px;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: var(--ink);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23006A78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  width: min(200px, 100%);
}
.waitlist .btn { background: var(--dark); color: #fff; }
.waitlist .btn:hover { background: #04333B; }
.waitlist__ok { font-weight: 700; font-size: 17px; margin-top: 18px !important; }

/* ---------- Footer ---------- */
.footer { background: transparent; padding: 40px 0; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.footer__brand p { color: var(--ink-soft); font-size: 14px; max-width: 320px; margin-top: 6px; }
.footer__logo { height: 44px; width: auto; display: block; margin-bottom: 6px; }
.footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; color: var(--ink-soft); font-size: 14px; }
.footer__links a:hover { color: var(--accent-deep); }
.footer__quote { font-weight: 700; color: var(--accent-deep); }

/* ---------- Внутренние страницы ---------- */
.page-hero { padding: 72px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.page-hero p { max-width: 660px; margin: 16px auto 0; color: var(--ink-soft); font-size: 17px; }
.page-hero .badges { justify-content: center; margin-bottom: 22px; }
.page-hero--dark { background: var(--dark); color: #fff; padding: 96px 0 80px; }
.page-hero--dark p { color: #a9dade; }
.page-hero--dark .eyebrow { color: #78D4D5; }

/* Карточки-ссылки */
.card--link { display: block; text-decoration: none; color: inherit; }
.card--link:hover { transform: translateY(-4px); }
.card__more { display: inline-block; margin-top: 14px; color: var(--accent-deep); font-weight: 600; font-size: 14px; }

/* Тизер философии на главной */
.philo-teaser { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.philo-teaser .btn { margin-top: 24px; }
.philo-teaser__emoji { font-size: 76px; line-height: 1; }

/* Принципы (страница Вайб) */
.principles { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principle { background: var(--surface); border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; }
.principle__emoji { font-size: 26px; line-height: 1.3; }
.principle h3 { font-size: 16px; margin-bottom: 4px; }
.principle p { font-size: 14px; color: var(--ink-soft); }

/* Списки фич */
.feature-list { margin-top: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-item { background: var(--surface); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow); }
.feature-item h3 { font-size: 16px; margin-bottom: 6px; }
.feature-item p { font-size: 14px; color: var(--ink-soft); }
.feature-item .card__icon { font-size: 26px; margin-bottom: 8px; }

/* Под-заголовок секции внутри страницы */
.subhead { margin-top: 56px; }
.subhead h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.subhead p { color: var(--ink-soft); margin-top: 8px; max-width: 620px; }

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 320px; }
  .hero__card--today { right: 0; }
}
@media (max-width: 760px) {
  .nav__links, .nav__inner > .btn--small { display: none; }
  .nav__burger { display: block; }
  .cards--2, .cards--3, .compare, .cards--4 { grid-template-columns: 1fr; }
  .card--dark-wide { grid-column: span 1; }
  .principles, .feature-list { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 72px; }
  .cta { padding: 40px 24px; }
}
