/* === LANDING.CSS ===
   /home/serverflow/web/fit.slim-studio.com/www/assets/css/landing.css
   НАЗНАЧЕНИЕ: Стили лендинга Slim Studio
   Эстетика: Мягкое (Quicksand + DM Sans), пастель, женственность
*/

/* ── Переменные ─────────────────────────────────── */
:root {
  --cream:      oklch(97% 0.02 80);
  --gold:       oklch(78% 0.10 75);
  --gold-dark:  oklch(62% 0.12 70);
  --brown:      oklch(52% 0.08 55);
  --brown-light:oklch(88% 0.05 65);
  --white:      #ffffff;
  --text:       oklch(28% 0.04 55);
  --text-soft:  oklch(55% 0.04 60);
  --radius:     16px;
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Типографика ────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ── Навбар ─────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in oklch, var(--gold) 30%, transparent);
}

.nav-logo {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brown);
  letter-spacing: 0.08em;
  text-decoration: none;
}

.nav-logo span {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--text-soft);
  font-weight: 500;
  text-transform: uppercase;
}

.nav-lang {
  display: flex; gap: 6px;
}

.nav-lang button {
  background: none; border: 1px solid var(--brown-light);
  border-radius: 20px; padding: 4px 14px;
  font-size: 0.8rem; font-family: inherit;
  color: var(--text-soft); cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.nav-lang button.active,
.nav-lang button:hover {
  background: var(--gold); border-color: var(--gold);
  color: var(--white);
}

/* ── Hero ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 100px 40px 60px;

  /* Фон — место для фото. Пока CSS-градиент.
     ЗАМЕНА НА ФОТО: background-image: url('/assets/img/hero.jpg');
     background-size: cover; background-position: center top; */
  background:
    radial-gradient(ellipse at 20% 60%, oklch(90% 0.06 75 / 0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, oklch(94% 0.04 90 / 0.5) 0%, transparent 55%),
    linear-gradient(160deg, var(--cream) 0%, oklch(95% 0.03 70) 100%);
}

/* Декоративные круги */
.hero::before, .hero::after {
  content: '';
  position: absolute; border-radius: 50%;
  opacity: 0.18;
  pointer-events: none;
}
.hero::before {
  width: 600px; height: 600px;
  background: var(--gold);
  top: -150px; right: -150px;
}
.hero::after {
  width: 400px; height: 400px;
  background: var(--brown-light);
  bottom: -100px; left: -100px;
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 600px; text-align: center;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-dark);
  background: color-mix(in oklch, var(--gold) 15%, white);
  border-radius: 20px; padding: 6px 18px; margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--text);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-dark);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 440px; margin: 0 auto 36px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dark);
  color: var(--white);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700; font-size: 1rem;
  padding: 16px 40px; border-radius: 50px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 8px 24px color-mix(in oklch, var(--gold-dark) 35%, transparent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px color-mix(in oklch, var(--gold-dark) 45%, transparent);
}

.hero-note {
  margin-top: 16px;
  font-size: 0.82rem; color: var(--text-soft);
}

/* ── О проекте ──────────────────────────────────── */
.section { padding: 80px 40px; max-width: 1100px; margin: 0 auto; }

.section-tag {
  font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 48px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid color-mix(in oklch, var(--gold) 20%, transparent);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px color-mix(in oklch, var(--gold) 15%, transparent);
}

.feature-icon {
  width: 56px; height: 56px; margin-bottom: 20px;
  border-radius: 16px;
  background: color-mix(in oklch, var(--gold) 18%, white);
  display: flex; align-items: center; justify-content: center;
}

.feature-icon svg {
  width: 28px; height: 28px;
  stroke: var(--gold-dark); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.05rem; margin-bottom: 10px;
  color: var(--brown);
}

.feature-card p {
  font-size: 0.9rem; color: var(--text-soft); line-height: 1.6;
}

/* ── Как это работает ───────────────────────────── */
.steps-section {
  background: var(--white);
  padding: 80px 40px;
}

.steps-inner {
  max-width: 1100px; margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; margin-top: 48px;
}

.step {
  text-align: center;
}

.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: color-mix(in oklch, var(--gold) 20%, white);
  color: var(--gold-dark);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700; font-size: 1.2rem;
  margin: 0 auto 16px;
}

.step h3 { font-size: 1rem; margin-bottom: 8px; color: var(--brown); }
.step p  { font-size: 0.88rem; color: var(--text-soft); }

/* ── CTA секция ─────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 80px 40px;
  background: linear-gradient(135deg, oklch(90% 0.06 75) 0%, oklch(95% 0.03 85) 100%);
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-soft); margin-bottom: 36px; font-size: 1rem;
}

/* ── Footer ─────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 32px 40px;
  font-size: 0.82rem;
  color: var(--text-soft);
  border-top: 1px solid color-mix(in oklch, var(--gold) 20%, transparent);
}

.footer a { color: var(--gold-dark); text-decoration: none; }

/* ── Адаптив ────────────────────────────────────── */
@media (max-width: 640px) {
  .nav { padding: 14px 20px; }
  .hero { padding: 90px 20px 50px; }
  .section, .steps-section { padding: 60px 20px; }
  .cta-section { padding: 60px 20px; }
}
