/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #1a56db;
  --color-primary-dark: #1040a0;
  --color-primary-light: #3b82f6;
  --color-accent: #f59e0b;
  --color-accent-light: #fbbf24;
  --color-dark: #0f172a;
  --color-dark-soft: #1e293b;
  --color-text: #334155;
  --color-text-light: #64748b;
  --color-text-white: #f1f5f9;
  --color-bg: #ffffff;
  --color-bg-light: #f8fafc;
  --color-bg-dark: #0f172a;
  --color-border: #e2e8f0;
  --gradient-primary: linear-gradient(135deg, #1a56db 0%, #7c3aed 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #172554 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(26, 86, 219, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Animations ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate(0);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.is-scrolled {
  padding: 12px 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 800;
  font-size: 1.5rem;
  z-index: 1001;
}

.logo__ra {
  color: var(--color-accent);
}

.logo__market {
  color: #fff;
  font-weight: 300;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar__link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
}

.navbar__link:hover {
  color: #fff;
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__link--cta {
  background: var(--gradient-primary);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
}

.navbar__link--cta::after {
  display: none;
}

.navbar__link--cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(26, 86, 219, 0.4);
}

.navbar__link--pay {
  color: #67e8f9 !important;
  border: 1px solid rgba(103, 232, 249, 0.42);
  border-radius: 50px;
  padding: 10px 18px;
  background: rgba(103, 232, 249, 0.1);
  font-weight: 700;
}

.navbar__link--pay::after {
  display: none;
}

.navbar__link--pay:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #1a56db 0%, #8b5cf6 100%);
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(103, 232, 249, 0.26);
}

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.navbar__burger span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.navbar__burger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar__burger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 86, 219, 0.4);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero__gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__gradient::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 140px 24px 80px;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  color: var(--color-accent-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__title--accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn--pay {
  color: #fff;
  background: linear-gradient(135deg, #1a56db 0%, #8b5cf6 100%);
  box-shadow: 0 18px 42px rgba(26, 86, 219, 0.36);
}

.btn--pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(139, 92, 246, 0.42);
}

.hero__stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}

.hero__stat-suffix {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
}

.hero__stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--gradient-dark);
}

.section--light {
  background: var(--color-bg-light);
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section__label--light {
  color: var(--color-accent);
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section__title--light {
  color: #fff;
}

.section__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== About ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__text .section__label {
  text-align: left;
}

.about__text .section__title {
  text-align: left;
  margin-bottom: 24px;
}

.about__desc {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about__highlights {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about__highlight-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 86, 219, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

.about__highlight strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.about__highlight p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.about__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-height: 420px;
}

.about__card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.about__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.about__card-icon {
  font-size: 2rem;
}

.about__card-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

.about__card--1 { background: linear-gradient(135deg, #eff6ff, #dbeafe); border-color: #bfdbfe; }
.about__card--2 { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-color: #bbf7d0; }
.about__card--3 { background: linear-gradient(135deg, #fef3c7, #fde68a); border-color: #fcd34d; }
.about__card--4 { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); border-color: #c4b5fd; }

/* ===== Geography ===== */
.geography__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.geography__item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.geography__item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.geography__flag {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.geography__item h3 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.geography__banks {
  text-align: center;
}

.geography__banks-title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.geography__banks-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.geography__bank {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.geography__bank:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ===== Advantages ===== */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 86, 219, 0.08);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.advantage-card:hover .advantage-card__icon {
  background: var(--gradient-primary);
  color: #fff;
}

.advantage-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.advantage-card__desc {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== How it works ===== */
.steps {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
  opacity: 0.2;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 24px 0;
  position: relative;
}

.step__number {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
  position: relative;
  z-index: 1;
}

.step__content {
  flex: 1;
  padding-top: 12px;
}

.step__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.step__desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Contacts ===== */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contacts__info .section__label,
.contacts__info .section__title {
  text-align: left;
}

.contacts__desc {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  margin-bottom: 40px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.contacts__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contacts__item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.contacts__item-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
}

.contacts__item-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  margin-bottom: 2px;
}

.contacts__item-value {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
}

.contacts__form-wrapper {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
}

.contacts__form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
}

.form__group {
  margin-bottom: 16px;
}

.form__input {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form__input:focus {
  border-color: var(--color-primary-light);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.contacts__form .btn {
  margin-top: 8px;
}

/* ===== Footer ===== */
.footer {
  background: #080d19;
  padding: 48px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer__logo {
  text-align: center;
}

.footer__logo .logo__ra {
  font-size: 1.8rem;
  font-weight: 800;
}

.footer__logo .logo__market {
  font-size: 1.2rem;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  margin-top: 4px;
}

.footer__links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  text-align: center;
}

/* ===== Particles ===== */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__visual {
    min-height: auto;
  }

  .geography__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contacts__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .navbar__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .navbar__menu.is-open {
    opacity: 1;
    visibility: visible;
  }

  .navbar__menu .navbar__link {
    font-size: 1.2rem;
  }

  .navbar__burger {
    display: flex;
  }

  .hero__content {
    padding: 120px 24px 60px;
  }

  .hero__stats {
    gap: 32px;
  }

  .section {
    padding: 72px 0;
  }

  .geography__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .steps::before {
    left: 27px;
  }

  .step {
    gap: 20px;
  }

  .step__number {
    width: 56px;
    height: 56px;
    font-size: 1rem;
  }

  .contacts__form-wrapper {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .geography__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .geography__item {
    padding: 24px 16px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}
