 :root {
  --primary: #0b3c5d;
  --accent: #1fa971;
  --accent-2: #d4a63d;
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-soft: #eaf2f7;
  --text: #163047;
  --muted: #5e7386;
  --border: rgba(11, 60, 93, 0.12);
  --bg-input: #fdfefe;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 8px 24px rgba(11, 60, 93, 0.08);
  --shadow-md: 0 18px 50px rgba(11, 60, 93, 0.12);
  --shadow-lg: 0 28px 80px rgba(11, 60, 93, 0.18);
  --container: 1180px;
  --header-height: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 169, 113, 0.08), transparent 28%),
    radial-gradient(circle at right 20%, rgba(212, 166, 61, 0.08), transparent 22%),
    var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section { padding: 96px 0; }
.tinted { background: linear-gradient(180deg, rgba(11, 60, 93, 0.03), rgba(31, 169, 113, 0.03)); }
.center { text-align: center; }
.compact { margin-bottom: 1.25rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s ease;
  background: rgba(244, 248, 251, 0.7);
  backdrop-filter: blur(10px);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(11, 60, 93, 0.08);
}
.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.logo-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #145b87);
  color: white;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-text strong { font-size: 0.98rem; }
.logo-text small { color: var(--muted); letter-spacing: 0.04em; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.4rem;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  margin: 5px 0;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #168e5d);
  color: white;
  box-shadow: 0 14px 30px rgba(31, 169, 113, 0.22);
}
.btn-primary:hover { box-shadow: 0 20px 36px rgba(31, 169, 113, 0.28); }
.btn-secondary {
  background: rgba(11, 60, 93, 0.06);
  color: var(--primary);
  border-color: rgba(11, 60, 93, 0.12);
}
.btn-secondary:hover { background: rgba(11, 60, 93, 0.1); }
.btn-sm { padding: 0.8rem 1.1rem; font-size: 0.92rem; }
.btn-block { width: 100%; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 96px;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(31, 169, 113, 0.12), transparent 22%),
    radial-gradient(circle at 80% 25%, rgba(212, 166, 61, 0.13), transparent 18%),
    radial-gradient(circle at 70% 80%, rgba(11, 60, 93, 0.08), transparent 22%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  font-size: 0.78rem;
  margin: 0 0 1rem;
}
.hero h1, .section-heading h2 {
  font-family: 'Playfair Display', serif;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.02em;
}
.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  max-width: 12ch;
}
.hero-text, .section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 2.2rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.hero-trust div {
  padding: 1rem 1.15rem;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.hero-trust strong { display: block; }
.hero-trust span { color: var(--muted); font-size: 0.92rem; }

.hero-visual {
  position: relative;
  min-height: 560px;
}
.dashboard-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: white;
}
.main-dashboard img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}
.dashboard-overlay {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}
.mini-metric, .stat-float {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow-sm);
}
.mini-metric {
  padding: 1rem 1.1rem;
  border-radius: 20px;
}
.mini-metric span, .stat-float span { color: var(--muted); font-size: 0.86rem; display: block; }
.mini-metric strong, .stat-float strong { font-size: 1.25rem; color: var(--primary); }
.mini-chart {
  display: flex;
  align-items: end;
  gap: 0.45rem;
  padding: 1rem;
  min-width: 130px;
  border-radius: 20px;
  background: rgba(11, 60, 93, 0.76);
}
.bar {
  width: 16px;
  background: linear-gradient(180deg, #7de2b8, #1fa971);
  border-radius: 999px 999px 0 0;
  animation: rise 2.4s ease-in-out infinite alternate;
}
.bar.h1 { height: 38px; }
.bar.h2 { height: 58px; animation-delay: 0.2s; }
.bar.h3 { height: 80px; animation-delay: 0.4s; }
.bar.h4 { height: 66px; animation-delay: 0.6s; }
@keyframes rise {
  from { transform: scaleY(0.88); opacity: 0.85; }
  to { transform: scaleY(1.04); opacity: 1; }
}
.stat-float {
  position: absolute;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  animation: floaty 4s ease-in-out infinite;
}
.stat-one { top: 40px; right: -18px; }
.stat-two { left: -18px; bottom: 70px; animation-delay: 1s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.float-card {
  position: absolute;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  opacity: 0.9;
  animation: drift 8s ease-in-out infinite;
}
.coin { left: 10%; top: 18%; background: linear-gradient(135deg, var(--accent-2), #f1c866); }
.chart { left: 46%; top: 12%; background: linear-gradient(135deg, var(--primary), #1d6b9a); animation-delay: 1s; }
.card { right: 12%; top: 18%; background: linear-gradient(135deg, var(--accent), #57d09d); animation-delay: 2s; }
.shield { right: 8%; bottom: 20%; background: linear-gradient(135deg, #1c7eb5, var(--primary)); animation-delay: 3s; }
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(4deg); }
}

.split-layout,
.dual-grid,
.footer-grid {
  display: grid;
  gap: 2rem;
}
.split-layout { grid-template-columns: 1fr 1fr; align-items: center; }
.dual-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.footer-grid { grid-template-columns: 1.2fr 0.7fr 0.6fr 1fr; align-items: start; }

.stats-grid, .benefits-grid, .service-categories {
  display: grid;
  gap: 1.4rem;
}
.stats-grid { grid-template-columns: repeat(2, 1fr); }
.stat-card, .benefit-card, .service-category, .testimonial, .contact-panel, .faq-item, .newsletter-form, .modal-panel {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow-sm);
}
.stat-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
}
.stat-card strong {
  display: block;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.stat-card span { color: var(--muted); }

.benefits-grid { grid-template-columns: repeat(4, 1fr); margin-top: 2.4rem; }
.benefit-card {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover,
.service-category:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.benefit-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(31,169,113,0.16), rgba(11,60,93,0.12));
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-categories {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2.3rem;
}
.service-category {
  padding: 1.7rem;
  border-radius: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.service-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #1b6b99);
  color: white;
  font-size: 1.5rem;
}
.service-category ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  columns: 1;
}
.service-category li { margin-bottom: 0.45rem; }

.testimonial-shell {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
.testimonial-track {
  position: relative;
  min-height: 340px;
}
.testimonial {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.testimonial.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.testimonial img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid rgba(31,169,113,0.14);
}
.testimonial p {
  max-width: 62ch;
  margin: 0 auto 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.testimonial h3 { margin: 0; }
.testimonial span { color: var(--accent); font-weight: 700; }
.carousel-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  color: var(--primary);
  font-size: 1.7rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(11,60,93,0.2);
  cursor: pointer;
}
.carousel-dots button.active { background: var(--accent); transform: scale(1.2); }

.faq-list { display: grid; gap: 1rem; }
.faq-item {
  border-radius: 22px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 1.2rem 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.faq-question span {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.25s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p {
  margin: 0;
  padding: 0 1.3rem 1.25rem;
  color: var(--muted);
}
.faq-item.active .faq-answer { max-height: 180px; }
.faq-item.active .faq-question span { transform: rotate(45deg); }

.contact-panel {
  padding: 1.7rem;
  border-radius: var(--radius-lg);
}
.contact-form, .newsletter-form { display: grid; gap: 1rem; }
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.form-group label {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.45rem;
}
input, textarea, select {
  background: var(--bg-input);
  border: 1px solid #d8e4ec;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  color: var(--text);
  font-size: 0.98rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}
textarea { resize: vertical; min-height: 140px; }
.checkbox-wrap {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.92rem;
}
.checkbox-wrap input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.form-message {
  min-height: 1.4rem;
  margin: 0;
  font-weight: 700;
  color: var(--accent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.form-message.show {
  opacity: 1;
  transform: translateY(0);
}
.form-message.error { color: #b42318; }

.site-footer {
  padding: 0 0 1.5rem;
  background: #0a2e47;
  color: rgba(255,255,255,0.88);
}
.site-footer .footer-grid {
  padding: 80px 0 42px;
}
.footer-logo .logo-mark { background: linear-gradient(135deg, var(--accent), #0f8a59); }
.footer-brand p,
.footer-links a,
.footer-links button,
.contact-list span { color: rgba(255,255,255,0.72); }
.footer-links,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.6rem;
}
.footer-links a:hover,
.footer-link-button:hover,
.contact-list a:hover { color: white; }
.footer-link-button {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  transition: transform 0.25s ease, background 0.25s ease;
}
.social-links a:hover {
  transform: translateY(-3px);
  background: rgba(31,169,113,0.2);
}
.newsletter-form {
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
}
.newsletter-form label { color: rgba(255,255,255,0.86); }
.newsletter-form input {
  background: rgba(255,255,255,0.96);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1500;
}
.modal.open {
  opacity: 1;
  visibility: visible;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 18, 29, 0.6);
}
.modal-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  border-radius: 28px;
  padding: 2rem;
}
.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(11,60,93,0.08);
  font-size: 1.4rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

@media (max-width: 1100px) {
  .hero-grid,
  .split-layout,
  .dual-grid,
  .footer-grid,
  .benefits-grid,
  .service-categories {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(11,60,93,0.08);
    box-shadow: var(--shadow-md);
    border-radius: 24px;
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav.open { display: flex; }
  .hero-grid,
  .split-layout,
  .dual-grid,
  .footer-grid,
  .service-categories,
  .benefits-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 36px; }
  .hero-visual { min-height: auto; }
  .main-dashboard img { height: 420px; }
  .testimonial-shell { grid-template-columns: 1fr; }
  .carousel-btn { justify-self: center; }
  .testimonial-track { min-height: 400px; }
  .stat-one { right: 10px; }
  .stat-two { left: 10px; }
}

@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .hero h1 { font-size: 2.45rem; }
  .hero-trust div,
  .stat-card,
  .benefit-card,
  .service-category,
  .contact-panel,
  .testimonial,
  .modal-panel { padding: 1.25rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .main-dashboard img { height: 360px; }
  .dashboard-overlay { left: 0.8rem; right: 0.8rem; bottom: 0.8rem; flex-direction: column; align-items: stretch; }
}
