:root {
  --navy: #102b48;
  --navy-2: #173b61;
  --blue: #1167e8;
  --blue-dark: #0758c9;
  --text: #18314d;
  --muted: #60728a;
  --line: #e4ebf3;
  --tint: #f5f9fd;
  --white: #ffffff;
  --green: #dff7ed;
  --purple: #eee8ff;
  --blue-soft: #e3efff;
  --shadow: 0 18px 50px rgba(20, 54, 88, .08);
  --radius: 16px;
  --container: 1180px;
}

* { 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(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section { padding: 88px 0; }
.section-tint { background: var(--tint); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(228,235,243,.8);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 21px;
}

.brand strong { display: block; font-size: 17px; line-height: 1.1; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
  font-size: 13px;
}

.main-nav a { padding: 28px 0 24px; border-bottom: 2px solid transparent; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); border-bottom-color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 8px 20px rgba(17,103,232,.18); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: white; }
.btn-large { padding: 16px 23px; font-size: 14px; }

.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy); }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 40%, rgba(219,238,255,.8), transparent 36%),
    linear-gradient(115deg, #f8fbff 0%, #fff 62%);
}

.hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 42px;
}

.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #41617f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.hero h1 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(42px, 5vw, 65px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.hero-lead {
  max-width: 600px;
  margin: 25px 0 20px;
  color: #3c536d;
  font-size: 18px;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 30px;
  font-size: 13px;
  font-weight: 700;
}
.hero-benefits b { margin-right: 7px; font-size: 20px; font-weight: 500; }

.hero-visual { min-height: 460px; display: grid; place-items: center; }

.workspace-card {
  width: min(100%, 570px);
  height: 360px;
  position: relative;
  border-radius: 24px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.9), transparent 20%),
    linear-gradient(135deg, #eef7ff, #d7e9f6);
  box-shadow: 0 30px 80px rgba(24,49,77,.15);
  overflow: hidden;
}

.workspace-card:after {
  content: "";
  position: absolute;
  inset: auto -10% -55% 30%;
  height: 300px;
  background: rgba(255,255,255,.7);
  transform: rotate(-8deg);
  border-radius: 50%;
}

