/* ==========================================================================
   RESET & BASE
   ========================================================================== */
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ==========================================================================
      SCROLL EFFECTS
      ========================================================================== */
:root {
  --scroll-blur: 0px;
  --scroll-opacity: 1;
  --scroll-scale: 1;
}

a {
  cursor: pointer !important;
}

.is-scrolling .main-container {
  filter: blur(var(--scroll-blur));
  opacity: var(--scroll-opacity);
  transform: scale(var(--scroll-scale));
  transition:
    filter 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.is-scrolling .floating-element {
  filter: blur(var(--scroll-blur));
  opacity: var(--scroll-opacity);
  transition:
    filter 0.2s ease,
    opacity 0.2s ease;
}

.is-scrolling .floating-element {
  transform-origin: center center;
  transform: translate(
      var(--translate-x, 0),
      var(--translate-y, 0)
    )
    scale(var(--scroll-scale)) !important;
}

/* ==========================================================================
      MEDIA QUERIES
      ========================================================================== */
/* Mobile */
@media (max-width: 767px) {
  /* Typography */
  .h1 {
    font-size: 40px !important;
    letter-spacing: -1.2px;
  }

  .h2 {
    font-size: 40px !important;
    letter-spacing: -1.2px;
  }

  .h3 {
    font-size: 32px !important;
    letter-spacing: -0.48px;
  }

  .h4 {
    font-size: 28px !important;
    letter-spacing: -0.56px;
  }

  .h5 {
    font-size: 21px !important;
    letter-spacing: -0.32px;
  }

  .subtitle {
    font-size: 17px !important;
    letter-spacing: -0.21px;
    padding: 0 !important;
  }

  .p {
    font-size: 17px !important;
    letter-spacing: -0.34px !important;
  }

  /* Layout */
  .main-container {
    width: 90% !important;
  }

  /* Components */
  .how-to-card {
    margin-bottom: 20px;
  }

  .how-to-card-header {
    padding: 24px 24px 12px 24px;
  }

  .how-to-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .features-card {
    width: 310px;
  }

  .features-slider {
    width: calc(100% + 80px);
    padding-right: 40px;
  }

  .faq-col {
    padding: 0 15px !important;
  }

  .faq-question {
    padding: 20px 36px 20px 0;
    font-size: 16px;
  }

  .faq-answer {
    padding: 0 0 20px;
    visibility: visible;
  }

  .nav-button {
    width: 40px;
    height: 40px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .main-container {
    width: 96% !important;
  }

  .how-to-card {
    margin-bottom: 20px;
  }

  .content-col {
    padding-right: 15px;
  }

  .dashboard-image {
    margin-top: 30px;
  }
}

/* Large Desktop */
@media (min-width: 1920px) {
  .main-container {
    width: 50% !important;
  }
}

/* ==========================================================================
      ANIMATIONS & KEYFRAMES
      ========================================================================== */
@keyframes gradientMovement {
  0% {
    background-position: 0% 0%;
    transform: rotate(0deg);
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
    transform: rotate(1deg);
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 0%;
    transform: rotate(0deg);
  }
}

@keyframes pulseEffect {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 0.7;
  }
}

@keyframes lightMove {
  0% {
    transform: translateX(-25%) translateY(-25%);
  }
  25% {
    transform: translateX(0%) translateY(-25%);
  }
  50% {
    transform: translateX(0%) translateY(0%);
  }
  75% {
    transform: translateX(-25%) translateY(0%);
  }
  100% {
    transform: translateX(-25%) translateY(-25%);
  }
}

@keyframes pulse-subtle {
  0% {
    box-shadow: 0 0 0 0 rgba(17, 71, 234, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(17, 71, 234, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(17, 71, 234, 0);
  }
}

@keyframes shine {
  100% {
    transform: skewX(-25deg) translateX(200%);
  }
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body {
  min-height: 100vh;
  width: 100%;
  font-family:
    'SF Pro Display',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif,
    'Apple Color Emoji',
    'Segoe UI Emoji',
    'Segoe UI Symbol';
}

/* ==========================================================================
      FONTS IMPORT & TYPOGRAPHY
      ========================================================================== */
:root {
  /* SF Pro Display - Regular */
  @font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFPRODISPLAYREGULAR.OTF')
      format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  /* SF Pro Display - Medium */
  @font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFPRODISPLAYMEDIUM.OTF')
      format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }

  /* SF Pro Display - Semibold */
  @font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFPRODISPLAYSEMIBOLD.ttf')
      format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }

  /* SF Pro Display - Semibold Italic */
  @font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFPRODISPLAYSEMIBOLDITALIC.OTF')
      format('opentype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
  }

  /* SF Pro Display - Bold */
  @font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFPRODISPLAYBOLD.OTF')
      format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

  /* SF Pro Display - Black Italic */
  @font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFPRODISPLAYBLACKITALIC.OTF')
      format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
  }

  /* SF Pro Display - Heavy Italic */
  @font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFPRODISPLAYHEAVYITALIC.OTF')
      format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
  }

  /* SF Pro Display - Light Italic */
  @font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFPRODISPLAYLIGHTITALIC.OTF')
      format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
  }

  /* SF Pro Display - Thin Italic */
  @font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFPRODISPLAYTHINITALIC.OTF')
      format('opentype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
  }

  /* SF Pro Display - Ultralight Italic */
  @font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SFPRODISPLAYULTRALIGHTITALIC.OTF')
      format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
  }
}

