/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0d1117;
  --navy-2: #161b22;
  --navy-3: #1c2230;
  --tint:   #f4f6fa;
  --green:  #00c48c;
  --green-d:#009e72;
  --white:  #ffffff;
  --text:   #1a1f2e;
  --muted:  #6b7385;
  --border: #e4e8f0;
  --radius: 12px;
  --font:   'Inter', system-ui, sans-serif;
  --trans:  0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Utilities ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.pill {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 20px;
}
.pill--light {
  color: var(--green);
  border-color: rgba(0,196,140,.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--trans);
}
.btn--primary {
  background: var(--green);
  color: var(--white);
}
.btn--primary:hover { background: var(--green-d); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn--sm { padding: 9px 20px; font-size: .875rem; }
.btn--full { width: 100%; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--green);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 2.5px solid var(--navy);
  border-radius: 3px;
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--trans);
}
.nav__links a:hover { color: var(--white); }
.nav__links .btn--primary,
.nav__links .btn--primary:hover { color: var(--navy) !important; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--trans);
}
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 16px 24px 24px;
  gap: 0;
}
.nav__mobile a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: block;
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile.open { display: flex; }

/* ── Hero ── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,196,140,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,196,140,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero__grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,196,140,.1) 0%, transparent 70%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__content { max-width: 520px; }
.hero__tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}
.hero__headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.65);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Hero workflow visual ── */
.hero__visual {
  width: 100%;
}
.wf {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,196,140,.08),
    0 0 60px rgba(0,196,140,.07),
    0 32px 64px rgba(0,0,0,.5);
}
.wf__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.wf__win-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.wf__win-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.wf__win-dots span:nth-child(1) { background: #ff5f57; }
.wf__win-dots span:nth-child(2) { background: #febc2e; }
.wf__win-dots span:nth-child(3) { background: #28c840; }
.wf__name {
  flex: 1;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-align: center;
}
.wf__live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--green);
  flex-shrink: 0;
}
.wf__dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: wf-pulse 2s ease-in-out infinite;
}
@keyframes wf-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,196,140,.5); }
  50%       { box-shadow: 0 0 0 5px rgba(0,196,140,0); }
}
.wf__steps {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 0;
}
.wf__step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color var(--trans);
}
.wf__step--trigger {
  background: rgba(0,196,140,.07);
  border-color: rgba(0,196,140,.22);
}
.wf__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
  background: rgba(0,196,140,.12);
}
.wf__step--trigger .wf__icon { background: rgba(0,196,140,.18); }
.wf__icon svg { width: 17px; height: 17px; }
.wf__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.wf__tag-label {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--green);
}
.wf__title {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wf__meta {
  font-size: .72rem;
  color: rgba(255,255,255,.38);
}
.wf__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,196,140,.1);
  border: 1.5px solid rgba(0,196,140,.38);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}
.wf__check svg { width: 11px; height: 11px; }
.wf__line {
  width: 2px;
  height: 10px;
  /* 14px step padding-left + 17px half-icon = 31px; minus 1px for half connector width = 30px */
  margin: 0 0 0 30px;
  background: linear-gradient(180deg, rgba(0,196,140,.45), rgba(0,196,140,.15));
  flex-shrink: 0;
}
.wf__footer {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--green);
}
.wf__footer span {
  font-size: .75rem;
  font-weight: 500;
  color: rgba(255,255,255,.45);
}


/* ── Sections ── */
.section { padding: 96px 0; }
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--tint { background: var(--tint); }

.section__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}
.section__header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.section__header p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}
.section__header--light h2 { color: var(--white); }
.section__header--light p  { color: rgba(255,255,255,.55); }


/* ── Steps ── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 40px 36px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
}
.step__connector {
  width: 48px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(0,196,140,.4), rgba(0,196,140,.1));
  align-self: center;
  margin: 0 8px;
  position: relative;
}
.step__connector::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(0,196,140,.4);
  border-right: 2px solid rgba(0,196,140,.4);
  transform: rotate(45deg);
}
.step__num {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--green);
  margin-bottom: 16px;
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.step p {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: box-shadow var(--trans), border-color var(--trans);
  position: relative;
}
.service-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,.07);
  border-color: var(--green);
}
.service-card--accent {
  border-top: 3px solid var(--green);
}
.service-card__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.service-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card ul li {
  font-size: .875rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}
.service-card--more {
  grid-column: 1 / -1;
  background: var(--tint);
  border-style: dashed;
}
.service-card--more:hover { border-color: var(--green); box-shadow: none; }
.service-card--more h3 { margin-bottom: 8px; }
.service-card--more p  { margin-bottom: 0; }
.service-card__more-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* ── About ── */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about__text { padding-top: 8px; }
.about__text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  line-height: 1.2;
}
.about__text p {
  font-size: .97rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about__text .btn { margin-top: 12px; }
.about__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 24px;
  max-height: 520px;
}
@media (max-width: 1024px) {
  .about__photo {
    aspect-ratio: 4 / 3;
    max-height: 360px;
  }
}
@media (max-width: 768px) {
  .about__photo {
    aspect-ratio: 3 / 2;
    max-height: 280px;
  }
}

