:root {
  --bg: #05071a;
  --surface: #0c1029;
  --surface-alt: #11163a;
  --surface-light: #151b46;
  --accent: #5865f2;
  --accent-soft: rgba(88, 101, 242, 0.14);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.74);
  --text-muted: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --gradient: linear-gradient(135deg, rgba(88,101,242,0.85), rgba(118, 78, 216, 0.85));
  font-size: 16px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top right, rgba(88, 101, 242, 0.15), transparent 40%),
              radial-gradient(circle at 10% 20%, rgba(118, 78, 216, 0.18), transparent 45%),
              var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

section {
  padding: 6rem 0;
}

.hero {
  padding: 3rem 7vw 6rem;
  background: linear-gradient(180deg, rgba(5,7,26,0.9), rgba(5,7,26,0.95));
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.65;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: rgba(88, 101, 242, 0.4);
  top: -120px;
  right: -140px;
}

.hero::after {
  width: 340px;
  height: 340px;
  background: rgba(118, 78, 216, 0.35);
  bottom: -120px;
  left: -100px;
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  font-weight: 500;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.nav a:hover {
  color: var(--text-primary);
  opacity: 1;
}

.cta {
  padding: 0.75rem 1.75rem;
  background: var(--gradient);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-text p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn.primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 20px 45px rgba(88, 101, 242, 0.45);
}

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

.btn.ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  color: var(--text-secondary);
}

.hero-stats .stat {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-card {
  background: rgba(12, 16, 41, 0.92);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  position: relative;
}

.card-header,
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header {
  margin-bottom: 2rem;
  font-weight: 500;
  color: var(--text-muted);
}

.card-header .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #37ff9f;
  box-shadow: 0 0 14px rgba(55, 255, 159, 0.9);
}

.card-body {
  display: grid;
  gap: 1rem;
  color: var(--text-secondary);
}

.card-body p {
  padding: 1.2rem;
  background: rgba(21, 27, 70, 0.72);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card-body .assistant {
  border-left: 3px solid var(--accent);
}

.card-footer {
  margin-top: 2rem;
  gap: 1rem;
}

.card-footer .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.card-footer .name {
  display: block;
  font-weight: 600;
}

.card-footer .title {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.section {
  padding: 6rem 7vw;
}

.section-header {
  max-width: 650px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
}

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

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(88, 101, 242, 0.5);
}

.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.solutions {
  background: rgba(17, 22, 58, 0.85);
  position: relative;
  overflow: hidden;
}

.solutions::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(88, 101, 242, 0.25), transparent 55%);
  opacity: 0.6;
}

.solutions .section-header,
.solutions .solutions-grid {
  position: relative;
}

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

.solution {
  background: rgba(12, 16, 41, 0.8);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 220px;
}

.solution h3 {
  margin-bottom: 0.75rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 4rem 7vw;
  background: var(--surface);
}

.metric {
  background: rgba(21, 27, 70, 0.7);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.metric-label {
  color: var(--text-muted);
}

.pricing {
  background: rgba(12, 16, 41, 0.85);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: rgba(17, 22, 58, 0.8);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.pricing-card .price {
  font-size: 2.4rem;
  font-weight: 700;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-card ul {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  color: var(--text-secondary);
}

.pricing-card ul li::before {
  content: "✔";
  margin-right: 0.6rem;
  color: #6bffcb;
}

.pricing-card.highlight {
  background: rgba(88, 101, 242, 0.18);
  border: 1px solid rgba(88, 101, 242, 0.6);
  transform: scale(1.03);
  box-shadow: 0 25px 80px rgba(88, 101, 242, 0.35);
}

.pricing-card .badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--gradient);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.testimonials {
  background: var(--surface);
}

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

.testimonial {
  background: rgba(12, 16, 41, 0.8);
  border-radius: var(--radius-lg);
  padding: 2.3rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 18px;
  font-size: 6rem;
  color: rgba(88, 101, 242, 0.15);
}

.testimonial p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.author .name {
  display: block;
  font-weight: 600;
}

.author .role {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-section {
  padding: 5rem 7vw;
  background: var(--gradient);
  border-radius: var(--radius-xl);
  margin: 6rem 7vw;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 2.5rem;
  align-items: center;
  box-shadow: 0 25px 70px rgba(88, 101, 242, 0.4);
}

.cta-section h2 {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
}

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

.cta-form input {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 1rem;
  font-family: inherit;
}

.cta-form button {
  border: none;
  cursor: pointer;
}

.footer {
  padding: 4rem 7vw 3rem;
  background: rgba(5, 7, 26, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 320px;
  margin-top: 0.75rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-muted);
}

.footer-bottom .socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.6rem;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2.5rem 6vw 5rem;
  }

  .cta-section {
    grid-template-columns: 1fr;
    margin: 5rem 6vw;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  section {
    padding: 4.5rem 0;
  }

  .section {
    padding: 4.5rem 6vw;
  }

  .metrics {
    padding: 3.5rem 6vw;
  }

  .cta-section {
    margin: 4rem 6vw;
  }
}

@media (max-width: 540px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .cta-form {
    grid-template-columns: 1fr;
  }
}
