/* Variables */
:root {
    --body: #19052e;
    --body-rgb: rgb(25, 5, 46);
    --primary: #2F0857;
    --bs-primary: var(--primary);
    --secondary: #00031c;
    --tertiary: #22063e;

    --body: #19052e;

    --footer-color: #161934;

    --btn-color2: #619bff;
    --btn-color4: #eeBf21;

    --yellow: #f3e035;
    --blue: #24b1ee;

    --purple1: #9e61ff;
    --purple2: #6c52ee;
    --purple3: #4F2BC2;

    --galaxy:
        linear-gradient(250deg,
            var(--purple1) 10%,
            rgba(142, 97, 255, 0) 33%),
        radial-gradient(82% 280% at -17% -92%,
            var(--btn-color2) 29%,
            rgba(205, 219, 248, 0) 70%),
        var(--purple2);

    --danger1: #dc3545;
    --danger2: #a71d2a;
    --danger-gradient: #c0a1aa;

    --galaxy-danger:
        linear-gradient(250deg,
            var(--danger1) 10%,
            rgba(220, 53, 69, 0) 33%),
        radial-gradient(82% 280% at -17% -92%,
            var(--danger-gradient) 29%,
            rgba(192, 161, 170, 0) 70%),
        var(--danger2);

    /* Hover Shadow Colors */
    --hover-shadow-galaxy: rgba(158, 97, 255, 0.5);
    --hover-shadow-galaxy-danger: rgba(220, 53, 69, 0.5);

    --orange: #f4941b;

    --border-faded-color: #292c41;

    --purple2: #775fee;

    --faded: #bbbbbb;

    --metro: 'Metropolitano', sans-serif;
    --roboto: 'Roboto', sans-serif;
    --robotoslab: 'Roboto Slab', sans-serif;

    --five-percent-padding: 5% 5% 5% 5%;
}



/* Fonts */
@font-face {
    font-family: 'Metropolitano';
    src: url('../fonts/Metropolitano.ttf') format('truetype'),
        url('../fonts/Metropolitano.woff2') format('woff2');
}

.metro {
    font-family: var(--metro);
}

.roboto {
    font-family: var(--roboto);
}

.robotoslab {
    font-family: var(--robotoslab);
}

.hover-highlight li:hover {
    color: var(--orange) !important;
    transition: color 0.3s;
}



/* Global Styles */
body {
    background-color: var(--body);
    overflow-x: hidden;
}

body:not(.user-tabbing) button:focus,
body:not(.user-tabbing) input:focus,
body:not(.user-tabbing) select:focus,
body:not(.user-tabbing) textarea:focus {
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    color: white;
}

h1,
h2,
h3 {
    font-family: var(--roboto);
}

h4,
h5,
h6,
p {
    font-family: var(--metro);
}

h1 {
    font-size: 51px;
    font-weight: 600;
    line-height: 60px;
}

h2 {
    font-size: 41px;
    font-weight: 600;
}

h3 {
    font-family: var(--robotoslab);
    font-size: 38px;
    line-height: 42px;
}

h5 {
    font-family: var(--robotoslab);
    font-size: 22px;
    line-height: 24px;
}

h6 {
    font-size: 16px;
    font-weight: 600;
}

p {
    font-size: 14px;
    margin-bottom: 0;
}

a {
    transition: 0.3s all;
    text-decoration: none;
    color: white;
    font-family: var(--metro);
}

a:hover {
    color: var(--purple2);
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}



