:root {
  --navy: #071b38;
  --blue: #1769aa;
  --cyan: #39a8e0;
  --ink: #10233f;
  --muted: #64748b;
  --line: #dde6f0;
  --soft: #f3f7fb;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.brand span {
  display: grid;
  gap: 3px;
}
.brand strong {
  font-size: 17px;
}
.brand small {
  color: var(--muted);
  font-size: 11px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav > a {
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.main-nav > a:hover {
  color: var(--blue);
}
.main-nav .panel-button {
  padding: 13px 18px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
}
.menu-button {
  display: none;
  border: 0;
  background: var(--soft);
  font-size: 24px;
  border-radius: 10px;
  padding: 8px 12px;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 90px;
  background: radial-gradient(circle at 85% 15%, #d6effc 0, transparent 28%),
    linear-gradient(145deg, #f8fbff, #eef6fb);
}
.hero:before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(23, 105, 170, 0.12);
  border-radius: 50%;
  right: -220px;
  bottom: -300px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  margin-bottom: 16px;
}
.eyebrow.light {
  color: #71cef5;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -2.8px;
  margin: 0 0 26px;
}
.hero h1 em {
  color: var(--blue);
  font-style: normal;
}
.hero-copy > p {
  font-size: 18px;
  line-height: 1.75;
  color: #52647b;
  max-width: 700px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin: 32px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.button.primary {
  background: var(--navy);
  color: #fff;
}
.button.secondary {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}
.button.white {
  background: #fff;
  color: var(--navy);
  margin-top: 16px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #52647b;
  font-size: 12px;
  font-weight: 700;
}
.hero-card {
  background: var(--navy);
  color: #fff;
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 30px 60px rgba(7, 27, 56, 0.22);
  transform: rotate(1deg);
}
.card-top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #b9cee4;
}
.card-top b {
  color: #72d9a7;
}
.hero-card h2 {
  font-size: 38px;
  line-height: 1.18;
  margin: 40px 0;
}
.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.metric-grid div {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}
.metric-grid strong {
  font-size: 21px;
}
.metric-grid span {
  font-size: 11px;
  color: #b9cee4;
}
.section {
  padding: 92px 0;
  scroll-margin-top: 80px;
}
.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}
.section h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -1.6px;
  margin: 0 0 18px;
}
.section-head p,
.about p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: 0.2s;
}
.feature-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(32, 67, 104, 0.1);
}
.feature-grid i {
  font-style: normal;
  font-size: 28px;
}
.feature-grid h3,
.why-grid h3 {
  font-size: 17px;
  margin: 22px 0 10px;
}
.feature-grid p,
.why-grid p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.product-section {
  background: linear-gradient(135deg, #071b38, #0b3866);
  color: #fff;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.product-grid > div > p {
  color: #bfd0e1;
  line-height: 1.8;
}
.product-grid ul {
  padding-left: 20px;
  line-height: 2;
  color: #e0ebf5;
}
.mock-window {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: perspective(900px) rotateY(-8deg);
}
.mock-bar {
  height: 35px;
  background: #eef4f8;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 0 12px;
}
.mock-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8eabc1;
}
.mock-body {
  height: 310px;
  display: grid;
  grid-template-columns: 27% 73%;
}
.mock-body aside {
  background: #0b294c;
}
.mock-body section {
  padding: 25px;
  color: var(--ink);
}
.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0;
}
.mock-cards i {
  height: 50px;
  border-radius: 8px;
  background: #dbeaf5;
}
.mock-chart {
  height: 140px;
  border-radius: 10px;
  background: linear-gradient(180deg, #e5f3fb, #f8fbfd);
  border-bottom: 26px solid #2780bd;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.why-grid strong {
  font-size: 30px;
  color: #a9c7dc;
}
.about {
  background: var(--soft);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
}
.contact {
  background: #0a2345;
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-grid > div > p {
  color: #b9cee4;
  line-height: 1.8;
}
.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 10px;
}
.contact-card a {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.contact-card a:last-child {
  border: 0;
}
.contact-card span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-card strong {
  color: var(--ink);
  font-size: 15px;
}
footer {
  padding: 30px 0;
  background: #05162e;
  color: #93a9c0;
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand strong {
  color: #fff;
}
.footer-wrap p {
  font-size: 12px;
}
.footer-wrap > a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
.login-gateway {
  position: relative;
  background: #fff;
}
.gateway-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.gateway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1000px;
  margin: auto;
}
.gateway-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, #fff, #f5f9fd);
  box-shadow: 0 20px 50px rgba(17, 52, 87, 0.09);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gateway-card::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -90px;
  top: -105px;
  border-radius: 50%;
  background: rgba(23, 105, 170, 0.08);
}
.gateway-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(17, 52, 87, 0.15);
}
.gateway-card.featured {
  border-color: #9bc8e6;
  background: linear-gradient(145deg, #fafdff, #e9f5fc);
}
.gateway-icon {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--navy);
  font-size: 29px;
  box-shadow: 0 12px 25px rgba(7, 27, 56, 0.18);
}
.gateway-card:not(.featured) .gateway-icon {
  background: #1769aa;
}
.gateway-content {
  position: relative;
  flex: 1;
}
.product-label {
  display: block;
  margin: 25px 0 8px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.gateway-card h3 {
  margin: 0 0 13px;
  font-size: 29px;
  letter-spacing: -0.8px;
}
.gateway-card p {
  min-height: 50px;
  margin: 0 0 19px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.gateway-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #42556c;
  font-size: 13px;
}
.gateway-card li::before {
  content: "✓";
  margin-right: 9px;
  color: #168052;
  font-weight: 900;
}
.gateway-button {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding: 15px 18px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}
.gateway-button.secondary {
  background: #1769aa;
}
.gateway-button span {
  font-size: 19px;
  transition: transform 0.2s;
}
.gateway-button:hover span {
  transform: translateX(4px);
}
.gateway-note {
  margin: 24px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 900px) {
  .menu-button {
    display: block;
  }
  .main-nav {
    position: absolute;
    display: none;
    top: 82px;
    left: 20px;
    right: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 35px rgba(7, 27, 56, 0.15);
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open {
    display: flex;
  }
  .hero-grid,
  .product-grid,
  .about-grid,
  .contact-grid,
  .gateway-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding: 70px 0;
  }
  .hero h1 {
    letter-spacing: -1.7px;
  }
  .hero-card {
    transform: none;
  }
  .product-visual {
    order: -1;
  }
  .section {
    padding: 70px 0;
  }
}
@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1160px);
  }
  .brand strong {
    font-size: 14px;
  }
  .brand small {
    font-size: 9px;
  }
  .brand img {
    width: 42px;
    height: 42px;
  }
  .feature-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
  .gateway-card {
    min-height: 0;
    padding: 25px;
    border-radius: 19px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .button {
    width: 100%;
  }
  .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-card strong {
    font-size: 13px;
  }
  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
  .footer-wrap .brand {
    display: none;
  }
}
