/* =================================================================atea
   1. CSS VARIABLES & BASE STYLES
   ================================================================ */
:root {
  --primary: #0b5cff;
  --primary2: #0847c7;
  --ink: #10213d;
  --muted: #63708a;
  --soft: #f4f7fc;
  --line: #e5eaf2;
  --white: #fff;
  --shadow: 0 20px 60px rgba(25, 54, 100, .10);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin: auto;
}


/* =================================================================
   2. HEADER & NAVIGATION
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 234, 242, .8);
}

.nav-wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: .2px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px 6px 16px 6px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 15px;
  font-weight: 650;
}

.nav a {
  color: #35445d;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 10px 17px;
  border-radius: 10px;
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 25px;
}


/* =================================================================
   3. HERO SECTION
   ================================================================ */
.hero {
  padding: 82px 0 72px;
  background: radial-gradient(circle at 85% 25%, #e5f0ff 0, #fff 35%), #fff;
  min-height: 610px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(44px, 5.4vw, 74px);
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin: 0 0 22px;
}

.hero h1 span {
  color: var(--primary);
}

.hero-copy {
  font-size: 20px;
  color: var(--muted);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.trust-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #52627b;
  font-size: 13px;
  font-weight: 650;
}

/* Hero Dashboard Card */
.hero-card {
  background: #10213d;
  color: #fff;
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
  min-height: 355px;
  position: relative;
  overflow: hidden;
}

.hero-card:after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: #0b5cff;
  right: -80px;
  bottom: -100px;
  opacity: .5;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.live {
  font-size: 10px;
  color: #8ff0bb;
}

.dash-number {
  font-size: 30px;
  font-weight: 800;
  margin: 65px 0 25px;
  position: relative;
  z-index: 1;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.dash-grid div {
  background: rgba(255, 255, 255, .08);
  padding: 15px;
  border-radius: 13px;
}

.dash-grid small {
  display: block;
  color: #aab8cc;
  font-size: 12px;
}

.dash-grid b {
  font-size: 15px;
}

.progress {
  height: 7px;
  background: rgba(255, 255, 255, .12);
  border-radius: 99px;
  margin: 22px 0 8px;
  position: relative;
  z-index: 1;
}

.progress span {
  display: block;
  width: 82%;
  height: 100%;
  background: #5fa9ff;
  border-radius: 99px;
}

.hero-card>small {
  color: #aab8cc;
  position: relative;
  z-index: 1;
}


/* =================================================================
   4. BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 11px;
  font-weight: 750;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 15px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary2);
}

.btn-light {
  background: #fff;
  border-color: var(--line);
}

.btn-outline {
  border-color: #cbd6e8;
  color: var(--primary);
  background: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
}


/* =================================================================
   5. STATS SECTION
   ================================================================ */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stats-grid div {
  display: flex;
  flex-direction: column;
}

.stats-grid strong {
  font-size: 28px;
}

.stats-grid span {
  font-size: 13px;
  color: var(--muted);
}


/* =================================================================
   6. SECTIONS, CARDS & LAYOUT UTILITIES
   ================================================================ */
.section {
  padding: 88px 0;
}

.soft {
  background: var(--soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section h2 {
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.12;
  letter-spacing: -1.4px;
  margin: 0 0 16px;
}

.section p {
  color: var(--muted);
}

.text-link {
  color: var(--primary);
  font-weight: 750;
}

.cards {
  display: grid;
  gap: 18px;
}

.four {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  border: 1px solid var(--line);
  padding: 25px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 30px rgba(25, 54, 100, .04);
}

.service-card.featured {
  border-color: #b9d2ff;
  box-shadow: 0 14px 40px rgba(11, 92, 255, .10);
}

.icon,
.big-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #edf4ff;
  color: var(--primary);
  font-size: 22px;
}

.service-card h3 {
  margin: 18px 0 7px;
}

.service-card p {
  font-size: 15px;
  margin-top: 0;
}

.service-card a {
  font-size: 14px;
  color: var(--primary);
  font-weight: 750;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.visual-panel {
  height: 390px;
  border-radius: 28px;
  background: linear-gradient(135deg, #eaf3ff, #f9fbff);
  border: 1px solid #dbe7fa;
  display: grid;
  place-items: center;
  position: relative;
}

.visual-center {
  text-align: center;
  color: #7c8ba3;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
}

.visual-center strong {
  color: var(--primary);
  font-size: 48px;
}

.floating-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  padding: 13px 17px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 12px;
}

.floating-card b {
  font-size: 14px;
}

.card-one {
  top: 35px;
  left: 25px;
}

.card-two {
  right: 25px;
  bottom: 35px;
}

.check-list {
  padding: 0;
  list-style: none;
  margin: 25px 0;
}

.check-list li {
  margin: 12px 0;
  padding-left: 28px;
  position: relative;
  color: #46566f;
}

.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
}


/* =================================================================
   7. PRODUCTS & PRICING
   ================================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-grid-large {
  grid-template-columns: repeat(2, 1fr);
}

.product {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 8px 30px rgba(25, 54, 100, .04);
}

.product h2,
.product h3 {
  margin: 15px 0 8px;
  line-height: 1.2;
}

.product p {
  font-size: 15px;
  margin: 0 0 17px;
}

.price {
  font-size: 28px;
  font-weight: 850;
  margin: 5px 0 18px;
}

.price del {
  font-size: 15px;
  color: #8793a6;
  margin-right: 6px;
}

.product .btn {
  margin-top: auto;
}

.badge {
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .7px;
  padding: 5px 8px;
  border-radius: 99px;
  background: #eaf3ff;
  color: var(--primary);
}

.badge.sale {
  background: #fff0e6;
  color: #d05b13;
}


/* =================================================================
   8. CALL TO ACTION (CTA) SECTION
   ================================================================ */
.cta {
  padding: 60px 0;
  background: var(--primary);
  color: #fff;
}

.cta .eyebrow {
  color: #bcd6ff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta h2 {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 10px;
}

.cta p {
  margin: 0;
  color: #dbe9ff;
}


/* =================================================================
   9. INNER PAGES (SERVICES, ABOUT, CONTACT)
   ================================================================ */
.page-hero {
  padding: 75px 0 65px;
  background: linear-gradient(135deg, #eef5ff, #fff);
}

.page-hero h1 {
  font-size: clamp(44px, 5.2vw, 62px);
  max-width: 850px;
}

.page-hero p {
  max-width: 750px;
  color: var(--muted);
  font-size: 19px;
}

.service-list {
  display: grid;
  gap: 20px;
}

.service-detail {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 25px;
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 22px;
  background: #fff;
}

.service-detail h2 {
  font-size: 32px;
  margin: 0 0 10px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.tag-row span {
  background: #f1f5fb;
  padding: 6px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  color: #55647a;
}

.about-box {
  background: #10213d;
  color: #fff;
  border-radius: 25px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}

.about-box strong {
  font-size: 25px;
}

.about-box span {
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 12px;
  color: #dce7f8;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 45px;
}

.contact-card {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.contact-card h3 {
  margin: 0 0 5px;
}

.contact-card a,
.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #edf4ff;
  color: var(--primary);
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-card h2 {
  margin-top: 0;
}

.muted {
  color: var(--muted);
}

label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 15px 0;
}

input,
textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid #ccd6e5;
  border-radius: 10px;
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #e9f1ff;
}


/* =================================================================
   10. FOOTER
   ================================================================ */
.footer {
  background: #0d1b31;
  color: #c3cfdf;
  padding: 55px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 35px;
}

.footer h4 {
  color: #fff;
  margin-top: 0;
}

.footer a,
.footer span {
  display: block;
  margin: 8px 0;
  font-size: 14px;
}

.footer-brand {
  color: #fff;
}

.footer p {
  font-size: 13px;
  max-width: 360px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 0;
  margin-top: 35px;
  font-size: 12px;
}


/* =================================================================
   11. PREMIUM VISUAL REFINEMENTS & ANIMATIONS
   ================================================================ */
.hero-card,
.product,
.service-card,
.form-card,
.service-detail {
  transition: transform .2s ease, box-shadow .2s ease;
}

.product:hover,
.service-card:hover,
.service-detail:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(25, 54, 100, .10);
}


/* =================================================================
   12. MEDIA QUERIES (RESPONSIVE DESIGN)
   ================================================================ */
@media(max-width: 900px) {
  .nav {
    gap: 14px;
  }
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .four,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-grid>div:last-child {
    grid-column: auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 55px;
  }
}

@media(max-width: 680px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 14px 4%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 12px;
  }
  .menu-btn {
    display: block;
  }
  .brand {
    font-size: 14px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .hero h1,
  .page-hero h1 {
    letter-spacing: -1.5px;
  }
  .hero-copy {
    font-size: 16px;
  }
  .trust-row {
    display: block;
  }
  .trust-row span {
    display: block;
    margin: 7px 0;
  }
  .hero-card {
    min-height: 310px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 60px 0;
  }
  .section-head {
    display: block;
  }
  .section-head .text-link {
    display: inline-block;
    margin-top: 8px;
  }
  .four,
  .product-grid,
  .product-grid-large {
    grid-template-columns: 1fr;
  }
  .service-detail {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .cta-inner {
    display: block;
  }
  .cta .btn {
    margin-top: 20px;
  }
  .cta h2 {
    font-size: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid>div:first-child {
    grid-column: 1/-1;
  }
  .visual-panel {
    height: 300px;
  }
  .floating-card {
    font-size: 10px;
  }
  .visual-center strong {
    font-size: 38px;
  }
}

@media(max-width: 680px) {
  body {
    font-size: 16px;
  }
  .hero h1,
  .page-hero h1 {
    font-size: clamp(40px, 11vw, 54px);
  }
  .hero-copy,
  .page-hero p {
    font-size: 18px;
  }
  .section h2 {
    font-size: 34px;
  }
  .service-card h3,
  .product h2,
  .product h3 {
    font-size: 22px;
  }
  .service-card p,
  .product p {
    font-size: 16px;
  }
  .btn {
    font-size: 15px;
    min-height: 50px;
    padding: 13px 19px;
  }
  .stats-grid strong {
    font-size: 27px;
  }
  .stats-grid span {
    font-size: 13px;
  }
}