/* === CSS Variables === */
:root {
  --color-primary: #1a3a32;
  --color-primary-light: #245249;
  --color-primary-dark: #0f2520;
  --color-accent: #7c5ce0;
  --color-accent-light: #9b80f0;
  --color-accent-dark: #5a3fc0;
  --color-bg: #faf9fc;
  --color-bg-alt: #f3f1f8;
  --color-surface: #ffffff;
  --color-text: #1a1528;
  --color-text-secondary: #5c5770;
  --color-text-light: #faf9fc;
  --color-text-muted: #908ba5;
  --color-border: #e8e5f0;
  --color-success: #10b981;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.03);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.06), 0 4px 10px rgba(0,0,0,0.03);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* === Typography === */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  background: rgba(124, 92, 224, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-tag--dark {
  color: var(--color-primary);
  background: rgba(26, 58, 50, 0.08);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section-title--left {
  text-align: left;
}

.section-description {
  color: var(--color-text-secondary);
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto;
}

/* === Logo === */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-primary);
  transition: var(--transition);
}

.logo:hover {
  color: var(--color-accent);
}

.logo--footer {
  color: var(--color-text-light);
}

.logo--footer:hover {
  color: var(--color-accent-light);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn--large {
  padding: 18px 36px;
  font-size: 17px;
  gap: 12px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-text-light);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(124, 92, 224, 0.3);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(124, 92, 224, 0.4);
}

.btn--secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-light);
  border-color: rgba(250, 249, 252, 0.3);
}

.btn--outline:hover {
  background: rgba(250, 249, 252, 0.1);
  border-color: rgba(250, 249, 252, 0.5);
  transform: translateY(-2px);
}

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 252, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}

.header__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__contacts {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header__contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: var(--transition);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.header__contact-link:hover {
  color: var(--color-accent);
  background: rgba(124, 92, 224, 0.05);
}

/* === Hero === */
.hero {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
}

.hero__bg-shape {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 92, 224, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 560px;
}

.badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  background: rgba(124, 92, 224, 0.08);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.hero__feature svg {
  color: var(--color-success);
  flex-shrink: 0;
}

.hero__buttons {
  display: flex;
  gap: 14px;
}

.hero__image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__image {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Геометрические фигуры позади фото */
.hero__shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero__shape--1 {
  top: -4%;
  right: -6%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(124, 92, 224, 0.08);
}

.hero__shape--2 {
  top: 30%;
  right: -10%;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(124, 92, 224, 0.15);
  transform: rotate(45deg);
}

.hero__shape--3 {
  bottom: 20%;
  left: -4%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(124, 92, 224, 0.1);
  background: transparent;
}

.hero__shape--4 {
  bottom: 8%;
  right: 2%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
}

/* === Problems Section === */
.problems {
  padding: 100px 0;
  background: var(--color-bg-alt);
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.problem {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.problem:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-light);
}

.problem__icon-wrapper {
  width: 72px;
  height: 72px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.problem:hover .problem__icon-wrapper {
  background: rgba(124, 92, 224, 0.1);
}

.problem__img {
  width: 40px;
  height: 40px;
  filter: invert(30%) sepia(60%) saturate(1500%) hue-rotate(230deg);
}

.problem__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}

/* === Approach Section === */
.approach {
  padding: 100px 0;
  background: var(--color-surface);
}

.approach__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.approach__steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.approach__step {
  display: flex;
  gap: 24px;
}

.approach__step-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
}

.approach__step-text h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.approach__step-text p {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.approach__visual {
  display: flex;
  justify-content: center;
}

.approach__card {
  background: var(--color-primary);
  color: var(--color-text-light);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 400px;
}

.approach__card-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.approach__card-content svg {
  color: var(--color-accent-light);
}

.approach__card-content p {
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.9;
}

/* === About Section === */
.about {
  padding: 100px 0;
  background: var(--color-bg-alt);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__image {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__experience {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-accent);
  color: var(--color-text-light);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about__years {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.about__years-text {
  font-size: 14px;
  opacity: 0.9;
}

.about__text {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text);
}

.about__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* === CTA Section === */
.cta {
  padding: 100px 0;
  background: var(--color-primary);
}

.cta__card {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta .section-tag {
  color: var(--color-accent-light);
  background: rgba(155, 128, 240, 0.15);
}

.cta .section-title {
  color: var(--color-text-light);
}

.cta__price {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-accent-light);
  margin-bottom: 16px;
}

.cta__text {
  color: rgba(250, 249, 252, 0.7);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}

.cta__contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cta__contact-link {
  color: rgba(250, 249, 252, 0.6);
  font-size: 15px;
  transition: var(--transition);
}

.cta__contact-link:hover {
  color: var(--color-text-light);
}

.cta__divider {
  color: rgba(250, 249, 252, 0.3);
}

/* === Footer === */
.footer {
  background: var(--color-primary-dark);
  padding: 60px 0 30px;
  color: rgba(250, 249, 252, 0.7);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  max-width: 300px;
}

.footer__text {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250, 249, 252, 0.5);
}

.footer__links h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 14px;
  color: rgba(250, 249, 252, 0.6);
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--color-accent-light);
}

.footer__bottom {
  border-top: 1px solid rgba(250, 249, 252, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(250, 249, 252, 0.4);
}

.footer__license a {
  color: rgba(250, 249, 252, 0.5);
  text-decoration: underline;
  transition: var(--transition);
}

.footer__license a:hover {
  color: rgba(250, 249, 252, 0.8);
}

/* === Cookies === */
.cookies {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 700px;
  background: var(--color-surface);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: none;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  z-index: 999;
  font-size: 14px;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

.cookies.cookies_opened {
  display: grid;
}

.cookies__button {
  padding: 10px 24px;
  background: var(--color-primary);
  color: var(--color-text-light);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.cookies__button:hover {
  background: var(--color-primary-light);
}

/* === Responsive === */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__content {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__subtitle {
    max-width: 100%;
    text-align: center;
  }

  .hero__features {
    align-items: center;
  }

  .hero__feature {
    justify-content: center;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__image {
    max-width: 320px;
    margin: 0 auto;
  }

  .problem-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach__grid,
  .about__grid {
    grid-template-columns: 1fr;
  }

  /* Блок «Конфиденциальность» теперь ПОД заголовком */
  .approach__visual {
    order: 2;
  }

  .approach__content {
    order: 1;
  }

  .approach__card {
    max-width: 100%;
  }

  .about__image-wrapper {
    display: flex;
    justify-content: center;
  }

  .about__image {
    max-width: 320px;
  }

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

@media (max-width: 640px) {
  .header__nav {
    flex-direction: column;
    gap: 12px;
  }

  .header__contacts {
    gap: 8px;
  }

  .header__contact-link {
    font-size: 13px;
    gap: 4px;
    padding: 6px 10px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
  }

  .problem-list {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .cta__buttons {
    flex-direction: column;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cookies {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__experience {
    right: 10px;
    bottom: -10px;
    padding: 14px 20px;
  }

  .about__years {
    font-size: 28px;
  }
}