:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #edf2ff;
  --text: #10213a;
  --muted: #4f6079;
  --primary: #0d6efd;
  --primary-deep: #004ec0;
  --accent: #14b8a6;
  --ring: rgba(13, 110, 253, 0.22);
  --shadow: 0 16px 44px rgba(16, 33, 58, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(20, 184, 166, 0.08), transparent 24%),
    radial-gradient(circle at 80% 25%, rgba(13, 110, 253, 0.1), transparent 22%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  filter: blur(24px);
  pointer-events: none;
}

.bg-shape-1 {
  width: 300px;
  height: 300px;
  top: -60px;
  left: -100px;
  background: rgba(13, 110, 253, 0.2);
  border-radius: 50%;
}

.bg-shape-2 {
  width: 360px;
  height: 360px;
  right: -120px;
  top: 40%;
  background: rgba(20, 184, 166, 0.18);
  border-radius: 50%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(246, 248, 252, 0.86);
  border-bottom: 1px solid rgba(16, 33, 58, 0.08);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  height: 46px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-weight: 600;
  color: var(--muted);
  position: relative;
  transition: color 0.22s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(16, 33, 58, 0.12);
  border-radius: 12px;
  background: var(--surface);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.22s ease;
}

.hero {
  padding: 96px 0 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: var(--primary-deep);
  font-weight: 700;
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
}

h1 {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  margin-bottom: 20px;
  max-width: 20ch;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 56ch;
  margin: 0;
}

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

.btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(120deg, var(--primary-deep), var(--primary));
  box-shadow: 0 14px 28px rgba(13, 110, 253, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(13, 110, 253, 0.35);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(16, 33, 58, 0.18);
  background: var(--surface);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 110, 253, 0.42);
  box-shadow: 0 10px 22px rgba(16, 33, 58, 0.09);
}

.mockup-stack {
  position: relative;
  min-height: 400px;
}

.device {
  border-radius: 22px;
  background: linear-gradient(165deg, #f9fbff, #e8eeff);
  box-shadow: var(--shadow);
}

.device.desktop-float {
  width: min(480px, 100%);
  padding: 12px;
  animation: floatDesktop 5.8s ease-in-out infinite;
}

.device.mobile-float {
  width: 180px;
  padding: 10px;
  position: absolute;
  bottom: -30px;
  right: -18px;
  animation: floatMobile 6.4s ease-in-out infinite;
}

.device-top {
  height: 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, #d5def6, #c5d2f4);
  margin-bottom: 10px;
}

.device-screen {
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f3f6ff);
  min-height: 240px;
  padding: 16px;
}

.screen-brand img {
  height: 28px;
  width: auto;
  opacity: 0.9;
}

.screen-lines {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.screen-lines span {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(13, 110, 253, 0.2), rgba(20, 184, 166, 0.2));
}

.screen-chart {
  margin-top: 22px;
  height: 108px;
  border-radius: 16px;
  background:
    linear-gradient(155deg, rgba(13, 110, 253, 0.2), rgba(20, 184, 166, 0.22)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.38) 0 8px, transparent 8px 16px);
}

.dot-line {
  height: 10px;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.3);
  margin-bottom: 8px;
}

.dot-line.short {
  width: 70%;
}

.card-mini {
  border-radius: 12px;
  background: rgba(13, 110, 253, 0.22);
  height: 74px;
  margin-top: 12px;
}

.card-mini.light {
  background: rgba(20, 184, 166, 0.22);
}

.section {
  padding: 90px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(237, 242, 255, 0.62), rgba(237, 242, 255, 0.18));
}

.section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-head h2,
.case-grid h2,
.contact-grid h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.45rem);
}

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

.service-card,
.plan-card,
.impact-card,
.quote-form {
  background: var(--surface);
  border: 1px solid rgba(16, 33, 58, 0.08);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 10px 28px rgba(16, 33, 58, 0.08);
}

.service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.plan-card:hover {
  transform: translateY(-7px);
  border-color: rgba(13, 110, 253, 0.35);
  box-shadow: 0 22px 46px rgba(13, 110, 253, 0.18);
}

.service-card h3,
.plan-name,
.impact-card h3 {
  font-size: 1.17rem;
  margin-bottom: 10px;
}

.service-card p,
.plan-card p,
.case-grid p,
.contact-grid p {
  color: var(--muted);
  margin: 0;
}

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

.case-grid p + p {
  margin-top: 12px;
}

.impact-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.impact-card li {
  margin-bottom: 10px;
  color: var(--muted);
}

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

.plan-card {
  position: relative;
}

.plan-card.featured {
  background: linear-gradient(165deg, #eff5ff, #ffffff);
  border: 1px solid rgba(13, 110, 253, 0.24);
}

.tag {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(20, 184, 166, 0.16);
  color: #0b7568;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}

.plan-price {
  margin: 6px 0 10px;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
}

.plan-price span {
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 18px;
  align-items: start;
}

.wa-number {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: 0.03em;
  margin: 2px 0 8px;
}

.quote-form {
  display: grid;
  gap: 12px;
}

.quote-form label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 33, 58, 0.15);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--ring);
}

.submit-btn {
  margin-top: 8px;
  cursor: pointer;
  width: 100%;
  min-height: 48px;
}

.btn-loader {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  display: none;
  animation: spin 0.8s linear infinite;
}

.submit-btn.loading .btn-text {
  opacity: 0;
}

.submit-btn.loading .btn-loader {
  display: inline-block;
}

.site-footer {
  padding: 32px 0 44px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-inner img {
  height: 34px;
  width: auto;
  opacity: 0.9;
}

.footer-inner p {
  color: var(--muted);
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.66s ease, transform 0.66s ease;
}

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

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.18s;
}

@keyframes floatDesktop {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatMobile {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .case-grid,
  .contact-grid,
  .plans-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .mockup-stack {
    max-width: 480px;
    margin-inline: auto;
  }

  .device.mobile-float {
    right: 10px;
    bottom: -22px;
  }
}

@media (max-width: 780px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 84px;
    right: 5%;
    width: min(260px, 90vw);
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(16, 33, 58, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 30px rgba(16, 33, 58, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all 0.22s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    padding-top: 74px;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .device.mobile-float {
    width: 142px;
    right: 2px;
    bottom: -12px;
  }
}