/* Badges & Background Colors */
.badge {
    font-family: var(--metro);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.text-bg-purple1 {
    color: white !important;
    background-color: var(--purple1) !important;
}

.text-bg-purple2 {
    color: white !important;
    background-color: var(--purple2) !important;
}

.text-bg-purple3 {
    color: white !important;
    background-color: var(--purple3) !important;
}




/* Utility */

/* Prevent text from wrapping */
.no-wrap {
    white-space: nowrap;
}

.wave-top {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -1px;
}

.wave-brush-primary {
    fill: var(--primary);
}

.wave-brush-body {
    fill: var(--body);
}

.layers-brush {
    fill: var(--body);
}

.layers-brush-primary {
    fill: var(--primary);
}

.layers-invert {
    transform: scale(-1, -1);
}

.layers-flip {
    transform: rotate(180deg);
}

.cloud {
    background-image: url('/images/backgrounds/cloud.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 60px 20px 60px 17px;
    width: auto;
    min-width: 200px;
    box-sizing: border-box;
}

.cloud h1,
.cloud h2,
.cloud h3,
.cloud h4,
.cloud h5,
.cloud h6 {
    font-family: var(--metro);
    font-size: 18px;
    color: #54595f;
    word-wrap: break-word;
    white-space: normal;
    text-align: center;
    margin: 0;
    line-height: 1.2;
    max-width: none;
}

.cloud h3 {
    font-size: 18px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--body);
    opacity: 0.6;
}

.overlay-bright {
    background-color: var(--tertiary);
    opacity: 0.3;
}

.overlay-body {
    background-color: var(--body);
    opacity: 0.8;
}

.overlay-dark {
    background-color: black;
    opacity: 0.47;
}

.overlay-darker {
    background-color: black;
    opacity: 0.7;
}

.face-up {
    transform: rotate(180deg);
}

.face-down {
    transform: rotate(-180deg);
}

.blob-mask {
    mask-image: url('/images/blob-mask.svg');
    -webkit-mask-image: url('/images/blob-mask.svg');
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-position: center center;
    -webkit-mask-position: center center;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

.icon-box {
    margin-bottom: 40px;
}

.icon-background {
    width: 60px;
    height: 60px;
    background-color: var(--purple3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--btn-color4);
    margin-bottom: 20px;
}

.icon-background i {
    font-size: 30px;
    line-height: 1;
}

.icon-box h4 {
    font-size: 24px;
    font-weight: 400;
}

.icon-box h6 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.icon-box p {
    font-size: 16px;
    line-height: 24px;
}



/* Animated Underline */
.underline {
    color: white;
}

.underline::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-image: linear-gradient(to right, var(--purple1), var(--purple2));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-out;
}

.underline:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}



/* Textarea */
textarea {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    border: none;
    outline: none;
    background-color: transparent;
    box-sizing: border-box;

    color: white;
    border: 1px solid var(--border-faded-color);
    border-radius: 10px;
    padding: 12px 15px;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;

    font-size: 16px;
    font-family: inherit;
}

textarea::placeholder {
    color: var(--border-faded-color);
    transition: color 0.3s ease;
}

