:root {
  --primary: #38bdf8;
  --primary-dark: #0284c7;
  --primary-light: #f0f9ff;
  --navy: #0f172a;
  --text: #0f172a;
  --muted: #64748b;
  --border: #dbeafe;
  --surface: #ffffff;
  --background: #f8fbff;
  --red: #f43f5e;
  --yellow: #f59e0b;
  --blue: #3b82f6;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(219, 234, 254, 0.95);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
}

.nav-container {
  align-items: center;
  display: flex;
  height: 76px;
  justify-content: space-between;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 20px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: -0.6px;
}

.brand-icon {
  align-items: center;
  background: var(--primary);
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(56, 189, 248, 0.28);
  color: white;
  display: inline-flex;
  font-size: 18px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand-accent {
  color: var(--primary-dark);
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 30px;
}

.nav-links > a {
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s;
}

.nav-links > a:hover {
  color: var(--primary-dark);
}

.nav-links .nav-cta {
  background: var(--primary);
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(56, 189, 248, 0.25);
  color: white;
  padding: 11px 18px;
}

.nav-links .nav-cta:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
}

.menu-toggle {
  background: white;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--navy);
  display: none;
  font-size: 20px;
  height: 40px;
  width: 40px;
}

/* Hero */
.hero {
  min-height: 730px;
  overflow: hidden;
  padding: 150px 0 90px;
  position: relative;
}

.hero-orb {
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  position: absolute;
  z-index: -1;
}

.orb-one {
  background: #bae6fd;
  height: 440px;
  left: calc(50% - 360px);
  top: -160px;
  width: 600px;
}

.orb-two {
  background: #c7d2fe;
  height: 320px;
  right: -80px;
  top: 230px;
  width: 320px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 65px;
  grid-template-columns: 1fr 1fr;
}

.hero-content {
  max-width: 570px;
}

.eyebrow {
  align-items: center;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  color: #0369a1;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 14px;
}

.pulse-dot {
  animation: pulse 1.5s infinite;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  width: 8px;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.16);
  }
}

.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.08;
}

.hero h1 span {
  color: var(--primary-dark);
  display: block;
}

.hero-description {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin-top: 22px;
  max-width: 530px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  border-radius: 12px;
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 22px;
  text-align: center;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  box-shadow: 0 12px 22px rgba(56, 189, 248, 0.25);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-outline {
  background: white;
  border: 1px solid var(--border);
  color: #334155;
}

.btn-outline:hover {
  border-color: #7dd3fc;
  color: var(--primary-dark);
}

.btn-dark {
  background: var(--navy);
  color: white;
  margin-top: 28px;
}

.btn-dark:hover {
  background: #334155;
  transform: translateY(-3px);
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 21px;
  margin-top: 30px;
}

.hero-benefits span {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.hero-benefits b {
  align-items: center;
  background: #e0f2fe;
  border-radius: 50%;
  color: #0284c7;
  display: inline-flex;
  font-size: 11px;
  height: 18px;
  justify-content: center;
  margin-right: 4px;
  width: 18px;
}

/* Dashboard Preview */
.dashboard-area {
  margin: 0 auto;
  max-width: 510px;
  position: relative;
  width: 100%;
}

.dashboard-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
  padding: 22px;
}

.dashboard-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dashboard-head p,
.balance-card p,
.summary-grid p {
  color: #64748b;
  font-size: 13px;
}

.dashboard-head h2 {
  font-size: 20px;
  line-height: 1.2;
  margin-top: 3px;
}

.notification {
  align-items: center;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  height: 39px;
  justify-content: center;
  width: 39px;
}

.balance-card {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  border-radius: 18px;
  box-shadow: 0 12px 25px rgba(56, 189, 248, 0.3);
  color: white;
  padding: 22px;
}

.balance-card p {
  color: #e0f2fe;
}

.balance-card > strong {
  display: block;
  font-size: 32px;
  letter-spacing: -1px;
  margin: 4px 0 20px;
}

.balance-card div {
  align-items: center;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
}

.balance-card div span {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  padding: 7px 10px;
}

.summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

.summary-grid article {
  border-radius: 15px;
  padding: 15px;
}

.summary-income {
  background: #f0f9ff;
  border: 1px solid #dbeafe;
}

.summary-expense {
  background: #fff1f2;
  border: 1px solid #ffe4e6;
}

.summary-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.summary-icon {
  align-items: center;
  border-radius: 8px;
  color: white;
  display: inline-flex;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.summary-income .summary-icon {
  background: var(--primary);
}

.summary-expense .summary-icon {
  background: var(--red);
}

.summary-income small {
  color: #0284c7;
}

.summary-expense small {
  color: #e11d48;
}

.summary-grid p {
  margin-top: 14px;
}

.summary-grid strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.5px;
  margin-top: 1px;
}

.transaction-box {
  border: 1px solid #eff6ff;
  border-radius: 16px;
  margin-top: 14px;
  padding: 15px;
}

.section-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 13px;
}

