* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1468e8;
  --primary-2: #0b57d0;
  --primary-light: #eaf3ff;
  --primary-soft: #f3f8ff;
  --text: #12213d;
  --muted: #65728a;
  --border: #e4ebf5;
  --white: #fff;
  --dark: #092b5c;
  --shadow: 0 18px 50px rgba(29, 87, 165, .10);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Vazirmatn", Tahoma, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.8;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 8%, rgba(20,104,232,.07), transparent 25%),
    radial-gradient(circle at 10% 40%, rgba(20,104,232,.045), transparent 25%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(228,235,245,.7);
  transition: .3s ease;
}

.header.scrolled {
  box-shadow: 0 8px 30px rgba(18, 55, 110, .07);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--text);
}

.brand-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 11px;
}

.brand-icon svg {
  width: 27px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 13px;
  font-weight: 600;
  color: #4f5c72;
}

.desktop-nav a {
  position: relative;
  padding: 28px 0;
  transition: color .2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 17px;
  right: 0;
  width: 0;
  height: 2px;
  border-radius: 10px;
  background: var(--primary);
  transition: .25s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--primary);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  width: 100%;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 23px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #1874f1, #0d5bd6);
  box-shadow: 0 10px 25px rgba(20,104,232,.20);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(20,104,232,.28);
}

.btn-outline {
  color: var(--primary);
  border-color: #b7d0f5;
  background: #fff;
}

.btn-outline:hover {
  background: var(--primary-soft);
}

.btn-white {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.10);
}

.btn.small {
  min-height: 42px;
  padding: 0 18px;
}

.btn-lg {
  min-height: 52px;
  padding: 0 28px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--primary-light);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  background: var(--primary);
  border-radius: 10px;
}

.mobile-menu {
  display: none;
}

/* HERO */
.hero {
  position: relative;
  padding: 80px 0 48px;
  background:
    radial-gradient(circle at 80% 42%, rgba(209,228,255,.65), transparent 35%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  border: 1px solid rgba(20,104,232,.08);
  border-radius: 50%;
  top: -500px;
  right: -250px;
}

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

.hero-content {
  order: 1;
}

.hero-visual {
  order: 2;
  min-height: 470px;
  position: relative;
  display: grid;
  place-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 100px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(35px, 4vw, 45px);
  line-height: 1.45;
  letter-spacing: -1.6px;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  max-width: 570px;
  color: var(--muted);
  font-size: 17px;
  line-height: 2.2;
  margin-bottom: 27px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 23px;
}

.trust-points {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: #536177;
  font-size: 11px;
  font-weight: 600;
}

.check {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid #3983ee;
  border-radius: 50%;
  color: var(--primary);
  font-style: normal;
  margin-left: 4px;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
}

.glow-1 {
  width: 280px;
  height: 280px;
  background: rgba(183,214,255,.60);
}

.glow-2 {
  width: 170px;
  height: 170px;
  background: rgba(224,239,255,.9);
  left: 5%;
  top: 17%;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(20,104,232,.12);
  border-radius: 50%;
}

.orbit-1 {
  width: 430px;
  height: 430px;
}

.orbit-2 {
  width: 330px;
  height: 330px;
  border-style: dashed;
}

.phone {
  width: 190px;
  height: 350px;
  padding: 8px;
  position: relative;
  z-index: 3;
  border: 6px solid #0d4f9d;
  border-radius: 32px;
  background: #083e7f;
  box-shadow: 15px 25px 55px rgba(13,79,157,.25);
  transform: rotate(-7deg);
}

.phone::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 110px;
  width: 5px;
  height: 42px;
  border-radius: 5px 0 0 5px;
  background: #0b4b91;
}