/* ── CTA / Contact ── */
.cta { text-align: center; }
.cta__inner { max-width: 640px; }
.cta h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.cta > .container > p,
.cta__inner > p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 48px;
  line-height: 1.7;
}

.contact-form { text-align: left; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: .93rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--trans);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-note {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  text-align: center;
  margin-top: 12px;
}

/* ── Footer ── */
.footer {
  background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 56px 24px 48px;
  gap: 48px;
}
.footer__brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.4);
  max-width: 280px;
  line-height: 1.6;
  margin-top: 16px;
}
.footer__links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.footer__links a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: .9rem;
  transition: color var(--trans);
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 24px;
}
.footer__bottom .container {
  display: flex;
  align-items: center;
}
.footer__bottom span {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hero__visual { display: none; }
  .hero__content { max-width: 680px; }
  .steps { flex-direction: column; }
  .step__connector {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, rgba(0,196,140,.4), rgba(0,196,140,.1));
    align-self: flex-start;
    margin: 8px 0 8px 40px;
  }
  .step__connector::after {
    right: -4px;
    top: auto;
    bottom: -5px;
    transform: rotate(135deg);
  }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .hero { padding: 80px 0 72px; }
.feature-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card__more-inner { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; }
  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* ── Blog hero ── */
.blog-hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.blog-hero--post { padding: 64px 0 56px; }
.blog-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.blog-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.blog-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}

/* ── Blog listing grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 48px 0;
}
.blog-state--error { color: #e05555; }

/* ── Blog card ── */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--trans), border-color var(--trans), transform var(--trans);
}
.blog-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
  border-color: var(--green);
  transform: translateY(-3px);
}
.blog-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.blog-card__img--placeholder {
  background: var(--tint);
}
.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  flex: 1;
}
.blog-card__date {
  font-size: .75rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.blog-card__title {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.35;
  color: var(--text);
}
.blog-card__excerpt {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.blog-card__read {
  font-size: .85rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 4px;
}

/* ── Single post ── */
.post-back {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  margin-bottom: 20px;
  transition: color var(--trans);
}
.post-back:hover { color: var(--white); }
.post-meta {
  font-size: .88rem;
  color: rgba(255,255,255,.45);
  margin-top: 12px;
}
.post-container { max-width: 740px; }
.post-cover {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 48px;
  display: block;
}
.post-body { font-size: 1rem; line-height: 1.8; color: var(--text); }
.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4 {
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin: 40px 0 16px;
  color: var(--text);
}
.post-body h2 { font-size: 1.65rem; }
.post-body h3 { font-size: 1.3rem; }
.post-body h4 { font-size: 1.1rem; }
.post-body p  { margin-bottom: 20px; }
.post-body a  { color: var(--green); text-decoration: underline; }
.post-body ul,
.post-body ol { margin: 0 0 20px 24px; }
.post-body li { margin-bottom: 6px; }
.post-body blockquote {
  border-left: 3px solid var(--green);
  margin: 32px 0;
  padding: 16px 24px;
  background: var(--tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--muted);
}
.post-body pre {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 20px 24px;
  overflow-x: auto;
  margin-bottom: 20px;
}
.post-body pre code {
  font-family: 'Fira Code', 'Cascadia Code', monospace;
  font-size: .88rem;
  color: rgba(255,255,255,.85);
}
.post-body code {
  background: var(--tint);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: .88em;
}
.post-body img {
  width: 100%;
  border-radius: var(--radius);
  margin: 8px 0 20px;
  display: block;
}
.post-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin-bottom: 20px;
  scroll-snap-type: x mandatory;
}
.post-slider img {
  flex: 0 0 auto;
  width: 80%;
  margin: 0;
  scroll-snap-align: start;
}

/* ── Blog responsive ── */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .post-body h2 { font-size: 1.4rem; }
}
