@font-face {
  font-family: Roboto;
  src: url("/fonts/Roboto-Light.ttf");
  font-weight: 100;
}

@font-face {
  font-family: Roboto;
  src: url("/fonts/Roboto-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: Roboto;
  src: url("/fonts/Roboto-Bold.ttf");
  font-weight: 800;
}

html {
    background-color: #1a1a1d;
}

body {
    min-height: 100vh;
    margin: 0;
    color: #bdc2d5;
    font-family: 'Roboto';
    margin: 0;
    background: radial-gradient(circle at top left, #2a2a2e 0%, #1a1a1d 35%);
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: solid 1px #2F3443;
    position: fixed;
    width: calc(100% - 40px);
    z-index: 1;
    backdrop-filter: blur(5px);
}

h1 {
    margin: 0;
    font-size: 42px;
    text-shadow: #6888DF 0 0 100px;
}

p {
    margin: 0;
    font-size: 14px;
    margin-top: 10px;
    padding: 0 10px;
}

a {
    color: #bdc2d5;
    text-decoration: none;
}

header>div {
    display: flex;
    gap: 30px;
}

.newborder1 {
  box-shadow: #6888DF 0 0 100px -20px, inset #6888DF11 0 0 100px 0 !important;
  border: 2px solid #6888DF !important;
}
.newbordergray {
  box-shadow: #3d4357 0 0 100px -20px, inset #3d435711 0 0 100px 0 !important;
  border: 2px solid #3d4357 !important;
}

.singlemodule {
  margin: 10px;
  border-radius: 20px;
  padding: 20px;
  border: 2px solid var(--secondary-background-color);
  background-color: #25293488;
  position: relative;
}
h2 {
    margin: 0;
}

div#features {
    display: grid;
    grid-template-columns: 1fr 3fr;
    width: 100%;
    align-items: center;
    margin-bottom: 60px;
}
main {
    max-width: 1000px;
    margin: auto;
    width: 90%;
}


div#hero {
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

div#bento {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.bentocard {
    height: 160px;
}

table {
    text-align: center;
    font-size: 12px;
    width: 100%;
    margin-top: 12px;
    border-spacing: 0;
}

th {
    padding: 15px;
}

td {
    padding: 15px;
    width: 33%;
    border-top: 2px solid #2F3443;
}

td:nth-child(-n+2), th:nth-child(-n+2) {
    border-right: 2px solid #2F3443;
}
div#marketplace {
    height: 280px;
}

div#cost-comparison>hr {
    border: 1px solid #2F3443;
    margin: 40px 0;
}

img.arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
}

img#marketplace-img {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}

ul {
    padding-left: 20px;
    font-size: 13px;
}

li {
    margin-bottom: 20px;
}

#pricing>div {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 20px;
}

#pricing>div>div {
    text-align: center;
}

#pricing>div>div:nth-child(-n+2) {
    border-right: 2px solid #2F3443;
}

#cta>h1 {max-width: 700px;}

div#cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 500px;
}
.button {
    border-radius: 15px;
    font-weight: 900;
    padding: 10px 20px;
    background: #25293488;
    box-shadow: #6888DF 0 0 100px 0px, inset #6888DF11 0 0 100px 0 !important;
}

.button>div>p {
    margin: 0;
}

footer {
    border-top: solid 1px #2F3443;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 200px;
}

#cost-comparison-title {
    font-size: 22px;
}

#cost-comparison {
    grid-row-start: 2;
    grid-row-end: 4;
}

#comparison {
    grid-column-start: 1;
    grid-column-end: 4;
}

#a_pricing {
    grid-column-start: 1;
    grid-column-end: 4;
}

#a_marketplace {
    grid-column-start: 2;
    grid-column-end: 4;
}

#a_guide_explorer {
    grid-column-start: 1;
    grid-column-end: 3;
}

#feature-screenshot {
    aspect-ratio: 16 / 9;
    background-size: cover;
}

div#features>div>div>h2 {
    font-size: 18px;
}

#script-editor {
    cursor: pointer;
}

/* Social Proof */
div#socialproof {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 60px;
}

.socialproof-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: none;
    box-shadow: none;
    background: none;
    padding: 20px;
    border-radius: 0;
}

a.socialproof-card {
    color: inherit;
    text-decoration: none;
}

a.socialproof-card:hover .socialproof-number {
    color: #8aa5f0;
}

.socialproof-number {
    font-size: 52px;
    font-weight: 800;
    color: #6888DF;
    line-height: 1;
}

.socialproof-card p {
    font-size: 14px;
    margin-top: 0;
    padding: 0;
}

/* FAQ */
div#faq {
    margin-bottom: 60px;
    margin-top: 120px;
}

div#faq > h1 {
    text-align: center;
    margin-bottom: 30px;
}

#faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.faq-category h2 {
    font-size: 20px;
    color: #6888DF;
    margin-top: 12px;
}

.faq-item {
    border-bottom: 1px solid #2F3443;
}

.faq-question {
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 18px;
    color: #6888DF;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 14px;
}

.faq-answer p {
    font-size: 13px;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    color: #9aa0b5;
}

