:root {
  --primary: #2e82c8;
  --primary-dark: #164794;
  --dark: #0b2152;
  --dark-2: #071735;
  --text: #172033;
  --muted: #6b7280;
  --soft: #f4f7fb;
  --white: #ffffff;
  --border: rgba(11, 33, 82, 0.1);
  --shadow: 0 24px 70px rgba(11, 33, 82, 0.14);
  --radius: 24px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; }

img, svg { max-width: 100%; }

.skip-link {
  position: absolute;
  top: -50px;
  left: 16px;
  z-index: 9999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--dark);
  border-radius: 10px;
  transition: top .2s ease;
}

.skip-link:focus { top: 16px; }

.section-padding { padding: 100px 0; }

.bg-soft { background: var(--soft); }

.bg-dark-gradient {
  background: radial-gradient(circle at top left, rgba(46, 130, 200, .45), transparent 30%), linear-gradient(135deg, var(--dark), var(--dark-2));
}

.text-white-75 { color: rgba(255, 255, 255, .75); }

.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
  box-shadow: 0 12px 28px rgba(46, 130, 200, .28);
}

.btn-outline-light { border-color: rgba(255,255,255,.35); }

.site-header {
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.28);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 34px rgba(11, 33, 82, .08);
}

.navbar { padding: 16px 0; }

.brand-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--dark));
  font-weight: 800;
}

.brand-text { color: var(--dark); font-weight: 800; letter-spacing: -0.03em; }

.nav-link {
  color: var(--dark);
  font-weight: 600;
  font-size: .95rem;
}

.nav-link:hover, .nav-link.active { color: var(--primary); }

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 150px;
  color: var(--white);
  background: radial-gradient(circle at 80% 20%, rgba(85, 223, 247, .25), transparent 28%), linear-gradient(135deg, var(--dark), #061029 70%);
  overflow: hidden;
}

.eyebrow, .section-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(46, 130, 200, .1);
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-section .eyebrow {
  color: #bfeeff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
}

.section-tag.light {
  color: #bfeeff;
  background: rgba(255,255,255,.1);
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.04em; }

h1 {
  margin: 22px 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 900;
}

h2 {
  margin: 14px 0 18px;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 850;
  color: var(--dark);
}

.bg-dark-gradient h2 { color: var(--white); }

.hero-text {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255,255,255,.78);
  font-size: 1.16rem;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  color: rgba(255,255,255,.78);
}

.hero-checks i { color: #55dff7; margin-right: 6px; }

.hero-card {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
  backdrop-filter: blur(18px);
}

.browser-bar {
  display: flex;
  gap: 8px;
  padding: 4px 0 16px;
}

.browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.32);
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-height: 390px;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
}

.preview-sidebar { background: linear-gradient(180deg, var(--dark), var(--primary-dark)); }

.preview-content { padding: 32px; }

.preview-line {
  height: 18px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #dce8f6;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.preview-grid div {
  height: 100px;
  border-radius: 18px;
  background: linear-gradient(135deg, #edf5ff, #d8ecff);
}

.preview-chart {
  height: 130px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(46,130,200,.18), rgba(11,33,82,.06));
}

.floating-badge {
  position: absolute;
  right: -10px;
  bottom: 38px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--dark);
  background: var(--white);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.trust-section { margin-top: -54px; position: relative; z-index: 2; }

.trust-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.trust-item {
  padding: 18px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--dark); font-size: 1.7rem; }
.trust-item span { color: var(--muted); font-weight: 600; }

.section-heading { max-width: 760px; }
.section-heading p, section p { color: var(--muted); }

.mini-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.mini-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.mini-list i { color: var(--primary); }

.about-panel {
  position: relative;
  min-height: 430px;
  border-radius: 34px;
  background: linear-gradient(135deg, #dceeff, #fff);
  box-shadow: var(--shadow);
}

.about-panel-card {
  position: absolute;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 22px 55px rgba(11,33,82,.12);
}

.main-card {
  top: 54px;
  left: 46px;
  right: 46px;
  padding: 34px;
}

.main-card i { color: var(--primary); font-size: 2.5rem; }
.main-card h3 { margin-top: 18px; color: var(--dark); font-weight: 850; }

.secondary-card {
  left: 26px;
  right: 26px;
  bottom: 34px;
  padding: 22px;
  display: grid;
  gap: 4px;
}

.secondary-card strong { color: var(--dark); font-size: 1.1rem; }
.secondary-card span { color: var(--muted); }

.service-card, .project-card, .contact-form {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(11,33,82,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover, .project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46,130,200,.28);
  box-shadow: var(--shadow);
}

.service-card i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 16px;
  color: var(--primary-dark);
  background: rgba(46,130,200,.12);
  font-size: 1.55rem;
}

.service-card h3, .project-card h3 { color: var(--dark); font-size: 1.28rem; font-weight: 820; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.features-grid div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  font-weight: 800;
}

.features-grid i { color: #55dff7; font-size: 1.4rem; }

.project-card { min-height: 240px; }
.project-card span { color: var(--primary); font-weight: 900; }

.cta-section { padding: 80px 0; background: var(--soft); }

.cta-box {
  padding: clamp(34px, 6vw, 78px);
  border-radius: 34px;
  color: var(--white);
  background: radial-gradient(circle at top right, rgba(85,223,247,.28), transparent 35%), linear-gradient(135deg, var(--dark), var(--primary-dark));
  box-shadow: var(--shadow);
}

.cta-box h2 { color: var(--white); }
.cta-box p { max-width: 680px; margin: 0 auto 28px; color: rgba(255,255,255,.78); }

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-list a, .contact-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
}

.contact-list i { color: var(--primary); }

.form-control {
  min-height: 50px;
  border-color: var(--border);
  border-radius: 14px;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .25rem rgba(46, 130, 200, .12);
}

.form-feedback { min-height: 24px; margin: 16px 0 0; font-weight: 700; color: var(--primary-dark); }

.site-footer {
  padding: 64px 0 26px;
  color: rgba(255,255,255,.72);
  background: var(--dark-2);
}

.footer-brand {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 900;
}

.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.site-footer a { display: block; color: rgba(255,255,255,.72); margin-bottom: 8px; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .92rem; }

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
  box-shadow: var(--shadow);
  z-index: 50;
}

.back-to-top.show { display: inline-flex; }

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
  }

  .section-padding { padding: 76px 0; }
  .hero-section { min-height: auto; padding-top: 132px; }
  .trust-wrapper { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: 0; }
}

@media (max-width: 767.98px) {
  .hero-actions .btn { width: 100%; }
  .dashboard-preview { grid-template-columns: 58px 1fr; min-height: 320px; }
  .preview-content { padding: 22px; }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-grid div { height: 54px; }
  .floating-badge { right: 10px; bottom: 18px; font-size: .85rem; }
  .trust-section { margin-top: 0; }
  .trust-wrapper { grid-template-columns: 1fr; padding: 14px; }
  .features-grid { grid-template-columns: 1fr; }
  .about-panel { min-height: 360px; }
  .main-card { inset: 26px 20px auto; padding: 24px; }
  .secondary-card { left: 20px; right: 20px; }
}
