/* RESET */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: #000;
  background: #dde2ee;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 24px;
  padding-bottom: 8px;
  text-align: center;
  background: rgba(221, 226, 238, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.header-scrolled {
  padding-top: 14px;
  padding-bottom: 6px;
  background: rgba(221, 226, 238, 0.92);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.logo-block {
  margin-bottom: 12px;
}

.logo-img {
  width: 32px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.25));
}

/* NAVIGATION */
.nav {
  position: relative;
  margin: 8px auto 0 auto;
  max-width: 650px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.nav-group {
  display: flex;
  gap: 32px;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 700;
}

.nav-link {
  text-decoration: none;
  color: rgba(0,0,0,0.55);
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-link-active {
  color: #000;
}

/* чтобы hover не ломал центр */
.nav-center:hover {
  transform: translateX(-50%) translateY(-1px);
}

/* BLOCKS (16:9) */
.block {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.block-visible {
  opacity: 1;
  transform: translateY(0);
}

/* HERO */
.block-hero {
  position: relative;
  overflow: hidden;
}

.block-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: url("image/head-light.png") no-repeat top center;
  background-size: cover;
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  padding: 40px 60px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  gap: 60px;
}

.hero-text {
  flex: 1.2;
}

.hero-kicker {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 14px;
}

.hero-title {
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.02;
  font-size: clamp(44px, 5vw, 72px);
  margin-bottom: 16px;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  max-width: 420px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 12px 26px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
              color 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
  background: #000;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.55);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #000;
  border: 1px solid rgba(0,0,0,0.15);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.26);
  transform: translateY(-1px);
}

.hero-visual {
  flex: 0.8;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-crystal {
  width: 260px;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.28));
  animation: crystalFloat 7s ease-in-out infinite;
}

.hero-crystal img {
  width: 100%;
  height: auto;
}

/* GOAL */
.block-goal {
  padding: 40px 0;
}

.goal-inner {
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.goal-card {
  flex: 1.1;
  background: rgba(255,255,255,0.2);
  border-radius: 28px;
  padding: 28px 30px 30px;
  box-shadow: 0 26px 60px rgba(0,0,0,0.18);
  backdrop-filter: blur(20px);
}

.goal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.goal-icon {
  width: 18px;
}

.goal-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
}

.goal-text {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 520px;
}

.goal-text + .goal-text {
  margin-top: 10px;
}

.goal-visual {
  flex: 0.9;
  display: flex;
  justify-content: center;
}

.goal-finance-icon {
  width: 220px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.3));
}

/* TECH */
.block-tech {
  padding: 40px 0;
}

.tech-inner {
  position: relative;
  max-width: 1300px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

/* чат слева */
.tech-chat {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(0, -50%);
  margin-right: 80px;
  width: 460px;
}

.tech-chat-img {
  display: block;
  width: 100%;
  height: auto;
  animation: chatFloat 6s ease-in-out infinite;
}

/* телефон по центру */
.tech-phone {
  position: absolute;
  top: 50%;
  left: 50%;
}

.tech-phone-img {
  height: 620px;
  width: auto;
  transform: translate(-100%, -50%);
  transform-origin: center center;
  animation: phoneFloatTech 7s ease-in-out infinite;
}

/* текст справа */
.tech-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
  margin-left: 160px;
  width: 460px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tech-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.tech-icon {
  width: 26px;
}

.tech-title {
  font-size: 32px;
  font-weight: 800;
}

.tech-text {
  font-size: 18px;
  line-height: 1.6;
}

/* MODULES */
.block-modules {
  padding: 40px 0 70px;
}

.modules-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.modules-header {
  max-width: 520px;
  margin-bottom: 40px;
}

.modules-kicker {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 10px;
}

.modules-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.modules-subtitle {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  row-gap: 40px;
  margin-top: 16px;
}

.module-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 14px 18px;
  border-radius: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.module-item:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.18);
  box-shadow: 0 24px 50px rgba(0,0,0,0.16);
}

.module-icon-wrap {
  flex: 0 0 auto;
}

.module-icon {
  width: 90px;
  transition: transform 0.25s ease;
}

.module-item:hover .module-icon {
  transform: scale(1.05);
}

.module-content {
  flex: 1;
}

.module-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}

.module-text {
  font-size: 15px;
  line-height: 1.6;
}

/* CONTACTS */
.block-contacts {
  position: relative;
  padding: 40px 0;
  background: #dde2ee; /* без block-5.png, только реальные элементы */
}

.contacts-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.contacts-left {
  flex: 0.9;
  display: flex;
  justify-content: flex-start;
}

.contacts-phone {
  height: 520px;
  filter: drop-shadow(0 32px 80px rgba(0,0,0,0.36));
}

.contacts-right {
  flex: 1.1;
  display: flex;
  align-items: center;
  gap: 32px;
}

.contacts-qr {
  width: 170px;
}

.contacts-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacts-line {
  font-size: 26px;
  color: rgba(0,0,0,0.8);
  font-weight: 500;
}

.contacts-strong {
  font-weight: 800;
}

/* ANIMATIONS */
@keyframes crystalFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes phoneFloatTech {
  0%, 100% { transform: translate(-100%, -50%); }
  50% { transform: translate(-100%, -53%); }
}

@keyframes chatFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