.workspace-top { position: absolute; top: 16px; left: 18px; display: flex; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #b7c7d8; }

.laptop { position: absolute; width: 410px; left: 50%; top: 80px; transform: translateX(-50%) perspective(700px) rotateX(2deg); }
.laptop-screen {
  height: 235px;
  padding: 34px;
  border: 9px solid #172331;
  border-radius: 14px 14px 8px 8px;
  background: linear-gradient(135deg, #102b48, #1c476f);
  color: white;
  box-shadow: 0 20px 35px rgba(16,43,72,.28);
}
.screen-kicker { display: block; margin-bottom: 18px; font-size: 8px; letter-spacing: .14em; opacity: .7; }
.laptop-screen strong { font-size: 24px; line-height: 1.35; }
.laptop-screen em { color: #69a8ff; font-style: normal; }
.screen-line { width: 115px; height: 3px; margin-top: 12px; background: #3b8df5; border-radius: 5px; }
.laptop-base {
  height: 18px;
  margin: -2px -25px 0;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(#c8d0d8, #8d99a4);
  box-shadow: 0 12px 20px rgba(16,43,72,.2);
}
.desk-note {
  position: absolute;
  bottom: 22px;
  right: 28px;
  z-index: 2;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.feature-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 30px rgba(20,54,88,.04);
}
.feature-card h2 { margin: 18px 0 8px; font-size: 20px; }
.feature-card p { color: var(--muted); margin: 0 0 20px; font-size: 14px; }
.feature-card a, .review-card a { color: var(--blue); font-size: 13px; font-weight: 800; }

.icon-circle {
  width: 45px; height: 45px; border-radius: 50%;
  display: grid; place-items: center; font-size: 21px; font-weight: 800;
}
.icon-green { background: var(--green); }
.icon-purple { background: var(--purple); color: #5e3bd1; }
.icon-blue { background: var(--blue-soft); color: var(--blue); }

.split-heading {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 52px;
  align-items: start;
}

.section-intro h2, .compact h2, .automation-box h2, .contact-card h2 {
  margin: 0 0 15px;
  font-size: clamp(30px, 3.4vw, 43px);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.section-intro p, .compact p { color: var(--muted); font-size: 14px; margin: 0 0 26px; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card, .article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow);
}
.card-art, .article-art {
  height: 125px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .08em;
}
.ai-art { background: linear-gradient(135deg, #163c59, #6b9f82); }
.crm-art { background: linear-gradient(135deg, #2e4c78, #b9a6e8); }
.automation-art { background: linear-gradient(135deg, #174568, #6c9cbb); }

.review-body { padding: 16px; }
.tag {
  display: inline-block; padding: 4px 7px; border-radius: 5px;
  background: #e7f0ff; color: #2566b7; font-size: 8px; font-weight: 900; letter-spacing: .06em;
}
.tag-purple { background: #eee8ff; color: #6545c6; }
.review-body h3, .article-body h3 { margin: 10px 0 7px; font-size: 16px; line-height: 1.25; }
.review-body p { min-height: 45px; margin: 0 0 12px; color: var(--muted); font-size: 12px; }

.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: center; }
.benefits-grid > div { padding: 0 28px; border-right: 1px solid var(--line); }
.benefits-grid > div:last-child { border-right: 0; }
.benefit-icon { margin: 0 auto 10px; width: 43px; height: 43px; display: grid; place-items: center; border: 2px solid #cfe0f3; border-radius: 50%; color: var(--blue); font-size: 20px; }
.benefits h3 { margin: 0 0 6px; font-size: 15px; }
.benefits p { margin: 0; color: var(--muted); font-size: 12px; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-art { height: 105px; background: linear-gradient(135deg, #dbeafa, #6f95b9); font-size: 14px; }
.article-art.purple { background: linear-gradient(135deg, #ece5ff, #9079cb); }
.article-art.blue { background: linear-gradient(135deg, #d8ecff, #5d91bf); }
.article-body { padding: 16px; }
.read-time { color: var(--muted); font-size: 11px; }

.placeholder-section { padding: 74px 0; }
.compact { max-width: 780px; text-align: center; }
.compact .eyebrow { text-align: center; }

.automation-cta { padding-top: 30px; }
.automation-box {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 28px 34px;
  border-radius: 16px;
  background: linear-gradient(100deg, #e9f3ff, #f4f8fd);
  border: 1px solid #d7e6f6;
}
.automation-box h2 { font-size: 28px; margin-bottom: 5px; }
.automation-box p { margin: 0; color: var(--muted); font-size: 13px; max-width: 720px; }
.rocket { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--blue); font-size: 25px; }

.contact { background: #fff; }
.contact-card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 55px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: var(--navy); }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid #d9e2ed; border-radius: 9px; padding: 12px 13px; outline: none; background: #fbfdff;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: #78aef0; box-shadow: 0 0 0 3px rgba(17,103,232,.08); }
.contact-form .full, .contact-form button, .form-note { grid-column: 1 / -1; }
.form-note { margin: -5px 0 0; color: var(--muted); font-size: 10px; }

.site-footer { padding: 50px 0 20px; background: var(--navy); color: #d9e6f4; }
.brand-light strong { color: white; }
.brand-light small { color: #9db2c9; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.footer-brand p { max-width: 390px; color: #a9bdd1; font-size: 13px; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 25px; align-content: start; font-size: 12px; }
.footer-links a:hover, .footer-bottom a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 35px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #91a9c0; font-size: 10px; }

@media (max-width: 1050px) {
  .main-nav { gap: 14px; }
  .brand { min-width: 225px; }
  .nav-cta { display: none; }
}

@media (max-width: 850px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    left: 16px; right: 16px; top: 70px;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 18px; background: white; border: 1px solid var(--line);
    border-radius: 12px; box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; border-bottom: 0; }
  .hero-grid, .split-heading, .contact-card { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 0; }
  .hero-visual { min-height: 380px; }
  .card-grid, .review-grid, .article-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 25px; }
  .automation-box { grid-template-columns: 55px 1fr; }
  .automation-box .btn { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 62px 0; }
  .brand { min-width: 0; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 8px; }
  .hero h1 { font-size: 40px; }
  .hero-lead { font-size: 16px; }
  .hero-benefits { gap: 12px 18px; }
  .workspace-card { height: 290px; }
  .laptop { width: 300px; top: 58px; }
  .laptop-screen { height: 175px; padding: 23px; }
  .laptop-screen strong { font-size: 18px; }
  .contact-card { padding: 28px 20px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full, .contact-form button, .form-note { grid-column: auto; }
  .automation-box { padding: 24px; }
  .automation-box .btn { grid-column: 1 / -1; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
