/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*outline: 1px solid red;  pour voir les limites de chaque élément */
}
html, body {
    width: 100%;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
}
body {
    /*background-image: linear-gradient(to top, #d9afd9 0%, #97d9e1 100%);*/
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    overflow-x: hidden;
}
a {
    text-decoration: none !important;
}
/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 1rem;
    transition: all 0.3s ease;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #00c2ff, #745cc7);
    background: #21a5ef;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}
.nav-links a:hover {
    color: #21a5ef;
}
/* BTN CONNEXION */
div.container_btn {
  text-align: center;
}
.btn {
  position: relative;
  color: white;
  width: 156px;
  height: 45px;
  line-height: 42px;
  transition: all 0.3s;
  span {
    transition: all 0.3s;
    tranform: scale(1, 1);
  }
  border-radius: 15px;
}
.btn::before, .btn::after {
  content: '';
  position: absolute;
  transition: all 0.3s;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.btn-two::before, .btn-two::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  z-index: 1;
  transition: all 0.3s;
  border: 1px solid #21a5ef;
  cursor: pointer;
  border-radius: 25px;
}
.btn-two:hover::after {
  animation-name: rotatecw;
  animation-duration: 2s;
}
.btn-two:hover::before {
  animation-name: rotateccw; 
  animation-duration: 3s;
}
.btn-two:hover::after, .btn-two:hover::before {
  left: 46px;
  width: 64px;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.btn-two span.icon {
  display: none;
}
.btn-two:hover span.text {
  display: none;
}
.btn-two:hover span.icon {
  display: block;
  font-size: 22px;
}
@keyframes rotatecw {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}

@keyframes rotateccw {
    from {transform: rotate(0deg);}
    to {transform: rotate(-360deg);}
}
/* Section Hero avec animations de pièces */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}
.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(270deg,
        #00c2ff,
        #745cc7 25%,
        #00c2ff 50%,
        #745cc7 75%,
        #00c2ff);
    background: #00c2ff;
    animation: masked-animation-dJ4YfG 10s linear infinite;
    transform: translate(0px, 0px);
    -webkit-background-clip: text;
    background-size: 200% 100%;
    font-weight: 700;
    line-height: 1.4;
    -webkit-text-fill-color: transparent;
    animation: masked-animation-dJ4YfG 10s linear infinite;
    text-transform: uppercase;
}
@keyframes masked-animation-dJ4YfG {
    0%{background-position: 0 0}
    to{background-position: -100% 0}
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}
/* BTN ACTION */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}
.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary {
    background: linear-gradient(45deg, #00c2ff, #745cc7);
    color: #000;
}
.btn-primary:hover {
    transform: translateY(-3px);
    color: #ffffff;
}
.btn-secondary {
    color: #ffffff;
    border: 2px solid #6a64cb;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}
/* Pièces animées en arrière-plan */
.floating-coins {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.master-coin {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 900px;
    height: 900px;
    margin: -450px 0 0 -450px;
    border-radius: 50%;
    border: 4px solid #fbf5f3;
    box-shadow: 0 0 30px #fbf5f3, inset 0 0 30px rgba(0, 0, 0, 0.3), inset 0 0 60px rgba(255, 255, 255, 0.2);
    animation: coin-3d-rotate 8s linear infinite;
    opacity: 0.4;
}
@keyframes coin-3d-rotate {
    0% { transform: rotateY(0deg) rotateX(15deg) scale(1); }
    25% { transform: rotateY(90deg) rotateX(15deg) scale(0.8); }
    50% { transform: rotateY(180deg) rotateX(15deg) scale(0.6); }
    75% { transform: rotateY(270deg) rotateX(15deg) scale(0.8); }
    100% { transform: rotateY(360deg) rotateX(15deg) scale(1); }
}
.coin {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform-style: preserve-3d;
}
.coin-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    backface-visibility: hidden;
}
.coin-face.front {
    transform: rotateY(0deg);
}
.coin-face.back {
    transform: rotateY(180deg);
}

/* Sections principales */
.section {
    padding: 4rem 2rem;
    margin: 0 auto;
}
.section-first {
    margin-top: 60px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.features-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: #21a5ef;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.features-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}
/* Fonctionnalités */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0rem;
}
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.8rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid #555;
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
}
.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #00c2ff, #745cc7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #1e1e2d;
    transition: all 0.3s ease;
}
.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: #21a5ef;
}
.feature-card p {
    text-align: center;
    color: #cccccc;
    line-height: 1.6;
}
 .features-showcase {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 1.8rem;
    border: 1px solid #555;
    backdrop-filter: blur(20px);
}
.showcase-content {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    gap: 1rem;
    align-items: center;
}
.showcase-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #21a5ef;
}
.showcase-text p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.showcase-list {
    list-style: none;
}
.showcase-list li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #ffffff;
}
.showcase-list i {
    color: #21a5ef;
    margin-right: 1rem;
    font-size: 1.2rem;
}
.showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
}
.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}
.floating-card {
    position: absolute;
    animation: floatCard 3s ease-in-out infinite;
    display: flex;
    align-items: center;
}
.floating-card:nth-child(1) {
    top: 12%;
    left: calc(50% - 42px);
    animation-delay: 0s;
}
.floating-card:nth-child(2) {
    top: 37%;
    right: calc(50% - 145px);
    animation-delay: 1s;
}
.floating-card:nth-child(3) {
    top: 50%;
    left: calc(50% - 165px);
    animation-delay: 3s;
}
.floating-card:nth-child(4) {
    bottom: 0;
    left: calc(50% - 92px);
    animation-delay: 2s;
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}
/* Plans d'abonnement */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid #555;
    transition: all 0.3s ease;
    position: relative;
}
.pricing-card:hover {
    border-color: #ffffff !important;
}
.pricing-card.featured:hover::before {
    background: #ffffff;
}
.pricing-card.featured {
    border-color: #21a5ef;
    transform: scale(1.05);
}
.pricing-card.featured::before {
    content: "POPULAIRE";
    position: absolute;
    top: -2px;
    right: -1px;
    background: #21a5ef;
    color: #0f0f23;
    padding: 0.5rem 1rem;
    border-radius: 0px 15px 0px 15px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
}
.pricing-card h3{
    font-size: 2rem;
    color: #21a5ef;
}
.price {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin: 1rem 0 0 0;
}
.price-period {
    font-size: 1rem;
    opacity: 0.7;
}
.features-list {
    list-style: none;
    margin: 2rem;
    text-align: left;
}
.features-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}
 .features-list li:last-child {
    border-bottom: none;
}
 .features-list i {
    color: #21a5ef;
    margin-right: 1rem;
    width: 20px;
}
.subscribe-btn {
    background: linear-gradient(45deg, #00c2ff, #745cc7);
    color: #0f0f23;
    padding: 0.7rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1.2rem;
}
.subscribe-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
}
 /* Roadmap Section */
