/* ===== RESET ===== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: 'Segoe UI', sans-serif;
}



body{margin:0;font-family:system-ui, -apple-system, BlinkMacSystemFont;background: linear-gradient(135deg,#061a3a,#0b3570,#0e4a8a);color:#fff;min-height:100vh; overflow-x:hidden;}


/* ================= HEADER ================= */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);

  position: relative;
  z-index: 6;
}

/* ================= BRAND ================= */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo */
.logo img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 50%;

  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Texte */
.brand-text h1 {
  margin: 1px;
  font-size: 22px;
  color: #e6fff6;
  font-weight: 700;
   text-align: center;
}

.brand-text p {
  margin: 3px 0 0;
  font-size: 11px;
  color: var(--muted);
  opacity: 0.6;

  /* ✅ CENTRAGE */
  text-align: center;
}

/* ================= LOGIN LINK ================= */
.login-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;

  font-size: 14px;
  color: var(--muted);
}

/* lien bouton */
.login-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;

  padding: 6px 12px;
  border-radius: 8px;

  transition: all 0.25s ease;
}

/* hover PRO */
.login-link a:hover {
  background: rgba(0, 255, 231, 0.1);
  color: #00ffe7;
}


/* ===== CARD ===== */
.card-pro{
  width:90%;
  max-width:600px;
  margin:20px auto;
  padding:30px;
  border-radius:15px;
  background:#071f3a;
  box-shadow:0 15px 40px rgba(0,0,0,.4);
  border:2px solid rgba(0,255,255,0.1);
}

.card-head{
  text-align:center;
  margin-bottom:25px;
}

/* ===== TITLE ===== */
.card-title{
  font-size:22px;
  font-weight:600;
  letter-spacing:0.6px;
  color:#e6f7ff;
  margin-bottom:8px;
  text-shadow:0 0 8px rgba(0,255,255,0.25);
}

/* ===== SEPARATOR ===== */
.separator{
  width:50px;
  height:2px;
  margin:10px auto 12px;

  background:linear-gradient(
    90deg,
    transparent,
    #00ffe7,
    transparent
  );

  opacity:0.8;
}

/* ===== HINT (SANS FOND) ===== */
.hint{
  font-size:12.5px;
  color:#a8cbdc;
  line-height:1.5;
  max-width:420px;
  margin:0 auto;
  opacity:0.9;
}


/* ===== STEPPER ===== */
.stepper{
  display:flex;
  justify-content:space-between;
  margin-bottom:30px;
}

.step {
  text-align: center;
  font-size: 12px;
  opacity: 0.5;
  font-weight: 600; 
}


.step.active{
  opacity:1;
  color:#00ffe7;
}

.circle{
  width:30px;
  height:30px;
  border-radius:50%;
  border:2px solid #00ffe7;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:auto;
  margin-bottom:5px;
}

.step.active .circle{
  background:#00ffe7;
  color:#000;
}

/* ===== FORM ===== */
.form-step{
  display:none;
}

.form-step.active{
  display:block;
  animation:fade 0.5s ease;
}

@keyframes fade{
  from{opacity:0; transform:translateY(20px);}
  to{opacity:1; transform:translateY(0);}
}

/* ===== INPUT ===== */
.input-pro{
  position:relative;
  margin-bottom:20px;
}

.input-pro input,
.input-pro select{
  width:100%;
  padding:12px;
  border:none;
  outline:none;
  background:#0a1a33;
  color:#fff;
  border-radius:8px;
  border:1px solid rgba(0,255,255,0.2);
}

.input-pro label{
  position:absolute;
  left:12px;
  top:12px;
  font-size:12px;
  color:#aaa;
  transition:0.3s;
  pointer-events:none;
}

.input-pro input:focus + label,
.input-pro input:not(:placeholder-shown) + label,
.input-pro select:focus + label{
  top: -12px;
  font-size:12px;
  color:#00ffe7;
}


.btn-pro:hover{
  box-shadow:0 0 15px #00ffe7;
}

.btn-secondary{
  padding:10px;
  border:none;
  background:#333;
  color:#fff;
  border-radius:10px;
  cursor:pointer;
}


.row-horizontal{
  display: flex;
  gap: 12px;
}

.field-small{
  flex: 0 0 100px;
}

.field-grow{
  flex: 3;
}



/* ===== ACTIONS ===== */
.step-actions{
  display:flex;
  justify-content:space-between;
  gap:10px;
}

/* ===== PASSWORD ===== */
.toggle-pass{
  position:absolute;
  right:10px;
  top:11px;
  background:none;
  border:none;
  font-size:18px;
  color: #C4C9CE ;
  cursor:pointer;
}

/* ===== STRENGTH BAR ===== */
.password-strength{
  height:5px;
  background:#111;
  border-radius:5px;
  margin-bottom:15px;
}

.bar{
  height:100%;
  width:0%;
  border-radius:5px;
  transition:0.3s;
}

/* ===== OTP ===== */
.otp-box{
  text-align:center;
}

.otp-box i{
  font-size:40px;
  color:#00ffe7;
}

.otp-box input{
  margin-top:15px;
  text-align:center;
  font-size:20px;
  letter-spacing:5px;
}


/* NOTE STEP */
.note-step{
  font-size:10px;
  margin-top:15px;
  color:#bbb;
  background:rgba(0,255,255,0.05);
  
  padding:8px;
  border-radius:6px;
}

/* FOOTER NOTE */
.card-footer-note{
  margin-top:25px;
  padding-top:15px;
  font-size:12px;
  color:#aaa;
  border-top:1px solid rgba(255,255,255,0.1);
  text-align:center;
}

.card-footer-note em{
  opacity:0.8;
}



