:root {
  --primary: #0867f2;
  --primary-dark: #064fc0;
  --navy: #081a35;
  --text: #45546a;
  --light: #f4f8ff;
  --border: #dfe8f5;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(25, 67, 125, 0.16);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", sans-serif; color: var(--navy); background: #fff; line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 110px 0; }

.preloader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: #fff; transition: opacity .65s ease, visibility .65s ease; }
.preloader-inner { display: grid; justify-items: center; gap: 18px; }
.preloader-logo { width: min(340px, 74vw); filter: drop-shadow(0 20px 34px rgba(8,103,242,.22)); animation: logoZoom 2.35s cubic-bezier(.2,.75,.2,1) both; }
.loader-word { display: flex; gap: clamp(3px, .8vw, 10px); font-family: Archivo, Inter, sans-serif; font-size: clamp(22px, 5vw, 46px); font-weight: 800; color: var(--navy); perspective: 420px; }
.loader-word span { display: inline-block; opacity: 0; transform-origin: center; animation-name: rotating; animation-duration: calc(var(--i) * .25s); animation-timing-function: cubic-bezier(.2,.7,.2,1); animation-fill-mode: forwards; }
.loader-word .word-gap { margin-left: clamp(10px, 2.4vw, 28px); }
.preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
body.skip-loader .preloader { display: none; }
@keyframes logoZoom {
  0% { opacity: 0; transform: scale(.76); }
  45% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes rotating {
  0%{
    opacity:0;
    transform:rotateX(0deg);
  }
  100%{
    opacity:1;
    transform:rotateX(720deg);
  }
}

.site-shell { opacity: 0; transition: opacity .7s ease; }
body.site-ready .site-shell { opacity: 1; }

.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255,255,255,.82); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transform: translateY(-110%); transition: transform .75s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
body.site-ready .site-header { transform: translateY(0); }
.site-header.scrolled { border-color: rgba(10,41,84,.08); box-shadow: 0 8px 30px rgba(10,41,84,.07); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 136px; height: 48px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.btn) { position: relative; }
.main-nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; background: var(--primary); transition: .25s; }
.main-nav > a:hover::after { width: 100%; }
.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { width: 25px; height: 2px; display: block; background: var(--navy); margin: 5px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 27px; border: 1px solid var(--primary); border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--primary), #0b85ff); font-weight: 700; font-size: 14px; box-shadow: 0 14px 30px rgba(8,103,242,.22); transition: .25s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(8,103,242,.3); }
.btn-small { min-height: 44px; padding: 0 20px; border-radius: 10px; }
.btn-outline { color: var(--navy); background: #fff; border-color: var(--border); box-shadow: none; }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }

.hero { min-height: 560px; padding: 92px 0 45px; background: radial-gradient(circle at 8% 18%, #eaf3ff 0, transparent 30%), linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(to top, #fff, transparent); }
.hero .container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 32px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr); align-items: center; gap: 55px; position: relative; z-index: 2; }
.eyebrow { color: var(--primary); font-weight: 800; font-size: 12px; letter-spacing: 1.7px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.eyebrow > span { width: 26px; height: 2px; background: var(--primary); display: inline-block; }
.eyebrow.centered { justify-content: center; }
.eyebrow.light { color: #bcd7ff; }
.eyebrow.light > span { background: #bcd7ff; }
.hero h1 { font-size: clamp(48px, 4.3vw, 72px); line-height: 1.04; letter-spacing: -2px; max-width: 760px; margin-bottom: 22px; font-weight: 800; }
.hero h1 em { color: var(--primary); font-style: normal; }
.crm-word {
  display: inline-flex;
  gap: .03em;
  color: inherit;
  font: inherit;
}
.crm-word span {
  display: inline-block;
  color: inherit;
  font: inherit;
  opacity: 0;
  animation-name: fadeLeft;
  animation-duration: calc(var(--i, 1) * 1s);
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}
@keyframes fadeLeft {
  10% {
    transform: translateX(-200px);
    opacity: 0;
  }
  60% {
    opacity: 0;
    transform: translateX(200px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.hero-copy { opacity: 0; transform: translateY(34px); transition: opacity .85s ease .25s, transform .85s cubic-bezier(.2,.8,.2,1) .25s; }
body.site-ready .hero-copy { opacity: 1; transform: translateY(0); }
.hero-copy > p { color: var(--text); font-size: 19px; line-height: 1.55; max-width: 650px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 24px; color: #56677e; font-size: 13px; font-weight: 600; }
.hero-points span::before { content: "\2713"; color: var(--primary); margin-right: 6px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .55; }
.hero-glow-one { width: 360px; height: 360px; right: -100px; top: 100px; background: #cde3ff; }
.hero-glow-two { width: 220px; height: 220px; left: 45%; bottom: 30px; background: #dcecff; }

.hero .btn { min-height: 52px; padding: 0 28px; }
.hero-visual { width: 100%; max-width: 690px; margin-left: auto; position: relative; perspective: 1300px; opacity: 0; transform: translateY(28px) scale(.92); transform-origin: center right; transition: opacity .9s ease .45s, transform .9s cubic-bezier(.2,.8,.2,1) .45s; }
body.site-ready .hero-visual { opacity: 1; transform: translateY(0) scale(.92); }
.dashboard-card { background: #fff; border: 1px solid #dfe9f7; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; transform: rotateY(-4deg) rotateX(2deg); transform-origin: center; }
.dashboard-topbar { height: 50px; display: flex; align-items: center; gap: 18px; padding: 0 18px; border-bottom: 1px solid #edf2f8; }
.mini-logo { width: 31px; height: 31px; border-radius: 8px; display: grid; place-items: center; background: var(--primary); color: white; font-size: 12px; font-weight: 800; }
.search-bar { width: 44%; height: 10px; border-radius: 10px; background: #edf3f9; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,#e2eaff,#a7c9ff); margin-left: auto; }
.dashboard-body { display: grid; grid-template-columns: 54px 1fr; min-height: 430px; }
.dash-sidebar { border-right: 1px solid #edf2f8; padding-top: 28px; display: flex; align-items: center; flex-direction: column; gap: 23px; }
.dash-sidebar i { width: 17px; height: 17px; border-radius: 5px; background: #d9e4f2; }
.dash-sidebar i.active { background: var(--primary); box-shadow: 0 5px 12px rgba(8,103,242,.35); }
.dash-main { padding: 20px; background: linear-gradient(180deg, #f6f9ff 0%, #fbfdff 100%); }
.dash-title-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-bottom: 18px; }
.dash-title-row span { padding: 6px 9px; background: #fff; border: 1px solid #e6edf7; border-radius: 7px; font-size: 9px; color: #78889b; }
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.stat-grid div { min-height: 64px; background: #fff; border: 1px solid #e5edf8; border-radius: 12px; padding: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; box-shadow: 0 10px 24px rgba(38, 86, 153, .08); position: relative; overflow: hidden; }
.stat-grid div::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8, 103, 242, .08), transparent 55%); opacity: 0; transition: .25s; }
.stat-grid div:hover::before { opacity: 1; }
.stat-grid span { position: relative; z-index: 1; min-width: 0; }
.stat-grid small { font-size: 10px; color: #1a2c49; display: block; font-weight: 800; line-height: 1.2; }
.stat-grid em { display: block; margin-top: 4px; color: #718198; font-size: 8px; font-style: normal; line-height: 1.2; white-space: nowrap; }
.stat-grid strong { position: relative; z-index: 1; flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, #2f6df2, #0aa4ff); color: #fff; font-size: 18px; line-height: 1; font-weight: 800; box-shadow: 0 12px 22px rgba(8, 103, 242, .32), inset 0 1px 0 rgba(255,255,255,.3); }
.chart-box { background: #fff; border: 1px solid #e8eef6; border-radius: 12px; padding: 13px; margin-top: 12px; }
.chart-label { display: flex; justify-content: space-between; font-size: 10px; }
.chart-label span { color: #95a1b1; font-size: 8px; }
.chart-box svg { width: 100%; height: 116px; margin-top: 5px; }
.lead-table { background: #fff; border: 1px solid #e8eef6; border-radius: 12px; margin-top: 12px; font-size: 8px; overflow: hidden; }
.lead-table > div { display: flex; justify-content: space-between; align-items: center; padding: 6px 11px; border-bottom: 1px solid #eef3f8; }
.lead-table > div:last-child { border: 0; }
.lead-table b { width: 22px; height: 22px; border-radius: 50%; background: #e7f0ff; display: inline-grid; place-items: center; margin-right: 7px; color: var(--primary); }
.lead-table em { font-style: normal; color: var(--primary); background: #edf5ff; border-radius: 10px; padding: 3px 7px; }
.table-head { font-weight: 800; color: #263b58; }
.float-card { position: absolute; background: #fff; border: 1px solid #e2eaf4; box-shadow: 0 16px 38px rgba(30,73,133,.18); border-radius: 13px; padding: 13px 16px; display: flex; flex-direction: column; line-height: 1.3; }
.float-card span { font-size: 9px; color: #7b899c; }
.float-card strong { color: var(--primary); font-size: 16px; }
.float-card b { color: #16a36f; font-size: 19px; }
.float-one { left: -30px; bottom: 44px; }
.float-two { right: -20px; top: 58px; }

.trust-strip { position: relative; z-index: 5; }
.trust-grid { margin-top: -40px; background: #fff; border: 1px solid #e6edf7; border-radius: 18px; box-shadow: 0 16px 45px rgba(31,70,124,.1); display: grid; grid-template-columns: repeat(4,1fr); padding: 30px; }
.trust-grid div { text-align: center; border-right: 1px solid #e8edf4; }
.trust-grid div:last-child { border: 0; }
.trust-grid strong { display: inline-flex; min-width: 86px; justify-content: center; color: #fff; background: linear-gradient(135deg, #0867f2, #13a8ff); border-radius: 12px; padding: 7px 13px; font-size: 26px; line-height: 1.2; box-shadow: 0 12px 24px rgba(8, 103, 242, .22); }
.trust-grid span { color: #78869a; font-size: 12px; display: block; margin-top: 8px; }

.section-heading { max-width: 750px; text-align: center; margin: 0 auto 55px; }
.section-heading h2, .about-copy h2, .contact-copy h2 { font-size: clamp(34px,4vw,50px); line-height: 1.18; letter-spacing: 0; }
.section-heading p { color: var(--text); margin-top: 16px; }
.services { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.service-card { border: 1px solid var(--border); border-radius: 18px; padding: 32px; transition: .3s; background: #fff; }
.service-card:hover { transform: translateY(-7px); border-color: #b9d4ff; box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; }
.icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 13px; background: #eaf3ff; color: var(--primary); font-size: 15px; font-weight: 800; }
.service-card h3 { margin: 20px 0 9px; font-size: 20px; }
.service-card p { color: var(--text); font-size: 14px; }
.service-card a { display: inline-block; margin-top: 18px; color: var(--primary); font-size: 13px; font-weight: 800; }

.about { background: var(--light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; height: 560px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.experience-card { position: absolute; right: -28px; bottom: 35px; background: var(--primary); color: white; padding: 20px 24px; border-radius: 16px; width: 175px; box-shadow: 0 16px 35px rgba(8,103,242,.3); }
.experience-card strong { display: block; font-size: 31px; }
.experience-card span { font-size: 11px; }
.about-copy > p, .contact-copy > p { color: var(--text); margin: 22px 0 28px; }
.about-list { display: grid; gap: 18px; margin-bottom: 30px; }
.about-list > div { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.about-list b { color: var(--primary); font-size: 13px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #c8dcfa; }
.about-list span { color: var(--text); font-size: 13px; }
.about-list strong { color: var(--navy); display: block; font-size: 15px; }

.process { background: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.process-card { padding: 27px; border: 1px solid var(--border); border-radius: 17px; position: relative; overflow: hidden; box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;}
.process-card b { color: #d7e7ff; font-size: 46px; line-height: 1; position: absolute; right: 16px; top: 15px; }
.process-card h3 { margin: 45px 0 8px; font-size: 18px; }
.process-card p { color: var(--text); font-size: 13px; }

.cta-section { padding: 0 0 110px; }
.cta-box { background: linear-gradient(135deg, #061b39, #0b5bd3); color: #fff; border-radius: 25px; padding: 55px 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.cta-box::after { content:""; position:absolute; width:300px; height:300px; border:45px solid rgba(255,255,255,.06); border-radius:50%; right:70px; top:-120px; }
.cta-box h2 { max-width: 700px; font-size: clamp(30px,4vw,47px); line-height: 1.15; position: relative; z-index: 2; }
.cta-box .btn { position: relative; z-index: 2; white-space: nowrap; }

.contact { background: #f7faff; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.contact-details { display: grid; gap: 17px; }
.contact-details > * { display: flex; align-items: center; gap: 13px; }
.contact-details > * > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: #e6f0ff; color: var(--primary); font-size: 10px; font-weight: 800; }
.contact-details small { display: block; color: #8692a4; font-size: 11px; }
.contact-details b { font-size: 14px; }
.contact-form { background: #fff; border: 1px solid #e5ecf6; border-radius: 20px; padding: 34px; box-shadow: 0 20px 50px rgba(29,65,115,.1); display: grid; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; color: #30435f; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid #dfe7f1; background: #fbfdff; border-radius: 10px; padding: 13px 14px; color: var(--navy); outline: none; transition: .2s; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(8,103,242,.1); }
.form-submit { border: 0; width: 100%; }
.form-message { font-size: 12px; color: #0b9a68; min-height: 18px; text-align: center; }

.footer { background: #06152b; color: #c7d1df; padding-top: 75px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 60px; padding-bottom: 55px; }
.footer-brand img { width: 150px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { max-width: 340px; font-size: 13px; color: #93a3b9; }
.footer h4 { color: #fff; margin-bottom: 15px; font-size: 14px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; font-size: 12px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; font-size: 11px; color: #8797ad; }

.reveal { opacity: 0; transform: translateY(24px); transition: .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
body.site-ready .hero-copy.reveal { opacity: 1; transform: translateY(0); }
body.site-ready .hero-visual.reveal { opacity: 1; transform: translateY(0) scale(.92); }
.delay-1 { transition-delay: .1s; }.delay-2 { transition-delay: .2s; }.delay-3 { transition-delay: .3s; }

@media (max-width: 1050px) {
  .hero { padding-top: 90px; }
  .hero .container { padding: 0 28px; }
  .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(460px, 1.05fr); gap: 34px; }
  .hero h1 { font-size: clamp(44px, 4.5vw, 62px); }
  .hero-copy > p { font-size: 17px; max-width: 610px; }
  .hero-visual { max-width: 620px; }
}

@media (max-width: 1000px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .about-image { max-width: 700px; }
  .about-image img { height: 480px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { max-width: 690px; margin: 8px auto 0; transform: translateY(28px); transform-origin: center; }
  body.site-ready .hero-visual { transform: translateY(0); }
  .dashboard-card { transform: none; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 80px 0; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 14px; right: 14px; top: 75px; background: #fff; border: 1px solid #e5ebf4; border-radius: 15px; box-shadow: var(--shadow); padding: 20px; display: none; flex-direction: column; align-items: stretch; gap: 17px; }
  .main-nav.open { display: flex; }
  .main-nav .btn { width: 100%; }
  .brand img { width: 125px; }
  .hero { min-height: auto; padding: 108px 0 45px; }
  .hero .container { padding: 0 20px; }
  .hero h1 { font-size: clamp(38px, 12vw, 52px); letter-spacing: -1px; }
  .hero-copy > p { font-size: 16px; max-width: 560px; }
  .dashboard-card { transform: none; }
  .float-card { display: none; }
  .trust-grid { grid-template-columns: repeat(2,1fr); gap: 25px 0; }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .service-grid, .process-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 50px; }
  .experience-card { right: 15px; }
  .cta-box { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-grid > div:last-child { grid-column: auto; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .hero-points { flex-direction: column; gap: 6px; }
  .dashboard-body { grid-template-columns: 42px 1fr; }
  .dash-main { padding: 12px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-grid div:nth-child(n+3) { display: none; }
  .stat-grid div { min-height: 68px; }
  .trust-grid { padding: 25px 10px; }
  .trust-grid strong { font-size: 22px; }
  .trust-grid span { font-size: 10px; }
  .about-image img { height: 390px; }
  .contact-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}
.hero h1.hero-title {
  font-size: clamp(40px, 3.8vw, 60px);
  font-weight: 800;
}