.phone-notch {
  position: absolute;
  z-index: 5;
  width: 74px;
  height: 16px;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: #083e7f;
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(#eaf4ff, #fff);
  padding: 27px 13px 10px;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #57708e;
}

.message-card {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 9px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(44,100,160,.08);
}

.avatar {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

.message-card strong,
.message-card small {
  display: block;
}

.message-card strong {
  font-size: 8px;
}

.message-card small {
  font-size: 6px;
  color: #8b98a9;
}

.otp-box {
  margin-top: 11px;
  padding: 16px 10px;
  text-align: center;
  background: #fff;
  border: 1px solid #e1ecfa;
  border-radius: 13px;
}

.otp-box small {
  display: block;
  color: #78879c;
  font-size: 7px;
}

.otp-box strong {
  display: block;
  color: var(--primary);
  font-size: 23px;
  letter-spacing: 4px;
  direction: ltr;
}

.screen-lines {
  margin-top: 16px;
}

.screen-lines span {
  display: block;
  height: 7px;
  margin: 6px 0;
  border-radius: 5px;
  background: #e9f1fa;
}

.screen-lines span:nth-child(2) { width: 78%; }
.screen-lines span:nth-child(3) { width: 55%; }

.screen-bottom {
  position: absolute;
  bottom: 18px;
  right: 15px;
  left: 15px;
  display: flex;
  justify-content: space-around;
  color: #94a2b3;
  font-size: 7px;
}

.floating-message {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 190px;
  padding: 10px 13px;
  background: rgba(255,255,255,.96);
  border: 1px solid #e4edf8;
  border-radius: 14px;
  box-shadow: 0 16px 35px rgba(22,83,151,.13);
}

.floating-message small,
.floating-message strong {
  display: block;
}

.floating-message small {
  color: #8a97a8;
  font-size: 7px;
}

.floating-message strong {
  font-size: 9px;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--primary);
  border-radius: 9px;
  font-size: 11px;
}

.msg-1 {
  left: 1%;
  top: 18%;
}

.msg-2 {
  right: 1%;
  bottom: 20%;
}

.paper-plane {
  position: absolute;
  right: 7%;
  top: 7%;
  width: 48px;
  color: var(--primary);
  transform: rotate(-7deg);
}

.floating-check {
  position: absolute;
  right: 10%;
  bottom: 10%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: #1e76ec;
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(20,104,232,.18);
}

.floating-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
}

.dot-a {
  width: 11px;
  height: 11px;
  top: 19%;
  left: 9%;
}

.dot-b {
  width: 8px;
  height: 8px;
  right: 7%;
  top: 42%;
}

.stats {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
  padding: 23px 10px;
  background: rgba(255,255,255,.97);
  border: 1px solid #e6edf7;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.stat {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  padding: 0 30px;
  border-left: 1px solid #e5ebf3;
}

.stat:last-child {
  border-left: 0;
}

.stat-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--primary);
  font-size: 18px;
}

.stat strong {
  color: var(--primary);
  font-size: 16px;
  line-height: 1.5;
}

.stat small {
  color: #7b8799;
  font-size: 10px;
}

/* SECTIONS */
.section {
  padding: 105px 0;
}

.about {
  background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 75px;
}

.about-illustration {
  min-height: 360px;
  display: grid;
  place-items: center;
}

