
/* Free Trial page only */

.trial-wrap{
  position: relative;
  min-height: 100vh;
  padding: 5.5rem 1rem 4rem;
  overflow: hidden;
}

/* ORIGINAL bright hero image */
.trial-wrap::before{
  content:"";
  position:absolute;
  inset:0;
  background: url('../assets/img/trial-hero-bg.jpg') center/cover no-repeat;
  z-index:0;
}

/* very light overlay only for readability */

/* light overlay only for readability on HERO */
.trial-wrap::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.18);
  z-index:0;
}


.trial-container{
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* =========================
   GOLDEN GALAXY FORM CARD
   ========================= */

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

@keyframes glowPulse {
  0%   { filter: blur(16px); opacity: .55; }
  50%  { filter: blur(22px); opacity: .95; }
  100% { filter: blur(16px); opacity: .55; }
}

/* Make the form card "rich": animated border + soft glow */


.trial-form{
  position: relative;
  border-radius: 22px;
  padding: 2.2rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,214,102,.45), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(140,200,255,.25), transparent 50%),
    radial-gradient(circle at 60% 85%, rgba(255,148,114,.28), transparent 55%),
    linear-gradient(180deg,
      rgba(42,26,10,.98),
      rgba(78,50,18,.97),
      rgba(30,18,8,.98)
    );
  box-shadow: 0 30px 90px rgba(0,0,0,.55), inset 0 0 40px rgba(255,214,102,.15);
  border: 1px solid rgba(255,214,102,.45);
  overflow: hidden;
  color: #fff;
}



/* Animated galaxy border */
.trial-form::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 24px;
  background: linear-gradient(
    120deg,
    rgba(255, 214, 102, 0.95),
    rgba(255, 148, 114, 0.85),
    rgba(140, 200, 255, 0.90),
    rgba(255, 214, 102, 0.95)
  );
  background-size: 300% 300%;
  animation: galaxyShift 6s ease-in-out infinite;
  z-index: 0;
}

/* Inner mask to keep border only */


/* Outer glow halo */
.trial-form .halo{
  position:absolute;
  inset:-24px;
  border-radius: 28px;
  background: radial-gradient(circle at 30% 25%,
      rgba(255,214,102,.65),
      rgba(255,214,102,0) 55%),
    radial-gradient(circle at 70% 30%,
      rgba(140,200,255,.55),
      rgba(140,200,255,0) 55%),
    radial-gradient(circle at 60% 75%,
      rgba(255,148,114,.50),
      rgba(255,148,114,0) 60%);
  animation: glowPulse 3.8s ease-in-out infinite;
  z-index: 0;
  pointer-events:none;
}

/* Keep actual content above masks */
.trial-form > *{
  position: relative;
  z-index: 2;
}

/* Headings */
.trial-form h2{
  text-align:center;
  margin: 0;
  letter-spacing: .2px;
}
.trial-form span{
  color:#8b6b22;
  text-shadow: 0 0 18px rgba(255,214,102,.45);
}
.trial-form p{
  text-align:center;
  margin:.6rem auto 1.35rem;
  max-width: 520px;
  opacity: .92;
}


/* subtle individual glow tones */
.trial-badges li:nth-child(1){box-shadow:0 0 20px rgba(255,214,102,.35), inset 0 0 20px rgba(255,214,102,.18)}
.trial-badges li:nth-child(2){box-shadow:0 0 20px rgba(140,200,255,.35), inset 0 0 20px rgba(140,200,255,.18)}
.trial-badges li:nth-child(3){box-shadow:0 0 20px rgba(255,148,114,.35), inset 0 0 20px rgba(255,148,114,.18)}


/* =========================
   Black shiny title + subtitle
   ========================= */

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

.trial-form h2{
  display: inline-block;
  padding: 10px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg,
    rgba(0,0,0,.92),
    rgba(25,25,35,.92),
    rgba(0,0,0,.92)
  );
  background-size: 200% 200%;
  animation: blackShine 6s ease-in-out infinite;
  box-shadow:
    0 0 20px rgba(0,0,0,.55),
    0 0 22px rgba(255,214,102,.18),
    inset 0 0 22px rgba(255,255,255,.06);
  border: 1px solid rgba(255,214,102,.28);
}

