/* ===================================
   UPay - Clean Stylesheet
   =================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.55;
  color: #111;
  background-color: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: #62c1bf;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #35aaa8;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.23;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 960px) {
  .container {
    max-width: 640px;
  }
}

/* --- Helpers --- */
.highlight {
  color: #62c1bf;
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

@media (max-width: 960px) {
  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }
}

/* ===================================
   Header / Navigation
   =================================== */

/* Desktop Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: rgba(39, 39, 39, 0.9);
  z-index: 990;
  transition: background-color 0.3s linear;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.header__logo img {
  max-width: 180px;
}

.header__nav ul {
  display: flex;
  gap: 30px;
}

.header__nav a {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.header__nav a:hover {
  color: #62c1bf;
}

@media (max-width: 980px) {
  .header {
    display: none;
  }
}

/* Mobile Header */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #272727;
  z-index: 990;
}

.mobile-header__container {
  min-height: 64px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-header__logo img {
  max-width: 180px;
}

.mobile-nav {
  display: none;
  background-color: rgba(39, 39, 39, 0.95);
  padding: 20px;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mobile-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

@media (max-width: 980px) {
  .mobile-header {
    display: block;
  }
}

/* Burger Menu */
.burger-menu {
  position: relative;
  width: 22px;
  height: 14px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 999;
}

.burger-menu span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fff;
  left: 0;
  transition: 0.25s ease-in-out;
}

.burger-menu span:nth-child(1) {
  top: 0;
}
.burger-menu span:nth-child(2) {
  top: 6px;
}
.burger-menu span:nth-child(3) {
  top: 12px;
  width: 70%;
  right: 0;
  left: auto;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 6px;
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 6px;
  width: 100%;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  padding: 210px 0 150px;
  background-color: #272727;
}

.hero__content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero__image {
  flex: 0 0 58%;
}

.hero__image img {
  width: 100%;
  margin: 0 auto;
}

.hero__text {
  flex: 1;
}

.hero__text h1 {
  color: #fff;
  font-size: 52px;
  margin-bottom: 20px;
}

.hero__text p {
  color: #fafafa;
  font-size: 24px;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .hero__text h1 {
    font-size: 48px;
  }

  .hero__text p {
    font-size: 22px;
  }
}

@media (max-width: 960px) {
  .hero {
    padding: 120px 0 90px;
  }

  .hero__content {
    flex-direction: column;
  }

  .hero__image {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero__text h1 {
    font-size: 30px;
  }

  .hero__text p {
    font-size: 20px;
  }
}

/* ===================================
   Widget Section
   =================================== */
.widget-section {
  padding: 150px 0;
  background-color: #fafafa;
}

.widget-section__content {
  display: flex;
  align-items: center;
  gap: 100px;
}

.widget-section__features {
  flex: 0 0 42%;
}

.widget-section__image {
  flex: 1;
}

.widget-section__image img,
.widget-section__image video {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 12px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.features-list h3 {
  color: #111;
  font-size: 28px;
  margin-bottom: 15px;
}

.features-list p {
  color: #111;
  font-size: 18px;
}

@media (max-width: 1200px) {
  .features-list h3 {
    font-size: 26px;
  }
}

@media (max-width: 960px) {
  .widget-section {
    padding: 90px 0;
  }

  .widget-section__content {
    flex-direction: column;
    gap: 60px;
  }

  .widget-section__features {
    flex: none;
    width: 100%;
  }

  .widget-section__image.mobile-only {
    margin-bottom: 30px;
  }
}

@media (max-width: 640px) {
  .features-list h3 {
    font-size: 24px;
  }

  .features-list p {
    font-size: 16px;
  }
}

/* ===================================
   BackOffice Section
   =================================== */
.backoffice-section {
  padding: 60px 0 150px;
  background-color: #fafafa;
  text-align: center;
}

.backoffice-section h2 {
  color: #111;
  font-size: 36px;
  margin-bottom: 60px;
}

.backoffice-section__image {
  max-width: 100%;
  margin: 0 auto 60px;
}

.backoffice-section p {
  color: #111;
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .backoffice-section h2 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .backoffice-section h2 {
    font-size: 28px;
  }

  .backoffice-section p {
    font-size: 16px;
  }
}

/* ===================================
   Why Us Section
   =================================== */
.why-us-section {
  padding: 90px 0 150px;
  background-color: #fafafa;
  position: relative;
}

.why-us-section__content {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.why-us-section__info {
  flex: 0 0 42%;
}

.why-us-section__info h2 {
  color: #111;
  font-size: 36px;
  margin-bottom: 60px;
}

.why-us-section__image {
  flex: 1;
}

.why-us-section__image img {
  width: 100%;
  border-radius: 8px;
}

.checkmark-list {
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.checkmark-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.checkmark-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3.5px;
  filter: invert(62%) sepia(47%) saturate(430%) hue-rotate(128deg)
    brightness(95%) contrast(89%);
}

.checkmark-list span {
  color: #111;
  font-size: 18px;
  font-weight: 300;
}

@media (max-width: 1200px) {
  .why-us-section__info h2 {
    font-size: 32px;
  }
}

@media (max-width: 960px) {
  .why-us-section {
    padding: 60px 0 90px;
  }

  .why-us-section__content {
    flex-direction: column;
  }

  .why-us-section__info {
    flex: none;
    width: 100%;
  }

  .why-us-section__image {
    order: -1;
    margin-bottom: 40px;
  }
}

@media (max-width: 640px) {
  .why-us-section__info h2 {
    font-size: 26px;
  }

  .checkmark-list span {
    font-size: 16px;
  }
}

/* ===================================
   Services Section
   =================================== */
.services-section {
  padding: 150px 0;
  background-color: #fafafa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 50px 30px;
  text-align: center;
}

.service-card h3 {
  color: #111;
  font-size: 30px;
  margin-bottom: 22px;
}

.service-card ul {
  text-align: left;
  padding-left: 20px;
  margin-bottom: 30px;
}

.service-card li {
  list-style-type: disc;
  color: #111;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
}

.service-card__contact {
  text-align: left;
  font-size: 16px;
  color: #111;
}

.service-card__contact a {
  color: #35aaa8;
}

.service-card__note {
  text-align: left;
  font-size: 16px;
  color: #939393;
  font-weight: 300;
  margin-top: 10px;
}

@media (max-width: 1200px) {
  .service-card h3 {
    font-size: 28px;
  }
}

@media (max-width: 960px) {
  .services-section {
    padding: 90px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-card {
    padding: 40px 20px;
  }

  .service-card h3 {
    font-size: 24px;
  }

  .service-card li {
    font-size: 16px;
  }
}

/* Region Note */
.region-note {
  margin-top: 20px;
  font-size: 16px;
  color: #666;
  font-style: italic;
  text-align: center;
}

/* Service Card Subtitle */
.service-card__subtitle {
  font-size: 15px;
  color: #666;
  font-weight: 300;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.5;
}

/* ===================================
   Partners Section
   =================================== */
.partners-section {
  padding: 100px 0;
  background-color: #fff;
  text-align: center;
}

.partners-section h2 {
  color: #111;
  font-size: 36px;
  margin-bottom: 60px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.partner-card {
  background-color: #fafafa;
  border-radius: 12px;
  padding: 40px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.partner-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 15px;
}

.partner-card h3 {
  color: #111;
  font-size: 18px;
  font-weight: 500;
}

@media (max-width: 960px) {
  .partners-section {
    padding: 60px 0;
  }

  .partners-section h2 {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .partners-section h2 {
    font-size: 26px;
  }

  .partner-card {
    padding: 30px 15px;
  }

  .partner-icon {
    font-size: 36px;
  }

  .partner-card h3 {
    font-size: 16px;
  }
}

/* ===================================
   Contact CTA Section
   =================================== */
.contact-cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #272727 0%, #3a3a3a 100%);
  text-align: center;
}

.contact-cta-section h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 20px;
}

.contact-cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: 16px 48px;
  background-color: #62c1bf;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #35aaa8;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .contact-cta-section {
    padding: 60px 0;
  }

  .contact-cta-section h2 {
    font-size: 30px;
  }

  .contact-cta-section p {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .contact-cta-section h2 {
    font-size: 26px;
  }

  .cta-button {
    padding: 14px 36px;
    font-size: 16px;
  }
}

/* ===================================
   Footer
   =================================== */
.footer {
  padding: 30px 0;
  background-color: #272727;
  text-align: center;
}

.footer__logo {
  max-width: 180px;
  margin: 0 auto 22px;
}

.footer p {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 1px;
  opacity: 0.7;
}
