/* ==========================================================================
       1. CSS VARIABLES (PAYKIT COLORS)
       ========================================================================== */
:root {
  /* paykit Variables (For Main Body) */
  --pay-blue: #01a0c7;

  --pay-light-bg: #f8f9fa;

  /* Universal */
  --bg-light: #f3f4f6;
  --white: #ffffff;
  --text-dark: #111111;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --transition: all 0.3s ease;
}

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

html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

a {
  text-decoration: none;
  transition: color 0.3s ease;
}
ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
       3. free US PAGE STYLES
       ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s all cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--pay-blue);
  color: var(--white);
  font-weight: bold;
  border-radius: 4px;
  transition: var(--transition);
  border: 2px solid var(--pay-blue);
}
.btn-primary:hover {
  background-color: transparent;
  color: var(--pay-blue);
}

.free-hero {
  height: 75vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.2) 70%,
      transparent 100%
    ),
    url("../img/features/Paykit-paykit.png") top/cover;
  color: white;
  text-align: center;
}
.free-hero h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 700;
  margin-bottom: 15px;
}
.free-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
         WHAT IS PAYKIT TO PAYKIT SECTION
         ========================================================================== */
.what-we-do-section {
  padding: 80px 0;
  background-color: white;
}
.what-we-do {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .what-we-do {
    flex-direction: row;
    gap: 60px;
  }
}

.what-we-do__left {
  flex: 1.1;
}
.what-we-do__right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.label-headline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.logo-icon {
  width: 20px;
  height: 20px;
  background-color: #01a0c7;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 12px;
}
.label-headline h3 {
  color: var(--pay-blue);
  margin: 0;
  font-size: 14px;
  font-weight: bold;
}
.what-we-do__headline {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.25;
  color: var(--text-dark);
  max-width: 500px;
}

@media (min-width: 768px) {
  .what-we-do__headline {
    font-size: 38px;
  }
}

.what-we-do__body {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}
.what-we-do__list-title {
  margin: 10px 0 0 0;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-dark);
}
.checkmark-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .checkmark-list {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }
}

.checkmark-list__group {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkmark-list li {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  gap: 10px;
  line-height: 1.4;
}

/* ==========================================================================
         REMAINING BODY SECTIONS
         ========================================================================== */
.mvv-section {
  padding: 80px 0;
  background: var(--white);
}
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 30px;
}
.mvv-card {
  padding: 40px 30px;
  text-align: center;
  background: var(--pay-light-bg);
  border-radius: 8px;
  border-bottom: 4px solid transparent;
  transition: var(--transition);
}
.mvv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--pay-blue);
  background: var(--white);
}
.mvv-icon {
  font-size: 3rem;
  color: var(--pay-blue);
  margin-bottom: 20px;
}
.mvv-card h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.mvv-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

.split-section {
  padding: 80px 0;
}
.split-section.bg-light {
  background-color: var(--pay-light-bg);
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-text h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}
.split-text p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.1rem;
}
.split-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.info-section {
  padding: 80px 0;
  background: var(--white);
}
.info-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 50px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 30px;
}
.info-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--pay-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.info-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-5px);
}
.info-card:hover::before {
  transform: scaleX(1);
}
.info-card h3 {
  color: var(--text-dark);
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.info-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.info-card a {
  color: var(--pay-orange);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.info-card a:hover {
  gap: 10px;
}

/* ==========================================================================
         FINTECH REVOLUTION SECTION & TRANSFER SCREEN MOCKUP
         ========================================================================== */
.fintech-hero-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--white);
  overflow: hidden;
}
.fintech-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 40%,
    transparent 70%
  );
}

.fintech-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.fintech-content {
  flex: 1.2;
  max-width: 600px;
}
.fintech-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
  color: var(--text-dark);
}
.fintech-title .fintech-highlight {
  color: var(--pay-blue);
}

.fintech-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
}
.fintech-btn-download {
  background-color: var(--pay-blue);
  color: white;

  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 40px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(1, 160, 199, 0.2);
  margin-bottom: 60px;
}
.fintech-btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(1, 160, 199, 0.3);
  background-color: #008bb0;
}
.fintech-trusted-logos {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  opacity: 0.6;
  filter: grayscale(100%);
}
.fintech-trusted-logos span {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}
.fintech-logo-forbes {
  font-size: 1.4rem !important;
}

.fintech-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 650px;
}
.fintech-blue-backdrop {
  position: absolute;
  background-color: var(--pay-blue);
  width: 85%;
  height: 90%;
  border-radius: 40px;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -45%);
  z-index: 1;
}

