@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a3e;
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ── Container ── */
.gh-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gh-container--narrow {
  max-width: 800px;
}

/* ── Typography ── */
.gh-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw + 1rem, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.gh-section-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw + 0.5rem, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.gh-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 1.5vw + 0.3rem, 1.4rem);
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.gh-eyebrow {
  font-size: clamp(0.7rem, 1vw + 0.1rem, 0.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d946a6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.gh-lead {
  font-size: clamp(1.05rem, 1.5vw + 0.2rem, 1.3rem);
  line-height: 1.65;
  color: #4a4a6a;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.gh-body {
  font-size: clamp(0.92rem, 1vw + 0.1rem, 1.05rem);
  line-height: 1.7;
  color: #5a5a7a;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ── Header ── */
.gh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(26, 26, 62, 0.06);
  transition: box-shadow 0.3s ease;
}

.gh-header--scrolled {
  box-shadow: 0 1px 24px rgba(26, 26, 62, 0.08);
}

.gh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.gh-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.gh-header__logo-icon {
  width: 36px;
  height: 36px;
}

.gh-header__logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1a1a3e 0%, #d946a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gh-nav__group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gh-nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #4a4a6a;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.gh-nav__link:hover {
  background: #f0eeff;
  color: #d946a6;
}

.gh-nav__link--active {
  color: #d946a6;
  background: #f8f5ff;
}

.gh-nav__divider {
  width: 1px;
  height: 20px;
  background: rgba(26, 26, 62, 0.1);
  margin: 0 4px;
  flex-shrink: 0;
}

.gh-header__cta {
  flex-shrink: 0;
}

.gh-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  cursor: pointer;
}

.gh-menu-toggle__bar {
  width: 22px;
  height: 2px;
  background: #1a1a3e;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── Buttons ── */
.gh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 28px;
  border-radius: 12px;
  transition: all 0.25s ease;
  white-space: nowrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.gh-btn--primary {
  background: linear-gradient(135deg, #d946a6 0%, #4f6ef7 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(217, 70, 166, 0.3);
}

.gh-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(217, 70, 166, 0.4);
}

.gh-btn--secondary {
  background: #ffffff;
  color: #1a1a3e;
  border: 1.5px solid rgba(26, 26, 62, 0.12);
}

.gh-btn--secondary:hover {
  border-color: #d946a6;
  color: #d946a6;
  background: #fefaff;
}

.gh-btn--ghost {
  background: transparent;
  color: #4a4a6a;
  padding: 8px 16px;
}

.gh-btn--ghost:hover {
  color: #d946a6;
  background: #f8f5ff;
}

/* ── Hero ── */
.gh-hero {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 10vw, 100px);
  overflow: hidden;
}

.gh-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.gh-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  animation: gh-blob-float 12s ease-in-out infinite alternate;
}

.gh-hero__blob--pink {
  width: 600px;
  height: 600px;
  background: #d946a6;
  top: -200px;
  right: -100px;
}

.gh-hero__blob--blue {
  width: 500px;
  height: 500px;
  background: #4f6ef7;
  bottom: -150px;
  left: -100px;
  animation-delay: -4s;
}

.gh-hero__blob--indigo {
  width: 350px;
  height: 350px;
  background: #7c3aed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
}

@keyframes gh-blob-float {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
  100% { transform: translate(10px, -10px) scale(1.02); }
}

.gh-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.gh-hero__eyebrow {
  margin-bottom: 20px;
  display: inline-block;
}

.gh-hero__title {
  margin-bottom: 24px;
}