.trial-form h2 span{
  text-shadow: 0 0 18px rgba(255,214,102,.22);
}

.trial-form p{
  margin-top: 1rem;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg,
    rgba(0,0,0,.78),
    rgba(20,20,30,.78),
    rgba(0,0,0,.78)
  );
  box-shadow:
    0 0 16px rgba(0,0,0,.45),
    0 0 18px rgba(140,200,255,.14),
    inset 0 0 18px rgba(255,255,255,.05);
  border: 1px solid rgba(140,200,255,.22);
}


/* ===== Responsive safety fixes ===== */
.trial-form{max-width: 100%;}
.trial-form h2{max-width: 100%;}
.trial-form h2{display:block; width: fit-content; margin-left:auto; margin-right:auto;}
.trial-form p{max-width: 100%;}

/* Avoid horizontal overflow on small screens */
.trial-wrap, .trial-container, .trial-form, .trial-info, .trial-info .box{
  box-sizing: border-box;
}
.trial-form input, .trial-form select, .submit-btn{
  box-sizing: border-box;
}

/* Right column boxes should stay within width */
.trial-info .box{max-width:100%;}

/* Ensure grid collapses nicely and spacing works */
@media (max-width: 900px){
  .trial-container{grid-template-columns:1fr !important;}
  }

/* Tighten on very small screens */
@media (max-width: 420px){
  .trial-form{padding:1.25rem !important;}
  .trial-info .box{padding:1.25rem !important;}
  .trial-form h2{padding:10px 12px;}
  .trial-form p{padding:10px 12px;}
}


/* ===== Black rich glowing title/subtitle (responsive-safe) ===== */
.trial-form h2{
  display:block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto .75rem;
  padding: 10px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,0,0,.95), rgba(28,28,40,.92), rgba(0,0,0,.95));
  background-size: 220% 220%;
  animation: blackShine 6s ease-in-out infinite;
  box-shadow:
    0 0 22px rgba(0,0,0,.55),
    0 0 26px rgba(255,214,102,.22),
    0 0 18px rgba(140,200,255,.10),
    inset 0 0 22px rgba(255,255,255,.06);
  border: 1px solid rgba(255,214,102,.28);
  text-align:center;
}

.trial-form h2,
.trial-form h2 *{
  color:#fff;
}

.trial-form h2 span{
  background: linear-gradient(90deg,#ffd666,#ff9472,#8cc8ff,#ffd666);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShimmer 5.5s ease-in-out infinite;
  text-shadow: 0 0 18px rgba(255,214,102,.22);
}

.trial-form p{
  max-width: 560px;
  margin: 0 auto 1.25rem;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,0,0,.82), rgba(18,18,28,.78), rgba(0,0,0,.82));
  box-shadow:
    0 0 16px rgba(0,0,0,.45),
    0 0 18px rgba(140,200,255,.14),
    0 0 14px rgba(255,214,102,.12),
    inset 0 0 18px rgba(255,255,255,.05);
  border: 1px solid rgba(140,200,255,.22);
  color: #fff;
  text-align:center;
}

@media (max-width: 420px){
  .trial-form h2{padding:10px 12px;}
  .trial-form p{padding:10px 12px;}
}


/* =========================
   Layout fixes (form + info boxes)
   ========================= */