.city-card {
  position: relative;
  width: 330px;
  height: 245px;
  border-radius: 50%;
  background: radial-gradient(circle, #dcecff 0%, #edf5ff 62%, transparent 63%);
}

.building {
  position: absolute;
  bottom: 42px;
  border-radius: 6px 6px 0 0;
  background: #c5dcfa;
  border: 2px solid #8bb7ed;
}

.building::after {
  content: "";
  position: absolute;
  inset: 15px 9px 0;
  background: repeating-linear-gradient(to bottom, #fff 0 7px, transparent 7px 16px);
  opacity: .75;
}

.b1 { width: 54px; height: 130px; right: 35px; }
.b2 { width: 74px; height: 170px; right: 90px; }
.b3 { width: 50px; height: 110px; left: 60px; }
.b4 { width: 38px; height: 82px; left: 27px; }

.chat-bubble {
  position: absolute;
  z-index: 4;
  right: 90px;
  top: 58px;
  width: 130px;
  height: 90px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #237af0, #0754bf);
  border-radius: 35px 35px 35px 8px;
  font-size: 32px;
  letter-spacing: 5px;
  box-shadow: 0 18px 35px rgba(20,104,232,.25);
}

.signal {
  position: absolute;
  z-index: 3;
  width: 35px;
  height: 35px;
  top: 30px;
  right: 110px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.about-content h2,
.section-heading h2,
.api-content h2 {
  font-size: clamp(30px, 3vw, 41px);
  line-height: 1.5;
  margin-bottom: 14px;
}

.about-content > p,
.api-content > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2.3;
  max-width: 700px;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 35px;
  margin-top: 29px;
}

.about-points div {
  display: grid;
  grid-template-columns: 35px 1fr;
  grid-template-rows: auto auto;
  column-gap: 9px;
}

.about-points span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 9px;
}

.about-points strong {
  font-size: 15px;
}

.about-points small {
  color: #8290a3;
  font-size: 11px;
}

.features {
  background: #fff;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 45px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--muted);
  font-size: 13px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.feature-card {
  min-height: 205px;
  padding: 25px 18px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: #fff;
  transition: .3s ease;
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: #c4dbfa;
  box-shadow: 0 18px 40px rgba(35,104,185,.10);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid #dbeafd;
  border-radius: 13px;
  font-size: 17px;
  font-weight: 800;
  direction: ltr;
}

.feature-card h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.feature-card p {
  color: #8290a3;
  font-size: 12.5px;
  line-height: 2;
}

/* API */
.api-section {
  padding-top: 50px;
  background: linear-gradient(180deg, #fff 0%, #eef6ff 100%);
}

.api-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  padding: 65px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 0 100%, rgba(74,151,255,.18), transparent 34%),
    linear-gradient(135deg, #f2f8ff, #e8f3ff);
}

.api-box::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 1px solid rgba(20,104,232,.10);
  left: -130px;
  bottom: -180px;
}

.api-visual {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
}

.code-window {
  position: relative;
  z-index: 2;
  width: min(430px, 100%);
  padding: 14px;
  direction: ltr;
  border-radius: 17px;
  background: #0a3265;
  box-shadow: 0 25px 55px rgba(14,73,135,.18);
  transform: rotate(-3deg);
}

.code-head {
  display: flex;
  gap: 5px;
  margin-bottom: 9px;
}

.code-head span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6f94bd;
}

.code-window pre {
  overflow: auto;
  color: #c9dcf4;
  font: 12px/1.9 Consolas, monospace;
}

