* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #f7faff;
  color: #16213e;
  overflow-x: hidden;
}

.header {
  width: 100%;
  padding: 22px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 800;
}

.logo-mark {
  background: linear-gradient(135deg, #777, #61b5ff);
  color: white;
  padding: 8px 12px;
  border-radius: 12px;
}

.nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #16213e;
  font-weight: 600;
}

.header-btn {
  text-decoration: none;
  background: #7b2cff;
  color: white;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
}

.hero {
  min-height: 90vh;
  padding: 80px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
}

.hero-content {
  width: 48%;
  z-index: 2;
}

.badge {
  color: #7b2cff;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero h1 span {
  color: #7b2cff;
}

.hero-text {
  font-size: 18px;
  color: #5b6478;
  line-height: 1.8;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.3s;
}

.primary {
  background: linear-gradient(135deg, #7b2cff, #9d4edd);
  color: white;
  box-shadow: 0 12px 30px rgba(123,44,255,0.3);
}

.secondary {
  background: white;
  color: #16213e;
  margin-left: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.btn:hover {
  transform: translateY(-4px);
}

.mini-features {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 40px;
  font-weight: 700;
  color: #4d566d;
}

.hero-visual {
  width: 52%;
  height: 570px;
  position: relative;
}

.blob {
  position: absolute;
  width: 520px;
  height: 520px;
  background: linear-gradient(135deg, #7b2cff, #61b5ff);
  border-radius: 50%;
  right: 0;
  top: 40px;
  filter: blur(10px);
  opacity: 0.18;
}

.dashboard-card,
.login-card {
  position: absolute;
  overflow: hidden;
  border-radius: 24px;
  background: white;
  box-shadow: 0 35px 90px rgba(0,0,0,0.18);
}

.dashboard-card {
  width: 720px;
  right: -40px;
  top: 50px;
  transform: perspective(1000px) rotateY(-14deg) rotateX(5deg);
}

.login-card {
  width: 380px;
  left: 20px;
  bottom: 20px;
  transform: perspective(1000px) rotateY(14deg) rotateX(8deg);
}

.dashboard-card img,
.login-card img {
  width: 100%;
  display: block;
}

.floating {
  animation: float 5s ease-in-out infinite;
}

.floating2 {
  animation: float2 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) perspective(1000px) rotateY(-14deg) rotateX(5deg);
  }
  50% {
    transform: translateY(-20px) perspective(1000px) rotateY(-14deg) rotateX(5deg);
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translateY(0) perspective(1000px) rotateY(14deg) rotateX(8deg);
  }
  50% {
    transform: translateY(18px) perspective(1000px) rotateY(14deg) rotateX(8deg);
  }
}

.section {
  padding: 90px 7%;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-heading h2 {
  font-size: 42px;
  margin-bottom: 16px;
}

.section-heading p {
  color: #657086;
  font-size: 17px;
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.07);
  transition: 0.3s;
  border: 1px solid #eef1f8;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 70px rgba(123,44,255,0.14);
}

.icon {
  font-size: 36px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  color: #667085;
  line-height: 1.7;
}

.dashboard-section {
  background: linear-gradient(135deg, #ffffff, #eef5ff);
}

.analytics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.analytics-card {
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  min-height: 260px;
}

.chart-bars {
  height: 140px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: 28px 0;
}

.chart-bars span {
  width: 100%;
  background: linear-gradient(180deg, #61b5ff, #7b2cff);
  border-radius: 12px 12px 0 0;
  animation: grow 1.5s ease;
}

@keyframes grow {
  from { height: 0; }
}

.kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.kpis div {
  background: #f5f8ff;
  padding: 20px;
  border-radius: 16px;
}

.kpis strong {
  display: block;
  font-size: 22px;
  color: #7b2cff;
}

.kpis small {
  color: #667085;
}

.circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 25px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px;
  font-weight: 900;
  color: #7b2cff;
  background:
    radial-gradient(circle at center, white 58%, transparent 59%),
    conic-gradient(#7b2cff 0% 99%, #e5e7eb 99% 100%);
}

.pricing-box,
.contact-box {
  max-width: 650px;
  margin: auto;
  background: white;
  padding: 45px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 25px 80px rgba(0,0,0,0.08);
}

.price {
  font-size: 30px;
  color: #7b2cff;
  font-weight: 900;
  margin: 20px 0;
}

.pricing-box ul {
  list-style: none;
  margin: 25px 0;
  line-height: 2.1;
  color: #5b6478;
}

.contact {
  background: linear-gradient(135deg, #16213e, #2b2d42);
}

.contact h2,
.contact p {
  color: rgb(131, 82, 247);
}

.contact p {
  margin: 15px 0 30px;
}

footer {
  background: #0f172a;
  color: white;
  text-align: center;
  padding: 28px;
}

@media (max-width: 1100px) {
  .hero {
    flex-direction: column;
  }

  .hero-content,
  .hero-visual {
    width: 100%;
    text-align: center;
  }

  .dashboard-card {
    width: 95%;
    right: 0;
  }

  .login-card {
    display: none;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .analytics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav,
  .header-btn {
    display: none;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero {
    padding-top: 45px;
  }

  .hero-visual {
    height: 360px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .secondary {
    margin-left: 0;
    margin-top: 12px;
  }

  .mini-features {
    justify-content: center;
  }
}