/* =========================================
   FRACTYS — Fractus Access Styles
   Version : 1.5 (Full Mobile Fix + Grid Override)
   Auteur : Marc Cedrych
   ========================================= */

:root {
  --bg: #000;
  --fg: #e6fff7;
  --accent: #7fffd4;
  --card: #0f1016;
}

/* ------------ RESET & CONTAINER FIX ------------ */
body.fractus-access {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  -webkit-font-smoothing: antialiased;
}

/* Neutraliser le container global de la home */
body.fractus-access main {
  display: block !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: calc(var(--nav-h, 58px) + 60px) 20px 80px !important;
  background: var(--bg);
  overflow-x: hidden;
}

/* ------------ HEADER ------------ */
.access-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 720px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}
.access-header h1 {
  font-size: 2.3rem;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-shadow: 0 0 20px rgba(127,255,212,0.4);
}

/* ------------ GRID ------------ */
.license-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
  justify-items: center;
  align-items: stretch;
  width: 100%;
  padding: 0 10px;
}

/* ------------ CARDS ------------ */
.license-card {
  background: var(--card);
  border: 1px solid rgba(127,255,212,0.12);
  border-radius: 16px;
  padding: 28px 24px 36px;
  text-align: center;
  box-shadow: 0 0 25px rgba(127,255,212,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  max-width: 320px;
}
.license-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(127,255,212,0.25);
}
.license-card h2 {
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.license-card p {
  line-height: 1.5;
  opacity: 0.9;
  font-size: 0.95rem;
}
.price {
  font-weight: bold;
  color: var(--accent);
  margin: 18px 0 14px;
  font-size: 1.1rem;
}

/* ------------ BOUTON ------------ */
.btn.glow, .btn-license {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 10px;
  background: rgba(127,255,212,0.08);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(127,255,212,0.2) inset;
}
.btn.glow:hover, .btn-license:hover {
  background: var(--accent);
  color: #000;
  box-shadow:
    0 0 22px rgba(127,255,212,0.55),
    inset 0 0 8px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

/* ------------ FOOTER ------------ */
.license-footer {
  text-align: center;
  margin-top: 60px;
  opacity: 0.9;
  line-height: 1.6;
  color: var(--fg);
  font-size: 0.95rem;
}
.license-footer small {
  color: rgba(200,255,240,0.75);
}

/* ------------ FRACTAL ICON GLOW ------------ */
.icon-fractal {
  color: var(--accent);
  filter: drop-shadow(0 0 8px rgba(127,255,212,0.6))
          drop-shadow(0 0 16px rgba(127,255,212,0.4))
          drop-shadow(0 0 30px rgba(127,255,212,0.25));
  animation: iconPulse 5s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(127,255,212,0.5))
            drop-shadow(0 0 16px rgba(127,255,212,0.3));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(127,255,212,1))
            drop-shadow(0 0 28px rgba(127,255,212,0.6))
            drop-shadow(0 0 40px rgba(127,255,212,0.3));
  }
}

/* ------------ RESPONSIVE FIX ------------ */
@media (max-width: 980px) {
  .license-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .license-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
    justify-items: center;
  }
  .license-card {
    max-width: 90%;
  }
  .access-header h1 {
    font-size: 1.8rem;
  }
  .access-header p {
    font-size: 0.95rem;
    padding: 0 10px;
  }
}
#status-box {
  margin-top:30px;
  padding:20px 25px;
  border-radius:14px;
  background:rgba(0,0,0,0.65);
  color:#7fffd4;
  font-family:"Courier New", monospace;
  font-size:1.05rem;
  line-height:1.6;
  text-align:left;
  box-shadow:0 0 25px rgba(127,255,212,0.45),
             0 0 50px rgba(127,255,212,0.2);
  display:none;
  transition:all .4s ease;
  max-width:780px;
  margin-left:auto;
  margin-right:auto;
  white-space:pre-line;
}
#status-box strong {
  font-size:1.2rem;
  color:#00ffc6;
}
.status-header {
  font-size:1.3rem;
  font-weight:bold;
  color:#00ffc6;
  text-align:center;
  margin-bottom:10px;
}
.status-nextstep {
  margin-top:8px;
  color:#bfffe9;
}
.status-contact {
  margin-top:12px;
  font-weight:bold;
  color:#aaffee;
}
.status-contact span {
  display:block;
  margin-top:4px;
  font-family:monospace;
}
