:root {
  --brand-primary: #4f46e5;
  --brand-secondary: #312e81;
  --brand-accent: #22c55e;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  line-height: 1.7;
  background-color: var(--surface);
}

.section-padding {
  padding: 96px 0;
}

.site-header {
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.navbar .nav-link {
  font-weight: 500;
  opacity: 0.92;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  opacity: 1;
  color: #ffffff;
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand-primary), #6366f1);
  color: #fff;
  border: 0;
  padding: 0.65rem 1.2rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-brand:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.35);
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 120px 0 80px;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-carousel .carousel-item img {
  height: 100%;
}

.hero-carousel .carousel-item img {
  object-fit: cover;
}

.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-indicators {
  z-index: 3;
  margin-bottom: 1.5rem;
}

.hero-indicators [data-bs-target] {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
}

.hero-control {
  z-index: 3;
  width: 7%;
}

.hero-control .carousel-control-prev-icon,
.hero-control .carousel-control-next-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.26);
  background-size: 48% 48%;
}

.hero-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.icon-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--brand-accent);
  flex: 0 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-primary);
  border: 1px solid rgba(79, 70, 229, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

.info-box,
.service-card,
.feature-panel,
.mini-feature {
  border-radius: 16px;
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.4rem;
  background: linear-gradient(180deg, #ffffff, #f8faff);
  border: 1px solid rgba(129, 140, 248, 0.25);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 70, 229, 0.5);
  box-shadow: 0 22px 42px rgba(79, 70, 229, 0.18);
}

.services-section {
  background:
    radial-gradient(circle at 15% 15%, rgba(79, 70, 229, 0.1), transparent 40%),
    radial-gradient(circle at 95% 100%, rgba(59, 130, 246, 0.08), transparent 35%),
    #ffffff;
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.35);
}

.service-chip {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #4338ca;
  background: rgba(99, 102, 241, 0.13);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}

.service-link {
  margin-top: auto;
  color: #4338ca;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
}

.service-link:hover {
  color: #312e81;
  text-decoration: underline;
}

.product-card {
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.feature-panel {
  position: relative;
  overflow: hidden;
  padding: 1.8rem;
  background: linear-gradient(155deg, #1e1b4b, #312e81);
  color: #f8fafc;
  border: 0;
  box-shadow: 0 22px 42px rgba(30, 27, 75, 0.32);
}

.feature-panel::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -60px;
  top: -60px;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.35);
}

.feature-panel h3,
.feature-panel p {
  position: relative;
  z-index: 1;
}

.feature-panel p {
  color: rgba(226, 232, 240, 0.9) !important;
}

.why-kicker {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #c7d2fe;
}

.why-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.mini-feature {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.2rem 1.2rem;
  border: 1px solid rgba(99, 102, 241, 0.18);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mini-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 18px 32px rgba(79, 70, 229, 0.14);
}

.mini-feature-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4338ca;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.contact-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.4), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.25), transparent 42%),
    #0f172a;
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 2rem;
}

.contact-list li {
  color: #e2e8f0;
  margin-bottom: 0.8rem;
}

.contact-list a {
  color: #c7d2fe;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.site-footer {
  background: var(--surface-soft);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 76px 0;
  }

  .hero-section {
    min-height: auto;
  }

  .navbar-collapse {
    background: rgba(15, 23, 42, 0.9);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding-top: 110px;
  }

  .hero-control {
    width: 12%;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .service-card {
    padding: 1.2rem;
  }
}
