/* Home Page Styles */
.homePage {
  width: 100%;
}

/* Loading Animation */
.loadingContainer {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.loadingText {
  margin-top: 20px;
  color: #1a3b5d;
  animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Pulse Button Animation */
.pulseButton {
  position: relative;
  overflow: hidden;
}

.pulseButton:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%, -50%);
  transform-origin: 50% 50%;
}

.pulseButton:hover:after {
  animation: pulseEffect 1.2s ease-out;
}

@keyframes pulseEffect {
  0% {
    transform: scale(0, 0) translate(-50%, -50%);
    opacity: 0.5;
  }
  100% {
    transform: scale(40, 40) translate(-50%, -50%);
    opacity: 0;
  }
}

/* Hero Section */
.heroSection {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.heroSection::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.heroContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.heroContent {
  flex: 1;
  min-width: 280px;
}

.heroTitle {
  margin-bottom: 20px;
  color: #1a3b5d;
  font-weight: 700;
}

.heroSubtitle {
  color: #4a6385;
  margin-bottom: 30px;
}

.heroImageContainer {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

/* Gift Card Component */
.giftCard {
  width: 300px;
  height: 180px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.6s;
}

.giftCard:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.giftCardInner {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.giftCardInner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.giftCardTop {
  height: 40%;
  padding: 20px;
  display: flex;
  align-items: flex-start;
}

.giftCardChip {
  width: 40px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
}

.giftCardBottom {
  height: 60%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.giftCardText {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 4px;
}

.giftCardValue {
  color: white;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Quick Access Section */
.quickAccessSection {
  padding: 40px 0;
  background-color: #f0f4f8;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.quickAccessContainer {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.secondaryCardsRow {
  display: flex;
  gap: 15px;
  justify-content: center;
  width: 100%;
}

.quickAccessCard {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background-color: white;
  border-radius: 10px;
  padding: 15px 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.quickAccessCard::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #1976d2, #42a5f5);
}

.quickAccessCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.quickAccessIcon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #1976d2;
  color: white;
  margin-bottom: 12px;
  transition: transform 0.3s;
}

.quickAccessCard:hover .quickAccessIcon {
  transform: scale(1.1);
}

.actionIcon {
  font-size: 36px !important;
}

.quickAccessTitle {
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a3b5d;
  font-size: 1.2rem;
}

.quickAccessDescription {
  color: #4a6385;
  margin-bottom: 15px;
  flex-grow: 1;
  min-height: 40px;
  font-size: 0.9rem;
}

.quickAccessButton {
  width: 100%;
  padding: 10px 0;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Activate Card Specific Styles */
.activateCardWide {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.activateCardWide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #1976d2, #42a5f5);
}

.activateCardWide:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.activateCardContent {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activationMethods {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 2px;
}

.activationMethod {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px;
  border-radius: 8px;
  background-color: rgba(25, 118, 210, 0.05);
  transition: background-color 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.activationMethod:hover {
  background-color: rgba(25, 118, 210, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.activationMethodIcon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(25, 118, 210, 0.1);
  color: #1976d2;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.activationMethod:hover .activationMethodIcon {
  background-color: rgba(25, 118, 210, 0.15);
  transform: scale(1.05);
}

.activationMethodText {
  margin-bottom: 12px;
  flex-grow: 1;
  min-height: 50px;
  font-size: 0.85rem;
}

.activationButton {
  width: 100%;
  font-size: 0.85rem !important;
  margin-top: auto;
  padding: 6px 0;
}

.horizontalDivider {
  margin: 3px 0 !important;
  width: 100%;
}

.qrCodeActivation {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background-color: rgba(25, 118, 210, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
}

.qrCodeActivation:hover {
  background-color: rgba(25, 118, 210, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.qrCodeIcon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(25, 118, 210, 0.1);
  color: #1976d2;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.qrCodeActivation:hover .qrCodeIcon {
  background-color: rgba(25, 118, 210, 0.15);
  transform: scale(1.05);
}

.qrCodeText {
  margin-bottom: 0;
  color: #4a6385;
  font-size: 0.9rem;
}

.qrCodeButton {
  width: 100%;
  padding: 8px 0;
  font-size: 0.9rem !important;
}

/* Network Section */
.networkSection {
  padding: 80px 0;
  background: linear-gradient(to right, #ffffff 0%, #f5f7fa 100%);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.networkContainerCentered {
  display: flex;
  justify-content: center;
  width: 100%;
}

.networkContent {
  max-width: 800px;
  width: 100%;
}

.networkTitle {
  color: #1a3b5d;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  text-align: center;
}

.networkTitle::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #1976d2;
  border-radius: 2px;
}

.networkDescription {
  color: #4a6385;
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: center;
}

/* Network Highlight - 20+ Stores Guarantee */
.networkHighlight {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.08) 0%, rgba(25, 118, 210, 0.15) 100%);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.networkHighlightContent {
  flex: 1;
  padding-right: 20px;
}

.networkHighlightTitle {
  color: #1a3b5d;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.networkHighlightText {
  color: #4a6385;
  font-size: 1rem;
  line-height: 1.5;
}

.networkHighlightNumber {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 100px;
  background-color: #1976d2;
  color: white;
  border-radius: 50%;
  padding: 15px;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3);
}

.networkHighlightNumber span {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.networkHighlightNumber small {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.8;
}

.networkPoints {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.networkPoint {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.networkPoint:hover {
  transform: translateY(-5px);
}

.networkPointIcon {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(25, 118, 210, 0.1);
  color: #1976d2;
}

.networkButton {
  margin: 20px auto 0;
  padding: 10px 24px;
  font-size: 1rem;
  display: inline-block;
  font-weight: 500;
  min-width: unset;
  width: auto;
}

/* Features Section */
.featuresSection {
  padding: 80px 0 100px;
  position: relative;
  overflow: visible;
  background-color: white;
  z-index: 2;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sectionDescription {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.roleCardsContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.roleCardWrapper {
  flex: 1;
  min-width: 280px;
  max-width: calc(33.333% - 24px);
}

.roleCard {
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  background-color: white;
  display: flex;
  flex-direction: column;
}

.roleCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-color: rgba(25, 118, 210, 0.2);
}

.iconContainer {
  display: flex;
  justify-content: center;
  margin: 20px 0 15px;
}

.cardIcon {
  color: #1976d2;
  background-color: rgba(25, 118, 210, 0.1);
  padding: 20px;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.15);
}

.roleCard:hover .cardIcon {
  transform: scale(1.1);
  background-color: rgba(25, 118, 210, 0.15);
}

.cardTitle {
  text-align: center;
  font-weight: 600;
  color: #1a3b5d;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.cardDescription {
  text-align: center;
  margin: 0 15px;
  color: #4a6385;
  line-height: 1.5;
  flex-grow: 1;
}

.cardActions {
  justify-content: center;
  padding: 15px 15px 20px;
  margin-top: auto;
}

.cardActions button {
  padding: 8px 0;
  font-weight: 500;
  font-size: 0.9rem;
}

/* How It Works Section */
.howItWorksSection {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9f9f9 0%, #f0f4f8 100%);
  margin: 0;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.howItWorksSection::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, rgba(25, 118, 210, 0) 0%, rgba(25, 118, 210, 0.03) 100%);
  z-index: 0;
}

.stepsContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.stepWrapper {
  flex: 1;
  min-width: 280px;
}

.stepBox {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.stepBox::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #1976d2, #42a5f5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}

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

.stepBox:hover::after {
  transform: scaleX(1);
}

.stepNumber {
  font-size: 48px;
  color: #1976d2;
  margin-bottom: 16px;
  font-weight: 700;
}

/* CTA Section */
.ctaSection {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #f8f9fa;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ctaSection h2 {
  color: #1a3b5d;
  margin-bottom: 20px;
}

.ctaSection p {
  color: #4a6385;
  max-width: 600px;
  margin: 0 auto 30px;
}

.ctaSection button {
  padding: 12px 30px;
  font-size: 1.1rem;
  margin: 0 10px;
  min-width: 180px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .heroSection,
  .networkSection {
    padding: 60px 0;
  }
  
  .heroContainer {
    flex-direction: column;
    text-align: center;
  }
  
  .networkDescription {
    margin-left: auto;
    margin-right: auto;
  }
  
  .networkPoints {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .giftCard {
    margin-top: 20px;
  }
  
  .quickAccessContainer {
    flex-direction: column;
    align-items: center;
  }
  
  .secondaryCardsRow {
    flex-direction: column;
    align-items: center;
  }
  
  .quickAccessCard {
    max-width: 500px;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .activateCardWide {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .heroSection,
  .quickAccessSection,
  .networkSection {
    padding: 40px 0;
  }
  
  .featuresSection,
  .howItWorksSection,
  .ctaSection {
    padding: 40px 0;
  }
  
  .heroTitle {
    font-size: 2rem;
  }
  
  .heroSubtitle {
    font-size: 1.2rem;
  }
  
  .stepsContainer {
    flex-direction: column;
  }
  
  .stepWrapper {
    margin-bottom: 20px;
  }
  
  .networkPoint {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .activationMethods {
    flex-direction: column;
    gap: 20px;
  }
  
  .activationMethod {
    width: 100%;
  }
  
  .activationMethodText {
    min-height: auto;
  }
  
  .networkHighlight {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }
  
  .networkHighlightContent {
    padding-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .heroTitle {
    font-size: 1.75rem;
  }
  
  .heroSubtitle {
    font-size: 1rem;
  }
  
  .giftCard {
    width: 280px;
    height: 168px;
  }
  
  .giftCardValue {
    font-size: 24px;
  }
  
  .stepNumber {
    font-size: 36px;
  }
  
  .quickAccessTitle {
    font-size: 1.25rem;
  }
  
  .networkTitle {
    font-size: 1.75rem;
  }
  
  .activationButton,
  .qrCodeButton {
    font-size: 0.8rem !important;
  }
  
  .networkHighlightNumber {
    min-width: 80px;
    height: 80px;
  }
  
  .networkHighlightNumber span {
    font-size: 1.75rem;
  }
}

