@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');


/* ---------------------------
   RESET / BASE
---------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background: #0f0f12;
    color: #e6e9ee;
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

/* ---------------------------
   NAVBAR
---------------------------- */

.navbar {
    background: #151619;
    padding: 14px 20px;
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 1px 0 rgba(0,0,0,0.35);
}

.nav-link {
    color: #bfc3cc;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.15s ease;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* ---------------------------
   MAIN CONTENT / LAYOUT
---------------------------- */

#content {
    max-width: 1100px;
    margin: 30px auto;
    padding: 22px;
    min-height: 65vh;
}

/* ---------------------------
   SECTION TRANSITION
---------------------------- */

/* Sections are stacked normally, no layout shifting */
.section {
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    height: 0;
    overflow: hidden;
    transition: opacity 0.15s ease, transform 0.15s ease, height 0s linear 0.15s;
}

/* Active section is fully visible */
.section.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    height: auto;
    overflow: visible;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

/* Active section is fully visible */
.section.hidden {
    visibility: hidden;
}

/* ---------------------------
   TYPOGRAPHY
---------------------------- */

h1 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
}

.doc-category-title {
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 600;
}

/* ---------------------------
   HOME PAGE ELEMENTS
---------------------------- */

.bot-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    display: block;
    margin: 20px auto;
    border-radius: 50px;
    border: 3px solid white;
}

.center {
    text-align: center;
}

.invite-button {
    display: inline-block;
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(70,75,200,0.18);
    margin: 12px auto;
    z-index: 1;
    position: relative;
}

.invite-button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0);
    transition: border-color 0.1s ease, box-shadow 0.1s ease;
}

.invite-button:hover::after {
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.bot-description {
    max-width: 700px;
    margin: 25px auto 40px auto;
    text-align: justify;
    color: #d7d8df;
    line-height: 1.6;
    font-size: 17px;
    padding: 20px 24px;
}

.accent-text {
    max-width: 700px;
    margin: 25px auto 20px auto;
    padding-left: 22px;
    border-left: 3px solid #5865f2;
    color: #d6d7df;
    line-height: 1.65;
    font-size: 16.5px;
}

.accent-text p {
    margin: 12px 0;
}

/* Title styling */
.bot-description h2 {
    text-align: center;
    margin-bottom: 12px;
    font-size: 26px;
    color: #ffffffef;
    font-weight: 700;
}

.description {
    max-width: 760px;
    margin: 18px auto;
    text-align: center;
    color: #cad0da;
    line-height: 1.6;
    font-size: 15px;
}

/* Feature list container */
.feature-list {
    margin-top: 25px;
    text-align: left;
}

/* "Main Features" title */
.feature-list h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #fff;
    text-align: center;
}

/* Unordered list styling */
.feature-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Each bullet point */
.feature-list li {
    margin: 18px 0;
    padding-left: 0;
    position: relative;
}

/* Custom bullet circle */
.feature-list li::before {
    content: "•";
    position: absolute;
    left: -18px;
    top: 0;
    transform: translateY(-17%);
    color: #5865f2; /* Discord blurple highlight */
    font-size: 22px;
}

/* Feature title */
.feature-list li strong {
    font-size: 18px;
    color: #ffffff;
}

/* Feature description text */
.feature-desc {
    font-size: 15px;
    color: #cfd2da;
    margin: 6px 0 0 0;
    line-height: 1.45;
}

/* Wrapper gives the section a distinct card look */
.feature-list-wrapper {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 2px 28px;
    margin-top: 36px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-list-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.33);
}

/* --- SCROLL FADE-IN EFFECT --- */