/* CSS Phone Mockup Hardware */
.fintech-phone-mockup {
  position: relative;
  z-index: 2;
  width: 320px;
  height: 680px;
  background-color: #ffffff;
  border-radius: 45px;
  border: 12px solid var(--text-dark);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fintech-phone-notch {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background-color: var(--text-dark);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

/* Inner Transfer Screen UI */
.transfer-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}
.transfer-header {
  background-color: #0f4d9c;
  color: white;
  padding: 35px 20px 15px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.transfer-header svg {
  width: 24px;
  height: 24px;
  fill: white;
  cursor: pointer;
}
.transfer-header h1 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.transfer-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.transfer-body::-webkit-scrollbar {
  display: none;
}

.section-label {
  font-size: 15px;
  color: #222;
  margin-bottom: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.custom-dropdown {
  background-color: #f1f2f4;
  border: 1px solid #e1e3e6;
  border-radius: 8px;
  margin-bottom: 25px;
  overflow: hidden;
}
.dropdown-header {
  padding: 16px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: #111;
}
.dropdown-header svg {
  width: 12px;
  height: 12px;
  fill: #111;
}
.dropdown-separator {
  height: 2px;
  background-color: #ffffff;
}
.dropdown-item {
  padding: 14px 15px;
  font-size: 13.5px;
  color: #333;
}

.yellow-marker {
  background-color: #ffde59;
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  box-shadow: inset 0 -4px 0 rgba(220, 180, 0, 0.2);
  display: inline-block;
}

.input-group {
  margin-bottom: 15px;
}
.input-wrapper {
  position: relative;
  background-color: #f1f2f4;
  border: 1px solid #b0b0b0;
  border-radius: 8px;
  height: 52px;
  display: flex;
  align-items: center;
}
.input-wrapper input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  padding: 0 15px;
  font-size: 14.5px;
  color: #333;
  outline: none;
  z-index: 2;
}
.custom-placeholder {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  font-size: 14.5px;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.2s;
}
.custom-placeholder .asterisk {
  color: #d93025;
}
.input-wrapper input:not(:placeholder-shown) + .custom-placeholder {
  opacity: 0;
}
.char-count {
  text-align: right;
  font-size: 12px;
  color: #333;
  margin-top: 5px;
}

.btn-send {
  width: 100%;
  background-color: #3ab04e;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 16px;
  font-size: 16px;
  font-weight: 400;
  margin-top: 5px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(58, 176, 78, 0.2);
}

.transfer-footer {
  background-color: #0f4d9c;
  color: white;
  display: flex;
  justify-content: space-around;
  padding: 12px 0 20px 0;
  border-bottom-left-radius: 33px;
  border-bottom-right-radius: 33px;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  opacity: 0.9;
}
.nav-item.active {
  opacity: 1;
  font-weight: 500;
}
.nav-item svg {
  width: 22px;
  height: 22px;
  fill: white;
}
.nav-item span {
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
       7. RESPONSIVE MEDIA QUERIES
       ========================================================================== */
@media (max-width: 992px) {
  .split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .split-text p {
    margin: 0 auto 30px;
  }
  .split-grid.reverse .split-image {
    order: -1;
  }

  .fintech-container {
    flex-direction: column;
    text-align: center;
  }
  .fintech-content {
    max-width: 100%;
  }
  .fintech-description {
    margin: 0 auto 30px auto;
  }
  .fintech-trusted-logos {
    justify-content: center;
    margin-bottom: 40px;
  }
  .fintech-blue-backdrop {
    transform: translate(-50%, -45%);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px 30px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .nav-links.active {
    display: flex;
  }

  .nav-links > a,
  .nav-item.has-dropdown {
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid var(--bg-light);
  }
  .nav-item.has-dropdown {
    flex-direction: column;
    align-items: flex-start;
  }
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .dropdown-menu {
    position: static;
    min-width: 100%;
    box-shadow: none;
    padding: 10px 0 10px 15px;
    gap: 15px;
    flex-direction: column;
    border-left: 2px solid var(--border);
    margin-top: 10px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-item.has-dropdown.mobile-open .dropdown-menu {
    display: flex;
  }
  .dropdown-col {
    margin-bottom: 10px;
  }
  .dropdown-col h4 {
    margin-bottom: 5px;
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .fintech-hero-section {
    padding: 40px 0;
  }
  .fintech-phone-mockup {
    width: 280px;
    height: 580px;
  }
}