textarea:focus {
    background-color: transparent;
    box-shadow: none;
    caret-color: white;
    border-color: var(--purple1) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

textarea:focus::placeholder {
    color: var(--border-faded-color);
    transition: color 0.3s ease;
}



/* Form Control Overwrites */
.form-control:focus,
.form-select:focus {
    box-shadow: none;
}

/* .form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    border: none;
    outline: none;
    background-color: transparent;
    box-sizing: border-box;

    color: white;
    border: 1px solid var(--faded);
    border-radius: 10px;
    padding: 12px 15px;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;

    width: 100%;

    font-size: 16px;
    font-family: inherit;

    margin: 0;
}

.form-control::placeholder {
    color: var(--faded);
    transition: color 0.3s ease;
}

.form-control:focus::placeholder {
    color: white;
    transition: color 0.3s ease;
} */



/* Base Button Styles */

/* Example Buttons
    <button class="btn btn-galaxy"> Galaxy Button </button>
    <button class="btn btn-galaxy-sm"> Galaxy Small </button>
    <button class="btn btn-galaxy-clear"> Galaxy Dark </button>
    <button class="btn btn-galaxy-bright"> Galaxy Bright </button>
    <button class="btn btn-galaxy-danger"> Galaxy Danger </button>
    <button class="btn btn-galaxy-danger-sm"> Galaxy Danger Small </button>
    <button class="btn btn-galaxy-danger-clear"> Galaxy Danger Dark </button>
    <button class="btn btn-galaxy-danger-bright"> Galaxy Bright Danger </button> 
*/

/* Common Styles for Galaxy and Danger Variants */
.btn-galaxy,
.btn-galaxy-sm,
.btn-galaxy-danger,
.btn-galaxy-dark,
.btn-galaxy-bright,
.btn-galaxy-bright-sm,
.btn-galaxy-danger-bright {
    color: white;
    overflow: hidden;
}

/* Backgrounds for Galaxy Variants */
.btn-galaxy {
    background: var(--galaxy) !important;
    padding: 15px 30px;
    font-size: 16px;
    line-height: 20px;
}

.btn-galaxy:active,
.btn-galaxy-sm:active {
    color: white !important;
}

.btn-galaxy-danger {
    background: var(--galaxy-danger) !important;
    padding: 15px 30px;
    font-size: 16px;
    line-height: 20px;
}

/* Small Variants */
.btn-galaxy-sm,
.btn-galaxy-bright-sm,
.btn-galaxy-danger-sm {
    background: var(--galaxy) !important;
    padding: 8px 20px;
    font-size: 14px;
    line-height: 18px;
}

.btn-galaxy-danger-sm {
    background: var(--galaxy-danger) !important;
}

/* Clear Variants */
.btn-galaxy-clear,
.btn-galaxy-clear-bright,
.btn-galaxy-danger-clear {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 5px 10px;
}

/* Dark Variants */
.btn-galaxy-dark {
    background: #00031C;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    position: relative;
    border: none;
}

/* Bright Variants */
.btn-galaxy-bright,
.btn-galaxy-danger-bright {
    background: var(--galaxy) !important;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    position: relative;
    border: none;
}

.btn-galaxy-bright:active,
.btn-galaxy-bright-sm:active {
    color: var(--body) !important;
}

.btn-galaxy-danger-bright {
    background: var(--galaxy-danger) !important;
}

/* Hover Effects for Galaxy and Danger Variants */
.btn-galaxy:hover,
.btn-galaxy-sm:hover {
    color: white;
    box-shadow: 0px 15px 40px -8px var(--hover-shadow-galaxy);
    transform: translateY(-3px);
}

.btn-galaxy-danger:hover,
.btn-galaxy-danger-sm:hover {
    color: white;
    box-shadow: 0px 15px 40px -8px var(--hover-shadow-galaxy-danger);
    transform: translateY(-3px);
}

.btn-galaxy-clear:hover {
    color: white;
    background: var(--galaxy);
    transform: translateY(-3px);
}

/* Hover Effects for Clear Variants */
.btn-galaxy-danger-clear:hover {
    color: white;
    background: var(--galaxy-danger);
    transform: translateY(-3px);
}

/* Hover Effects for Dark Variants */
.btn-galaxy-dark:hover {
    color: white;
    background: var(--galaxy);
    box-shadow: 0px 15px 40px -8px var(--hover-shadow-galaxy);
    transform: translateY(-3px);
}

/* Hover Effects for Bright Variants */
.btn-galaxy-bright:hover,
.btn-galaxy-bright-sm:hover,
.btn-galaxy-clear-bright:hover,
.btn-galaxy-danger-bright:hover {
    color: var(--body);
    background: white !important;
    transform: translateY(-3px);
}

.btn-orange,
.btn-orange-sm {
    color: white;
    overflow: hidden;
    background: var(--orange) !important;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    position: relative;
    border: none;
    padding: 15px 30px;
}

.btn-orange-sm {
    padding: 8px 20px;
    font-size: 14px;
    line-height: 18px;
}

/* Active State */
.btn-orange:active,
.btn-orange-sm:active {
    color: var(--body) !important;
}

/* Hover Effects */
.btn-orange:hover,
.btn-orange-sm:hover {
    color: var(--body);
    background: white !important;
    transform: scale(1.05);
    transform-origin: center;
}

.btn-orange-sm i {
    will-change: transform;
    transform: translateZ(0); /* flatten rendering to its own layer */
}



.dropdown button i {
    color: var(--purple2);
}



/* Nav */
.nav-link:focus,
.nav-link:hover {
    color: white;
}



/* Subscribe Modal */
.modalSubscribe {
    width: 50%;
    max-width: 600px;
    min-width: 600px;
    min-height: 250px;
    border-radius: 50px;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.modalSubscribe h1 {
    font-size: 45px;
}

/* Adjust the modal for smaller screens */
@media (max-width: 768px) {
    .modalSubscribe {
        width: 80%;
        min-width: unset;
    }

    .modalSubscribe h1 {
        font-size: 5vw;
    }

    .modalSubscribe h5 {
        font-size: 3vw;
    }
}



/* Sections */
section {
    position: relative;
}



/* Lists */
.fa-ul>li {
    display: flex;
    align-items: center;
    padding: 10px;
    color: white;
}

/* Bullet Icon Styling */
.fa-li {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.fa-li i {
    font-size: 1.2em;
    color: var(--orange);
}

.fa-list li,
.fa-list li::before {
    position: static;
}



/* Misc Text Styling */
.list-text {
    font-family: var(--robotoslab);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
}

.list-text strong {
    font-weight: 700;
}




/* List Groups */
.list-group-item {
    border: unset;
}



/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    font-family: var(--metro);
}

.breadcrumb-item {
    color: white;
}



/* Star Ratings */
.star-rating {
    font-size: 14px;
    color: var(--purple2);
}



/* Content Cards */
.card {
    border: 1px solid var(--purple1);
    border-radius: 10px;
    background-color: unset;
}

.card-header {
    background-color: unset;
    border-bottom: unset;
}

.card-footer {
    border: none;
}



/* Payment Method Form */
#add-payment-method-form {
    border: 1px solid #ccc;
    padding: 30px;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin: 20px auto;
}

#payment-element {
    margin-top: 10px;
    margin-bottom: 10px;
}