.section-heading h3 {
  font-size: 14px;
}

.section-heading a {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
}

.transaction-row {
  align-items: center;
  display: flex;
  gap: 10px;
  padding: 8px 0;
}

.transaction-icon {
  align-items: center;
  background: #f1f5f9;
  border-radius: 9px;
  display: inline-flex;
  font-size: 15px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.transaction-row div {
  flex: 1;
  min-width: 0;
}

.transaction-row strong,
.transaction-row small {
  display: block;
}

.transaction-row strong {
  font-size: 12px;
}

.transaction-row small {
  color: #94a3b8;
  font-size: 11px;
}

.transaction-row > b {
  font-size: 12px;
  white-space: nowrap;
}

.income-text {
  color: #0284c7;
}

.expense-text {
  color: #f43f5e;
}

.saving-target {
  background: white;
  border: 1px solid #dbeafe;
  border-radius: 15px;
  bottom: -23px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.13);
  left: -38px;
  padding: 13px 15px;
  position: absolute;
  width: 175px;
}

.saving-target small,
.saving-target strong,
.saving-target b {
  display: block;
}

.saving-target small {
  color: #64748b;
  font-size: 10px;
}

.saving-target strong {
  font-size: 13px;
  margin-top: 1px;
}

.progress-bar {
  background: #e0f2fe;
  border-radius: 99px;
  height: 7px;
  margin: 9px 0 5px;
  overflow: hidden;
}

.progress-bar span {
  background: #fbbf24;
  border-radius: 99px;
  display: block;
  height: 100%;
  width: 68%;
}

.saving-target b {
  color: #d97706;
  font-size: 10px;
}

/* Statistics */
.statistics {
  background: white;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: 34px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stats-grid > div {
  border-right: 1px solid var(--border);
}

.stats-grid > div:last-child {
  border: 0;
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  font-size: 25px;
  letter-spacing: -1px;
}

.stats-grid span {
  color: #64748b;
  font-size: 13px;
  margin-top: 2px;
}

/* General section */
.section {
  padding: 105px 0;
}

.section-intro {
  margin: 0 auto;
  max-width: 690px;
  text-align: center;
}

.section-label {
  color: #0284c7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.section-intro h2,
.how-content h2,
.cta-card h2 {
  font-size: clamp(29px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.15;
  margin-top: 12px;
}

.section-intro > p:last-child,
.how-content > p {
  color: var(--muted);
  line-height: 1.8;
  margin-top: 17px;
}

/* Features */
.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 55px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 25px;
  transition: all 0.28s ease;
}

.feature-card:hover {
  border-color: #7dd3fc;
  box-shadow: 0 18px 34px rgba(56, 189, 248, 0.13);
  transform: translateY(-7px);
}

.feature-icon {
  align-items: center;
  border-radius: 12px;
  display: inline-flex;
  font-size: 22px;
  font-weight: 800;
  height: 45px;
  justify-content: center;
  width: 45px;
}

.feature-icon.green {
  background: #e0f2fe;
  color: #0284c7;
}

.feature-icon.red {
  background: #ffe4e6;
  color: #e11d48;
}

.feature-icon.blue {
  background: #dbeafe;
  color: #2563eb;
}

.feature-icon.yellow {
  background: #fef3c7;
  color: #d97706;
}

.feature-card h3 {
  font-size: 17px;
  margin-top: 21px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  margin-top: 9px;
}

/* How it works */
.how-it-works {
  background: white;
}

.how-grid {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.9fr 1.1fr;
}

.how-content h2 {
  margin-top: 12px;
}

.step-list {
  display: grid;
  gap: 13px;
}

.step-card {
  align-items: flex-start;
  background: #f8fbff;
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  gap: 16px;
  padding: 18px;
  transition: 0.2s;
}

.step-card:hover {
  background: #f0f9ff;
  border-color: #7dd3fc;
}

.step-card > span {
  align-items: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 7px rgba(15, 23, 42, 0.06);
  color: #0284c7;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.step-card.active > span {
  background: var(--primary);
  color: white;
}

.step-card h3 {
  font-size: 16px;
  margin-top: 1px;
}

.step-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin-top: 4px;
}

/* Testimonials */
.testimonials {
  background: #0f2744;
}

.light .section-label {
  color: #7dd3fc;
}

.light h2 {
  color: white;
}

.testimonial-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 52px;
}

