/* ============================================== */
/* CYFUTURE.AI GPU LAUNCHER MODAL - FULL CSS      */
/* Exact same design as your screenshot             */
/* ============================================== */

.launcherpage *{ box-sizing: border-box; margin: 0; padding: 0; }
.launcherpage {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #eef1f8;
}

/* ---------- Floating Pill Button ---------- */
.launcherpage .launcher{
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 10001;
    opacity: 0;
    transform: translateY(14px) scale(.94);
    animation: launchIn .6s cubic-bezier(.22,1,.36,1) .15s forwards;
}

.launcherpage .launcher button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    outline: none;
    cursor: pointer;

    background: linear-gradient(
        95deg,
        #6d3bf5 0%,
        #9b3ce0 50%,
        #6d3bf5 100%
    );
    background-size: 200% 100%;

    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    padding: 14px 18px 14px 14px;
    border-radius: 999px;

    box-shadow: 0 10px 26px rgba(109, 59, 245, .4);
    transition: filter .2s ease, transform .15s ease, box-shadow .5s ease;

    animation: gradientMove 6s ease infinite;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.launcherpage .launcher button::before,
.launcherpage .launcher button::after{
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 2px solid rgba(155,60,224,.55);
    pointer-events: none;
    animation: waveOut 2.6s ease-out infinite;
}
.launcherpage .launcher button::after{
    animation-delay: 1.3s;
}

@keyframes waveOut {
    0%   { transform: scale(1);   opacity: .65; }
    100% { transform: scale(1.35); opacity: 0; }
}

.launcherpage .launcher button:hover{
    filter: brightness(1.07);
    transform: translateY(-2px) scale(1.02);
    animation-play-state: paused;
    box-shadow: 0 14px 32px rgba(109,59,245,.5);
}
.launcherpage .launcher button:hover::before,
.launcherpage .launcher button:hover::after{ animation-play-state: paused; }
.launcherpage .launcher button:active{ transform: translateY(0) scale(.98); }

/* Chip icon */
.launcherpage .chip{
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.22);
    border-radius: 50%;
    flex-shrink: 0;
}
.launcherpage .chip svg{ width: 14px; height: 14px; }
.launcherpage .launcher .chip svg{ animation: chipWiggle 3.5s ease-in-out 1.8s infinite; }
.launcherpage .launcher button svg.arrow{ width: 15px; height: 15px; transform: none!important;}

/* Animations */
@keyframes launchIn {
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 10px 26px rgba(109,59,245,.4); }
    50%      { box-shadow: 0 10px 34px rgba(109,59,245,.65), 0 0 0 6px rgba(109,59,245,.08); }
}
@keyframes chipWiggle {
    0%, 85%, 100% { transform: rotate(0deg); }
    88% { transform: rotate(-10deg); }
    91% { transform: rotate(8deg); }
    94% { transform: rotate(-5deg); }
    97% { transform: rotate(0deg); }
}

/* ---------- Overlay ---------- */
.launcherpage .overlay{
    position: fixed;
    inset: 0;
    background: transparent;
    display: none;
    z-index: 10000;
}
.launcherpage .overlay.open{ display: block; }

/* ---------- Modal ---------- */
.launcherpage .modal{
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: 100%;
    display: block!important;
    height: auto!important;
    top: initial;
    max-width: 420px;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(30,20,80,.22);
    max-height: min(640px, calc(100vh - 128px));
    overflow-y: auto;
    margin-bottom: 62px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.98);
    transform-origin: bottom left;
    transition: opacity .32s ease, transform .38s cubic-bezier(.34,1.56,.64,1), visibility .32s;
}
.launcherpage .overlay.open .modal{
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* ---------- Header ---------- */
.launcherpage .modal-head{
    position: relative;
    padding: 20px 14px 26px;
    background: linear-gradient(180deg, #f7f5ff 0%, #ffffff 65%);
    overflow: hidden;
}

.launcherpage .head-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.launcherpage .brand{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15.5px;
    font-weight: 800;
    color: #241b45;
}
.launcherpage .brand .chip{

    width:140px; height:auto; border-radius: 8px;
}
.launcherpage .brand .chip img{ width: 150px; height: auto; animation: none; }

.launcherpage .head-right{ display: flex; align-items: center; gap: 10px; }
.launcherpage .input-row{
        display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.launcherpage .head-body-image{max-width: 100%;}
.launcherpage .input-row label{color: #000;font-weight:600;font-size: 14px;}
.launcherpage .badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #522d8d;
    background: #522d8d;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .6px;
    padding: 6px 12px;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
}

.launcherpage .badge::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.45),
        transparent
    );
    transform: skewX(-20deg);
    animation: shineMove 3s linear infinite;
}

