:root {
  --bg: #030712;
  --bg-soft: #07111f;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.16);
  --text: #f8fbff;
  --muted: #a9b7cc;
  --blue: #2667ff;
  --blue-bright: #4f8cff;
  --cyan: #38d8ff;
  --success: #36e29a;
  --warning: #ffd166;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(38, 103, 255, 0.22), transparent 32%),
    radial-gradient(circle at 82% 2%, rgba(56, 216, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #02050d 0%, var(--bg) 42%, #050915 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 108px 0;
  position: relative;
}

.glass {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border-radius: var(--radius);
  padding: 0 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), #0e46dd);
  box-shadow: 0 16px 38px rgba(38, 103, 255, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 20px 48px rgba(38, 103, 255, 0.48);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.btn-secondary:hover {
  border-color: rgba(79, 140, 255, 0.7);
  background: rgba(79, 140, 255, 0.12);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: 0;
}

/* Sticky Header / Navbar */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(3, 7, 18, 0.82);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.18rem;
  font-weight: 900;
}

.logo-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(38, 103, 255, 0.35);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--muted);
  font-weight: 700;
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: white;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: white;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 132px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(3, 7, 18, 0.62), rgba(3, 7, 18, 0.88)),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1800&q=85") center/cover;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 58px;
  align-items: center;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 6.2vw, 5.95rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 660px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.trust-row {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.trust-row i {
  color: var(--success);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.dashboard-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(440px, 100%);
  padding: 22px;
  border-radius: var(--radius);
  transform: translate(-50%, -50%);
}

.dashboard-top {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.dashboard-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.security-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
}

.shield-ring {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(from 120deg, var(--blue), var(--cyan), var(--blue));
  box-shadow: 0 0 36px rgba(56, 216, 255, 0.28);
}

.shield-ring i {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: #07111f;
  font-size: 1.55rem;
}

.security-panel p,
.metric-grid span,
.progress-item span {
  color: var(--muted);
}

.security-panel h3 {
  font-size: 2rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 16px 0;
}

.metric-grid div {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.metric-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 1.85rem;
}

.progress-list {
  display: grid;
  gap: 16px;
}

.bar {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: white;
  font-weight: 800;
  animation: float 6s ease-in-out infinite;
}

.badge-top {
  top: 62px;
  right: 0;
}

.badge-bottom {
  bottom: 60px;
  left: 0;
  animation-delay: -2s;
}

/* Services Section */
.services-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.testimonial-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card::before,
.testimonial-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(38, 103, 255, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover,
.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 140, 255, 0.55);
}

.service-card:hover::before,
.testimonial-card:hover::before {
  opacity: 1;
}

.service-card > *,
.testimonial-card > * {
  position: relative;
}

.service-card i {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 1.35rem;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.service-card p,
.testimonial-card p,
.contact-copy p,
.footer p {
  color: var(--muted);
}

/* Statistics Section */
.stats {
  padding-top: 32px;
  padding-bottom: 32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 34px;
  border-radius: var(--radius);
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  color: white;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.stat-item p {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

/* Premium Telegram CTA Section */
.telegram-cta {
  overflow: hidden;
}

.telegram-panel {
  position: relative;
  display: grid;
  max-width: 900px;
  min-height: 390px;
  margin-inline: auto;
  padding: 58px 34px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(56, 216, 255, 0.18),
    0 32px 110px rgba(38, 103, 255, 0.24),
    var(--shadow);
}

.telegram-panel::before,
.telegram-panel::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.telegram-panel::before {
  inset: -2px;
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 216, 255, 0.26), transparent 34%),
    radial-gradient(circle at 18% 80%, rgba(38, 103, 255, 0.24), transparent 32%),
    linear-gradient(135deg, rgba(38, 103, 255, 0.18), transparent 62%);
}

.telegram-panel::after {
  width: 210px;
  height: 210px;
  border: 1px solid rgba(56, 216, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(56, 216, 255, 0.22);
  animation: pulseGlow 4s ease-in-out infinite;
}

.telegram-panel > * {
  position: relative;
  z-index: 1;
}

.telegram-icon {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 44px rgba(56, 216, 255, 0.38);
  font-size: 2.35rem;
}

.telegram-panel h2 {
  max-width: 760px;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.telegram-panel p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.1rem;
}

.telegram-btn {
  margin-top: 20px;
}

.telegram-panel:hover .telegram-icon,
.telegram-panel:hover .telegram-btn {
  transform: translateY(-4px);
}

/* Testimonials Section */
.stars {
  margin-bottom: 18px;
  color: var(--warning);
}

.profile {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
}

.profile img {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  object-fit: cover;
}

.profile strong,
.profile span {
  display: block;
}

.profile span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-single {
  display: flex;
  justify-content: center;
}

.contact-copy {
  max-width: 780px;
  padding: 42px;
  border-radius: var(--radius);
  text-align: center;
}

.contact-copy p {
  margin-inline: auto;
  margin-top: 18px;
  max-width: 560px;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.contact-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  justify-self: center;
  padding: 15px 20px;
  border-radius: var(--radius);
  color: white;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(38, 103, 255, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 216, 255, 0.55);
  box-shadow: 0 22px 54px rgba(38, 103, 255, 0.34);
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-row a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  transition: transform 0.25s ease, background 0.25s ease;
}

.social-row a:hover {
  transform: translateY(-4px);
  background: rgba(38, 103, 255, 0.25);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
}

.footer h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer a:not(.logo) {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  transition: color 0.25s ease;
}

.footer a:hover {
  color: white;
}

.footer .social-row a {
  display: grid;
  margin-bottom: 12px;
  color: white;
}

.footer p {
  max-width: 380px;
  margin-top: 16px;
}

.copyright {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation Utilities */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.34;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.58;
  }
}

/* Responsive Design */
@media (max-width: 980px) {
  .section {
    padding: 86px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(3, 7, 18, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

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

  .nav-cta {
    width: 100%;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
  }

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .navbar {
    min-height: 74px;
  }

  .nav-menu {
    top: 74px;
    left: 14px;
    right: 14px;
  }

  .hero {
    padding-top: 116px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 15vw, 4rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .dashboard-card {
    padding: 16px;
  }

  .floating-badge {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 12px;
  }

  .badge-top,
  .badge-bottom {
    display: none;
  }

  .services-grid,
  .testimonial-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    padding: 24px;
  }

  .service-card,
  .testimonial-card,
  .contact-copy,
  .telegram-panel {
    padding: 22px;
  }
}
