/* Basic Reset & Font */

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: #f0f2f5;
  padding-top: 20px;
  line-height: 1.4;
}

/* Hero Section */

.hero {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  height: 900px;
}

/* Hero Container */

.hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  background-image: url("../index/hero-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
}

/* Header (Logo + Sparkle) */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 34px;
  height: 34px;
  margin-right: 10px;
}

.logo-text {
  font-size: 20px;
  font-weight: bold;
  color: #2f2f2f;
}

.sparkle-img {
  width: 30px;
  height: 30px;
}

/* Main Content */

.main-content {
  text-align: center;
  margin-top: 40px;
}

.heading {
  font-size: 44px;
  font-weight: 700;
  color: #212121;
  margin-bottom: 20px;
}

.subheading {
  font-size: 22px;
  color: #222;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.5;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(to right bottom, #a4f71f, #15dc29, #1a7924);
  color: #222;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

.small-text {
  font-size: 14px;
  color: #616161;
}

/* Cards Container */

.cards-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: end;
  transform: translateY(30px);
}

.left-card,
.center-card,
.right-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 360px;
  min-width: 260px;
}

.center-card {
  height: 300px;
}

/* General Card Styles */

.card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* User Card */

.user-card {
  display: flex;
  align-items: center;
  padding: 16px 20px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.welcome-back {
  color: #8a94a6;
  font-size: 14px;
  margin-bottom: 4px;
}

.user-name {
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

/* Balance Card */

.balance-card {
  padding: 20px;
  text-align: center;
}

.balance-title {
  font-size: 14px;
  color: #8a94a6;
  margin-bottom: 12px;
}

.balance {
  font-size: 32px;
  font-weight: bold;
  color: #222;
  margin-bottom: 30px;
}

.stats {
  display: flex;
  justify-content: space-around;
  gap: 16px;
}

.stat-card {
  background-color: #f5f7ff;
  border-radius: 16px;
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-header {
  display: flex;
  align-items: center;
}

.stat-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.stat-amount {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin-bottom: 8px;
}

.stat-percentage {
  font-size: 12px;
  color: #4caf50;
  background-color: rgba(76, 175, 80, 0.1);
  padding: 2px 6px;
  border-radius: 12px;
  margin-bottom: 4px;
  display: inline-block;
}

.stat-label {
  font-size: 14px;
  color: #222;
  font-weight: 500;
}

/* Payment Card */

.payment-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.payment-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.payment-icon {
  width: 36px;
  height: 36px;
  background-color: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.payment-info {
  display: flex;
  flex-direction: column;
}

.payment-label {
  font-size: 14px;
  color: #757575;
}

.payment-title {
  font-size: 18px;
  font-weight: bold;
  color: #212121;
}

.payment-amount {
  font-size: 28px;
  font-weight: bold;
  color: #212121;
  margin: 10px 0;
}

.payment-growth {
  font-size: 12px;
  color: #4caf50;
  background-color: rgba(76, 175, 80, 0.1);
  padding: 2px 6px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 10px;
}

.payment-method {
  font-size: 14px;
  color: #757575;
  margin-top: auto;
  margin-bottom: 15px;
}

/* Credit Card (Shared) */

.credit-card {
  width: 100%;
  background: linear-gradient(120deg, #4caf50, #2e7d32);
  border-radius: 15px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.credit-card img {
  z-index: 2;
}

.card-circle {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Profit Display */

.profit-display {
  display: flex;
  align-items: center;
  padding: 16px 20px;
}

.profit-icon {
  width: 40px;
  height: 40px;
  background-color: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.profit-amount {
  font-size: 24px;
  font-weight: bold;
  color: #212121;
  margin-right: 8px;
}

.profit-percentage {
  font-size: 12px;
  color: #4caf50;
  background-color: rgba(76, 175, 80, 0.1);
  padding: 2px 6px;
  border-radius: 12px;
  display: inline-block;
}

/* Plan Card */

.plan-card {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.plan-info {
  display: flex;
  flex-direction: column;
}

.plan-label {
  font-size: 14px;
  color: #757575;
}

.plan-title {
  font-size: 20px;
  font-weight: bold;
  color: #212121;
}

.plan-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.plan-price {
  font-size: 24px;
  font-weight: bold;
  color: #212121;
  margin-bottom: 20px;
}

.plan-period {
  font-size: 14px;
  color: #757575;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 15px 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  width: 20px;
  height: 20px;
  background-color: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

/* Responsive Adjustments */

@media (max-width: 1024px) {
  .hero {
    height: 1095px;
  }
  .hero-container {
    background-image: url("../index/hero-bg-mobile.png");
    background-repeat: no-repeat;
    background-size: cover;
  }
  .cards-container {
    align-items: center;
  }
  .left-card,
  .center-card,
  .right-card {
    max-width: 500px;
    width: 100%;
  }
  .left-card {
    display: none;
    opacity: 0;
  }
  .center-card {
    display: none;
    /*transform: translate(75%, -20%);*/
  }
  .right-card {
    /*transform: translate(-180%, 10%);*/
  }
}

/* ABOUT SECTION */

.product-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.section-heading {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 50px;
  color: #111;
}

.content-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.left-content {
  flex: 1;
  background-color: #222;
  color: white;
  border-radius: 16px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  height: 540px;
}

.right-content {
  flex: 1;
  background-color: #f5f5f7;
  border-radius: 16px;
  padding: 30px;
  height: 540px;
}

.content-heading {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.content-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.9;
}

.phone-image {
  margin-top: 30px;
  text-align: center;
  position: relative;
}

.phone-image img {
  max-width: 100%;
  height: auto;
  transform: translateY(-60px) rotate(-9deg);
}

.cta-button-container {
  text-align: center;
  margin-top: 40px;
}

.schemas-image {
  margin-top: 30px;
  text-align: center;
  position: relative;
}

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

@media (max-width: 768px) {
  .content-container {
    flex-direction: column;
  }
  .section-heading {
    font-size: 30px;
  }
  .content-heading {
    font-size: 22px;
  }
  .stock-value {
    font-size: 18px;
  }
  .phone-image img {
    transform: none;
  }
}

/* CERTIFIED SECTION */

.certified-section {
  width: 100%;
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.heading-primary {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.heading-secondary {
  font-size: 36px;
  font-weight: bold;
  color: #40c940;
  margin-bottom: 25px;
}

.description {
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #666;
  font-size: 16px;
}

.dashboard-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 60px;
  margin-bottom: 32px;
}

.center-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 5;
}

.user-card {
  background-color: white;
  border-radius: 20px;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  width: 350px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.user-info {
  text-align: left;
  flex-grow: 1;
}

.welcome-back {
  font-size: 12px;
  color: #999;
  margin-bottom: 5px;
}

.user-name {
  font-size: 18px;
  font-weight: bold;
}

.whatsapp-icon {
  color: #25d366;
  font-size: 24px;
}

.balance-card {
  background-color: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  width: 350px;
}

.balance-title {
  font-size: 14px;
  color: #999;
  text-align: center;
  margin-bottom: 10px;
}

.balance {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.stats {
  display: flex;
  gap: 15px;
}

.stat-card {
  background-color: #f8f8f8;
  border-radius: 15px;
  padding: 15px;
  flex: 1;
  text-align: left;
}

.stat-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.stat-icon {
  width: 24px;
  height: 24px;
  background-color: #40c940;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.stat-icon img {
  width: 12px;
  height: 12px;
}

.stat-label {
  font-size: 14px;
  font-weight: bold;
}

.stat-amount {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-percentage {
  font-size: 12px;
  color: #40c940;
  background-color: rgba(64, 201, 64, 0.1);
  display: inline-block;
  padding: 2px 6px;
  border-radius: 10px;
}

.company-badge {
  background-color: white;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  padding: 10px 20px;
  position: absolute;
  font-weight: bold;
}

.company-logo {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.hp-badge {
  top: 15%;
  left: 20%;
}

.google-badge {
  bottom: 20%;
  left: 15%;
}

.spotify-badge {
  top: 15%;
  right: 20%;
}

.amazon-badge {
  bottom: 20%;
  right: 15%;
}

@media (max-width: 1040px) {
  .hp-badge {
    z-index: 99;
    top: -11%;
    left: 12%;
  }
  .google-badge {
    z-index: 99;
    bottom: -5%;
    left: 12%;
  }
  .spotify-badge {
    z-index: 99;
    top: -7%;
    right: 12%;
  }
  .amazon-badge {
    z-index: 99;
    bottom: -7%;
    right: 12%;
  }
}

/* SCOUT SECTION */

.scout-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.scout-content {
  width: 50%;
  padding-right: 2rem;
}

.title-green {
  color: #30b930;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.title-black {
  color: #000;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.description {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: #30b930;
  color: white;
  border: none;
  border-radius: 2rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #28a228;
}

.scout-visual {
  width: 50%;
  position: relative;
  height: 400px;
}

.whatsapp-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  z-index: 1;
}

.bonus-card {
  position: absolute;
  top: -1%;
  left: 5%;
  background-color: #f5f5f7;
  border-radius: 15px;
  padding: 1rem 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  z-index: 2;
}

.bonus-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
}

.bonus-subtitle {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.arrow-icon {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 35px;
  height: 35px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feature-tag {
  position: absolute;
  background-color: white;
  border-radius: 30px;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  z-index: 2;
}

.plus {
  display: inline-flex;
  justify-content: center;
  margin-left: 5px;
  width: 20px;
  height: 20px;
  background-color: #30b930;
  color: white;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: bold;
}

.practicality {
  top: 32%;
  left: 10%;
}

.reliability {
  bottom: 38%;
  left: 5%;
}

.speed {
  top: 30%;
  right: 10%;
}

.stability {
  bottom: 30%;
  right: 15%;
}

@media (max-width: 768px) {
  .scout-section {
    flex-direction: column;
    padding: 2rem;
  }
  .scout-content,
  .scout-visual {
    width: 100%;
    padding-right: 0;
  }
  .scout-content {
    margin-bottom: 3rem;
  }
  .scout-visual {
    height: 350px;
  }
  .feature-tag {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}

.footer {
  background-color: #000000;
  color: white;
  padding: 20px 0;
  width: 100%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.brand svg {
  fill: white;
}

.brand-name {
  font-size: 18px;
  font-weight: 600;
}

.copyright {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 5px;
}

.privacy-policy {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.privacy-policy:hover {
  text-decoration: underline;
}

.footer-right {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  fill: white;
  transition: opacity 0.2s;
}

.social-icon:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer-left {
    align-items: center;
  }
  .footer-right {
    margin-top: 10px;
  }
}

/* For demo purposes only */

.demo-button {
  padding: 12px 24px;
  background-color: #30b930;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  margin: 20px;
}

/* Modal styles */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  overflow-y: auto;
  /* Enable vertical scrolling */
  -webkit-overflow-scrolling: touch;
  /* Smooth scrolling on iOS */
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: 100%;
  max-width: 1000px;
  background: linear-gradient(135deg, #006400 0%, #00b300 100%);
  border-radius: 10px;
  padding: 30px;
  position: relative;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.whatsapp-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  justify-content: center;
}

.whatsapp-logo svg {
  margin-right: 10px;
  fill: white;
}

.modal-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.modal-message {
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.5;
}

.platform-info {
  text-align: center;
  margin-bottom: 20px;
}

.platform-name {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.platform-id {
  font-size: 18px;
  margin-bottom: 15px;
}

.platform-description {
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.5;
}

.form-group {
  display: flex;
  flex-wrap: wrap;
  /* gap: 20px; */
}

.form-field {
  flex: 1 0 calc(50% - 10px);
  min-width: 200px;
  margin-bottom: 10px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-field input {
  width: 100%;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 16px;
}

.notes {
  font-size: 12px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.notes p {
  margin-bottom: 5px;
}

.flag {
  display: inline-block;
  width: 20px;
  height: 14px;
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0 2px;
  vertical-align: middle;
}

.flag-ua {
  background-color: blue;
  border-bottom: 7px solid yellow;
}

.flag-cn {
  background-color: red;
  position: relative;
}

.flag-in {
  background: linear-gradient(
    180deg,
    #ff9933 33%,
    white 33%,
    white 66%,
    #138808 66%
  );
}

.cta-button-modal {
  background-color: #3af83a;
  color: #006400;
  border: none;
  border-radius: 30px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  transition: background-color 0.3s;
  width: 80%;
  max-width: 300px;
  text-align: center;
}

.cta-button-modal:hover {
  background-color: #2ce22c;
}

.privacy-notice {
  display: flex;
  align-items: flex-start;
  margin-top: 30px;
  font-size: 12px;
  opacity: 0.8;
  line-height: 1.4;
}

.privacy-notice svg {
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Media query for mobile devices */

@media screen and (max-width: 768px) {
  .modal-overlay {
    align-items: flex-start;
  }
  .modal {
    width: 95%;
    overflow-y: auto;
    margin: 20px auto;
    /* some margin so it’s not flush with the top */
  }
  /* Show the fixed mobile close button on small screens */
  .mobile-close-button {
    display: flex;
  }
  /* Make buttons larger for touch targets */
  .btn {
    padding: 12px 20px;
    min-width: 100px;
    /* Ensure buttons are large enough to tap */
  }
  /* Increase padding for better touch areas */
  .modal-header,
  .modal-footer {
    padding: 15px;
  }
  /* Add some spacing below title to prevent overlap with close button */
  .modal-title {
    padding-right: 30px;
  }
}

@media screen and (max-width: 768px) {
  .modal-close {
    display: flex;
    /* Ensure it is visible */
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1001;
    /* Ensure it's above the modal */
  }
}

.iti__selected-dial-code {
  color: #333;
}