@keyframes shineMove {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}
.launcherpage .badge i{
    width: 6px; height: 6px; background: #f5a623; border-radius: 50%; display: block;
    animation: dotPulse 1.6s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.7); opacity: .45; }
}

.launcherpage .close-x{
    width: 32px; height: 32px;
    border: none;
    outline: none;
    border-radius: 8px;
    background: #f2f2f7;
    color: #6b6b7a;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s ease;
}
.launcherpage .close-x:hover{ background: #e7e7f0; }
.launcherpage .close-x svg{ width: 15px; height: 15px; }

/* Headline */
.launcherpage .head-body{ position: relative; min-height: auto; }
.launcherpage .headline-wrap{ max-width: 62%;
position: absolute;
    z-index: 2;
    top: 20px;
    left: 20px;
    right: 0;
}

.launcherpage .step-tag{
    color: #9b93b0;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.launcherpage .headline{
    font-size: 26px;
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -.6px;
 
   
   color: #ae52ff;
    margin-bottom: 8px;
}
.launcherpage .headline .now{
    display: block;
    font-style: italic;
    font-weight: 800;
    color: transparent;
  background: linear-gradient(
  135deg,
  #8A5A00 0%,
  #D4AF37 35%,
  #FFF1A8 50%,
  #D4AF37 65%,
  #8A5A00 100%
);

-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
    font-size: 22px;
}

.launcherpage .headline-sub{
    margin-top: 10px;
    color: #fff;
    font-size: 13.5px;
    line-height: 1.30;
    margin: 0;
}

/* GPU Illustration */
.launcherpage .illus{
    position: absolute;
    right: -8px;
    top: -4px;
    width: 150px;
    height: 150px;
    z-index: 1;
    pointer-events: none;
    animation: floatY 4.5s ease-in-out infinite;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.launcherpage .illus .glow{
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 40%, rgba(155,60,224,.35), transparent 65%);
    filter: blur(6px);
}
.launcherpage .illus svg{ position: relative; width: 100%; height: 100%; }

/* ---------- Body ---------- */
.launcherpage .modal-body{ padding: 0px 14px 24px; background: #fff; }

.launcherpage .step{ display: none; }
.launcherpage .step.active{
    display: block;
    animation: stepIn .38s cubic-bezier(.22,1,.36,1) both;
}

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

/* Fields */
.launcherpage .field{ position: relative; margin-bottom: 6px; }
.launcherpage .field-icon{
    position: absolute;
    left: 15px; top: 50%;
    transform: translateY(-50%);
    color: #a6a1ba;
    width: 18px; height: 18px;
    pointer-events: none;
}

.launcherpage input,
.launcherpage select{
    width: 100%;
    height: 52px;
    border-radius: 12px;
    background: #f8f8fc;
    border: 1.5px solid #e8e7f2;
    color: #241b45;
    font-size: 14.5px;
    padding: 0 16px 0 44px;
    outline: none;
    font-family: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.launcherpage input::placeholder{ color: #a6a1ba; }
.launcherpage input:focus,
.launcherpage select:focus{ border-color: #8a4bf0; background: #fff; box-shadow: 0 0 0 3px rgba(138,75,240,.14); }

.launcherpage input.error,
.launcherpage select.error,
.launcherpage .phone-wrap.error{ border-color: #f2545b !important; }

.launcherpage select{
    appearance: none; -webkit-appearance: none; cursor: pointer; color: #241b45;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6a1ba' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 40px;
}

.launcherpage select.gpu-empty{ color: #a6a1ba; }
.launcherpage select option{ color: #241b45; }

.launcherpage .secure-note{
    display: flex;
    align-items: center;
    gap: 7px;
    color: #8f8aa3;
    font-size: 12px;
    margin: -2px 0 16px;
}
.launcherpage .secure-note svg{ width: 13px; height: 13px; flex-shrink: 0; }

/* Phone field */
.launcherpage .phone-wrap{
    display: flex;
    align-items: stretch;
    height: 52px;
    border-radius: 12px;
    background: #f8f8fc;
    border: 1.5px solid #e8e7f2;
    margin-bottom: 6px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.launcherpage .phone-wrap.focus{ border-color: #8a4bf0; background: #fff; box-shadow: 0 0 0 3px rgba(138,75,240,.14); }

.launcherpage .phone-wrap select.cc{
    width: 60px;
    height: 100%;
    border: none;
    background: transparent;
    color: #241b45;
    margin: 0;
    padding: 0 8px 0 14px;
    border-right: 1px solid #e8e7f2;
    border-radius: 0;
    font-size: 14.5px;
    background-position: right 8px center;
    background-size: 14px;
}

.launcherpage .phone-wrap input{
    border: none;
    margin: 0;
    height: 100%;
    background: transparent;
    border-radius: 0;
    padding-left: 14px;
}
.launcherpage .phone-wrap input:focus{ box-shadow: none; }

/* Error */
.launcherpage .error-msg{ color: #f2545b; font-size: 12.5px; margin: -6px 0 12px; min-height: 0; }
.launcherpage .error-msg:empty{ display: none; }

/* Buttons */
.launcherpage .btn{
    width: 100%;
    height: 52px;
    border: none;
    outline: none;
    border-radius: 13px;
    cursor: pointer;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(95deg, #6d3bf5 0%, #9b3ce0 100%);
    box-shadow: 0 10px 22px rgba(109,59,245,.28);
    transition: filter .15s ease, transform .12s ease;
}
.launcherpage .btn:hover{ filter: brightness(1.06); }
.launcherpage .btn:active:not(:disabled){ transform: scale(.98); }
.launcherpage .btn:disabled{ opacity: .6; cursor: not-allowed; }
.launcherpage .btn svg{ width: 17px; height: 17px; }

.launcherpage .row-2{ display: flex; gap: 10px; margin-top: 4px; }
.launcherpage .btn-back{
    flex: 0 0 auto;
    height: 52px;
    padding: 0 18px;
    border-radius: 13px;
    background: #f4f3fa;
    border: 1.5px solid #e8e7f2;
    outline: none;
    color: #4a4560;
    font-size: 14.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex; align-items: center; gap: 7px;
    transition: background .15s ease;
}
.launcherpage .btn-back:hover{ background: #ece9f8; }
.launcherpage .btn-back svg{ width: 15px; height: 15px; }
.launcherpage .row-2 .btn{ flex: 1; }

/* Success */
.launcherpage .spinner{
    width: 17px; height: 17px;
    border: 2.5px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.launcherpage .success{ text-align: center; padding: 10px 0 2px; }

.launcherpage .check{
    width: 76px; height: 76px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #eafaf2;
    border: 1px solid #b6ecd1;
    display: flex; align-items: center; justify-content: center;
    color: #1fb872;
    animation: checkPop .5s cubic-bezier(.34,1.56,.64,1) .1s both;
}

.launcherpage .check svg{
    width: 36px; height: 36px;
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: checkDraw .4s ease-out .35s forwards;
}

@keyframes checkPop {
    0%   { opacity: 0; transform: scale(.4) rotate(-15deg); }
    60%  { opacity: 1; transform: scale(1.08) rotate(3deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes checkDraw {
    to { stroke-dashoffset: 0; }
}

.launcherpage .success h3{
    color: #241b45; font-size: 21px; font-weight: 800; margin-bottom: 6px;
    opacity: 0; animation: fadeUp .4s ease .45s forwards;
}
.launcherpage .success p{
    color: #8f8aa3; font-size: 13.5px; margin-bottom: 20px;
    opacity: 0; animation: fadeUp .4s ease .55s forwards;
}
.launcherpage .success .btn{
    background: #f4f3fa; color: #4a4560; box-shadow: none;
    opacity: 0; animation: fadeUp .4s ease .65s forwards;
}
.launcherpage .success .btn:hover{ background: #ece9f8; filter: none; }

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

/* Responsive */
@media (max-width: 480px) {
    .launcherpage .launcher{ left: 12px; right: 12px; bottom: 12px; }
    .launcherpage .launcher button{ justify-content: center; }
    .launcherpage .modal{
        left: 0; right: 0; bottom: 12px;
        max-width: none;
        margin-bottom: 60px;
        max-height: calc(100vh - 96px);
    }
    .launcherpage .modal-head{ padding: 18px; }
    .launcherpage .modal-body{ padding: 16px 18px 20px; }
    .launcherpage .headline{ font-size: 22px; }
    .launcherpage .headline-wrap{ max-width: 58%; }
    .launcherpage .illus{ width: 120px; height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
    .launcherpage *{ animation: none !important; transition: none !important; }
}