/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

/* ==========================================================================
   Base Styles
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

body {
  font-family: 'Manrope', serif;
  margin: 0;
  padding: 0;
  color: #222222;
}

/* Selection Styles */
::-moz-selection, ::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/* Elements Reset */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
}

audio, canvas, iframe, img, svg, video {
  vertical-align: middle;
}

fieldset, textarea {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.hidden, [hidden] { display: none !important; }
.invisible { visibility: hidden; }
.clearfix::before, .clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after { clear: both; }

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

header {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px;
  margin: 0 5%;
  position: sticky;
    top: 0;
    z-index: 10;
}

.nav-menu .nav-links {
  display: flex;
  list-style-type: none;
  gap: 32px;
}

.header-actions {
  margin-left: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  width: 100%;
}

.nav-links a {
  color: #222222;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.cta {
  background: #222222;
  border: 1px solid #222222;
  border-radius: 50px;
  color: #ffffff;
  font-weight: 700;
  height: 38px;
  padding: 8px 24px;
  box-sizing: border-box;
}

.cta:hover {
  background: transparent;
  color: #222222;
}

header .toggle {
  border: 1px solid #E9E9E9;
  border-radius: 50px;
  padding: 4px;
  display: flex;
  gap: 10px;
}

header .toggle-item {
  padding: 2px 11px;
}

header .toggle-item a {
  color: #313131;
  font-weight: 500;
  text-decoration: none;
   font-size: 14px;
}

header .toggle-item.active a {
  color: #222222;
  font-weight: 600;
}

header .toggle-item.active {
  border-radius: 100px;
  background: #EFF0F1;
  border: 1px solid #E9E9E9;
  color: #222222;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
}

.hero p {
  font-size: 20px;
  font-weight: 500;
  max-width: 31%;
  margin: 0 auto 37px auto;
  width: 100%;
}

.about-section {
  text-align: center;
  padding: 50px 20px;
  margin-bottom: 110px;
}

.about-btn {
  background: #f5f5f5;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
}

.about-section h2 {
  max-width: 65%;
  margin: 16px auto;
  font-weight: 600;
}

h2 {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.4;
  margin: 20px auto;
}

.highlight {
  color: #AFAFB8; /* Light grey for InsideEx */
  font-weight: 600;
}

.description {
  font-size: 16px;
  color: #7A7A7A;
  max-width: 40%;
  margin: 10px auto 30px;
}

.metrics {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.metric-item {
  text-align: center;
}

.metric-item h3 {
  font-size: 48px;
  font-weight: 600;
  margin: 0;
}

.metric-item p {
  color: #7A7A7A;
  font-size: 16px;
  margin-top: 4px;
}

.menu-toggle, .menu-close {
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-top: 11px;
    margin-bottom: 11px;
}

.nav-links li {
  display: inline;
      padding: 5px 10px;
transition: .3s;
    border-radius: 5px;
}

.nav-links li:hover {
    background: #EFF0F1;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 50px 20px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  color: #666;
}

.hero img {
  max-width: 736px;
  height: auto;
  margin-top: 20px;
}

/* Solution Section */
.solution {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 160px auto;
}

.solution-cards {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.card {
  background: #F7F7F7;
  padding: 40px 32px;
  border-radius: 20px;
  max-width: 320px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.card img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: #86858C;
}

.geography {
  margin-bottom: 120px;
}

.geography  h2 {
  text-align: center;
}

.geography svg {
    display: block;
    margin: 56px auto 0 auto;
    max-width: 100%;
    max-height: max-content;
}

.geography path:hover {
    fill: black;
    transition: .3s;
}

/* Methods Section with Swiper */
.methods {
  text-align: center;
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  position: relative;
}

.methods h2 {
  margin-bottom: 56px;
}

.methods .swiper-container {
  margin: auto;
  width: 100%;
  overflow: hidden;
}

.methods .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.method-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.method-left {
  background: #f8f8f8;
  border-radius: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  padding: 20px;
}

.method-right {
  background: #f8f8f8;
  border-radius: 10px;
  flex: 1;
  text-align: right;
  padding: 20px;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.payment-icons img {
  width: 80px;
  height: auto;
}

.methods .swiper-pagination {
  position: relative !important;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.methods .swiper-pagination-bullet {
  width: 16px !important;
  height: 4px !important;
  background: #DCDCDC !important;
  border-radius: 8px !important;
  opacity: 1;
  transition: background 0.3s;
}

.methods .swiper-pagination-bullet-active {
  background: #313131 !important;
  width: 76px !important;
}

/* Swiper Navigation Arrows */
.methods .swiper-button-next,
.methods .swiper-button-prev {
  color: #333;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  bottom: -10px !important;
  top: unset !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
}

.methods .swiper-button-next:after,
.methods .swiper-rtl .swiper-button-prev:after {
  color: #1B1919 !important;
}

.methods .swiper-button-next {
  right: 35% !important;
  left: unset !important;
}

.methods .swiper-button-prev {
  left: 35% !important;
  right: unset !important;
}

.methods .swiper-button-prev:after,
.methods .swiper-rtl .swiper-button-next:after {
  color: #DCDCDC !important;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 80px auto 0 auto;
  width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 20px;
  border-radius: 10px;
}

.feature-icon {
  background: #F7F7F7;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.feature-icon img {
  width: 30px;
  height: auto;
}

.feature-item p {
  font-size: 18px;
  color: #222222;
  max-width: 250px;
}

.currencies {
  text-align: center;
  padding: 50px 20px;
}

.currency-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.currency-item {
  border: 1px solid #DCDCDC;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 15px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: bold;
}

.currency-item img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.currency-item span {
  font-weight: 400;
}


.getting-started {
  margin: 80px auto 160px auto;
  max-width: 1200px;
  width: 100%;
}

.getting-started  h2 {
  font-size: 40px;
  margin-bottom: 56px;
}

.steps {
  display: flex;
  justify-content: space-between;
  margin: auto;
  flex-wrap: wrap;
}

.step {
  width: calc(100% / 4 - 20px);
}

.step-number {
  display: block;
  margin-bottom: 16px;
  font-size: 48px;
  font-weight: 600;
}

.step-line {
  width: 100%;
  border-top: 2px dotted #E8E8EA;
  margin: 10px auto;
  position: relative;
}

.step-line:before {
  display: inline-block;
  content: '';
  width: 31px;
  height: 31px;
  background: url(../img/circle-icon.svg) no-repeat;
  position: absolute;
  left: 0;
  top: -15px;
}

.step p {
  color: #86858C;
  font-size: 18px;
  font-weight: 500;
  line-height: 25.2px;
}

.contact-telegram {
  background-image: url("../img/contact-banner.svg");
  border: 1px solid #C9D1D7;
  border-radius: 24px;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  padding: 40px 32px;
  max-width: 1200px;
  margin: 0 auto 64px auto;
  width: 100%;
}

.contact-telegram h3 {
  color: #12111D;
  font-size: 32px;
  font-weight: 500;
  margin: 0;
  max-width: 55%;
}

.contact-telegram a {
  font-size: 20px;
  height: 59px;
  padding: 16px 24px;
  max-width: 240px;
  width: 100%;
  text-decoration: none;
  text-align: center;
  line-height: 24px;
}

/* Contact Form */
.contact {
  text-align: center;
  padding: 50px 20px;
  background: #F7F7F7;
  border-radius: 24px;
  max-width: 1200px;
  margin: 0 auto 64px auto;
}

.contact h2 {
  font-size: 40px;
  line-height: 52px;
  font-weight: 800;
}

.contact form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  max-width: 580px;
  margin: auto;
}

.contact .field {
  max-width: 100%;
  width: 100%;
}

.contact .field.required {
  max-width: 46%;
  width: 100%;
}
.contact input, textarea {
  padding: 12px;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid #D2D2D2;
  border-radius: 12px;
  width: 100%;
  max-width: 100%;
}

.contact label {
  display: block;
  font-size: 14px;
  text-align: left;
  margin-bottom: 8px;
}

.contact input::placeholder, textarea::placeholder {
  color: #A3A8AE;
}

.contact .actions-toolbar {
  margin: 0 auto;
  max-width: 240px;
  width: 100%;
}

.contact button {
  font-size: 20px;
  height: 59px;
  padding: 16px 24px;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}

.alternative-methods  a {
  color: #222222;
  text-decoration: none;
  font-size: 18px;
}

.alternative-methods {
  max-width: 580px;
  margin: 0 auto;
}

.alternative-methods-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.alternative-methods p {
  display: flex;
  align-items: center;
  text-align: center;
  color: #222;
  font-size: 16px;
}

.alternative-methods p::before,
.alternative-methods p::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc;
  margin: 0 10px;
}

/* Footer Styles */
.footer {
  margin: 0 auto;
  background: #fff;
  padding: 40px 0 70px 0;
  border-top: 1px solid #F3F3F3;
  width: 100%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.footer-logo h2 {
  font-size: 24px;
  font-weight: bold;
}

.footer-logo span {
  color: #007bff;
}

.footer-logo p {
  color: #C2C2C2;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 50px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #222222;
  font-weight: 500;
}

.footer-contact {
  display: none;
  /*display: flex;*/
  flex-direction: column;
  gap: 10px;
}

.email, .phone {
  display: flex;
  align-items: center;
  gap: 10px;
}

.email, .phone img {
  width: 36px;
  height: 36px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a img {
  width: 24px;
  height: 24px;
}

@media screen and (min-width: 768px) {
    header .logo img {
      width: 160px;
    }
}
/* Even More Responsive Navigation */
@media screen and (max-width: 1200px) {
    header {
        gap: 16px;
        margin: 0;
    }
    header .logo img {
        width: 100px;
    }
    .nav-menu .nav-links {
        gap: 8px;
        padding-left: 0;
        margin-right: auto;
        margin-left: auto;
    }
}
@media screen and (max-width: 1000px) {
    .nav-links li {
        padding-right: 0;
        padding-left: 0;
    }
}
/* Responsive Navigation */
@media screen and (max-width: 768px) {
    .hero img {
        max-width: 100%;
    }
  .menu-toggle {
    background: transparent;
    border: none;
    font-size: 24px;
    display: block;
  }

  .menu-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 24px;
    color: #222222;
    cursor: pointer;
  }

  header {
    padding: 20px 5%;
    gap: 8px;
    justify-content: space-between;
  }
  
  header .logo {
      margin-right: auto;
  }

  header .toggle {
    padding: 2px;
  }

  header .toggle-item {
    padding: 2px 7px;
  }

  header .toggle-item a {
    font-size: 14px;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    background: white;
    padding: 15px;
    transform: translateY(-100%);
  }

  .nav-menu.active {
    box-sizing: border-box;
    display: block;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
  }
    .nav-menu .nav-links {
        width: 90%;
    }
    
    header .header-actions {
        width: 90%;
        margin: 40px auto 0;
        padding: 0;
    }
    
    header .header-actions .cta {
        width: 100%;
    }
    
  .geography img {
    max-width: 100%;
  }

  .hero p {
    max-width: 75%;
  }

  .about-section {
    margin-bottom: 30px;
  }

  .about-section h2 {
    max-width: 100%;
  }

  .about-section .description {
    max-width: 100%;
  }

  .contact form {
    max-width: fit-content;
  }

  .contact .field.required {
    max-width: 100%;
  }

  .getting-started .step {
    max-width: 100%;
    width: 100%;
  }

  .methods {
    width: auto;
  }

  .solution-cards, .geography, .methods, .getting-started {
    margin: 50px 15px;
    max-width: fit-content;
  }

  .contact-telegram, .contact {
    margin: 50px 30px;
    max-width: fit-content;
  }

  .contact {
    padding: 20px;
  }

  .contact-telegram h3 {
    font-size: 24px;
    max-width: 100%;
  }

  .contact-telegram  {
    gap: 30px;
  }

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

  .methods .method-left, .method-right {
    padding: 8px;
    flex: unset;
    max-width: 100%;
    width: 100%;
  }

  .method-card {
    flex-wrap: wrap;
  }

  .methods .swiper-button-next {
    right: 10% !important;
  }

  .methods .swiper-button-prev {
    left: 10% !important;
  }

  .features {
    flex-direction: column;
    gap: 0;
  }

  .solution {
    margin-bottom: 80px;
  }

  .header-actions {
    padding-left: 40px;
  }

  footer {
    box-sizing: border-box;
    padding: 20px;
  }

  .footer-container {
    flex-direction: column;
    padding: 0 15px;
  }

  .footer-links {
    order: 2;
    max-width: 100%;
    width: 100%;
    gap: 16px;
    justify-content: space-between;
  }

  .footer-contact {
    order: 3;
  }

  .footer-social-links {
    margin-top: 20px;
    order: 4;
  }

  .footer-logo {
    order: 1;
  }
}