.trial-container{
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

/* Ensure columns don't overflow */
.trial-form, .trial-info, .trial-info .box{
  min-width: 0;
}

/* Form spacing */
.trial-form form{
  margin-top: 1rem;
}
.trial-form input,
.trial-form select{
  width:100%;
  display:block;
  padding: 12px 14px;
  margin: 10px 0;
  border-radius: 12px;
}

/* Submit button spacing */
.submit-btn{
  margin-top: 14px;
}

/* Right column boxes should be visible as cards */
.trial-info{
  display: grid;
  gap: 1rem;
}
.trial-info .box{
  background: rgba(0,0,0,.70);
  border: 1px solid rgba(255,214,102,.28);
  border-radius: 18px;
  padding: 1.6rem;
  color: #fff;
  box-shadow:
    0 20px 60px rgba(0,0,0,.35),
    inset 0 0 22px rgba(255,214,102,.10);
  backdrop-filter: blur(6px);
}

.trial-info .box h3{
  margin: 0 0 .75rem;
  font-weight: 800;
  letter-spacing: .2px;
  text-shadow: 0 0 14px rgba(255,214,102,.18);
}

.trial-info .box ul,
.trial-info .box ol{
  margin: 0;
  padding-left: 1.1rem;
}

.trial-info .box li{
  margin: .35rem 0;
}

.trial-info .box p{
  margin: .7rem 0 0;
  line-height: 1.35;
}

/* Mobile: stack cleanly */
@media (max-width: 900px){
  .trial-container{
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }
  .trial-form{
    order: 1;
  }
  .trial-info{
    order: 2;
  }
}

/* Small phones */
@media (max-width: 420px){
  .trial-info .box{padding: 1.25rem;}
}


/* =========================
   Galaxy CTA Button (shiny + spark)
   ========================= */

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

@keyframes btnSpark {
  0%   { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
  20%  { opacity: .95; }
  55%  { opacity: .85; }
  100% { transform: translateX(220%) skewX(-18deg); opacity: 0; }
}

.submit-btn{
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,214,102,.45);
  background: linear-gradient(120deg,
    rgba(0,0,0,.95),
    rgba(68,44,16,.98),
    rgba(255,214,102,.80),
    rgba(30,18,8,.98),
    rgba(0,0,0,.95)
  );
  background-size: 320% 320%;
  animation: galaxyBtnShift 5.8s ease-in-out infinite;
  color: #fff;
  text-shadow: 0 0 14px rgba(255,214,102,.25);
  box-shadow:
    0 18px 45px rgba(0,0,0,.40),
    0 0 28px rgba(255,214,102,.22),
    0 0 18px rgba(140,200,255,.12);
}

.submit-btn::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 16px;
  background: radial-gradient(circle at 20% 30%, rgba(255,214,102,.35), transparent 55%),
              radial-gradient(circle at 80% 70%, rgba(140,200,255,.22), transparent 60%);
  opacity: .9;
  pointer-events:none;
}

.submit-btn::after{
  content:"";
  position:absolute;
  top:-20%;
  left:-60%;
  width: 45%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  filter: blur(1px);
  opacity: .0;
  animation: btnSpark 2.6s ease-in-out infinite;
  pointer-events:none;
}

.submit-btn:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.submit-btn:active{
  transform: translateY(0);
}


/* ===== Bigger beautiful CTA button ===== */
.submit-btn{
  font-size: 1.15rem;
  padding: 18px 22px !important;
  border-radius: 18px;
  letter-spacing: .6px;
  font-weight: 800;
}

@media(max-width:600px){
  .submit-btn{
    font-size:1.05rem;
    padding:16px 18px !important;
  }
}


/* ===== Slightly move CTA button up ===== */
.submit-btn{
  margin-top: 6px !important;   /* reduce gap */
}

@media(max-width:600px){
  .submit-btn{
    margin-top: 4px !important;
  }
}


/* ===== Center registration box + move button up more + note down ===== */

/* center the form card */
.trial-form{
  margin-left:auto;
  margin-right:auto;
}

/* button a bit more up */
.submit-btn{
  margin-top: -4px !important;
}

/* push note text down slightly */
.note{
  margin-top: 18px !important;
}

@media(max-width:600px){
  .submit-btn{margin-top:-2px !important;}
  .note{margin-top:16px !important;}
}


/* ===== Desktop only: move right-side boxes down (about 4 enters) ===== */
@media (min-width: 901px){
  .trial-info{
    margin-top: 64px; /* approx 4 line breaks */
  }
}


/* ===== Verification Notice Box ===== */
.verify-note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.75);
  border: 1px solid rgba(255,214,102,.45);
  box-shadow:
    0 0 22px rgba(255,214,102,.18),
    inset 0 0 20px rgba(255,214,102,.12);
  color: #fff;
  font-size: .9rem;
  line-height: 1.4;
}

.verify-note strong{
  display:block;
  margin-bottom:6px;
  color:#ffd666;
  text-shadow:0 0 10px rgba(255,214,102,.45);
}

