:root {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
  color: #f4f6ff;
  background-color: #04060f;
  line-height: 1.6;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 10% 20%, #0b1227, #04060f 65%);
  color: #f4f6ff;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 20px;
}

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

.hero {
  background: radial-gradient(circle at 20% 20%, #f5f3ff, #f9f9ff),
    linear-gradient(135deg, #100b35 0%, #17152b 100%);
  color: #fff;
  padding: 2rem clamp(1.5rem, 5vw, 5rem) clamp(4rem, 8vw, 7rem);
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.subtitle {
  color: rgba(244, 246, 255, 0.7);
  max-width: 540px;
}

.tagline {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: #9ab0ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn.primary {
  background: linear-gradient(120deg, #7c5cff, #4f9bff);
  color: #fff;
  box-shadow: 0 15px 30px rgba(92, 119, 255, 0.35);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

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

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stats .number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.hero-visual {
  position: relative;
}

.floating-card {
  position: absolute;
  bottom: 15%;
  left: -10%;
  background: rgba(16, 11, 53, 0.8);
  backdrop-filter: blur(15px);
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 40px rgba(11, 6, 48, 0.45);
}

.floating-card h3 {
  margin: 0.4rem 0;
  color: #8bddff;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 6rem);
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-heading.light {
  color: #fff;
}

.features {
  margin-top: -3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-grid article {
  background: #0e152a;
  color: #f1f4ff;
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.65);
  border: 1px solid rgba(121, 131, 255, 0.2);
}

.feature-grid article p {
  color: #aeb4d8;
}

.solutions {
  background: linear-gradient(120deg, #0c1127, #1a1440);
  color: #fff;
  border-radius: 32px;
  margin: 4rem clamp(1.5rem, 6vw, 6rem);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.solution-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modules {
  background: #050916;
}

.flow {
  background: #050916;
}

.flow-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.flow-step {
  background: #0a1229;
  border-radius: 24px;
  padding: 1.75rem;
  border: 1px solid rgba(118, 132, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  color: #f4f6ff;
}

.flow-step h3 {
  margin: 0.5rem 0;
}

.flow-step p {
  color: #b4bce8;
}

.flow-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.75rem;
  width: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(111, 120, 255, 0.1), #97a3ff);
  opacity: 0.6;
}

.flow-step:last-child::after {
  display: none;
}

.step-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(123, 138, 255, 0.15);
  border: 1px solid rgba(123, 138, 255, 0.4);
  font-weight: 600;
  color: #9fb1ff;
  font-size: 0.85rem;
}

.module-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.module-card {
  background: #0b1226;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(101, 120, 255, 0.25);
  color: #f1f4ff;
}

.module-card ul {
  padding-left: 1.2rem;
  color: #a7b0d8;
}

.download {
  background: transparent;
}

.download-card {
  background: #0c1127;
  color: #fff;
  border-radius: 32px;
  padding: clamp(2rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.testimonials {
  background: transparent;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.testimonial-grid figure {
  background: #0e152d;
  border-radius: 24px;
  padding: 1.75rem;
  border: 1px solid rgba(129, 140, 255, 0.18);
  color: #eef1ff;
}

.testimonial-grid blockquote {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #f4f6ff;
}

.contact {
  background: transparent;
}

.contact-card {
  background: #0b1224;
  border-radius: 32px;
  padding: clamp(2rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact input,
.contact textarea {
  border: 1px solid #263155;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: #0d152f;
  color: #f4f6ff;
}

.contact input:focus,
.contact textarea:focus {
  border-color: #9ea9ff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.25);
}

.footer {
  padding: 2rem clamp(1.5rem, 5vw, 5rem) 3rem;
  text-align: center;
  color: #a1a8d6;
  background: #03050d;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .floating-card {
    position: relative;
    left: 0;
    margin-top: 1rem;
  }

  .stats {
    gap: 1rem;
  }

  .flow-step::after {
    display: none;
  }
}

