:root {
  --bg-dark: #07163d;
  --bg-dark-2: #0a1f56;
  --primary: #1f6dff;
  --primary-2: #74a7ff;
  --green: #15b987;
  --text: #15233d;
  --muted: #6f7a91;
  --line: #dfe7f5;
  --white: #ffffff;
  --soft: #f5f7fd;
  --soft-2: #eef3ff;
  --shadow: 0 20px 60px rgba(12, 27, 70, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 22, 61, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand.brand-image {
  display: inline-flex;
  align-items: center;
  max-width: 260px;
}

.brand-logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--white);
}

.header-actions {
  display: flex;
  gap: 12px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px 18px;
  background: rgba(7, 22, 61, 0.96);
}

.mobile-nav a {
  color: rgba(255, 255, 255, 0.9);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1rem;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #1d6dff, #4f8dff);
  box-shadow: 0 10px 25px rgba(29, 109, 255, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 10px 25px rgba(29, 109, 255, 0.35);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.btn-light {
  background: rgba(255, 255, 255, 0.96);
  color: #2158c8;
  border: 1px solid rgba(190, 210, 245, 0.8);
  box-shadow: 0 14px 26px rgba(3, 18, 51, 0.12);
}

.btn-outline {
  border-color: #ced8ef;
  background: var(--white);
  color: #2457c5;
}

.btn-outline-dark {
  border-color: #bfcde6;
  background: transparent;
  color: var(--text);
}

.btn-green {
  background: linear-gradient(135deg, #0db37d, #18c895);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(21, 185, 135, 0.2);
}

.block {
  width: 100%;
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 18% 30%, rgba(76, 135, 255, 0.22), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(55, 114, 255, 0.12), transparent 18%),
    linear-gradient(135deg, #07163d 0%, #07194b 45%, #0c1f66 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 52px;
}

.hero-copy {
  color: #ffffff;
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d9e6ff;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.hero h1 span {
  color: var(--primary-2);
}

.hero-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stat {
  min-width: 150px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-stat strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-dashboard-card {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 34px 90px rgba(2, 10, 35, 0.35);
  border: 1px solid rgba(212, 224, 252, 0.9);
}

.hero-dashboard-top {
  min-height: 58px;
  padding: 0 18px;
  background: #171b28;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-dashboard-brand {
  display: flex;
  align-items: center;
}

.hero-dashboard-actions {
  display: flex;
  gap: 8px;
}

.hero-dashboard-actions span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.hero-dashboard-body {
  padding: 20px;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.hero-kpi {
  padding: 16px;
  border-radius: 16px;
  background: #f7faff;
  border: 1px solid #e8eef9;
}

.hero-kpi small {
  display: block;
  color: #6f7a91;
  margin-bottom: 8px;
}

.hero-kpi strong {
  font-size: 1.5rem;
  color: #15233d;
}

.hero-chart {
  position: relative;
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid #eaf0fb;
}

.hero-chart-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(184, 197, 224, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(184, 197, 224, 0.22) 1px, transparent 1px);
  background-size: 60px 50px;
}

.hero-floating-card {
  position: absolute;
  right: -14px;
  bottom: 24px;
  width: 250px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(213, 225, 248, 0.92);
  box-shadow: 0 20px 45px rgba(8, 20, 54, 0.18);
}

.hero-floating-card strong {
  display: block;
  margin: 10px 0 4px;
  font-size: 1.6rem;
  color: #15233d;
}

.hero-floating-card span {
  display: block;
  margin-bottom: 16px;
  color: #6f7a91;
}

.floating-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ecfff8;
  color: #10946d;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(50px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 260px;
  height: 260px;
  background: rgba(58, 128, 255, 0.18);
  top: 80px;
  right: 140px;
}

.hero-orb-2 {
  width: 220px;
  height: 220px;
  background: rgba(31, 185, 135, 0.12);
  bottom: 20px;
  left: 80px;
}

.window-logo-img {
  height: 22px;
  width: auto;
}

/* SOLUTION */

.solution {
  padding: 90px 0 72px;
  background:
    radial-gradient(circle at 48% 45%, rgba(108, 165, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #fafcff 0%, #f6f8fe 100%);
}

.solution-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: start;
}

.solution h2,
.section-heading h2,
.finance-section h2,
.final-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.solution h2 span,
.section-heading h2 span,
.final-cta h2 span {
  color: var(--primary-2);
}

.solution p,
.section-heading p,
.finance-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.9;
}

.solution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.feature-card,
.testimonial-card,
.metric-card {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e7eef9;
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 22px;
  transition: all 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.feature-card p {
  font-size: 0.98rem;
  line-height: 1.7;
}

.solution-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.solution-visual::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #5a8dff55, transparent);
  filter: blur(60px);
  right: 40px;
  top: 80px;
  z-index: 0;
}

.mobile-frame {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #f6f8ff, #ffffff);
  padding: 25px;
  border-radius: 24px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 10px 15px rgba(0, 0, 0, 0.04);
}

.mobile-app-image {
  width: 520px;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* TESTIMONIALS */

.testimonials {
  padding: 72px 0;
  background: linear-gradient(180deg, #f8faff 0%, #f0f4fd 100%);
}

.section-heading.center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 34px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.testimonial-card {
  padding: 28px;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d8e6ff, #7eaafc);
  color: #173f9c;
  font-weight: 800;
}

.stars {
  color: #f4b400;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.testimonial-top h3 {
  margin: 0;
  font-size: 1.3rem;
}

.testimonial-top span {
  color: var(--muted);
}

.testimonial-card p {
  margin: 0;
  color: #49536a;
  font-size: 1.08rem;
  line-height: 1.8;
}

/* FINANCE SECTION */

.finance-section {
  padding: 78px 0;
  background: #ffffff;
}

.finance-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #c6d8ff;
  font-size: 0.95rem;
  font-weight: 700;
}

.eyebrow.dark {
  color: #3b5ea8;
}

.finance-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.finance-list li {
  position: relative;
  padding-left: 22px;
  color: #48536c;
  font-weight: 600;
}

.finance-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #18c895;
}

.finance-box-large {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border: 1px solid #deebff;
  box-shadow: var(--shadow);
}

.finance-box-top {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}

.finance-box-top small,
.metric-card span {
  color: var(--muted);
}

.finance-box-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.metric-card {
  padding: 20px;
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.finance-box-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

/* FINAL CTA */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(84, 154, 255, 0.25), transparent 18%),
    radial-gradient(circle at 20% 80%, rgba(35, 123, 255, 0.18), transparent 20%),
    linear-gradient(135deg, #07163d 0%, #0a1f56 50%, #12389d 100%);
}

.final-cta-inner {
  text-align: center;
  color: #ffffff;
}

.final-cta h2 {
  margin-bottom: 26px;
}

.final-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* FOOTER */

.site-footer {
  background: #07163d;
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0 36px;
}

.footer-inner p {
  margin: 8px 0 0;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-content: flex-start;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

/* TABLE HELPERS */

.data-table {
  margin-top: 16px;
  border: 1px solid #edf1f8;
  border-radius: 16px;
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 100px 1fr 140px;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #eef2f8;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row.header {
  font-weight: 800;
  background: #f8fbff;
}

.ok {
  color: #17a978;
  font-weight: 700;
}

.neutral {
  color: #7d88a1;
  font-weight: 700;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .hero-grid,
  .solution-grid,
  .finance-section-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-kpis {
    grid-template-columns: 1fr;
  }

  .hero-floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 18px 0 0 auto;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav.open {
    display: flex;
  }

  .hero {
    padding: 48px 0 68px;
  }

  .hero-stats {
    flex-direction: column;
  }

  .hero-dashboard-card {
    max-width: 100%;
  }

  .hero-floating-card {
    width: 100%;
    margin-top: 16px;
  }

  .features-grid,
  .testimonial-grid,
  .finance-box-metrics {
    grid-template-columns: 1fr;
  }

  .solution-visual::before {
    right: 50%;
    transform: translateX(50%);
    top: 50px;
  }

  .mobile-app-image {
    width: 100%;
    max-width: 420px;
  }

  .mobile-frame {
    padding: 18px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand.brand-image {
    max-width: 190px;
  }

  .brand-logo-img {
    height: 34px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-buttons,
  .solution-actions,
  .final-buttons,
  .finance-box-actions {
    flex-direction: column;
  }

  .btn,
  .btn-lg {
    width: 100%;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .testimonial-card,
  .feature-card,
  .metric-card,
  .finance-box-large {
    padding: 20px;
  }
}