:root {
  --ink: #10131a;
  --muted: #596273;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --soft-2: #eef6f4;
  --dark: #080b10;
  --line: #dde3ec;
  --blue: #1f6bff;
  --blue-dark: #1551c7;
  --teal: #05a889;
  --teal-dark: #047e6c;
  --amber: #f7b731;
  --danger: #b72816;
  --success: #0b7a5a;
  --shadow: 0 18px 45px rgba(16, 19, 26, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 80;
  padding: 10px 14px;
  background: var(--blue);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

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

.narrow {
  width: min(860px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 1.08rem;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 10px 9px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 0.91rem;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
  color: var(--blue);
  background: #eef4ff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 900;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--blue);
  color: #ffffff;
}

.btn.primary:hover,
.btn.primary:focus {
  background: var(--blue-dark);
}

.btn.secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

.btn.secondary:hover,
.btn.secondary:focus {
  border-color: var(--blue);
  color: var(--blue);
}

.btn.dark {
  background: var(--dark);
  color: #ffffff;
}

.btn.small {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 0.9rem;
}

.section {
  padding: 88px 0;
}

.section.soft {
  background: var(--soft);
}

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

.section.dark .muted,
.section.dark .section-head p,
.section.dark .card p {
  color: #b9c2d3;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  padding: 86px 0 52px;
  background: linear-gradient(135deg, #080b10 0%, #10131a 52%, #0a4f49 100%);
  color: #ffffff;
}

.hero.compact {
  min-height: auto;
  padding: 78px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.82fr);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section.dark .eyebrow,
.hero .eyebrow {
  color: #7ff4df;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 4rem;
  line-height: 1.03;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.55rem;
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
  line-height: 1.25;
}

h4 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.lead {
  max-width: 690px;
  color: #d9e3f2;
  font-size: 1.18rem;
}

.muted {
  color: var(--muted);
}

.mt-20 {
  margin-top: 20px;
}

.mt-24 {
  margin-top: 24px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.stat-box,
.proof-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.stat-box strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
}

.stat-box span {
  color: #b9c2d3;
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.mockup-board {
  position: relative;
  min-height: 520px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.screen {
  position: absolute;
  width: 42%;
  max-height: 475px;
  object-fit: cover;
  object-position: top center;
  border: 7px solid #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.screen.one {
  left: 14px;
  top: 58px;
}

.screen.two {
  left: 30%;
  top: 18px;
  z-index: 2;
}

.screen.three {
  right: 14px;
  top: 82px;
}

.trust-strip {
  padding: 26px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  gap: 14px;
  align-items: center;
}

.trust-label {
  color: var(--muted);
  font-weight: 800;
}

.logo-pill,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  font-weight: 900;
}

.logo-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--soft-2);
  color: var(--teal-dark);
  font-size: 0.78rem;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head.center {
  display: block;
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(16, 19, 26, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 107, 255, 0.35);
  box-shadow: var(--shadow);
}

.section.dark .card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

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

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue);
  font-weight: 900;
}

.icon.teal {
  background: var(--soft-2);
  color: var(--teal-dark);
}

.icon.amber {
  background: #fff7df;
  color: #946200;
}

.card-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 52px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 440px;
}

.visual-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}

.visual-card {
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.visual-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.visual-card.small img {
  min-height: 210px;
}

.visual-stack {
  display: grid;
  gap: 18px;
}

.photo-panel {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--dark);
  box-shadow: var(--shadow);
}

.photo-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 16, 0) 18%, rgba(8, 11, 16, 0.78) 100%);
}

.photo-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: #ffffff;
}

.photo-caption p {
  margin-bottom: 0;
  color: #d9e3f2;
}

.team-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 18px;
}

.feature-image,
.case-image,
.about-image {
  width: 82%;
  max-height: 440px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.chart-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.check-list,
.meta-list,
.clean-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.meta-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 750;
}

.section.dark .check-list li,
.section.dark .meta-list li {
  color: #ffffff;
}

.check-list li::before,
.meta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--teal);
}

.tag-row,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag,
.filter-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.project-card {
  overflow: hidden;
  padding: 0;
}

.project-thumb {
  height: 230px;
  background: var(--soft);
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.project-body {
  padding: 24px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

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

.metric {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.metric strong {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
}

.metric span {
  color: var(--muted);
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 18px;
  counter-reset: steps;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.timeline-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--dark);
  color: #ffffff;
  font-weight: 900;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tech-card ul,
.pricing-card ul {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.tech-card li,
.pricing-card li {
  color: var(--muted);
  font-weight: 750;
}

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.price {
  margin: 16px 0;
  font-size: 1.8rem;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 900;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.testimonial {
  display: grid;
  gap: 16px;
}

.rating {
  color: #d69200;
  font-weight: 900;
}

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

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--dark);
  color: #ffffff;
  font-weight: 900;
}

.form-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row.full {
  grid-column: 1 / -1;
}

.form-row label {
  font-weight: 900;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
}

.form-row textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 3px solid rgba(31, 107, 255, 0.16);
  border-color: var(--blue);
}

.spam-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-weight: 900;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.cta-banner {
  padding: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--dark), #0f3d3a);
  color: #ffffff;
}

.cta-banner p {
  max-width: 680px;
  color: #d9e3f2;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 50;
  box-shadow: var(--shadow);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 50;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #16a34a;
  color: #ffffff;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 58px 0 28px;
  background: var(--dark);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  gap: 28px;
}

.footer-grid p,
.footer-grid a {
  color: #b9c2d3;
}

.footer-grid a:hover,
.footer-grid a:focus {
  color: #ffffff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #b9c2d3;
}

.legal-copy {
  display: grid;
  gap: 22px;
}

.legal-copy h2 {
  font-size: 1.65rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .nav-links {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .visual-strip,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-meta,
  .trust-grid,
  .metric-grid,
  .grid.four,
  .grid.three,
  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual,
  .mockup-board {
    min-height: 420px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .nav-actions .btn {
    display: none;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 64px 0 40px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-meta,
  .trust-grid,
  .metric-grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .tech-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .mockup-board {
    min-height: 350px;
  }

  .screen {
    width: 48%;
    max-height: 330px;
    border-width: 5px;
  }

  .screen.one {
    left: 4px;
  }

  .screen.two {
    left: 26%;
  }

  .screen.three {
    right: 4px;
  }

  .image-stack {
    min-height: 340px;
  }

  .photo-panel,
  .photo-panel img {
    min-height: 330px;
  }

  .visual-card img {
    min-height: 260px;
  }

  .visual-card.small img {
    min-height: 210px;
  }

  .team-photo {
    height: 220px;
  }

  .feature-image,
  .case-image,
  .about-image {
    width: 88%;
    max-height: 330px;
  }

  .chart-image {
    width: 58%;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 28px;
  }

  .sticky-cta {
    display: none;
  }
}