/* Font weights */
.font-light {
  font-weight: 300 !important;
}
.font-regular {
  font-weight: 400 !important;
}
.font-medium {
  font-weight: 500 !important;
}
.font-semibold {
  font-weight: 600 !important;
}
.font-bold {
  font-weight: 700 !important;
}
.font-heavy {
  font-weight: 800 !important;
}
.font-black {
  font-weight: 900 !important;
}
.italic {
  font-style: italic;
}

/* Headings */
.h1 {
  font-size: 58px !important ;
  letter-spacing: -2px !important;
}

.h2 {
  font-size: 48px !important;
  letter-spacing: -1.44px !important;
}

.h3 {
  font-size: 36px !important;
  letter-spacing: -1.08px !important;
}

.h4 {
  font-size: 28px !important;
  letter-spacing: -0.56px !important;
}

/* Paragraphs */
.subtitle {
  font-size: 18px;
  letter-spacing: -0.4px !important;
  font-weight: 300 !important;
}

.subtitle-hero {
  padding: 0 40px;
  font-size: 18px !important;
  letter-spacing: -0.4px !important;
  font-weight: 300 !important;
}

.subtitle-hero-mobile {
  font-size: 16px !important;
  letter-spacing: -0.4px !important;
  font-weight: 300 !important;
}

.p {
  font-size: 15px !important;
  letter-spacing: -0.34px !important;
}

/* ==========================================================================
      COLORS
      ========================================================================== */
.blue {
  color: #1147ea !important;
}
.blue-white {
  color: #edf2ff !important;
}
.orange {
  color: #f4af1a !important;
}
.orange-white {
  color: #fffcf7 !important;
}
.black {
  color: #000 !important;
}
.dark-grey {
  color: #676767 !important;
}
.white {
  color: #fff !important;
}
.red {
  color: #ea1115 !important;
}
.green {
  color: #11ea88 !important;
}

/* ==========================================================================
      LAYOUT & CONTAINERS
      ========================================================================== */
.main-container {
  width: 74%;
  margin: 0 auto !important;
}

.custom-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 0;
  overflow-x: hidden;
}

.vh-80 {
  height: 80vh !important;
}

/* ==========================================================================
      SECTIONS
      ========================================================================== */
/* Hero Section */
.section-hero,
.section-hero-mobile {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.section-hero::before,
.section-hero-mobile::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    -45deg,
    #fef8ec 0%,
    #feebc5 25%,
    #f9faff 50%,
    #cde3fc 75%,
    #fff8e6 100%
  );
  background-size: 400% 400%;
  animation: gradientMovement 10s ease infinite;
  z-index: -1;
  transform-origin: center;
}

.section-hero::after,
.section-hero-mobile::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 45%,
    rgba(255, 252, 247, 0.8) 100%
  );
  opacity: 0.8;
  z-index: -1;
  animation: pulseEffect 1s ease-in-out infinite alternate;
}

/* How-to Section */
.section-how-to {
  padding: 72px 0;
}