.verify-note p{
  margin:0;
  opacity:.95;
}

@media(max-width:600px){
  .verify-note{font-size:.85rem;}
}


/* tidy verification spacing */
.verify-note{
  margin-top:10px;
  margin-bottom:8px;
}


/* ===== HARD FIX: keep button + notice inside form card ===== */
.submit-btn{
  display: block !important;
  width: 100% !important;
  position: relative !important;
  z-index: 2 !important;
}

.verify-note{
  position: static !important;
  width: 100%;
  max-width: 100%;
  z-index: 2;
  box-sizing: border-box;
}

.verify-note strong, .verify-note p{
  box-sizing: border-box;
}

/* Prevent any header styles affecting the notice */
header .verify-note, footer .verify-note{
  display: none !important;
}





/* ===== Text-only badges (black bold glowing) ===== */
.trial-badges{
  display:flex;
  justify-content:center;
  gap:18px;
  list-style:none;
  padding:0;
  margin:0 0 1rem;
}

.trial-badges li{
  background:none;
  border:none;
  padding:0;
  margin:0;
  font-weight:900;
  color:#000;
  font-size:1rem;
  text-shadow:
    0 0 8px rgba(255,214,102,.45),
    0 0 14px rgba(0,0,0,.8);
}

.trial-badges li::before,
.trial-badges li::after{
  content:none !important;
}

@media(max-width:520px){
  .trial-badges{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }
}


/* ===== Green shiny animated CTA button ===== */
@keyframes greenGlowShift{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

@keyframes greenSpark{
  0%{transform:translateX(-120%) skewX(-15deg);opacity:0}
  20%{opacity:.9}
  100%{transform:translateX(220%) skewX(-15deg);opacity:0}
}

.submit-btn{
  background:linear-gradient(120deg,#041a0f,#0b6b3a,#38f59a,#0b6b3a,#041a0f);
  background-size:300% 300%;
  animation:greenGlowShift 5s ease-in-out infinite;
  color:#fff !important;
  border:1px solid rgba(120,255,200,.6);
  text-shadow:0 0 10px rgba(120,255,200,.6);
  box-shadow:
    0 0 18px rgba(80,255,180,.45),
    0 12px 30px rgba(0,0,0,.45);
  position:relative;
  overflow:hidden;
}

.submit-btn::after{
  content:"";
  position:absolute;
  top:-20%;
  left:-60%;
  width:45%;
  height:140%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.9),transparent);
  filter:blur(1px);
  animation:greenSpark 2.8s ease-in-out infinite;
}

.submit-btn:hover{
  filter:brightness(1.1);
}


/* ===== Login page starry background ONLY ===== */
body.login-page{
  background:
    radial-gradient(circle at 20% 20%, rgba(120,200,255,.25), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255,214,102,.18), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(120,255,200,.18), transparent 40%),
    linear-gradient(180deg,#050b18,#020611 60%, #000);
  min-height:100vh;
}