/* How It Works */
div#howitworks {
    margin-bottom: 60px;
}

div#howitworks > h1 {
    text-align: center;
}

#howitworks-steps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
}

.howitworks-step {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.step-number {
    font-size: 42px;
    font-weight: 800;
    color: #6888DF;
    line-height: 1;
}

.howitworks-step h2 {
    font-size: 18px;
    margin: 0;
}

.howitworks-step p {
    font-size: 13px;
    line-height: 1.5;
    padding: 0;
    margin-top: 0;
}

#model-editor {
    cursor: pointer;
}
#particle-editor {
    cursor: pointer;
}
#pack-management {
    cursor: pointer;
}

.hidden {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(1px);
    transition:
        opacity 0.8s ease-out, 
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.8s ease-out;
}

.hidden:nth-child(2) { transition-delay: 100ms; }
.hidden:nth-child(3) { transition-delay: 200ms; }
.hidden:nth-child(4) { transition-delay: 300ms; }

.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

h2>img {
    width: 20px;
    height: 19px;
    margin-right: 10px;
    filter: brightness(0) saturate(100%) invert(84%) sepia(14%) saturate(265%) hue-rotate(190deg) brightness(93%) contrast(88%);
}

html {
    scroll-behavior: smooth;
}

#features, #docs, #pricing {
    scroll-margin-top: 150px;
}

#marketplace {
    scroll-margin-top: 350px;
}

@property --scroll-percent-script-editor {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}
@property --scroll-percent-model-editor {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}
@property --scroll-percent-particle-editor {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}
@property --scroll-percent-pack-management {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}
#script-editor {
    background-color: #25293488;
    background-image: linear-gradient(to right, #3d455c88, #3d455c88);
    background-repeat: no-repeat;
    background-size: var(--scroll-percent-script-editor, 0%) 100%;
    transition: background 0.5s linear;
}
#model-editor {
    background-color: #25293488;
    background-image: linear-gradient(to right, #3d455c88, #3d455c88);
    background-repeat: no-repeat;
    background-size: var(--scroll-percent-model-editor, 0%) 100%;
    transition: background 0.5s linear;
}
#particle-editor {
    background-color: #25293488;
    background-image: linear-gradient(to right, #3d455c88, #3d455c88);
    background-repeat: no-repeat;
    background-size: var(--scroll-percent-particle-editor, 0%) 100%;
    transition: background 0.5s linear;
}
#pack-management {
    background-color: #25293488;
    background-image: linear-gradient(to right, #3d455c88, #3d455c88);
    background-repeat: no-repeat;
    background-size: var(--scroll-percent-pack-management, 0%) 100%;
    transition: background 0.5s linear;
}

@media (max-width: 1150px) {
    #cost-comparison-title {
        font-size: 18px;
    }
}

@media (max-width: 1050px) {
    div#cost-comparison>hr {
        margin: 20px 0;
    }
}

@media (max-width: 950px) {
    div#features p {
        font-size: 12px;
    }
}

@media (max-width: 800px) {
    div#bento {
        grid-template-columns: 1fr 1fr;
    }
    #cost-comparison {
        grid-column-start: 1;
        grid-column-end: 3;
    }
    #comparison {
        grid-column-start: 1;
        grid-column-end: 3;
    }
    #a_pricing {
        grid-column-start: 1;
        grid-column-end: 3;
    }
    #a_marketplace {
        grid-column-start: 1;
        grid-column-end: 3;
    }
    #a_second_package {
        display: none;
    }
    #nav {
        display: none;
    }
    div#features {
        grid-template-columns: 1fr;
    }
    div#features>div:nth-child(2) {
        display: flex;
        align-items: center;
    }
    .banner_crashplugin {
        display: none;
    }
    #howitworks-steps {
        grid-template-columns: 1fr;
    }
    div#socialproof {
        grid-template-columns: 1fr;
    }
    #faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    div#features>div:nth-child(2) {
        display: block;
        order: 2;
    }
}

@media (max-width: 550px) {
    div#bento {
        grid-template-columns: 1fr;
    }
    #cost-comparison {
        grid-column-start: 1;
        grid-column-end: 2;
    }
    #comparison {
        grid-column-start: 1;
        grid-column-end: 2;
    }
    #a_pricing {
        grid-column-start: 1;
        grid-column-end: 2;
    }
    #a_marketplace {
        grid-column-start: 1;
        grid-column-end: 2;
    }
    #a_first_package {
        display: none;
    }
    #a_third_package {
        display: none;
    }
    #a_guide_explorer {
        grid-column-start: 1;
        grid-column-end: 2;
    }
    .bentocard {
        height: 120px;
    }
    #howitworks-steps {
        grid-template-columns: 1fr;
    }
    #pricing>div {
        display: block;
    }
    #pricing>div>div:nth-child(-n+2) {
        border-right: 0;
        border-bottom: 2px solid #2F3443;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    th {
        padding: 10px 5px;
    }
    td {
        padding: 10px 5px;
    }
}

.banner_crashplugin {
    position: absolute;
    top: 60px;
    color: #555d76;
    z-index: 0;
}

.banner_crashplugin a {color: #7982a1;}