/* ===== NOTE DISCRÈTE ===== */
.note-step{
  font-size:11.5px;
  color:#9fb3c8;
  line-height:1.4;

  margin:10px 0 10px;
  padding-top:10px;

  border-top:1px solid rgba(255,255,255,0.08);
}

/* "Note :" un peu plus visible */
.note-step strong{
  color:#cfefff;
  font-weight:500;
}

/* léger style pro */
.note-step{
  opacity:0.85;
}



/* ===== OTP BOX ===== */
.otp-box{
  text-align:center;
  padding:20px 10px;
}

/* ===== ICON ===== */
.otp-icon{
  width:60px;
  height:60px;
  margin:0 auto 15px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;
  background:rgba(0,255,255,0.08);
  border:1px solid rgba(0,255,255,0.3);

  box-shadow:0 0 15px rgba(0,255,255,0.2);
}

.otp-icon i{
  font-size:26px;
  color:#00ffe7;
}

/* ===== TITLE ===== */
.otp-box h3{
  font-size:18px;
  font-weight:600;
  margin-bottom:6px;
  color:#e6f7ff;
}

/* ===== HINT ===== */
.otp-hint{
  font-size:12px;
  color:#9fb3c8;
  margin-bottom:15px;
}

/* ===== INPUT OTP ===== */
.otp-input{
  width:180px;
  text-align:center;
 font-family:monospace;
  letter-spacing:10px;
  font-size:22px;
  letter-spacing:6px;

  padding:10px;
  border-radius:10px;

  border:1px solid rgba(0,255,255,0.4);
  background:#10264d;
  color:#fff;

  outline:none;
  transition:0.3s;
}

.otp-input:focus{
  border-color:#00ffe7;
  box-shadow:0 0 15px rgba(0,255,255,0.5);
}

/* placeholder stylé */
.otp-input::placeholder{
  color:#5f7f99;
  letter-spacing:6px;
}




/* 1. LE FOND (FULL SCREEN PROPRE) */
.modal-pro {
  display: none; /* activé en flex via JS */
  position: fixed;
  z-index: 100;
  inset: 0;

  background: rgba(0, 0, 0, 0.7); /* léger ajustement pour visibilité */
  backdrop-filter: blur(8px);

  align-items: center;
  justify-content: center;

  padding: 20px; /* 🔥 espace autour → ne touche pas les bords */
}

/* 2. LA CARTE (CENTRÉE PARFAITEMENT) */
.modal-card {
  background: #0f172a;
  width: 100%;
  max-width: 500px;

  padding: 40px 30px;
  border-radius: 20px;

  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 50px rgba(0,0,0,0.5);

  text-align: center;

  animation: modalPop 0.4s ease-out;

  max-height: 90vh;
  overflow-y: auto;
}

/* Animation */
@keyframes modalPop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* 3. TEXTES */
.modal-card h2 {
  color: #fff;
  font-size: 22px;
  margin: 10px 0 5px;
}

.marketing-text {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* 4. BOX PROMO */
.promo-box {
  background: rgba(0, 255, 136, 0.04);
  border: 1px dashed rgba(0, 255, 136, 0.3);
  border-radius: 20px;

  padding: 15px;
  margin: 15px 0;

  text-align: left;
}

.promo-item {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.promo-item:last-child {
  margin-bottom: 0;
}

.promo-item i {
  color: #00ff88;
  font-size: 20px;
  min-width: 25px;
}

.promo-item span {
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.5;
}

/* 5. ICON */
.success-icon {
  font-size: 60px;
  color: #00ff88;
}

/* 6. BOUTON */
.btn-pro {
  background: #00ff88;
  color: #0f172a;
  width: 100%;

  padding: 14px;
  border-radius: 15px;

  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

/* 7. FOOTER NOTE */
.modal-footer-note {
  color: #94a3b8;
  font-size: 13px;
  margin-top: 15px;
}










/* CONTAINER */
.signup-footer {
  margin-top: -30px;
  padding: 40px 20px;
  background: transparent;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
}

/* TITRES */
.broker-main-title {
  text-align: center;
  font-size: 18px;
  color: #fff;
}

.highlight {
  color: #00ff88;
}

.broker-subtitle {
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 5px;
}

/* BROKERS */
.broker-circle-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
   gap: 15px 10px;
  margin-top: 20px;
}



.broker-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border:none;
  transition: all 0.3s ease;
}

.broker-circle img {
 width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: none;
}

.broker-circle:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,255,136,0.15);
}

.broker-circle.more {
  color: #00ff88;
  font-weight: bold;
  border: 1px dashed #38bdf8;
}

/* DIVIDER */
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.05);
  margin: 15px 0;
}

/* TRUST */
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.trust-card {
  max-width: 260px;
  text-align: center;
}

.trust-card i {
  font-size: 24px;
  color: #00ff88;
  margin-bottom:4px;
}

.trust-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-top: 10px;
}

.trust-card p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}

/* BADGE */
.trust-badge {
  margin-top: 20px;
  font-size: 12px;
  color: #00ff88;
  text-align: center;
  opacity: 0.8;
  text-transform: uppercase; 
   letter-spacing: 1px; 
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
}

.footer-links a:hover {
  color: #00ff88;
}

/* TELEGRAM */
.tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(0,255,136,0.1);
  transition: 0.3s;
}


.tg-btn { animation: pulse-blue 2s infinite; }
@keyframes pulse-blue { 
  0% { box-shadow: 0 0 0 0 rgba(34, 158, 217, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(34, 158, 217, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 158, 217, 0); }
}

.tg-btn:hover {
  background: #00ff88;
  color: #000;
}

/* TEXT */
.footer-copy {
  margin-top: 16px;
  font-size: 12px;
  color: #64748b;
}

.footer-note {
  font-size: 14px;
  color: #64748b;
  margin-top: 5px;
}