:root {
  --primary: #0D6EFD;
  --primary-dark: #0a58ca;
  --primary-light: rgba(13, 110, 253, 0.08);
  --accent: #6f42c1;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-alt: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;

  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.5);

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(13, 110, 253, 0.15);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-pill: 50px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.35s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 72px;
}

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

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

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--primary);
  color: var(--white);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 20px 0 16px;
  font-weight: 800;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-soft.badge-dark {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-dark);
}

.badge-soft.badge-warning {
  background: rgba(255, 193, 7, 0.12);
  color: #b8860b;
}

.badge-soft.badge-light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}

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

.reveal.active:nth-child(1) {
  transition-delay: 0ms;
}

.reveal.active:nth-child(2) {
  transition-delay: 80ms;
}

.reveal.active:nth-child(3) {
  transition-delay: 160ms;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.glass-nav {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: var(--shadow-xs);
  padding: 14px 0;
  transition: var(--transition);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark) !important;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: 12px;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.25);
}

.glass-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  position: relative;
}

.glass-nav .nav-link:hover,
.glass-nav .nav-link:focus {
  background: var(--primary-light);
  color: var(--primary) !important;
}

.glass-nav .btn-primary {
  background: var(--primary);
  border: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.25);
}

.glass-nav .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.35);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 60px 0;
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 15%, rgba(13, 110, 253, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(111, 66, 193, 0.06) 0%, transparent 40%);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  background: var(--primary);
  border: none;
  font-weight: 600;
  padding: 14px 32px;
  transition: var(--transition);
  box-shadow: 0 10px 28px rgba(13, 110, 253, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(13, 110, 253, 0.38);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dark);
  font-weight: 600;
  padding: 14px 32px;
  transition: var(--transition);
}

.btn-ghost:hover {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: var(--white);
  transform: translateY(-3px);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-visual {
  position: relative;
}

.hero-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
  border: 1px solid var(--border);
}

.floating-card i {
  font-size: 1.5rem;
  color: var(--primary);
}

.floating-card strong {
  display: block;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.floating-card small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.card-1 {
  top: 8%;
  left: -6%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 10%;
  right: -6%;
  animation-delay: 3s;
}

@keyframes float {

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

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 110, 253, 0.2);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.icon-box {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 16px;
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.feature-card:hover .icon-box {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.3);
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.65;
}

.solutions-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.solutions-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.solution-item {
  display: flex;
  gap: 20px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.solution-item:hover {
  transform: translateX(6px);
  border-color: rgba(13, 110, 253, 0.25);
  box-shadow: var(--shadow-sm);
}

.solution-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  font-size: 1.4rem;
}

.solution-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.solution-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.55;
}

.btn-outline-primary {
  color: var(--primary);
  border: 1.5px solid var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.3);
}

.stats-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  padding: 80px 0;
}

.stat-card {
  padding: 24px 16px;
}

.stat-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 110, 253, 0.2);
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.testimonial-head img {
  border-radius: 50%;
  border: 2px solid var(--primary-light);
}

.testimonial-head h5 {
  font-size: 1rem;
  font-weight: 700;
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 18px;
}

.stars {
  color: #fbbf24;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.cta-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.cta-inner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #312e81 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-text {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 1.05rem;
}

.cta-inner .btn-light {
  background: var(--white);
  color: var(--text-dark);
  font-weight: 700;
  border: none;
  transition: var(--transition);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.cta-inner .btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  background: #f1f5f9;
}

.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
}

.footer-brand i {
  color: var(--primary);
}

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

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-socials {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  color: var(--text-dark);
  border-radius: 12px;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.35);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 40px rgba(13, 110, 253, 0.45);
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding: 40px 0 60px;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-actions {
    margin-bottom: 36px;
  }

  .card-1 {
    top: 4%;
    left: 0;
  }

  .card-2 {
    bottom: 4%;
    right: 0;
  }

  .glass-nav .navbar-collapse {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
  }

  .glass-nav .nav-link {
    padding: 12px 16px !important;
  }

  .solutions-visual {
    margin-bottom: 20px;
  }

  .cta-inner {
    padding: 40px 32px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-socials {
    justify-content: flex-start;
    margin-top: 16px;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-top: 68px;
  }

  .section {
    padding: 70px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
  }

  .hero-trust {
    gap: 18px;
  }

  .trust-value {
    font-size: 1.35rem;
  }

  .trust-divider {
    height: 28px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .floating-card {
    padding: 10px 14px;
  }

  .floating-card i {
    font-size: 1.2rem;
  }

  .floating-card strong {
    font-size: 0.9rem;
  }

  .cta-inner {
    padding: 32px 24px;
    text-align: center;
  }

  .cta-inner .col-lg-4 {
    text-align: center !important;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .footer .col-md-4 {
    text-align: center !important;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-brand {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .trust-divider {
    display: none;
  }

  .hero-trust {
    gap: 20px;
  }

  .floating-card {
    display: none;
  }

  .stat-value {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }
}