
/* ---------- СБРОС И БАЗА ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Inter", Arial, sans-serif;
  background: #0b0b0f;
  color: #e7e7ea;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* ---------- УТИЛИТЫ ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.flex           { display: flex; }
.flex-col       { flex-direction: column; }
.flex-wrap      { flex-wrap: wrap; }
.items-center   { align-items: center; }
.justify-center { justify-content: center; }
.text-left      { text-align: left; }
.text-center    { text-align: center; }
.relative       { position: relative; }
.absolute       { position: absolute; }
.z-10           { z-index: 10; }
.z-40           { z-index: 40; }
.w-full         { width: 100%; }
.h-full         { height: 100%; }
.h-16           { height: 4rem; }
.overflow-hidden{ overflow: hidden; }
.bg-transparent { background-color: transparent; }
.text-black     { color: #0b0d10; }
.text-white     { color: #fff; }
.gap-5           { gap: 1.25rem; }
.gap-6           { gap: 1.5rem; }
.mt-6            { margin-top: 1.5rem; }
.mt-10           { margin-top: 2.5rem; }
.py-5            { padding-top: 1.25rem; padding-bottom: 1.25rem; }

.max-w-\[705px\] { max-width: 705px; }
.bg-\[\#f6f6f6\] { background-color: #f6f6f6; }

/* ---------- ТИПОГРАФИКА ---------- */
.font-title {
  font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.text-14 { font-size: 14px; }
.text-18 { font-size: 18px; }
.text-80 { font-size: 80px; }

.font-semibold  { font-weight: 600; }
.leading-none   { line-height: 1; }
.leading-h2     { line-height: 0.8; }
.leading-tight  { line-height: 1.25; }
.tracking-tight  { letter-spacing: -0.04em; }
.tracking-tighter{ letter-spacing: -0.05em; }
.tracking-snugger{ letter-spacing: -0.02em; }

.text-grey-40 {
  color: #61656b;
}

/* ---------- HEADER ---------- */
header.absolute {
  left: 0;
  right: 0;
  top: 0;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-duration: 0.2s;
}
.duration-200 {
  transition-duration: 0.2s;
}

/* ---------- HERO ---------- */
.hero {
  padding: 88px 0;
  background: radial-gradient(1200px 600px at 50% -200px, rgba(120,120,255,0.2), transparent 60%),
              linear-gradient(180deg, #0b0b0f 0%, #0f0f15 100%);
}

.hero-inner {
  max-width: 880px;
}

.hero-title {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #fff 30%, #d5d8f6 80%, #fdf7fe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  opacity: 0.85;
  margin: 0 0 24px;
}

/* ---------- FEATURES / CARDS ---------- */
.features {
  padding: 56px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}

.card {
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}

.card-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.card-text {
  margin: 0;
  opacity: 0.85;
}

/* ---------- КНОПКИ ---------- */
.button-toggle {
  transition: all 0.2s;
  white-space: nowrap;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  position: relative;
  border: 1px solid transparent;
  color: white;
  background-color: transparent;
  cursor: pointer;
}

.button-toggle:hover {
  color: #8b8b8b;
}

.button-toggle.active {
  background-color: #f97316;
  font-weight: 600;
  color: black;
}

/* ---------- ФУТЕР ---------- */
footer,
.container.flex.justify-center.py-5 {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

/* ---------- ОТСТУПЫ ДЛЯ БЕЗОПАСНЫХ ЗОН (iPhone) ---------- */
.px-safe {
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
}
.pt-safe {
  padding-top: env(safe-area-inset-top);
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 900px) {
  .hero-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .text-80 {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 0;
  }
  .hero-title {
    font-size: 32px;
  }
  .text-80 {
    font-size: 36px;
  }
}