.code-window b { color: #66a8ff; }
.code-window i { color: #91c8ff; font-style: normal; }
.code-window em { color: #d5e7ff; font-style: normal; }
.code-window .success { color: #76d9a6; }

.api-cloud {
  position: absolute;
  right: 3%;
  top: 2%;
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  color: var(--primary);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(22,88,160,.12);
  font-size: 30px;
}

.api-features {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 13px 28px;
  margin: 25px 0;
  color: #5c6c83;
  font-size: 13px;
}

/* CTA */
.cta {
  padding: 8px 0 70px;
  background: #eef6ff;
}

.cta-box {
  min-height: 145px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 28px 35px;
  color: #fff;
  border-radius: 22px;
  background: linear-gradient(120deg, #0b58c9, #1a75eb);
  box-shadow: 0 25px 50px rgba(20,104,232,.20);
  overflow: hidden;
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-icon {
  font-size: 58px;
  transform: rotate(-10deg);
}

.cta h2 {
  font-size: 20px;
  margin-bottom: 4px;
}

.cta p {
  color: rgba(255,255,255,.82);
  font-size: 13px;
}

/* FOOTER */
.footer {
  color: #dbe9fb;
  background: linear-gradient(145deg, #082b5a, #071f43);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 35px;
  padding: 60px 0 48px;
}

.footer-logo {
  color: #fff;
  margin-bottom: 13px;
}

.footer-logo .brand-icon {
  color: #fff;
  background: rgba(255,255,255,.12);
}

.footer-brand p {
  max-width: 220px;
  color: #9eb5d2;
  font-size: 13px;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.socials a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 9px;
  color: #dbe9fb;
  font-size: 11px;
  transition: .2s;
}

.socials a:hover {
  color: #fff;
  background: rgba(255,255,255,.10);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col h4 {
  color: #fff;
  font-size: 12px;
  margin-bottom: 8px;
}

.footer-col a,
.footer-col small {
  color: #9eb5d2;
  font-size: 12px;
  transition: color .2s;
}

.footer-col a:hover {
  color: #fff;
}

.contact-col {
  direction: rtl;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.10);
}

.footer-bottom .container {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7896b8;
  font-size: 9px;
}

.back-top {
  position: fixed;
  z-index: 900;
  left: 22px;
  bottom: 22px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 30px rgba(20,104,232,.28);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: .3s;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toast {
  position: fixed;
  z-index: 2000;
  right: 50%;
  bottom: 25px;
  transform: translate(50%, 30px);
  opacity: 0;
  pointer-events: none;
  color: #fff;
  background: #102c53;
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 11px;
  box-shadow: 0 12px 35px rgba(0,0,0,.15);
  transition: .3s;
}

.toast.show {
  opacity: 1;
  transform: translate(50%, 0);
}

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

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

@keyframes pulse {
  0%, 100% { transform: scale(.85); opacity: .7; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .desktop-nav {
    gap: 17px;
  }

  .hero-grid {
    gap: 25px;
  }

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

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

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

  .nav {
    height: 68px;
  }

  .desktop-nav,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: absolute;
    top: 68px;
    right: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(24,69,120,.13);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .25s;
  }

  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu > a {
    padding: 12px 14px;
    font-size: 13px;
    border-radius: 10px;
  }

  .mobile-menu > a:hover {
    color: var(--primary);
    background: var(--primary-soft);
  }

  .mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 0 3px;
  }

  .hero {
    padding-top: 45px;
  }

  .hero-grid,
  .about-grid,
  .api-box {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero p {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-buttons,
  .trust-points {
    justify-content: center;
  }

  .hero-visual {
    min-height: 410px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 0;
  }

  .stat:nth-child(2) {
    border-left: 0;
  }

  .stat:nth-child(3) {
    border-left: 1px solid #e5ebf3;
  }

  .stat {
    padding: 0 20px;
  }

  .section {
    padding: 75px 0;
  }

  .about-grid {
    gap: 30px;
  }

  .api-box {
    padding: 35px 25px;
    gap: 30px;
  }

  .api-content {
    text-align: center;
  }

  .api-content > p {
    margin-right: auto;
    margin-left: auto;
  }

  .api-features {
    justify-content: center;
  }

  .api-content .btn {
    margin: auto;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
  }

  .cta-content {
    flex-direction: column;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-visual {
    transform: scale(.88);
    margin: -25px 0;
  }

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

  .stat {
    grid-template-columns: 35px 1fr;
    padding: 0 8px;
  }

  .stat-icon {
    width: 32px;
  }

  .stat strong {
    font-size: 13px;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

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

  .feature-card {
    min-height: 190px;
    padding: 20px 12px;
  }

  .feature-card h3 {
    font-size: 11px;
  }

  .feature-card p {
    font-size: 9px;
  }

  .api-features {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-bottom .container {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 12px 0;
  }

  .msg-1 {
    left: -3%;
  }

  .msg-2 {
    right: -3%;
  }
}

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

  .floating-message {
    min-width: 160px;
    transform: scale(.85);
  }

  .msg-1 {
    left: -9%;
  }

  .msg-2 {
    right: -9%;
  }
}
