:root {
  --navy: #0e1848;
  --purple: #642e9e;
  --purple-light: #7d4bc4;
  --bg: #f7f7fb;
  --text: #1c1e2b;
  --muted: #5b5e70;
  --white: #ffffff;
  --radius: 14px;
}

* { box-sizing: border-box; }

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background: var(--white);
  border-bottom: 1px solid #eaeaf0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand img { width: 34px; height: 34px; border-radius: 50%; }

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 500;
}

.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--purple); }

.nav-cta {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--purple) 100%);
  color: var(--white);
  padding: 90px 24px;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  margin: 0 0 18px;
  font-weight: 800;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.2rem;
  color: #e3ddf5;
  max-width: 620px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s;
}

.btn-primary {
  background: var(--white);
  color: var(--purple);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }

.btn-outline {
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
  margin-left: 14px;
}

.btn-outline:hover { background: rgba(255,255,255,.12); }

.hero-tags {
  margin-top: 28px;
  font-size: .95rem;
  color: #cfc7ea;
  font-weight: 600;
  letter-spacing: .3px;
}

/* Hero visual (dashboard image) */
.hero-visual {
  max-width: 1000px;
  margin: -70px auto 0;
  padding: 0 24px;
}
.hero-visual img {
  width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(14,24,72,.28);
}

/* Sections */
section { padding: 72px 24px; }

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: 0 4px 18px rgba(20,20,50,.06);
  border: 1px solid #eee9f7;
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  margin-bottom: 18px;
  font-weight: 800;
}

.card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.step { text-align: center; }
.step .num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--purple-light);
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin: 0 auto 14px;
}
.step h4 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  color: var(--white);
  text-align: center;
  border-radius: 20px;
  padding: 56px 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.cta-band h2 { margin: 0 0 14px; font-size: 1.8rem; }
.cta-band p { color: #e3ddf5; margin: 0 0 26px; }

footer {
  background: var(--navy);
  color: #cfc7ea;
  padding: 40px 24px;
  text-align: center;
  font-size: .9rem;
}

footer a { color: white; font-weight: 600; }

/* Services page */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 70px;
}
.service-row:nth-child(even) .service-text { order: 2; }
.service-text h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service-text p { color: var(--muted); }
.service-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(14,24,72,.16);
}
.service-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pricing-note {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid #eee9f7;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #eee9f7;
  box-shadow: 0 4px 18px rgba(20,20,50,.06);
}

.blog-card .cover {
  height: 150px;
  background: linear-gradient(135deg, var(--navy), var(--purple));
}

.blog-card .body { padding: 24px; }
.blog-card .tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--purple);
  background: #f1eafb;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.blog-card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.blog-card p { color: var(--muted); font-size: .95rem; }
.blog-card .read-more { color: var(--purple); font-weight: 700; font-size: .9rem; }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 { margin-top: 0; }
.contact-info .row { margin-bottom: 20px; }
.contact-info .label { font-weight: 700; color: var(--purple); font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; }

form.contact-form { display: flex; flex-direction: column; gap: 16px; }
form.contact-form input, form.contact-form textarea {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #ddd6ef;
  font-size: 1rem;
  font-family: inherit;
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form button {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  color: white;
  border: none;
  padding: 15px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .service-row, .blog-grid, .contact-wrap { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-text { order: 0; }
  .hero h1 { font-size: 2rem; }
}