body.login-page::before{
  content:"";
  position:fixed;
  inset:0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 60% 10%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 80% 70%, #fff, transparent),
    radial-gradient(1px 1px at 40% 80%, #fff, transparent),
    radial-gradient(2px 2px at 10% 60%, #fff, transparent);
  opacity:.25;
  pointer-events:none;
}


/* ===== LOGIN PAGE ONLY: remove Free-Trial hero photo + use starry background ===== */
body.login-page .trial-wrap::before,
body.login-page .trial-wrap::after{
  content: none !important;
  display: none !important;
}

body.login-page .trial-wrap{
  background:
    radial-gradient(circle at 20% 20%, rgba(120,200,255,.25), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255,214,102,.18), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(120,255,200,.16), transparent 40%),
    linear-gradient(180deg,#050b18,#020611 60%, #000) !important;
}

/* star dots overlay */
body.login-page .trial-wrap{
  position: relative;
}
body.login-page .trial-wrap .stars-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.25;
  background-image:
    radial-gradient(2px 2px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 60% 10%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 80% 70%, #fff, transparent),
    radial-gradient(1px 1px at 40% 80%, #fff, transparent),
    radial-gradient(2px 2px at 10% 60%, #fff, transparent),
    radial-gradient(1px 1px at 90% 40%, #fff, transparent);
}

body.login-page .trial-container{
  position: relative;
  z-index: 1;
}





/* ===== Login page: extra mini red glowing buttons ===== */
@keyframes redShift{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@keyframes redSpark{
  0%{transform:translateX(-120%) skewX(-18deg);opacity:0}
  25%{opacity:.9}
  100%{transform:translateX(220%) skewX(-18deg);opacity:0}
}

body.login-page .login-extra-actions{
  display:flex;
  gap:10px;
  margin-top: 12px;
  justify-content:center;
  flex-wrap:wrap;
}

body.login-page .mini-red-btn{
  position:relative;
  display:inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  text-decoration:none;
  color:#fff;
  border: 1px solid rgba(255,120,120,.65);
  background: linear-gradient(120deg,#2a0000,#b10e0e,#ff5a5a,#b10e0e,#2a0000);
  background-size: 260% 260%;
  animation: redShift 4.8s ease-in-out infinite;
  box-shadow:
    0 0 16px rgba(255,90,90,.35),
    0 10px 22px rgba(0,0,0,.45);
  overflow:hidden;
}

body.login-page .mini-red-btn::after{
  content:"";
  position:absolute;
  top:-20%;
  left:-65%;
  width:45%;
  height:140%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.85),transparent);
  filter: blur(1px);
  animation: redSpark 2.9s ease-in-out infinite;
}

body.login-page .mini-red-btn:hover{
  filter: brightness(1.08);
  transform: translateY(-1px);
}

@media(max-width:520px){
  body.login-page .mini-red-btn{width: 100%; text-align:center;}
}


/* ===== LOGIN PAGE ONLY : Galaxy Navy Right Boxes ===== */
body.login-page .trial-info .box{
  background:
    radial-gradient(circle at 20% 20%, rgba(120,200,255,.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,214,102,.18), transparent 45%),
    linear-gradient(180deg, rgba(5,15,35,.85), rgba(2,6,18,.85));
  border:1px solid rgba(120,200,255,.45);
  box-shadow:
    0 0 25px rgba(120,200,255,.35),
    0 0 45px rgba(80,160,255,.25),
    inset 0 0 25px rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  opacity:1;
  transition:.4s;
}

/* subtle hover life */
body.login-page .trial-info .box:hover{
  opacity:.75;
  box-shadow:
    0 0 35px rgba(140,220,255,.6),
    0 0 65px rgba(120,180,255,.45),
    inset 0 0 30px rgba(255,255,255,.12);
}


/* ===== FORCE FULL GALAXY BACKGROUND ON LOGIN BOXES ===== */
body.login-page .trial-info .box{
  background:
    radial-gradient(circle at 20% 20%, rgba(120,200,255,.35), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,214,102,.25), transparent 45%),
    linear-gradient(180deg, #040c22, #01040e) !important;
}

/* ===== LOGIN PAGE ONLY : COLORFUL FULL GALAXY BOXES ===== */
body.login-page .trial-info .box{
  background:
    radial-gradient(circle at 15% 20%, rgba(255,90,180,.45), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(80,200,255,.45), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(120,255,180,.40), transparent 45%),
    linear-gradient(135deg,#120020,#001428,#001f18) !important;

  border:1px solid rgba(180,220,255,.55);
  box-shadow:
    0 0 35px rgba(120,200,255,.45),
    0 0 55px rgba(255,120,200,.35),
    inset 0 0 35px rgba(255,255,255,.10);
  opacity:1;
}


/* ===== LOGIN PAGE : Golden Animated Dua ===== */
@keyframes goldenGlow{
  0%{text-shadow:0 0 6px rgba(255,200,80,.6)}
  50%{text-shadow:0 0 18px rgba(255,215,120,1)}
  100%{text-shadow:0 0 6px rgba(255,200,80,.6)}
}

body.login-page .dua-golden{
  font-size:1.35rem; /* little bigger */
  font-weight:900;
  background:linear-gradient(90deg,#ffd36a,#fff2b0,#ffcc55);
  background-size:200% 200%;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  animation:goldenGlow 2.8s ease-in-out infinite;
  letter-spacing:.5px;
}