.gh-hero__title span {
  background: linear-gradient(135deg, #d946a6 0%, #4f6ef7 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gh-hero__lead {
  max-width: 600px;
  margin: 0 auto 40px;
}

.gh-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.gh-hero__preview {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(26, 26, 62, 0.12), 0 0 0 1px rgba(26, 26, 62, 0.05);
}

.gh-hero__preview-img {
  width: 100%;
  display: block;
}

/* ── Gradient Preview Mock ── */
.gh-gradient-swatches {
  display: flex;
  gap: 12px;
  margin-top: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.gh-gradient-swatch {
  width: clamp(60px, 8vw, 80px);
  height: clamp(60px, 8vw, 80px);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.gh-gradient-swatch:hover {
  transform: scale(1.1) rotate(-2deg);
}

/* ── Sections ── */
.gh-section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.gh-section--alt {
  background: #f8f7ff;
}

.gh-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.gh-section__eyebrow {
  margin-bottom: 12px;
  display: block;
}

.gh-section__heading {
  margin-bottom: 16px;
}

.gh-section__lead {
  max-width: 520px;
  margin: 0 auto;
}

/* ── Card Grid ── */
.gh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gh-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.gh-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

/* ── Cards ── */
.gh-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid rgba(26, 26, 62, 0.06);
  transition: all 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.gh-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26, 26, 62, 0.08);
  border-color: rgba(217, 70, 166, 0.15);
}

.gh-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #f8f5ff 0%, #f0eeff 100%);
  color: #d946a6;
}

.gh-card__title {
  margin-bottom: 10px;
}

.gh-card__body {
  color: #5a5a7a;
  font-size: 0.95rem;
  line-height: 1.65;
}

.gh-card__eyebrow {
  margin-bottom: 8px;
  display: block;
}

.gh-card--gradient {
  position: relative;
  overflow: hidden;
}

.gh-card--gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
}

.gh-card--gradient.pink::before {
  background: linear-gradient(90deg, #d946a6, #ff6db8);
}

.gh-card--gradient.blue::before {
  background: linear-gradient(90deg, #4f6ef7, #7eb8ff);
}

.gh-card--gradient.indigo::before {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

/* ── Pricing Cards ── */
.gh-card--pricing {
  text-align: center;
  padding: 44px 36px;
  position: relative;
}

.gh-card--pricing.featured {
  border: 2px solid #d946a6;
  background: linear-gradient(180deg, #fefaff 0%, #ffffff 100%);
}

.gh-card--pricing.featured::after {
  content: 'Популярный';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #d946a6, #4f6ef7);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 18px;
  border-radius: 20px;
}

.gh-card--pricing .gh-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  color: #1a1a3e;
  margin: 16px 0 4px;
}

.gh-card--pricing .gh-price-sub {
  font-size: 0.88rem;
  color: #9ca3af;
  margin-bottom: 28px;
}

.gh-card--pricing .gh-features-list {
  text-align: left;
  margin: 0 auto 32px;
  max-width: 260px;
}

.gh-card--pricing .gh-features-list li {
  padding: 8px 0;
  font-size: 0.92rem;
  color: #4a4a6a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gh-card--pricing .gh-features-list li::before {
  content: '✓';
  color: #d946a6;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ── Image ── */
.gh-img {
  border-radius: 16px;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.gh-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.gh-img:hover img {
  transform: scale(1.03);
}

/* ── Stats Bar ── */
.gh-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid rgba(26, 26, 62, 0.06);
  border-bottom: 1px solid rgba(26, 26, 62, 0.06);
}

.gh-stats__item {
  text-align: center;
}

.gh-stats__number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw + 0.5rem, 2.4rem);
  background: linear-gradient(135deg, #d946a6, #4f6ef7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gh-stats__label {
  font-size: 0.88rem;
  color: #6b7280;
  margin-top: 4px;
}

/* ── CTA Section ── */
.gh-cta-section {
  position: relative;
  padding: clamp(60px, 10vw, 100px) 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a3e 0%, #2d1b69 50%, #1a1a3e 100%);
}

.gh-cta-section__content {
  position: relative;
  z-index: 1;
}

.gh-cta-section .gh-section-heading {
  color: #ffffff;
  margin-bottom: 16px;
}

.gh-cta-section .gh-lead {
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto 36px;
}

.gh-cta-section__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
}

.gh-cta-section__blob--pink {
  width: 500px;
  height: 500px;
  background: #d946a6;
  top: -200px;
  right: -100px;
}

.gh-cta-section__blob--blue {
  width: 400px;
  height: 400px;
  background: #4f6ef7;
  bottom: -150px;
  left: -50px;
}

/* ── Footer ── */
.gh-footer {
  background: #1a1a3e;
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 32px;
}

.gh-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.gh-footer__brand-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-top: 16px;
  max-width: 300px;
}

.gh-footer__logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gh-footer__heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 20px;
}

