/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #09090f;
  color: #e8e8f0;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* === CONTAINER === */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === TYPOGRAPHY === */
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }

.gradient-text {
  background: linear-gradient(90deg, #6C63FF 0%, #48C8FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.35);
  color: #a99fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--dark {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: #c0c0d8;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: linear-gradient(135deg, #6C63FF 0%, #48C8FF 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,99,255,0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(108,99,255,0.5); }
.btn--ghost {
  background: transparent;
  color: #c0c0d8;
  border: 1px solid rgba(255,255,255,0.15);
}
.btn--ghost:hover { background: rgba(255,255,255,0.06); color: #fff; }
.btn--sm { padding: 9px 20px; font-size: 0.88rem; }
.btn--full { width: 100%; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(9,9,15,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a:not(.btn) {
  color: #a0a0b8;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:not(.btn):hover { color: #fff; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #c0c0d8;
  border-radius: 2px;
  transition: all 0.3s;
}

/* === HERO === */
.hero {
  padding: 140px 0 100px;
  position: relative;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__text { max-width: 560px; }
.hero__sub {
  color: #a0a0b8;
  font-size: 1.05rem;
  margin: 20px 0 32px;
  max-width: 460px;
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: #606078;
}

/* Card stack */
.card-stack {
  position: relative;
  height: 360px;
}
.card {
  position: absolute;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  min-width: 240px;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-4px) !important; }
.card--a { top: 20px; left: 20px; }
.card--b { top: 130px; right: 0; }
.card--c { bottom: 20px; left: 40px; }
.card-icon { font-size: 1.8rem; }
.card-label { font-size: 0.78rem; color: #707090; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.card-val { font-size: 1.4rem; font-weight: 800; color: #fff; margin-top: 3px; }
.up { font-size: 0.75rem; color: #4ade80; font-weight: 600; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}
.blob--1 { width: 220px; height: 220px; background: rgba(108,99,255,0.25); top: 10%; right: 10%; }
.blob--2 { width: 180px; height: 180px; background: rgba(72,200,255,0.18); bottom: 5%; left: 5%; }

/* === LOGOS === */
.logos {
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.logos__label {
  text-align: center;
  font-size: 0.8rem;
  color: #505068;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 24px;
}
.logos__row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logos__row span {
  font-size: 1rem;
  font-weight: 700;
  color: #383858;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* === SECTION HEAD === */
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-head p {
  color: #808098;
  font-size: 1rem;
  max-width: 500px;
  margin: 14px auto 0;
  line-height: 1.7;
}

/* === FEATURES === */
.features { padding: 100px 0; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.25s ease;
}
.feat-card:hover {
  background: rgba(108,99,255,0.07);
  border-color: rgba(108,99,255,0.3);
  transform: translateY(-3px);
}
.feat-icon { font-size: 2rem; margin-bottom: 16px; }
.feat-card p { color: #808098; font-size: 0.93rem; line-height: 1.65; }

/* === HOW IT WORKS === */
.how {
  padding: 100px 0;
  background: radial-gradient(ellipse at center, rgba(108,99,255,0.06) 0%, transparent 70%);
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  justify-content: center;
}
.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
}
.step-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #6C63FF, #48C8FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: #808098; font-size: 0.93rem; line-height: 1.65; }
.step-arrow {
  font-size: 1.8rem;
  color: #303050;
  margin-top: 40px;
  flex-shrink: 0;
}

/* === TESTIMONIALS === */
.testimonials { padding: 100px 0; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.testi-card--highlight {
  background: linear-gradient(135deg, rgba(108,99,255,0.12), rgba(72,200,255,0.08));
  border-color: rgba(108,99,255,0.3);
}
.testi-card p { color: #c0c0d8; font-size: 1rem; line-height: 1.7; font-style: italic; }
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C63FF, #48C8FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
}
.testi-author strong { font-size: 0.93rem; color: #e0e0f0; }
.testi-author small { font-size: 0.8rem; color: #606080; }

/* === CONTACT === */
.contact {
  padding: 100px 0;
  background: radial-gradient(ellipse at bottom, rgba(72,200,255,0.05) 0%, transparent 70%);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__text h2 { margin-bottom: 14px; }
.contact__text p { color: #808098; line-height: 1.7; margin-bottom: 28px; }
.contact__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact__perks li { color: #a0a0c0; font-size: 0.93rem; font-weight: 500; }

.contact__form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 36px;
}
.contact__form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 0.83rem; font-weight: 600; color: #a0a0b8; }
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 16px;
  color: #e8e8f0;
  font-size: 0.93rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #6C63FF;
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #404060; }

.success-msg {
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 12px;
  padding: 20px 24px;
  color: #4ade80;
  font-size: 1rem;
  line-height: 1.5;
}

/* === FOOTER === */
.footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copy { font-size: 0.82rem; color: #404060; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 0.82rem; color: #404060; transition: color 0.2s; }
.footer__links a:hover { color: #a0a0c0; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { display: flex; justify-content: center; }
  .card-stack { width: 340px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact__inner { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .burger { display: flex; }
  body.nav-open .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(9,9,15,0.97);
    padding: 28px 24px;
    gap: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .features__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .card-stack { width: 300px; height: 320px; }
  .card { min-width: 200px; }
}