.pricing-card {
    background: #19052E !important;
    border-radius: 20px !important;
    border: 2px solid blueviolet !important;
    box-shadow: #5e35b1 0px 4px 12px !important;
    height: 100%;
    /* padding: 10px 30px; */
}

.pricing-card-hover:hover {
    cursor: pointer;
    background: #19052E !important;
    opacity: 0.9;
}

.pricing-card-selected::before {
    content: 'Selected';
    position: absolute;
    top: 72px;
    left: -32px;
    background-color: gold;
    color: black;
    font-weight: bold;
    font-size: 12px;
    padding: 5px 10px;
    transform: rotate(-45deg);
    transform-origin: 0 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: 150px;
}

.promotion-description {
    font-size: 13px;
}

.limited-time-color {
    color: aqua;
}

.free-trial-btn {
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 15px;
    background-color: #ffb727 !important;
    border: 2px solid #593b00 !important;
    color: white !important;
}

.price-text {
    font-size: 35px;
    color: aqua;
    text-shadow: 0 0 3px #eee;
}

.discount-price-text {
    font-size: 20px;
}

.splide__arrow {
    background-color: #F4941B;
    width: 24px;
    height: 64px;
    color: #fff;
    border-radius: 5px;
    border: none;
    opacity: 1;
}

.splide__arrow--prev,
.splide__arrow--next {
    background-color: #F4941B;
    width: 24px;
    height: 64px;
    color: #fff;
    border-radius: 5px;
}

.splide__arrow--prev svg {
    transform: scale(0.8) rotate(180deg);
}

.splide__arrow--next svg {
    transform: scale(0.8);
}

.splide__arrow svg {
    fill: #fff;
    width: 1.5em;
    height: 1.5em;
    stroke: #fff;
    stroke-width: 1px;
}