.testimonial-card {
  background: #16375d;
  border: 1px solid #285b8f;
  border-radius: var(--radius);
  padding: 25px;
}

.stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 2px;
}

.testimonial-card > p {
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 18px;
}

.user {
  align-items: center;
  display: flex;
  gap: 11px;
  margin-top: 24px;
}

.user > span {
  align-items: center;
  background: var(--primary);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 39px;
  justify-content: center;
  width: 39px;
}

.user strong,
.user small {
  display: block;
}

.user strong {
  color: white;
  font-size: 13px;
}

.user small {
  color: #bae6fd;
  font-size: 12px;
}

/* CTA */
.cta-section {
  padding: 105px 0;
}

.cta-card {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  border-radius: 25px;
  box-shadow: 0 25px 45px rgba(56, 189, 248, 0.25);
  color: white;
  margin: 0 auto;
  max-width: 960px;
  padding: 65px 30px;
  text-align: center;
}

.cta-card .section-label {
  color: #e0f2fe;
}

.cta-card h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}

.cta-card > p:not(.section-label) {
  color: #f0f9ff;
  line-height: 1.8;
  margin: 16px auto 0;
  max-width: 600px;
}

.btn-white {
  background: white;
  color: #0284c7;
  margin-top: 28px;
}

.btn-white:hover {
  background: #f0f9ff;
  transform: translateY(-3px);
}

.cta-card small {
  color: #e0f2fe;
  display: block;
  font-size: 12px;
  margin-top: 12px;
}

/* Footer */
footer {
  background: white;
  padding-top: 38px;
}

.footer-top {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  padding-bottom: 30px;
}

.footer-top p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--primary-dark);
}

.copyright {
  color: #94a3b8;
  font-size: 12px;
  padding-bottom: 26px;
  padding-top: 22px;
  text-align: center;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .how-grid {
    gap: 50px;
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin: 0 auto;
    max-width: 650px;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-benefits {
    justify-content: center;
  }

  .dashboard-area {
    margin-top: 15px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-content {
    margin: 0 auto;
    max-width: 650px;
    text-align: center;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    margin-left: auto;
    margin-right: auto;
    max-width: 630px;
  }
}

@media (max-width: 680px) {
  .nav-container {
    height: 68px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 18px rgba(15, 23, 42, 0.06);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 12px 20px 18px;
    position: absolute;
    right: 0;
    top: 68px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > a {
    padding: 12px 0;
    width: 100%;
  }

  .nav-links .nav-cta {
    margin-top: 8px;
    padding: 12px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 122px 0 75px;
  }

  .hero h1 {
    letter-spacing: -1.7px;
  }

  .dashboard-card {
    padding: 15px;
  }

  .balance-card > strong {
    font-size: 27px;
  }

  .saving-target {
    bottom: -24px;
    left: 8px;
  }

  .statistics {
    padding: 24px 0;
  }

  .stats-grid {
    gap: 22px 0;
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid > div:nth-child(2) {
    border-right: 0;
  }

  .stats-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
  }

  .stats-grid > div:nth-child(n + 3) {
    padding-top: 2px;
  }

  .section,
  .cta-section {
    padding: 75px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 37px;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .cta-card {
    padding: 48px 20px;
  }
}

@media (max-width: 390px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Logo gambar myKeuangan */
.brand.brand-logo {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  display: block;
  width: 185px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Navbar: batasi tinggi agar navbar tidak terlalu besar */
.navbar .brand-logo {
  flex-shrink: 0;
}

.navbar .logo-image {
  width: 175px;
  max-height: 52px;
}

/* Footer: ukuran sedikit lebih kecil */
.footer-logo {
  margin-bottom: 14px;
}

.footer-logo .logo-image {
  width: 170px;
  max-height: 50px;
}

/* Mobile */
@media (max-width: 600px) {
  .navbar .logo-image {
    width: 145px;
    max-height: 44px;
  }

  .footer-logo .logo-image {
    width: 150px;
    max-height: 45px;
  }
}

@media (max-width: 360px) {
  .navbar .logo-image {
    width: 128px;
  }
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-logo .logo-image {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .footer-logo .logo-image {
    width: 150px;
    max-height: 45px;
  }
}

