* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #111318;
  --muted: #666c78;
  --line: #e7e9ee;
  --dark: #0e1117;
  --accent: #6d5dfc;
  --accent-soft: #edeaff;
  --radius: 24px;
  --shadow: 0 18px 60px rgba(20, 24, 40, 0.10);
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 249, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231, 233, 238, 0.8);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: white;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:not(.nav-cta) {
  color: #3b404a;
}

.nav-cta {
  padding: 11px 18px;
  background: var(--dark);
  color: white;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
}

.hero {
  padding: 84px 0 64px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 18px;
}

h1, h2, h3 {
  margin-top: 0;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(44px, 6vw, 78px);
  margin-bottom: 24px;
  max-width: 840px;
}

h2 {
  font-size: clamp(34px, 4.2vw, 54px);
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.hero-text,
.section-heading p,
.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 690px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 34px 0 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-secondary {
  background: white;
  border: 1px solid var(--line);
}

.btn-light {
  background: white;
  color: var(--dark);
  white-space: nowrap;
}

.hero-meta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-meta div {
  display: grid;
  gap: 2px;
}

.hero-meta strong {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: .08em;
}

.hero-meta span {
  font-size: 14px;
  font-weight: 600;
}

.hero-card-wrap {
  min-height: 510px;
  position: relative;
}

.hero-card {
  background: var(--dark);
  color: white;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.card-main {
  width: 86%;
  min-height: 410px;
  margin: 38px auto 0;
  padding: 28px;
  transform: rotate(2deg);
}

.mini-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b8bdc9;
  font-size: 13px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7a68ff;
  box-shadow: 0 0 18px #7a68ff;
}

.chart-area {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 220px;
  padding: 30px 4px 22px;
}

.chart-bar {
  flex: 1;
  border-radius: 16px 16px 5px 5px;
  background: linear-gradient(180deg, #8f82ff 0%, #5f4ff6 100%);
  min-width: 18px;
}

.h1{height:32%}.h2{height:48%}.h3{height:67%}.h4{height:54%}.h5{height:82%}.h6{height:100%}

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

.metrics div {
  background: #171b24;
  padding: 14px;
  border-radius: 14px;
}

.metrics span,
.floating-card span {
  color: #949bab;
  font-size: 11px;
  display: block;
}

.metrics b {
  font-size: 20px;
}

.floating-card {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.floating-card strong {
  display: block;
  font-size: 14px;
  margin-top: 3px;
}

.fc-one {
  top: 0;
  right: 0;
}

.fc-two {
  left: 0;
  bottom: 20px;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: .2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 26px;
}

.service-card p {
  color: var(--muted);
}

.service-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #343944;
}

.service-card li + li {
  margin-top: 6px;
}

.section-dark {
  background: var(--dark);
  color: white;
}

.section-heading.light p {
  color: #aeb4c0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  border: 1px solid #292f3a;
  padding: 24px;
  border-radius: 20px;
  background: #12161e;
}

.step span {
  color: #8879ff;
  font-weight: 800;
  font-size: 13px;
}

.step h3 {
  margin: 42px 0 10px;
}

.step p {
  color: #aeb4c0;
  font-size: 14px;
  margin: 0;
}

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

.portfolio-card {
  min-height: 300px;
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  top: -60px;
  right: -40px;
  opacity: .55;
  filter: blur(2px);
}

.accent-1 { background: #ece9ff; }
.accent-1::before { background: #b9b0ff; }
.accent-2 { background: #e8f2ff; }
.accent-2::before { background: #acd3ff; }
.accent-3 { background: #eef8ef; }
.accent-3::before { background: #bde6c0; }

.portfolio-card span {
  position: absolute;
  top: 24px;
  left: 26px;
  font-weight: 800;
  color: #666;
}

.portfolio-card p {
  color: #555b66;
}

.about {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.about-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.about-panel div {
  padding: 22px 24px;
  display: grid;
  gap: 4px;
}

.about-panel div + div {
  border-top: 1px solid var(--line);
}

.about-panel small {
  color: var(--muted);
}

.contact-section {
  padding: 0 0 92px;
  background: white;
}

.contact-card {
  background: var(--accent);
  color: white;
  padding: 44px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.contact-card .eyebrow {
  color: #dcd6ff;
  margin-bottom: 10px;
}

.contact-card h2 {
  margin-bottom: 10px;
}

.contact-card p {
  color: #e4e0ff;
  margin: 0;
}

footer {
  background: #0a0d12;
  color: white;
  padding: 36px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
}

footer p {
  margin: 4px 0 0;
  color: #9ca3af;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: #c7ccd5;
  font-size: 13px;
}

.copyright {
  color: #7f8792;
  font-size: 12px;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-card-wrap {
    min-height: 430px;
  }

  .services-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    min-height: 230px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 14px;
    right: 14px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 20px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 10px;
  }

  .nav-cta {
    text-align: center;
    margin-top: 6px;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .hero-card-wrap {
    min-height: 360px;
  }

  .card-main {
    width: 94%;
    min-height: 320px;
    padding: 20px;
  }

  .chart-area {
    height: 160px;
  }

  .floating-card {
    padding: 12px 14px;
  }

  .services-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .contact-card {
    padding: 30px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}


button {
  font: inherit;
}

.link-button,
.footer-contact {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  font-weight: 700;
}

.footer-contact {
  color: #c7ccd5;
  font-size: 13px;
}

.cases-section {
  background: #f2f4f8;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  overflow: hidden;
}

.case-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 18px;
}

.case-visual {
  height: 230px;
  border-radius: 20px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.visual-social {
  background: linear-gradient(135deg, #ece9ff, #f7f5ff);
}
.social-post-card {
  position: absolute;
  left: 28px;
  top: 26px;
  width: 62%;
  height: 120px;
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}
.social-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
}
.social-lines {
  flex: 1;
}
.social-lines span {
  display: block;
  height: 10px;
  background: #e8e9ef;
  border-radius: 10px;
  margin: 8px 0;
}
.social-lines span:last-child {
  width: 70%;
}
.social-tile {
  position: absolute;
  border-radius: 18px;
  background: #7b6dff;
}
.tile-a {
  width: 115px;
  height: 115px;
  right: 28px;
  bottom: 24px;
}
.tile-b {
  width: 78px;
  height: 78px;
  right: 110px;
  bottom: 16px;
  background: #c9c3ff;
}

.visual-ads {
  background: #11151c;
  display: grid;
  place-items: center;
}
.ad-panel {
  width: 78%;
  color: white;
}
.ad-panel span {
  color: #9ea5b2;
  font-size: 12px;
}
.ad-panel strong {
  display: block;
  font-size: 28px;
  margin: 4px 0 18px;
}
.mini-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 110px;
}
.mini-chart i {
  flex: 1;
  background: linear-gradient(180deg, #9589ff, #6252f7);
  border-radius: 10px 10px 3px 3px;
}
.mini-chart i:nth-child(1){height:35%}
.mini-chart i:nth-child(2){height:58%}
.mini-chart i:nth-child(3){height:46%}
.mini-chart i:nth-child(4){height:78%}
.mini-chart i:nth-child(5){height:100%}

.visual-web {
  background: linear-gradient(135deg, #e8f2ff, #f8fbff);
  display: grid;
  place-items: center;
}
.browser {
  width: 82%;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.browser-top {
  height: 34px;
  background: #f2f3f6;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}
.browser-top span {
  width: 8px;
  height: 8px;
  background: #c7cad2;
  border-radius: 50%;
}
.browser-body {
  height: 130px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  padding: 20px;
}
.browser-copy {
  background: linear-gradient(#141821 0 14%, transparent 14% 30%, #eceef2 30% 38%, transparent 38% 48%, #eceef2 48% 56%, transparent 56%);
  border-radius: 8px;
}
.browser-card {
  background: #dfeaff;
  border-radius: 12px;
}

.visual-report {
  background: linear-gradient(135deg, #eef8ef, #f8fbf8);
}
.report-sheet {
  position: absolute;
  left: 34px;
  top: 28px;
  width: 70%;
  background: white;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.report-row {
  height: 12px;
  background: #e8ece8;
  border-radius: 10px;
  margin: 12px 0;
  width: 72%;
}
.report-row.wide { width: 100%; background: #c9e8cd; }
.report-row.short { width: 48%; }
.report-badge {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: #1b7d38;
  color: white;
  font-weight: 800;
}

.case-card p {
  color: var(--muted);
  margin: 8px 0;
}
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.case-tags span {
  padding: 7px 10px;
  background: #f0f1f5;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #505662;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.contact-modal.open {
  display: grid;
  place-items: center;
}
.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 15, .62);
  backdrop-filter: blur(4px);
}
.contact-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 28px));
  background: white;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 30px 100px rgba(0,0,0,.28);
}
.contact-modal-dialog h2 {
  font-size: 36px;
  margin-bottom: 10px;
}
.contact-modal-dialog p {
  color: var(--muted);
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  color: #757b86;
}
.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.hidden-phone {
  margin-top: 16px;
  font-size: 24px;
  font-weight: 800;
  min-height: 34px;
}

@media (max-width: 900px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}
