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

:root {
  --bg:        #0A0E1A;
  --bg2:       #0F1424;
  --bg3:       #141828;
  --surface:   #1A1F38;
  --border:    #232840;
  --accent:    #4F6EF7;
  --accent2:   #7B4FFF;
  --text:      #E8EEFF;
  --text-muted:#7A83AA;
  --text-dim:  #3A4268;
  --white:     #ffffff;
  --radius:    12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover { background: #3a57e8; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(79,110,247,0.35); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 9px 18px; font-size: 14px; }

/* ── Section labels ──────────────────────────── */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 48px;
  color: var(--text);
}

/* ── NAV ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(10,14,26,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo-img { width: 36px; height: 36px; border-radius: 8px; }
.nav__logo-text { font-size: 20px; font-weight: 800; color: var(--text); }
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }
.nav .btn { margin-left: 8px; flex-shrink: 0; }

/* ── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,14,26,0.92) 0%,
    rgba(10,14,26,0.75) 50%,
    rgba(10,14,26,0.55) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
  max-width: 680px;
}
.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(79,110,247,0.15);
  border: 1px solid rgba(79,110,247,0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--white);
}
.hero__sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(232,238,255,0.75);
  margin-bottom: 36px;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero__slogan {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero__scroll span {
  display: block;
  width: 20px;
  height: 32px;
  border: 2px solid rgba(232,238,255,0.2);
  border-radius: 100px;
  position: relative;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
  0% { opacity: 1; top: 5px; }
  100% { opacity: 0; top: 18px; }
}

/* ── STATS ─────────────────────────────────────── */
.stats {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  text-align: center;
}
.stats__item { padding: 12px 8px; }
.stats__num {
  display: block;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.stats__label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── SERVICES ──────────────────────────────────── */
.services {
  padding: 120px 0;
  background: var(--bg);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 20px;
}
.service-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.service-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-card__price {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent2);
}

/* ── HOW IT WORKS ──────────────────────────────── */
.how {
  padding: 120px 0;
  background: var(--bg2);
}
.how .section-title { text-align: center; }
.how .section-label { text-align: center; }
.how__steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 16px;
}
.how__step {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.how__num {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 12px;
  line-height: 1;
}
.how__step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.how__step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.how__arrow {
  font-size: 24px;
  color: var(--text-dim);
  margin-top: 48px;
  flex-shrink: 0;
}

/* ── ABOUT ─────────────────────────────────────── */
.about {
  padding: 120px 0;
  background: var(--bg);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}
.about__text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.about__list {
  list-style: none;
  margin: 24px 0 32px;
}
.about__list li {
  font-size: 15px;
  color: var(--text);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.about__list li:last-child { border-bottom: none; }
.about__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.about__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
}
.about__qr-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}
.about__qr-icon { width: 80px; height: 80px; }
.about__card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.about__card-handle {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}
.about__card-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── CONTACT ───────────────────────────────────── */
.contact {
  padding: 120px 0;
  background: var(--bg2);
}
.contact__inner { text-align: center; }
.contact__sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: -24px;
  margin-bottom: 48px;
}
.contact__cards {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, transform 0.2s;
  text-align: left;
  min-width: 240px;
}
.contact__card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.contact__card--primary {
  background: rgba(79,110,247,0.1);
  border-color: rgba(79,110,247,0.3);
}
.contact__card--primary:hover { border-color: var(--accent); }
.contact__card-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  flex-shrink: 0;
}
.contact__card-title {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2px;
}
.contact__card-val {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

/* ── FOOTER ────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__logo-img { width: 32px; height: 32px; border-radius: 7px; }
.footer__logo-name { font-size: 16px; font-weight: 800; }
.footer__logo-sub { font-size: 12px; color: var(--text-muted); }
.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: auto;
}
.footer__copy a { color: var(--accent); }
.footer__slogan {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 900px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { display: none; }
  .how__steps { flex-direction: column; }
  .how__arrow { display: none; }
  .nav__links { display: none; }
}

@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .contact__cards { flex-direction: column; align-items: stretch; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__copy { margin-left: 0; }
  .nav .btn { display: none; }
}

/* ── Fade-in animation ─────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