/* Split Section */
.section-split {
  padding: 72px 0 0 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Features Section */
.section-features {
  background-color: #eaefff;
  padding: 72px 0;
  overflow: hidden;
  position: relative;
}

/* Last CTA Section */
.section-last-cta {
  padding: 128px 0;
  background-color: #1147ea;
  background-image: url('../images/last-cta/background-last-cta.png');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.section-last-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  animation: lightMove 15s linear infinite;
  pointer-events: none;
}

/* Footer Section */
.section-footer {
  background-color: #000;
  padding: 72px 0;
}

/* ==========================================================================
      COMPONENTS
      ========================================================================== */

/* Floating Elements */
.floating-element {
  position: absolute;
  z-index: 1;
  transition: transform 0.4s
    cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform;
  pointer-events: none;
}

.floating-element:hover {
  transform: scale(1.2) !important;
}

.zoom-elements .floating-element {
  transform: scale(1.1);
}

/* Floating Element Positions */
.card-subscribed {
  top: 25%;
  right: 10%;
  width: 430px;
  height: auto;
  rotate: 30deg;
}

.card-subscribed2 {
  bottom: 15%;
  left: 20%;
  width: 330px;
  height: auto;
  rotate: 20deg;
}

.discord-logo {
  bottom: 20%;
  left: 5%;
  width: 280px;
  height: auto;
  rotate: -40deg;
}

.suby-bubble {
  bottom: 10%;
  right: 25%;
  width: 140px;
  height: auto;
  rotate: 20deg;
}

.suby-bubble-2 {
  bottom: 10%;
  right: 25%;
  width: 280px;
  height: auto;
  rotate: 20deg;
}

.usdc-coin {
  top: 25%;
  left: 15%;
  width: 130px;
  height: auto;
  rotate: -20deg;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar-container {
  width: 76%;
  margin: 0 auto;
  margin-top: 12px !important;
  background-color: rgba(255, 252, 247, 1);
  padding: 10px 18px !important;
  border-radius: 100px;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-container:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar-logo {
  width: 150px;
  height: auto;
}

.navbar-logo-home {
  width: 100px;
  height: auto;
}

.navbar-link {
  font-weight: 500 !important;
  color: #474747;
  font-size: 16px;
  text-decoration: none;
  transition: 0.5s;
  letter-spacing: -0.4px;
  border: none;
}

.navbar-link:hover {
  color: #1147ea;
}

/* Mobile Navbar */
.navbar-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.navbar-mobile.hidden {
  transform: translateY(-100%);
}

.navbar-mobile-container {
  height: 64px;
  padding: 12px 20px;
  border-radius: 40px;
  margin: 10px auto 0;
  background-color: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: 96%;
}

.navbar-mobile-container.expanded {
  height: auto;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.navbar-mobile-container.expanded .btn-signin,
.navbar-mobile-container.expanded .btn-create {
  display: none;
}

.navbar-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  height: 22px;
}

.logo img {
  height: 100%;
  width: auto;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Navbar Buttons */
.btn-signin {
  text-decoration: none;
  color: #1147ea;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid #1147ea;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-create {
  text-decoration: none;
  color: #fff;
  background-color: #1147ea;
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* Hamburger Button */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  padding: 0;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin-top: 16px;
}

.mobile-menu.active {
  height: auto;
  opacity: 1;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-link {
  color: #474747;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 0;
}

.mobile-link:hover {
  color: #1147ea;
}

.mobile-menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 8px;
}

.mobile-btn-full {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
}

.mobile-btn-full:first-child {
  color: #1147ea;
  border: 1px solid #1147ea;
  background-color: transparent;
}

.mobile-btn-full:last-child {
  color: #fff;
  background-color: #1147ea;
  border: 1px solid #1147ea;
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s;
}

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

/* How-to Cards */
.how-to-card {
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.how-to-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.how-to-card-header {
  padding: 32px;
  text-align: center;
  border-radius: 100px !important;
  overflow: hidden;
}

.step-number-container {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.how-to-number {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1147ea;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(17, 71, 234, 0.2);
}

.how-to-card:hover .how-to-number {
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(17, 71, 234, 0.3);
  animation: pulse-subtle 2s infinite;
}

.img-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.5s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.how-to-card:hover .img-container {
  transform: translateY(-5px);
}

.how-to-card:hover .img-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg) translateX(-100%);
  animation: shine 1.5s ease-in-out;
}

/* Features Slider */
.features-slider-container {
  position: relative;
  width: 100%;
  overflow: visible;
  padding-bottom: 20px;
}

.features-slider {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 10px 0;
  width: calc(100% + 200px);
  margin-left: 0;
  cursor: grab;
}

.features-slider.grabbing {
  cursor: grabbing;
  transition: none;
}

.features-card {
  flex: 0 0 auto;
  width: 360px;
  min-width: 340px;
  overflow: hidden;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
  margin-right: 5px;
}

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

.features-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.features-card:hover img {
  transform: scale(1.05);
}

.features-card-content {
  padding: 24px;
  word-wrap: break-word;
}

/* Card Image Container */
.card-image-container {
  overflow: hidden;
  position: relative;
}

/* Slider Navigation */
.slider-navigation {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.nav-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #1147ea;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.nav-button:hover {
  background-color: #0e3bc5;
  transform: scale(1.1);
}

.nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Dashboard Image */
.content-col {
  padding-right: 30px;
}

.dashboard-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.dashboard-image {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  transform-origin: right center;
  transition: transform 0.5s ease;
}

.image-col:hover .dashboard-image {
  transform: scale(1.02);
}

/* Icons */
.icon-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #e5edff;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.features-card:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background-color: #f0f4ff;
}

.icon-svg {
  width: 32px;
  height: 32px;
  fill: #1147ea;
}

.svg-hover {
  color: #000;
  transition: 0.5s;
}

.svg-hover2 {
  color: #fff;
  transition: 0.5s;
}

.svg-hover:hover {
  color: #1147ea;
}

.svg-hover2:hover {
  color: #1147ea;
}

/* FAQ */
.faq-col {
  padding-left: 20px !important;
}

.faq-list {
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
}

.faq-question {
  position: relative;
  padding: 24px 40px 24px 0;
  font-size: 18px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #1147ea;
}

.arrow-icon {
  position: absolute;
  right: 0;
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded='true'] {
  color: #1147ea;
}

.faq-question[aria-expanded='true'] .arrow-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #474747;
  visibility: visible;
}

/* Footer */
.footer-logo {
  width: 110px;
  height: auto;
}

.footer-link {
  color: #676767;
  text-decoration: none;
  transition: 0.5s;
}

.footer-link:hover {
  color: #1147ea;
}

.separator-white {
  color: rgba(255, 255, 255, 0.5);
}

/* Buttons */
.top-pill {
  background-color: rgba(244, 175, 26, 0.1);
  color: #f4af1a;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 24px;
  display: inline-block;
}

.button-primary {
  position: relative;
  background-color: #1147ea;
  color: #fff;
  padding: 16px 20px;
  text-decoration: none;
  letter-spacing: -0.16px;
  font-weight: 500;
  min-width: 80px;
  border-radius: 100px;
  transition: border-color 0.5s;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  cursor: pointer;
}

.button-white {
  position: relative;
  background-color: #fff;
  color: #1147ea;
  padding: 16px 20px;
  text-decoration: none;
  letter-spacing: -0.16px;
  font-weight: 500;
  min-width: 80px;
  border-radius: 100px;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  cursor: pointer;
  transition: border-color 0.5s;
}

.button-primary-xs {
  position: relative;
  background-color: #1147ea;
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  letter-spacing: -0.1px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 100px;
  transition: border-color 0.5s;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  cursor: pointer;
}

.button-secondary {
  position: relative;
  text-align: center;
  min-width: 150px;
  background-color: transparent;
  color: #1147ea;
  padding: 16px 20px;
  text-decoration: none;
  letter-spacing: -0.16px;
  font-weight: 500;
  border: 1px solid #1147ea;
  border-radius: 100px;
  transition:
    color 0.5s,
    border-color 0.5s;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  cursor: pointer;
}

.button-secondary-xs {
  position: relative;
  text-align: center;
  min-width: 80px;
  background-color: transparent;
  color: #1147ea;
  padding: 10px 16px;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: -0.1px;
  font-weight: 700;
  border: 1px solid #1147ea;
  border-radius: 100px;
  transition:
    color 0.5s,
    border-color 0.5s;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  cursor: pointer;
}

.button-white:hover,
.button-primary:hover,
.button-primary-xs:hover,
.button-secondary:hover,
.button-secondary-xs:hover {
  transform: scale(1.05); /* Grossissement au hover */
  transition: transform 0.3s ease;
}

.button-white::after,
.button-primary::after,
.button-primary-xs::after,
.button-secondary::after,
.button-secondary-xs::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    255,
    255,
    255,
    0.08
  ); /* Léger fond blanc transparent */
  border-radius: inherit;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.button-white:hover::after,
.button-primary:hover::after,
.button-primary-xs:hover::after,
.button-secondary:hover::after,
.button-secondary-xs:hover::after {
  opacity: 1;
}

/* PART 2 */
h1.h1 {
  font-size: 58px !important;
  letter-spacing: -2px !important;
}

h2.h2 {
  font-size: 48px;
}

@media (max-width: 767px) {
  h1.h1 {
    font-size: 40px !important;
    letter-spacing: -1.2px !important;
  }
  h2.h2 {
    font-size: 40px !important;
    letter-spacing: -1.2px !important;
  }
}

/* CSS - Solution finale avec disparition complète aux bords */

.partners-wrapper {
  width: 100%;
  padding: 20px 0;
  text-align: center;
  position: relative;
  margin: 0 auto;
}

.powered-by-label {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 15px;
  color: rgba(0, 0, 0, 0.7);
}

/* Container avec masques sur les côtés */
.marquee-container {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  /* Masques de fondu critiques pour la disparition */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

/* Piste d'animation des logos */
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: infinite-scroll 30s linear infinite;
}

/* Effet au survol - pause animation */
.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

/* Animation de défilement continu */
@keyframes infinite-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Chaque élément logo */
.logo-box {
  flex: 0 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* Style des logos */
.logo-box img {
  max-height: 24px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.5s ease;
}

/* Effet au survol des logos */
.logo-box:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .marquee-container {
    height: 70px;
  }

  .logo-box {
    padding: 0 30px;
  }

  .logo-box img {
    max-height: 18px;
  }
}

@media (max-width: 576px) {
  .marquee-container {
    height: 60px;
  }

  .logo-box {
    padding: 0 25px;
  }

  .logo-box img {
    max-height: 24px;
  }

  /* Ajuster les masques pour les petits écrans */
  .marquee-container {
    mask-image: linear-gradient(
      to right,
      transparent,
      black 20%,
      black 80%,
      transparent
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent,
      black 20%,
      black 80%,
      transparent
    );
  }
}

/* CSS pour les cards de produit */

/* Couleur d'arrière-plan bleu clair */
.bg-light-blue {
  background-color: #e6f0ff;
}

/* Style des cards */
.product-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Style pour les logos produits */
.product-logo {
  max-height: 30px;
  width: auto;
}

/* Style des notifications */
.subscription-notification,
.paylink-notification {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.subscription-notification:hover,
.paylink-notification:hover {
  transform: scale(1.02);
}

/* Style pour les icônes flottantes */
.floating-icon {
  z-index: 1;
  transition: transform 0.5s ease;
  animation: float 6s ease-in-out infinite;
}

.discord-icon {
  bottom: -15px;
  right: 20px;
}

.telegram-icon {
  bottom: -15px;
  right: 20px;
}

/* Animation flottante */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Style du bouton primary */
.btn-primary {
  background-color: #0d6efd;
  border: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* Styles responsifs pour mobile */
@media (max-width: 767.98px) {
  /* Version horizontale pour mobile */
  .product-card {
    display: flex;
    flex-direction: row;
    height: auto !important;
  }

  .product-card .card-header {
    width: 40%;
    border-radius: 0.5rem 0 0 0.5rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .product-card .card-body {
    width: 60%;
    padding: 1.25rem !important;
  }

  /* Ajustements des notifications pour la version mobile */
  .subscription-notification,
  .paylink-notification {
    font-size: 0.8rem;
    padding: 0.5rem !important;
  }

  .notification-avatar img {
    width: 30px;
    height: 30px;
  }

  /* Taille réduite des icônes flottantes */
  .floating-icon img {
    width: 50px;
    height: 50px;
  }

  .discord-icon {
    bottom: 10px;
    right: 10px;
  }

  .telegram-icon {
    bottom: 10px;
    right: 10px;
  }

  /* Ajustement du titre et texte */
  .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem !important;
  }

  .card-text {
    font-size: 0.85rem;
    margin-bottom: 1rem !important;
  }

  /* Ajustement du bouton */
  .btn {
    padding: 0.375rem 1rem !important;
    font-size: 0.875rem;
  }
}

/* CSS pour les cards de produit */

/* Couleur d'arrière-plan bleu clair */
.bg-light-blue {
  background-color: #e6f0ff;
}

/* Style des cards */
.product-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Style pour les logos produits */
.product-logo {
  max-height: 30px;
  width: auto;
}

/* Style des notifications */
.subscription-notification,
.paylink-notification {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.subscription-notification:hover,
.paylink-notification:hover {
  transform: scale(1.02);
}

/* Style pour les icônes flottantes */
.floating-icon {
  z-index: 1;
  transition: transform 0.5s ease;
  animation: float 6s ease-in-out infinite;
}

.discord-icon {
  bottom: -15px;
  right: 20px;
}

.telegram-icon {
  bottom: -15px;
  right: 20px;
}

/* Animation flottante */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Style du bouton primary */
.btn-primary {
  background-color: #0d6efd;
  border: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* Styles responsifs pour mobile */
@media (max-width: 767.98px) {
  /* Version horizontale pour mobile */
  .product-card {
    display: flex;
    flex-direction: row;
    height: auto !important;
  }

  .product-card .card-header {
    width: 40%;
    border-radius: 0.5rem 0 0 0.5rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .product-card .card-body {
    width: 60%;
    padding: 1.25rem !important;
  }

  /* Ajustements des notifications pour la version mobile */
  .subscription-notification,
  .paylink-notification {
    font-size: 0.8rem;
    padding: 0.5rem !important;
  }

  .notification-avatar img {
    width: 30px;
    height: 30px;
  }

  /* Taille réduite des icônes flottantes */
  .floating-icon img {
    width: 50px;
    height: 50px;
  }

  .discord-icon {
    bottom: 10px;
    right: 10px;
  }

  .telegram-icon {
    bottom: 10px;
    right: 10px;
  }

  /* Ajustement du titre et texte */
  .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem !important;
  }

  .card-text {
    font-size: 0.85rem;
    margin-bottom: 1rem !important;
  }

  /* Ajustement du bouton */
  .btn {
    padding: 0.375rem 1rem !important;
    font-size: 0.875rem;
  }
}

/* Hero Section */
.section-router,
.section-router-mobile {
  position: relative;
  overflow: hidden;
}

.section-router::before,
.section-router-mobile::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    -45deg,
    #fef8ec 0%,
    #feebc5 25%,
    #f9faff 50%,
    #cde3fc 75%,
    #fff8e6 100%
  );
  background-size: 400% 400%;
  animation: gradientMovement 10s ease infinite;
  z-index: -1;
  transform-origin: center;
}

.section-router::after,
.section-router-mobile::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 45%,
    rgba(255, 252, 247, 0.8) 100%
  );
  opacity: 0.8;
  z-index: -1;
  animation: pulseEffect 1s ease-in-out infinite alternate;
}

.router-card {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}

.router-card-content {
  padding: 0 32px 32px 32px;
}



.buttons-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.platform-button {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 80px;
}

.platform-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    z-index: 2;
    border-radius: 80px;
}

.platform-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.platform-button:hover::before {
    left: 100%;
}

.button-image {
    display: block;
    height: 60px;
    width: auto;
    max-width: 250px;
    border-radius: 80px;
    transition: all 0.3s ease;
}

.contract-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.contract-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.contract-input-container {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contract-input-container:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.contract-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    outline: none;
}

.contract-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.copy-button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.2rem;
}

.copy-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.copy-button.copied {
    background: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.copied-animation {
    animation: bounce 0.6s;
}

@media (max-width: 768px) {
    .buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .platform-button {
        width: auto;
        max-width: 280px;
    }
    
    .button-image {
        height: 65Px;
        width: auto;
        min-width: 200px;
        max-width: 280px;
    }
    
    .main-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: 1.5rem;
    }
    
    .subtitle {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    .contract-section {
        margin: 0 3rem;
        padding: 1.5rem;
    }
}


.coin-top-right {
    top: 25%;
    right: 10%;
    width: 230px;
    height: auto;
    rotate: 30deg;
}