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

:root {
  --primary: #9E5FD2;
  --primary-light: #BB85E8;
  --primary-lighter: rgba(158, 95, 210, 0.15);
  --primary-dark: #7E45B0;
  --accent: #C78DF0;
  --bg: #0B0910;
  --bg-elevated: #110E19;
  --bg-card: #171322;
  --bg-card-hover: #1E192D;
  --surface: #171322;
  --text-primary: #EDE8F5;
  --text-secondary: #9B93AE;
  --text-muted: #665E78;
  --text-light: #FFFFFF;
  --gradient-1: linear-gradient(135deg, #BB85E8 0%, #9E5FD2 50%, #7E45B0 100%);
  --gradient-2: linear-gradient(135deg, #9E5FD2 0%, #7E45B0 100%);
  --gradient-hero: linear-gradient(160deg, #0B0910 0%, #150F24 40%, #1C1432 100%);
  --gradient-glow: radial-gradient(circle, rgba(158, 95, 210, 0.15) 0%, transparent 70%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(158, 95, 210, 0.2);
  --border: rgba(158, 95, 210, 0.12);
  --border-light: rgba(158, 95, 210, 0.22);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  background: none;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1320px;
  z-index: 1000;
  background: linear-gradient(
    135deg,
    rgba(28, 24, 38, 0.7) 0%,
    rgba(36, 31, 48, 0.6) 50%,
    rgba(28, 24, 38, 0.7) 100%
  );
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(158, 95, 210, 0.08),
    inset 0 -1px 1px rgba(0, 0, 0, 0.1);
  transition: all var(--transition);
}

.header--scrolled {
  background: linear-gradient(
    135deg,
    rgba(28, 24, 38, 0.85) 0%,
    rgba(36, 31, 48, 0.75) 50%,
    rgba(28, 24, 38, 0.85) 100%
  );
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(158, 95, 210, 0.1),
    inset 0 -1px 1px rgba(0, 0, 0, 0.15);
  top: 8px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.header__logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(158, 95, 210, 0.3);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 12px;
  transition: all var(--transition);
}

.header__nav-link:hover {
  color: var(--primary-light);
  background: rgba(158, 95, 210, 0.1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-1);
  color: white;
  box-shadow: 0 2px 12px rgba(158, 95, 210, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(158, 95, 210, 0.4);
}

.header .btn--primary {
  padding: 10px 20px;
  font-size: 13px;
  border-radius: 12px;
}

.btn--secondary {
  background: rgba(158, 95, 210, 0.12);
  color: var(--primary-light);
  border: 1px solid var(--border-light);
}

.btn--secondary:hover {
  background: rgba(158, 95, 210, 0.2);
}

.btn--outline {
  border: 2px solid var(--border-light);
  color: var(--primary-light);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(158, 95, 210, 0.1);
}

.btn--dark {
  background: var(--bg-card);
  color: white;
  border: 1px solid var(--border);
}

.btn--dark:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.btn--large {
  padding: 16px 36px;
  font-size: 17px;
  border-radius: var(--radius-md);
}

.btn--small {
  padding: 8px 16px;
  font-size: 13px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.burger__line {
  width: 100%;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger--active .burger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger--active .burger__line:nth-child(2) {
  opacity: 0;
}

.burger--active .burger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 88px;
  left: 16px;
  right: 16px;
  bottom: auto;
  max-height: calc(100vh - 100px);
  background: linear-gradient(
    135deg,
    rgba(28, 24, 38, 0.9) 0%,
    rgba(36, 31, 48, 0.85) 50%,
    rgba(28, 24, 38, 0.9) 100%
  );
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  gap: 4px;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu--open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__link {
  font-size: 17px;
  font-weight: 600;
  padding: 14px 16px;
  color: var(--text-primary);
  border-radius: 12px;
  transition: background var(--transition);
}

.mobile-menu__link:hover {
  background: rgba(158, 95, 210, 0.1);
}

.mobile-menu__actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero {
  padding-top: 72px;
  background: var(--gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: #9E5FD2;
  top: -100px;
  right: -100px;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: #7E45B0;
  bottom: -50px;
  left: -50px;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  background: #BB85E8;
  top: 50%;
  left: 40%;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.hero__content {
  flex: 1;
  max-width: 680px;
}

.hero__title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__title span {
  background: linear-gradient(135deg, #BB85E8 0%, #9E5FD2 40%, #C78DF0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 32px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 14px;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.store-btn__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn__label {
  font-size: 11px;
  opacity: 0.7;
}

.store-btn__name {
  font-size: 15px;
  font-weight: 600;
}

.hero__phone {
  flex: 0 0 auto;
  position: relative;
}

.phone-mockup {
  width: 300px;
  height: 620px;
  background: #0D0B12;
  border-radius: 40px;
  border: 3px solid rgba(158, 95, 210, 0.15);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(158, 95, 210, 0.08);
}

.phone-mockup__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #0D0B12;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-mockup__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #0F0C17 0%, #161224 50%, #1A142E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.phone-mockup__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.features {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #0F0C18 50%, var(--bg) 100%);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -200px;
  width: 500px;
  height: 500px;
  background: rgba(158, 95, 210, 0.04);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.features::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: -200px;
  width: 400px;
  height: 400px;
  background: rgba(176, 110, 230, 0.04);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary-lighter);
  color: var(--primary-light);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.section-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row--reverse {
  flex-direction: row-reverse;
}

.feature-row__content {
  flex: 1;
}

.feature-row__tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(158, 95, 210, 0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(158, 95, 210, 0.15);
}

.feature-row__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.feature-row__text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-row__phone {
  flex: 0 0 auto;
}

.feature-row__phone .phone-mockup {
  width: 260px;
  height: 540px;
}

.benefits {
  padding: 120px 0;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

.benefits__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.benefits__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.benefits__orb--1 {
  width: 500px;
  height: 500px;
  background: #9E5FD2;
  top: -200px;
  left: -100px;
}

.benefits__orb--2 {
  width: 400px;
  height: 400px;
  background: #7E45B0;
  bottom: -200px;
  right: -100px;
}

.benefits .section-tag {
  background: rgba(158, 95, 210, 0.12);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.benefit-card {
  background: rgba(158, 95, 210, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}

.benefit-card:hover {
  background: rgba(158, 95, 210, 0.1);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

.benefit-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.benefit-card__title {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.benefit-card__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.security {
  padding: 120px 0;
}

.security__inner {
  background: linear-gradient(135deg, rgba(158, 95, 210, 0.08) 0%, rgba(139, 111, 192, 0.04) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 80px;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.security__content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.security__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--primary-lighter);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 24px;
}

.security__title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

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

.security__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.security__list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.security__list-check {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.security__image {
  flex: 0 0 320px;
  height: 400px;
  background: rgba(158, 95, 210, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.download {
  padding: 120px 0;
  text-align: center;
}

.download__logo {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 44px;
  font-weight: 800;
  margin: 0 auto 32px;
  box-shadow: var(--shadow-lg);
}

.download__title {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.download__text {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.download__buttons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
}

.download__store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: white;
  transition: all var(--transition);
}

.download__store-btn:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.download__store-btn .store-btn__icon {
  width: 28px;
  height: 28px;
}

.footer {
  background: #08060E;
  color: white;
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
}

.footer__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}

.footer__description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 280px;
}

.footer__column-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.4);
}

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

.footer__link {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer__link:hover {
  color: white;
}

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

.footer__copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

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

.footer__legal-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer__legal-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero__title {
    font-size: 44px;
  }

  .section-title {
    font-size: 36px;
  }

  .feature-row {
    gap: 40px;
    margin-bottom: 80px;
  }

  .feature-row__title {
    font-size: 28px;
  }

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

  .security__inner {
    padding: 60px;
  }

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

@media (max-width: 768px) {
  .header {
    width: calc(100% - 24px);
    top: 8px;
    border-radius: 100px;
  }

  .header--scrolled {
    top: 6px;
  }

  .header__inner {
    height: 56px;
    padding: 0 16px;
  }

  .header__nav {
    display: none;
  }

  .header__actions .btn {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-menu {
    top: 76px;
    left: 12px;
    right: 12px;
    border-radius: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero__inner {
    flex-direction: column;
    text-align: center;
    padding: 60px 0;
    gap: 40px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 17px;
  }

  .hero__buttons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .download__buttons {
    flex-wrap: wrap;
  }

  .feature-row {
    flex-direction: column !important;
    text-align: center;
    gap: 32px;
    margin-bottom: 80px;
  }

  .feature-row__phone .phone-mockup {
    width: 220px;
    height: 460px;
  }

  .section-title {
    font-size: 30px;
  }

  .section-header {
    margin-bottom: 48px;
  }

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

  .benefit-card {
    padding: 28px;
  }

  .security__inner {
    flex-direction: column;
    padding: 40px 24px;
    text-align: center;
  }

  .security__image {
    flex: none;
    width: 100%;
    height: 240px;
  }

  .security__list {
    align-items: center;
  }

  .security__title {
    font-size: 28px;
  }

  .download__title {
    font-size: 30px;
  }

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

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

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

  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .phone-mockup {
    width: 240px;
    height: 500px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
  }

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

  .store-btn {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 26px;
  }

  .feature-row__title {
    font-size: 24px;
  }

  .feature-row__phone .phone-mockup {
    width: 200px;
    height: 420px;
  }
}