.fade-in-on-scroll {
    opacity: 0.1;
    transform: translateY(35px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------
            VIDEOS
---------------------------- */
.showcase h2 {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 0px;
    padding-bottom: 0;
}

.video-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.interactive-video {
    width: 240px;
    max-width: 240px;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;

    opacity: 0.1;              
    filter: brightness(0.4);
    transform: translateY(40px) scale(0.9);

    transition: 
        opacity 0.8s ease,
        transform 0.8s ease,
        filter 0.3s ease;
}

.interactive-video.out-view {
    opacity: 0.1;
    transform: translateY(40px) scale(0.9);
}

.interactive-video.in-view {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.interactive-video.playing {
    filter: brightness(1);
}

.interactive-video:hover {
    transform: translateY(-5px) scale(1.02);
}

/* ---------------------------
        Image Carousel
---------------------------- */
.carousel {
    position: relative;
    width: 65%;
    margin: 0 auto;
    opacity: 0.1;
    transform: translateY(40px) scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.carousel.visible {
    opacity: 0.8;
    transform: translateY(0);
}

.carousel-window {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;          /* crop bottom part */
    position: relative;
}

.carousel-img {
    position: absolute;
    top: 0;                    /* always show top part */
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.95);
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    cursor: pointer;
}

.carousel-img.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.carousel-img.active:hover {
    transform: scale(1.03);     /* tiny zoom on hover */
    z-index: 3;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    z-index: 5;
}

.carousel-btn.left { left: 8px; }
.carousel-btn.right { right: 8px; }

/* --- Lightbox --- */
.lightbox {
    position: fixed;          /* always relative to viewport */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;            /* hidden by default */
    justify-content: center;  /* horizontal center */
    align-items: center;      /* vertical center */
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    overflow: auto;           /* in case image is bigger than viewport */
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

/* ---------------------------
   DOCUMENTATION TABLES
---------------------------- */

.table-doc {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    background: #1a1a1f;
    overflow: hidden;
    border-radius: 8px;
}

.table-doc th, 
.table-doc td {
    padding: 14px 18px;
    border-bottom: 1px solid #2a2a32;
}

.table-doc th {
    background: #222229;
    color: #ccc;
    text-align: left;
}

.table-doc tr:hover {
    background: #2a2a32;
}

.table-non-wrap {
    flex-direction: column;
    margin-right: 16px;
}

.table-wrap {
    display: flex;
    flex: 1;
}

.table-doc td:first-child,
.table-doc th:first-child {
    width: 200px; /* adjust to fit your content */
    white-space: nowrap; /* prevent wrapping */
}

/* ---------------------------
            TOS
---------------------------- */

.tos {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    line-height: 1.6;
}

.tos ol {
    margin-left: 0;
    padding-left: 50px;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.tos p {
    margin-bottom: 14px;
    padding-bottom: 20px;
}

.tos p.no-gap {
    margin-bottom: 5px;
    padding-bottom: 5px;
}

/* ---------------------------
            Privacy
---------------------------- */

.privacy-policy {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    line-height: 1.6;
}

.privacy-policy ol {
    margin-left: 0;
    padding-left: 50px;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.privacy-policy li {
    list-style-position: inside;
    margin-left: 0;
    padding-left: 25px;
}

.privacy-policy ul {
    padding-bottom: 10px;
}

.privacy-policy p {
    margin-bottom: 14px;
    padding-bottom: 20px;
}

.privacy-policy p.no-gap {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

/* ---------------------------
   FREE TIER TABLE
---------------------------- */

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    background: #0f1013;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.free-tier-card h3 {
    text-align: center;
    margin-bottom: 12px;
    color: #cfd3da;
    font-size: 13px;
}

.table th,
.table td {
    padding: 12px 14px;
    border-bottom: 1px solid #202028;
    color: #d7d9de;
    font-size: 14px;
}

.table th {
    background: #17171b;
    color: #cfd3da;
    text-align: left;
    font-weight: 700;
}

.table td:nth-child(2) {
    text-align: center;
}

.always-visible tr:last-child td {
    border-bottom: 2px solid #444; /* separator before collapsible section */
}

/* Details box styling */
.expandable {
    border: 1px solid #444;
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    background: #0f1013;
}

/* Clickable summary */
.expandable summary {
    cursor: pointer;
    padding: 12px 16px;
    background: #0f1013;
    font-weight: bold;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Custom arrow */
.expandable summary::after {
    content: "▸";
    transition: transform 0.2s ease;
}
.expandable[open] summary::after {
    transform: rotate(90deg);
}

/* Fade-in animation */
.collapsible-wrapper {
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1;}
}

/* ---------------------------
   PREMIUM CARDS
---------------------------- */
.feature-box {
    border: 2px solid rgba(255, 255, 255, 0.2); /* subtle border */
    border-radius: 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0); /* fully transparent */
    margin: 20px 0;
    margin-bottom: 25px;
}

.feature-box p {
    margin: 0; /* prevent extra spacing */
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}

.premium-row {
    display: flex;
    gap: 28px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 20px;
}

.premium-card {
    width: 300px;
    background: #121216;
    border: 1px solid #26262b;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.premium-card:hover { 
    transform:translateY(-3px);
    transition:transform .12s ease;
    color:#fff; background:transparent;
    border-color: #66afe9;
    box-shadow: 0 0 8px rgba(194, 177, 255, 0.6);
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    background: #0f1013;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.premium-card h3 {
    text-align: center;
    margin-bottom: 12px;
    color: #cfd3da;
    font-size: 13px;
}

.premium-card h2 {
    text-align: center;
    margin-bottom: 3px;
    color: #cfd3da;
}

.table th,
.table td {
    padding: 12px 14px;
    border-bottom: 1px solid #202028;
    color: #d7d9de;
    font-size: 14px;
}

.table th {
    background: #17171b;
    color: #cfd3da;
    text-align: left;
    font-weight: 700;
}

.table td:nth-child(2) {
    text-align: center;
}

.table tr:last-child {
    border-bottom: none;
}

/* ---------------------------
   FREE TIER CARD
---------------------------- */

.free-tier-card {
    width: 300px;
    margin: 16px auto;
    background: #121216;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #26262b;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.free-tier-card h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #fff;
}

/* ---------------------------
   FOOTER
---------------------------- */

.footer {
    text-align: center;
    padding: 25px;
    color: #888;
    margin-top: 60px;
}

/* ---------------------------
   RESPONSIVE
---------------------------- */

@media (max-width: 620px) {
    .premium-card, .free-tier-card {
        width: 100%;
        max-width: 340px;
    }
    .bot-logo {
        width: 160px;
        height: 160px;
    }
}

/* ---------------------------
       QUICKSTART GUIDE
---------------------------- */
.quickstart {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 30px 30px 30px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* HEADER BAR */
.qs-header {
    margin: 0 -30px 25px -30px; /* cancel container padding */
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(4px);
}

.qs-header h2 {
    margin: 0;
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* LIST */
.qs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qs-list li {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform:translateY(0px);
    transition:transform .15s ease;
}

.qs-list li:hover {
    transform:translateY(-3px);
    transition:transform .25s ease;
}

.qs-list li:last-child {
    border-bottom: none;
}

.qs-list h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.qs-list p {
    margin: 6px 0 0 0;
    opacity: 0.85;
    font-size: 0.97rem;
}

code {
    background: rgba(255, 255, 255, 0.07);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.9rem;
}