:root {
  /* Palet Warna Custom */
  --primary: #085f6a;
  --secondary: #ffde42;
  --brand: #085f6a;
  --brand-deep: #064b54;
  --accent: #ffde42;
  --accent-deep: #d4b72b;
  --ink: #112426;
  --muted: #66787a;
  --line: #dce8e9;
  --soft: #f3f8f8;
  --white: #fff;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(8, 95, 106, 0.13);

  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: all 0.3s ease;
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--soft);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.btn,
.badge,
.chip {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 110px 0;
}

/* --- BUTTONS & BADGES --- */
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition-bounce);
  cursor: pointer;
  border: none;
}

.btn i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(4px);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(255, 222, 66, 0.45);
}

.btn-primary:hover {
  transform: translateY(-4px);
  background-color: #fae053;
  box-shadow: 0 14px 36px rgba(255, 222, 66, 0.6);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--brand);
  border: 2px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--brand);
  background-color: var(--soft);
  transform: translateY(-2px);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 95, 106, 0.08);
  color: var(--brand);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(8, 95, 106, 0.15);
}

/* --- FADE ANIMATION --- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: var(--transition-bounce);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
     1. HERO SECTION (Centered Glass Interactive)
  ========================================= */
.hero-section {
  padding: 90px 0 120px;
  text-align: center;
  position: relative;
  background: radial-gradient(
    circle at 50% 20%,
    rgba(255, 222, 66, 0.25) 0%,
    rgba(243, 248, 248, 0) 60%
  );
}

.hero-content {
  max-width: 820px;
  margin: 0 auto 50px;
}

.hero-section h1 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  color: var(--brand);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-section h1 span {
  color: var(--brand-deep);
  background: linear-gradient(
    120deg,
    var(--brand) 0%,
    var(--brand-deep) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-section p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 36px;
}

.hero-section .btn-group {
  justify-content: center;
}

/* Visual Container with Floating Chips */
.hero-app-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.app-window {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  text-align: left;
}

.app-topbar {
  background: #eef5f5;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red {
  background: #ff5f56;
}
.dot-yellow {
  background: #ffbd2e;
}
.dot-green {
  background: #27c93f;
}

.app-placeholder {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
  color: var(--brand);
  padding: 40px;
  gap: 16px;
}

.app-placeholder i {
  font-size: 3.5rem;
  color: var(--brand);
  opacity: 0.8;
}

.app-placeholder p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted);
}

/* Floating Stat Chips */
.floating-chip {
  position: absolute;
  background: var(--white);
  padding: 14px 22px;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(8, 95, 106, 0.18);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.chip-1 {
  top: 20%;
  left: -30px;
}

.chip-2 {
  bottom: 15%;
  right: -30px;
  animation-delay: 2s;
}

.chip-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 1.2rem;
}

.chip-text h5 {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.chip-text p {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

@keyframes floatAnim {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-12px);
  }
}

/* =========================================
     2. PAIN POINTS (Dark Fintech Contrast Cards)
  ========================================= */
.pain-section {
  background-color: var(--brand-deep);
  color: var(--white);
  border-radius: 40px;
  margin: 0 16px;
  position: relative;
  overflow: hidden;
}

.pain-header {
  max-width: 680px;
  margin-bottom: 60px;
}

.pain-header h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.pain-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pain-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 36px 28px;
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: var(--transition-bounce);
}

.pain-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-8px);
  border-color: var(--accent);
}

.pain-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.pain-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--white);
}

.pain-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================
     3. CARA KERJA (Connected Flow Matrix)
  ========================================= */
.cara-kerja {
  position: relative;
}
.timeline-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 24px;
  transform: rotate(-2deg);
}

.timeline-wrapper {
  position: relative;
  margin-top: 60px;
}
.timeline-line {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--line);
  z-index: 1;
  border-radius: 4px;
}
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}
.step {
  position: relative;
}
.step-circle {
  width: 52px;
  height: 52px;
  background: var(--white);
  border: 4px solid var(--brand);
  border-radius: 50%;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--brand);
  font-size: 1.125rem;
  transition: var(--transition-bounce);
}
.step:hover .step-circle {
  background: var(--accent);
  border-color: var(--ink);
  color: var(--ink);
  transform: scale(1.15) rotate(10deg);
}
.step h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
.step p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* =========================================
     4. FITUR FINANCE (Asymmetric Bento Grid)
  ========================================= */
.fitur-section {
  background-color: var(--white);
}

.bento-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

/* Featured Span Card */
.bento-feature-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition-bounce);
  position: relative;
}

.bento-feature-card.span-2 {
  grid-column: span 2;
  background: linear-gradient(135deg, #f3f8f8 0%, #e2eeef 100%);
}

.bento-feature-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-icon-badge {
  width: 52px;
  height: 52px;
  background: var(--brand);
  color: var(--accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.bento-feature-card h3 {
  font-size: 1.4rem;
  color: var(--brand-deep);
  margin-bottom: 18px;
}

.feature-bullets {
  list-style: none;
}

.feature-bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.feature-bullets li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--brand);
  font-size: 0.9rem;
}

/* =========================================
     5. CTA SECTION (App Banner Frame)
  ========================================= */
.cta-section {
  padding: 80px 0 120px;
  background-color: var(--white);
}

.cta-card {
  background: linear-gradient(
    135deg,
    var(--brand) 0%,
    var(--brand-deep) 100%
  );
  border-radius: 36px;
  padding: 80px 40px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Decorative Background Pattern */
.cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 222, 66, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-tag {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: inline-block;
}

.cta-inner h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.18;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 36px;
}

.cta-inner .btn-group {
  justify-content: center;
}

.cta-inner .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.cta-inner .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

/* =========================================
     RESPONSIVE MEDIA QUERIES
  ========================================= */
@media (max-width: 1024px) {
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-feature-card.span-2 {
    grid-column: span 2;
  }
  .floating-chip {
    display: none; /* Hide floating widgets on smaller viewports */
  }
}

@media (max-width: 768px) {
  .pain-section {
    border-radius: 24px;
    margin: 0;
  }
  .flow-grid {
    grid-template-columns: 1fr;
  }
  .bento-features {
    grid-template-columns: 1fr;
  }
  .bento-feature-card.span-2 {
    grid-column: span 1;
  }
  .cta-card {
    padding: 60px 24px;
    border-radius: 24px;
  }
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
}
    

.app-img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top;
}
