:root {
  --purple-950: #1b0b35;
  --purple-900: #28104b;
  --purple-800: #3b1768;
  --purple-700: #5b2a9d;
  --purple-600: #7137be;
  --purple-500: #8b55d9;
  --purple-300: #c6a7ef;
  --purple-100: #efe6fb;
  --purple-50: #f8f4fd;
  --ink: #1d1830;
  --muted: #6e687b;
  --line: #e8e0f1;
  --white: #ffffff;
  --green: #23b26d;
  --shadow: 0 24px 70px rgba(48, 20, 82, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 110px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--purple-600);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .76rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: "Manrope", sans-serif; margin: 0; line-height: 1.12; }
h1 { font-size: clamp(3rem, 6.4vw, 5.7rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); letter-spacing: -.045em; }
h3 { font-size: 1.25rem; }
p { margin-top: 0; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(232,224,241,.8);
}
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 43px; height: 43px; border-radius: 14px;
  background: linear-gradient(145deg, var(--purple-800), var(--purple-500));
  color: white; display: grid; place-items: center;
  font-family: "Manrope"; font-weight: 800; letter-spacing: -.12em;
  box-shadow: 0 10px 24px rgba(91,42,157,.24);
}
.brand-mark span { color: var(--purple-300); }
.brand-name { font-family: "Manrope"; font-size: 1.05rem; font-weight: 600; }
.brand-name strong { color: var(--purple-600); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: .94rem; font-weight: 700; }
.nav-links a:not(.nav-cta):hover { color: var(--purple-600); }
.nav-cta { padding: 12px 18px; border-radius: 12px; background: var(--purple-900); color: white; }
.menu-toggle { display:none; background:none; border:0; padding:8px; }
.menu-toggle span { display:block; width:24px; height:2px; background:var(--ink); margin:5px; }

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(167,119,226,.17), transparent 28%),
    linear-gradient(180deg, #fcfaff 0%, #f7f2fc 100%);
  padding: 112px 0 90px;
}
.hero::after {
  content:""; position:absolute; inset:auto 0 0; height:120px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.7));
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.hero h1 span {
  background: linear-gradient(90deg, var(--purple-700), #a65be2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-text { max-width: 650px; color: var(--muted); font-size: 1.16rem; margin: 26px 0 32px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }
.btn {
  display: inline-flex; justify-content: center; align-items:center;
  min-height: 52px; padding: 0 23px; border-radius: 13px;
  font-weight: 800; border:1px solid transparent; transition:.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color:white; background:linear-gradient(135deg,var(--purple-800),var(--purple-500)); box-shadow:0 16px 34px rgba(91,42,157,.24); }
.btn-secondary { background:white; border-color:var(--line); }
.hero-trust { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:46px; padding-top:28px; border-top:1px solid var(--line); }
.hero-trust strong { display:block; font-family:"Manrope"; font-size:.93rem; }
.hero-trust span { display:block; color:var(--muted); font-size:.78rem; line-height:1.4; margin-top:4px; }

.dashboard-card {
  background: rgba(255,255,255,.94); border:1px solid rgba(255,255,255,.8);
  border-radius:28px; padding:28px; box-shadow:var(--shadow);
  transform: rotate(1deg); position:relative;
}
.dashboard-card::before {
  content:""; position:absolute; inset:14px -16px -16px 20px; z-index:-1;
  background:rgba(91,42,157,.08); border-radius:28px; transform:rotate(-3deg);
}
.dash-top { display:flex; justify-content:space-between; align-items:flex-start; }
.mini-label { color:var(--muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.12em; }
.dash-top h2 { font-size:1.45rem; letter-spacing:-.03em; margin-top:3px; }
.live-pill { padding:8px 11px; border-radius:999px; background:#f0fbf5; color:#218654; font-size:.72rem; font-weight:800; }
.live-pill i { display:inline-block; width:7px; height:7px; background:var(--green); border-radius:50%; margin-right:5px; }
.metric-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:24px 0 16px; }
.metric { padding:15px; background:var(--purple-50); border-radius:15px; }
.metric span,.metric small { display:block; color:var(--muted); font-size:.7rem; }
.metric strong { display:block; font-family:"Manrope"; font-size:1.1rem; margin:4px 0; }
.metric .positive { color:#218654; }
.chart-panel { background:var(--purple-950); color:white; border-radius:18px; padding:18px; }
.chart-heading { display:flex; justify-content:space-between; font-size:.72rem; color:#cfbee5; }
.bar-chart { height:155px; display:flex; align-items:flex-end; gap:11px; padding-top:24px; }
.bar-chart span { flex:1; background:linear-gradient(180deg,#b789ef,#6f35bb); border-radius:7px 7px 3px 3px; }
.chart-labels { display:flex; justify-content:space-around; color:#aa98c2; font-size:.63rem; }
.dash-bottom { display:flex; gap:18px; align-items:center; justify-content:space-between; margin-top:17px; }
.progress-block { flex:1; }
.progress-block > div:first-child { display:flex; justify-content:space-between; font-size:.72rem; }
.progress { height:7px; background:var(--purple-100); border-radius:10px; overflow:hidden; margin-top:7px; }
.progress span { display:block; height:100%; background:var(--purple-600); border-radius:inherit; }
.status-list { display:flex; gap:9px; font-size:.65rem; color:var(--muted); }
.status-list i { display:inline-block; width:6px; height:6px; border-radius:50%; }
.purple-dot { background:var(--purple-500); }.green-dot { background:var(--green); }

.logo-strip { padding:35px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.logo-strip p { text-align:center; color:var(--muted); font-size:.82rem; margin-bottom:20px; }
.software-list { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.software-list span { padding:9px 14px; border:1px solid var(--line); border-radius:999px; font-weight:800; font-size:.82rem; background:#fff; }

.section-heading { display:flex; align-items:end; justify-content:space-between; gap:50px; margin-bottom:54px; }
.section-heading > div { max-width:670px; }
.section-heading > p { max-width:480px; color:var(--muted); margin:0; }
.section-heading.centered { display:block; max-width:760px; margin:0 auto 54px; text-align:center; }
.section-heading.centered .eyebrow { justify-content:center; }
.section-heading.centered > p { margin:18px auto 0; max-width:700px; }

.service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.service-card {
  position:relative; padding:30px; border:1px solid var(--line); border-radius:22px;
  background:white; transition:.25s ease; min-height:390px;
}
.service-card:hover { transform:translateY(-6px); box-shadow:0 18px 50px rgba(39,17,71,.09); border-color:var(--purple-300); }
.service-card.featured { background:linear-gradient(145deg,var(--purple-950),var(--purple-800)); color:white; border:0; }
.card-number { position:absolute; top:25px; right:25px; color:var(--purple-300); font-size:.7rem; font-weight:800; letter-spacing:.12em; }
.service-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:14px; background:var(--purple-100); color:var(--purple-700); font-size:1.25rem; font-weight:800; margin-bottom:24px; }
.featured .service-icon { background:rgba(255,255,255,.12); color:white; }
.service-card h3 { margin-bottom:13px; }
.service-card p { color:var(--muted); font-size:.92rem; }
.featured p { color:#cdbfe0; }
.service-card ul,.pricing-card ul { list-style:none; padding:0; margin:24px 0 0; }
.service-card li,.pricing-card li { position:relative; padding-left:22px; margin:10px 0; font-size:.84rem; color:var(--muted); }
.featured li { color:#e0d5ef; }
.service-card li::before,.pricing-card li::before { content:"✓"; position:absolute; left:0; color:var(--purple-500); font-weight:800; }

.value-section { background:var(--purple-50); }
.value-grid { display:grid; grid-template-columns:1fr 1fr; gap:90px; align-items:center; }
.value-visual { position:relative; min-height:470px; display:grid; place-items:center; }
.visual-window { width:92%; background:white; border-radius:24px; box-shadow:var(--shadow); overflow:hidden; transform:rotate(-2deg); }
.window-bar { height:44px; background:#f4eef9; display:flex; align-items:center; gap:7px; padding:0 16px; }
.window-bar span { width:10px; height:10px; border-radius:50%; background:#d7c9e8; }
.sheet { display:flex; height:330px; }
.sheet-sidebar { width:62px; background:var(--purple-950); padding:25px 16px; display:flex; flex-direction:column; gap:22px; }
.sheet-sidebar span { height:9px; background:#674492; border-radius:5px; }
.sheet-sidebar .active { background:#c19de8; }
.sheet-main { flex:1; padding:36px 32px; }
.sheet-title { width:42%; height:20px; background:#ded1ed; border-radius:6px; }
.sheet-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:13px; margin:26px 0; }
.sheet-kpis span { height:74px; background:var(--purple-100); border-radius:12px; }
.sheet-lines { height:150px; display:flex; align-items:flex-end; gap:13px; border-bottom:1px solid var(--line); }
.sheet-lines span { flex:1; background:linear-gradient(#9a63d4,#6931aa); border-radius:8px 8px 0 0; }
.sheet-lines span:nth-child(1){height:35%}.sheet-lines span:nth-child(2){height:66%}.sheet-lines span:nth-child(3){height:51%}.sheet-lines span:nth-child(4){height:86%}
.floating-note { position:absolute; padding:14px 18px; background:white; border:1px solid var(--line); box-shadow:0 12px 30px rgba(42,20,72,.1); border-radius:14px; }
.floating-note strong,.floating-note span { display:block; }
.floating-note strong { font-family:"Manrope"; color:var(--purple-700); }
.floating-note span { color:var(--muted); font-size:.72rem; }
.note-one { top:30px; right:-5px; }.note-two { bottom:25px; left:-15px; }
.value-copy > p { color:var(--muted); font-size:1.05rem; margin:24px 0 32px; }
.benefit-list { display:grid; gap:17px; }
.benefit-list > div { display:flex; gap:17px; padding-top:17px; border-top:1px solid var(--line); }
.benefit-list span { color:var(--purple-500); font-weight:800; font-size:.75rem; }
.benefit-list p { margin:0; color:var(--muted); }
.benefit-list strong { display:block; color:var(--ink); font-family:"Manrope"; margin-bottom:4px; }

.packages { background:var(--purple-950); color:white; }
.packages .section-heading p { color:#cbbddc; }
.packages .eyebrow { color:#c5a5eb; }
.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); align-items:stretch; gap:18px; }
.pricing-card { position:relative; background:white; color:var(--ink); border-radius:22px; padding:33px; }
.pricing-card.popular { transform:scale(1.035); border:2px solid var(--purple-300); box-shadow:0 22px 60px rgba(0,0,0,.25); }
.popular-tag { position:absolute; top:-14px; right:24px; padding:7px 12px; border-radius:999px; background:var(--purple-500); color:white; font-size:.68rem; font-weight:800; }
.package-label { color:var(--purple-600); text-transform:uppercase; letter-spacing:.13em; font-size:.7rem; font-weight:800; margin-bottom:13px; }
.pricing-card h3 { font-size:1.55rem; }
.pricing-card > p { color:var(--muted); min-height:72px; margin:14px 0 20px; }
.price { padding:16px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); color:var(--muted); }
.price strong { display:inline-block; color:var(--ink); font-family:"Manrope"; font-size:1.8rem; margin-left:5px; }
.pricing-card ul { min-height:215px; }
.btn-package { border-color:var(--purple-300); color:var(--purple-700); width:100%; margin-top:20px; }
.pricing-card .btn-primary { width:100%; margin-top:20px; }
.pricing-note { text-align:center; color:#cbbddc; margin:42px 0 0; font-size:.9rem; }

.process-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.process-card { padding:35px; background:var(--purple-50); border-radius:21px; border:1px solid var(--line); }
.process-card > span { font-family:"Manrope"; font-size:2.4rem; font-weight:800; color:var(--purple-300); }
.process-card h3 { margin:22px 0 10px; }
.process-card p { color:var(--muted); margin:0; }

.audiences { padding-top:0; }
.audience-row { display:flex; flex-wrap:wrap; gap:12px; }
.audience-row span { font-family:"Manrope"; font-weight:700; padding:16px 20px; border-radius:14px; border:1px solid var(--line); background:white; }

.cta-section { background:linear-gradient(135deg,var(--purple-800),var(--purple-950)); color:white; padding:100px 0; }
.cta-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:80px; align-items:start; }
.eyebrow.light { color:#c9aae9; }
.cta-grid > div > p { color:#d1c5df; font-size:1.05rem; margin:24px 0 30px; }
.contact-details { display:grid; gap:8px; }
.contact-details a { font-family:"Manrope"; font-size:1.15rem; font-weight:800; }
.contact-details span { color:#c7b9d8; }
.contact-form { background:white; color:var(--ink); padding:30px; border-radius:22px; display:grid; gap:17px; }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.contact-form label { display:grid; gap:7px; font-size:.78rem; font-weight:800; }
.contact-form input,.contact-form select,.contact-form textarea {
  width:100%; border:1px solid var(--line); border-radius:11px; padding:13px 14px; background:#fcfbfd; outline:none;
}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus { border-color:var(--purple-500); box-shadow:0 0 0 3px rgba(139,85,217,.12); }
.contact-form textarea { resize:vertical; }
.btn-light { background:var(--purple-700); color:white; border:0; cursor:pointer; }

footer { padding:32px 0; background:#150925; color:#cdbedf; }
.footer-wrap { display:flex; justify-content:space-between; align-items:center; gap:25px; font-size:.8rem; }
.footer-brand .brand-name { color:white; }

@media (max-width: 980px) {
  .hero-grid,.value-grid,.cta-grid { grid-template-columns:1fr; }
  .dashboard-card { max-width:680px; }
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .pricing-grid { grid-template-columns:1fr; max-width:680px; margin:auto; }
  .pricing-card.popular { transform:none; }
  .hero-trust { max-width:700px; }
  .value-grid { gap:45px; }
}
@media (max-width: 760px) {
  .section { padding:78px 0; }
  .nav-links {
    position:absolute; top:82px; left:20px; right:20px; padding:20px;
    background:white; box-shadow:var(--shadow); border:1px solid var(--line);
    border-radius:16px; display:none; flex-direction:column; align-items:stretch; gap:14px;
  }
  .nav-links.open { display:flex; }
  .menu-toggle { display:block; }
  .hero { padding-top:78px; }
  .hero-grid { gap:48px; }
  .hero-trust,.metric-grid,.process-grid,.service-grid { grid-template-columns:1fr; }
  .section-heading { display:block; }
  .section-heading > p { margin-top:20px; }
  .service-card { min-height:auto; }
  .field-row { grid-template-columns:1fr; }
  .footer-wrap { flex-direction:column; text-align:center; }
}
@media (max-width: 480px) {
  .container { width:min(100% - 28px,1180px); }
  h1 { font-size:2.75rem; }
  .hero-actions .btn { width:100%; }
  .dashboard-card { padding:18px; }
  .dash-top { gap:10px; }
  .metric-grid { grid-template-columns:1fr 1fr; }
  .metric:last-child { grid-column:1/-1; }
  .dash-bottom { display:block; }
  .status-list { margin-top:14px; }
  .pricing-card,.contact-form,.service-card { padding:24px; }
  .value-visual { min-height:360px; }
  .sheet { height:260px; }
  .sheet-sidebar { width:45px; padding:20px 11px; }
  .sheet-main { padding:28px 18px; }
  .floating-note { transform:scale(.85); }
}


/* V3 branding */
.brand-logo-link {
  display: inline-flex;
  align-items: center;
}
.site-logo {
  display: block;
  width: 178px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  border-radius: 10px;
}
.footer-logo {
  display: block;
  width: 185px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
  border-radius: 10px;
}

/* Dark purple "What We Build" cards */
.service-grid-dark .service-card {
  background: linear-gradient(145deg, var(--purple-950), var(--purple-800));
  color: var(--white);
  border-color: rgba(198, 167, 239, .22);
  box-shadow: 0 18px 48px rgba(27, 11, 53, .16);
}
.service-grid-dark .service-card:hover {
  border-color: var(--purple-300);
  box-shadow: 0 24px 60px rgba(27, 11, 53, .28);
}
.service-grid-dark .service-card p {
  color: #d6c9e5;
}
.service-grid-dark .service-card li {
  color: #eadff4;
}
.service-grid-dark .service-card .service-icon {
  background: rgba(255,255,255,.1);
  color: #efe6fb;
}
.service-grid-dark .service-card .card-number {
  color: #c6a7ef;
}
.service-grid-dark .service-card li::before {
  color: #c6a7ef;
}
.service-grid-dark .service-card.featured {
  background: linear-gradient(145deg, #12071f, #4b1d79);
}

@media (max-width: 760px) {
  .site-logo {
    width: 145px;
    height: 50px;
  }
  .footer-logo {
    width: 165px;
    height: 62px;
  }
}