.gh-footer__links li {
  margin-bottom: 12px;
}

.gh-footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.gh-footer__links a:hover {
  color: #d946a6;
}

.gh-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.gh-footer__copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.gh-footer__socials {
  display: flex;
  gap: 16px;
}

.gh-footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
}

.gh-footer__socials a:hover {
  background: rgba(217, 70, 166, 0.2);
  color: #d946a6;
}

/* ── Blog Card ── */
.gh-card--blog {
  padding: 0;
  overflow: hidden;
}

.gh-card--blog .gh-card__img {
  height: 200px;
  overflow: hidden;
}

.gh-card--blog .gh-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gh-card--blog:hover .gh-card__img img {
  transform: scale(1.05);
}

.gh-card--blog .gh-card__inner {
  padding: 28px 28px 32px;
}

.gh-card--blog .gh-card__meta {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 10px;
}

/* ── Code Block ── */
.gh-code {
  background: #1a1a3e;
  color: #e0e0ff;
  padding: 28px 32px;
  border-radius: 16px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.88rem;
  line-height: 1.8;
  overflow-x: auto;
  margin: 24px 0;
}

.gh-code .keyword {
  color: #d946a6;
}

.gh-code .value {
  color: #7eb8ff;
}

.gh-code .comment {
  color: #6b6b8a;
}

/* ── Badge ── */
.gh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  background: #f8f5ff;
  color: #d946a6;
}

/* ── Divider ── */
.gh-divider {
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #d946a6, #4f6ef7);
  margin: 0 auto;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .gh-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .gh-header__nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 24px;
    flex-direction: column;
    border-bottom: 1px solid rgba(26, 26, 62, 0.08);
    box-shadow: 0 12px 40px rgba(26, 26, 62, 0.1);
  }

  .gh-header__nav.open {
    display: flex;
  }

  .gh-nav__group {
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }

  .gh-nav__divider {
    display: none;
  }

  .gh-nav__link {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
  }

  .gh-header__cta {
    width: 100%;
    margin-top: 12px;
  }

  .gh-header__cta .gh-btn {
    width: 100%;
  }

  .gh-menu-toggle {
    display: flex;
  }

  .gh-grid {
    grid-template-columns: 1fr;
  }

  .gh-grid--2 {
    grid-template-columns: 1fr;
  }

  .gh-grid--3 {
    grid-template-columns: 1fr;
  }

  .gh-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gh-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .gh-hero__actions {
    flex-direction: column;
  }

  .gh-hero__actions .gh-btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .gh-container {
    padding: 0 16px;
  }

  .gh-card {
    padding: 28px 24px;
  }

  .gh-card--pricing {
    padding: 36px 24px;
  }
}

/* ── Animations ── */
@keyframes gh-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gh-animate-in {
  animation: gh-fade-up 0.7s ease forwards;
}

.gh-animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.gh-animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.gh-animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.gh-animate-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ── Selection ── */
::selection {
  background: rgba(217, 70, 166, 0.2);
  color: #1a1a3e;
}
/* universal guards (not a template) */
*{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}h1,h2,h3,h4,p,li,a,span,blockquote{overflow-wrap:break-word;word-break:normal}html{-webkit-text-size-adjust:100%}body{margin:0}