.roadmap {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
}
.roadmap-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}
.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #21a5ef, transparent);
    transform: translateX(-50%);
}
.roadmap-item {
    position: relative;
    margin-bottom: 3rem;
    width: 45%;
}
.roadmap-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
.roadmap-item:nth-child(odd) .roadmap-icon {
    margin-left: 1.5rem;
    order: 1;
}
.roadmap-item:nth-child(even) {
    left: 55%;
    text-align: left;
}
 .roadmap-item:nth-child(even) .roadmap-icon {
    margin-right: 1.5rem;
}
.roadmap-content {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.roadmap-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 10px;
}
.completed .roadmap-icon {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
}
.active .roadmap-icon
{
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #000;
}
.upcoming .roadmap-icon {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
}
.roadmap-details {
    flex: 1;
}
.roadmap-date {
    color: #21a5ef;
    font-weight: 600;
    font-size: 0.9rem;
}
.roadmap-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}
.roadmap-description {
    color: #cccccc;
    font-size: 0.9rem;
}
/* Footer */
.footer {
    background: rgba(15, 15, 35, 0.95);
    padding: 2rem 0;
    text-align: center;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section {
    flex: 1 1 250px;     
    padding: 10px;
    text-align: center;
}
.footer-section h3 {
    color: #21a5ef;
    margin-bottom: 1rem;
}
.footer-section p, .footer-section a {
    color: #cccccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}
.footer-section a {
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}
.footer-section a:hover {
    color: #21a5ef;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: #666;
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatAndFlip {
    0% {
        transform: translateY(0px) rotateY(0deg);
    }
    25% {
        transform: translateY(-30px) rotateY(180deg);
    }
    50% {
        transform: translateY(-15px) rotateY(360deg);
    }
    75% {
        transform: translateY(-40px) rotateY(540deg);
    }
    100% {
        transform: translateY(0px) rotateY(720deg);
    }
}

/* Responsive */
/* Mobile first */
@media (max-width: 480px) { ... }         /* Téléphones */
@media (min-width: 481px) and (max-width: 767px) { ... }  /* Mobiles larges */
@media (min-width: 768px) and (max-width: 1024px) { ... } /* Tablettes */
@media (min-width: 1025px) and (max-width: 1280px) { ... }/* Laptops */
@media (min-width: 1281px) { ... }        /* Desktops */
@media (max-width: 768px) {
    .section {
        padding: 2rem 1rem
    }
    .section h2 {
        font-size: 2.2rem;
    }
    .features-header {
        margin-bottom: 2rem;
    }
    .hero {
        padding: 90px 1rem 2rem 1rem;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .btn-primary, .btn-secondary {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
    }
    .master-coin {
        width: 220px;
        height: 220px;
        margin: -150px 0 0 -110px;
    }
    .navbar {
        padding: 1rem 0.5rem;
    }
    .nav-links {
        display: none;
    }
    /* BTN CONNEXION */
    div.container_btn {
      text-align: center;
    }
    .btn {
      position: relative;
      color: white;
      width: 156px;
      height: 42px;
      line-height: 45px;
      transition: all 0.3s;
      span {
        transition: all 0.3s;
        tranform: scale(1, 1);
      }
      border-radius: 25px;
    }
    .btn::before, .btn::after {
      content: '';
      position: absolute;
      transition: all 0.3s;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }
    .btn-two::before, .btn-two::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      bottom: 0;
      left: 0;
      z-index: 1;
      transition: all 0.3s;
      border: 1px solid #21a5ef;
      cursor: pointer;
      border-radius: 25px;
    }

    .btn-two::after {
      animation-name: rotatecw;
      animation-duration: 2s;
    }
    .btn-two::before {
      animation-name: rotateccw; 
      animation-duration: 3s;
    }
    .btn-two::after, .btn-two::before {
      left: 80px;
      width: 64px;
      animation-iteration-count: infinite;
      animation-timing-function: linear;
    }
    .btn-two:hover::after, .btn-two:hover::before {
        left: 80px;
    }
    .btn-two span.text {
      display: none;
    }
    .btn-two span.icon {
      display: block;
      font-size: 22px;
      position: absolute;
      right: 34px;

    }
    @keyframes rotatecw {
        from {transform: rotate(0deg);}
        to {transform: rotate(360deg);}
    }

    @keyframes rotateccw {
        from {transform: rotate(0deg);}
        to {transform: rotate(-360deg);}
    }
    .coin {
        font-size: 12px;
    }
    .coin3, .coin5, .coin6, .coin7, .coin8, .coin10, .coin12, .coin13, .coin14, .coin15 {
        display: none;
    }
    .showcase-content {
        grid-template-columns: none;
    }
    .showcase-visual {
        display: none;
    }
    /*ABO*/
    .pricing-card {
        padding: 2rem 1rem;
    }
    .features-list {
        margin: 1rem;
    }
    .features-list li {
        font-size: 0.95rem;
    }
    /*ROAD MAP*/
    .roadmap-timeline::before {
        left: 0px;
    }
    .roadmap-item {
        width: calc(100% - 30px);
        left: 30px !important;
        text-align: left !important;
    }
    .roadmap-item:nth-child(odd) .roadmap-icon {
        margin-right: 1.5rem;
        margin-left: 0;
        order: -1;
    }
    .roadmap-item:nth-child(even) .roadmap-icon {
        margin-right: 1.5rem;
        order: 0;
    }
}