:root {
    --primary-color: #c039ff;
    --secondary-color: #ff3b81;
    --accent-color: #00e5ff;
    --dark-bg: #0a0a1a;
    --glass-bg: rgba(20, 15, 45, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-shadow: 0 0 15px rgba(255, 59, 129, 0.5), 0 0 30px rgba(192, 57, 255, 0.5);
    --success-color: #20c997;
    --warning-color: #ffc107;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background-color: var(--dark-bg);
    color: #f0f0f0;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 1% 1%, var(--primary-color), transparent 25%), radial-gradient(circle at 99% 99%, var(--secondary-color), transparent 25%);
    background-attachment: fixed;
}

.navbar {
    background-color: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: background-color 0.3s ease;
}
.navbar-brand {
    font-weight: 900;
    font-size: 1.8rem;
    color: #fff;
}
.navbar-brand .brand-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-link {
    color: #f0f0f0;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-color);
}

/* --- NEW: Dropdown Menu Style --- */
.dropdown-menu {
    background-color: var(--glass-bg) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border) !important;
    border-radius: 10px;
    padding: 0.5rem 0;
}
.dropdown-item {
    color: #f0f0f0;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(255, 59, 129, 0.2);
    color: #fff;
}
/* --- END NEW --- */

.hero {
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero h1 {
    font-size: 3.8rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    padding-top: 10px;
}
.hero p {
    font-size: 1.25rem;
    max-width: 900px;
    margin: 20px auto 30px;
    color: #ccc;
}
.btn-glow {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 14px 35px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: #fff;
    box-shadow: 0 0 20px rgba(192, 57, 255, 0.6);
}
.btn-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 57, 255, 0.8);
    color: #fff;
}

section {
    padding: 50px 0;
    position: relative;
}
.section-title {
    text-align: center;
    margin-bottom: 30px;
}
.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    color: #fff;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}
.glass-card .card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.glass-card h3 {
    color: #fff;
    font-weight: 700;
}
.glass-card p {
    color: #ccc;
}

.pricing-card { border: 2px solid var(--glass-border); }
.pricing-card.highlight { border-color: var(--primary-color); box-shadow: var(--glow-shadow); }
.pricing-card .plan-name { font-size: 1.5rem; font-weight: 700; color: var(--accent-color); }
.pricing-card .price { font-size: 3rem; font-weight: 900; margin: 15px 0; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: #ccc; }
.pricing-card ul { list-style: none; padding: 0; margin: 30px 0; text-align: left; margin-bottom: 60px;}
.pricing-card ul li { margin-bottom: 15px; display: flex; align-items: center; }
.pricing-card ul li i { color: var(--accent-color); margin-right: 10px; }
.btn-outline-glow { border: 2px solid var(--accent-color); color: var(--accent-color); padding: 12px 30px; font-weight: 700; border-radius: 50px; transition: all 0.3s ease; }
.btn-outline-glow:hover { background-color: var(--accent-color); color: var(--dark-bg); box-shadow: 0 0 20px var(--accent-color); }

.client-logo-wrapper { display: flex; justify-content: center; align-items: center; height: 100px; background: rgba(255, 255, 255, 0.05); border-radius: 15px; padding: 15px; transition: all 0.3s ease; }
.client-logo-wrapper:hover { background: rgba(255, 255, 255, 0.1); transform: scale(1.05); }
.client-logo-wrapper img { max-width: 130px; max-height: 50px; opacity: 0.8; transition: all 0.3s ease; }
.client-logo-wrapper:hover img { filter: none; opacity: 1; }

.news-card { overflow: hidden; }
.news-card img { border-radius: 20px 20px 0 0; transition: transform 0.4s ease; }
.news-card:hover img { transform: scale(1.05); }
.news-card .card-body { padding: 25px; }
.news-card .news-title { color: #fff; text-decoration: none; font-size: 1.25rem; font-weight: 700; }
.news-card .news-title:hover { color: var(--secondary-color); }
.news-card .read-more { color: var(--accent-color); text-decoration: none; font-weight: 700; }
.news-card .read-more:hover { text-decoration: underline; }

/* --- NEW: Enhanced Footer Style --- */
.footer {
    background-color: #07060f;
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}
.footer-logo {
    font-weight: 900;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
}
.footer-logo .brand-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-about {
    color: #ccc;
    font-size: 0.9rem;
}
.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}
.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    margin-right: 10px;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}
/* --- END NEW --- */

.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

.choose-price{
  position: fixed;
  bottom: 20px;
  left: 30%;
}

/* --- Page Specific Styles --- */
.page-header {
    padding-top: 120px;
    padding-bottom: 40px;
}

.breadcrumb { background-color: transparent; padding: 0; }
.breadcrumb-item a { color: #ccc; text-decoration: none; transition: color 0.3s; }
.breadcrumb-item a:hover { color: var(--secondary-color); }
.breadcrumb-item.active { color: #fff; font-weight: 500; }
.breadcrumb-item + .breadcrumb-item::before { color: #ccc; content: "/"; }

.article-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
}

.article-meta {
    color: #ccc;
    font-size: 0.9rem;
    margin-top: 15px;
    margin-bottom: 30px;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 40px;
    object-fit: cover;
    max-height: 500px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}
.article-content p { margin-bottom: 1.5rem; }
.article-content h2, .article-content h3 {
    font-weight: 700;
    color: #fff;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}
.article-content h2{
    font-size: 25px;
}
.article-content h3{
    font-size: 23px;
}
.article-content blockquote {
    background: var(--glass-bg);
    border-left: 5px solid var(--primary-color);
    padding: 20px 30px;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    font-size: 1.2rem;
}

.share-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
}
.share-section span {
    font-weight: 700;
    margin-right: 20px;
}

.related-posts {
    margin-top: 80px;
}
.related-posts h3 {
    text-align: center;
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px;
}
.news-item { margin-bottom: 30px; background: var(--glass-bg); border-radius: 15px; overflow: hidden; transition: all 0.3s ease;}
.news-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); }
.news-item img { width: 100%; height: 200px; object-fit: cover; }
.news-item .card-body { padding: 25px; }
.news-item h5 { font-weight: 700; }
.news-item a { text-decoration: none; color: #fff;}
.news-item a:hover h5 { color: var(--secondary-color); }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.contact-info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    width: 30px;
    text-align: center;
}
.contact-info-item div h5 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}
.contact-info-item div p {
    margin: 0;
    color: #ccc;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    height: 250px;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.category-title {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.news-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-color: var(--secondary-color);
}
.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}
.news-card .card-body {
    padding: 25px;
}
.news-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.news-card .card-title a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}
.news-card .card-title a:hover {
    color: var(--secondary-color);
}
.news-card .card-text {
    color: #ccc;
    font-size: 0.95rem;
}
.news-card .card-meta {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 15px;
}

/* Sidebar */
.sidebar .widget {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
}
.sidebar .widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
}
.sidebar .search-form .form-control {
    background-color: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    color: #fff;
}
.sidebar .search-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: none;
}
.sidebar .category-list {
    list-style: none;
    padding: 0;
}
.sidebar .category-list li {
    margin-bottom: 10px;
}
.sidebar .category-list a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}
.sidebar .category-list a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}
.sidebar .recent-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.sidebar .recent-post-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 15px;
}
.sidebar .recent-post-item a {
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    line-height: 1.4;
}
 .sidebar .recent-post-item a:hover {
    color: var(--secondary-color);
}

/* Pagination */
.pagination .page-item .page-link {
    background-color: var(--glass-bg);
    color: #fff;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    margin: 0 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination .page-item.active .page-link {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-color: var(--secondary-color);
}
 .pagination .page-item:not(.active) .page-link:hover {
    border-color: var(--secondary-color);
}
.pagination .page-item.disabled .page-link {
    background-color: rgba(20, 15, 45, 0.2);
    border-color: rgba(255,255,255,0.05);
}

/* --- Page Specific Styles --- */
.page-title { font-size: 3rem; font-weight: 900; color: #fff; }


.bot-list-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 10px;
}

.bot-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping */
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    transition: background-color 0.3s ease;
}
.bot-item:last-child { border-bottom: none; }
.bot-item:hover { background-color: rgba(255, 255, 255, 0.05); }

.bot-status { display: flex; align-items: center; flex-basis: 140px; flex-grow: 1; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; flex-shrink: 0;}
.status-active { background-color: var(--success-color); box-shadow: 0 0 8px var(--success-color); }
.status-paused { background-color: var(--warning-color); box-shadow: 0 0 8px var(--warning-color); }

.bot-info { flex-basis: 250px; flex-grow: 2; padding: 0 15px; }
.bot-info .bot-name { font-weight: 700; color: #fff; display: block; }
.bot-info .bot-model { font-size: 0.85rem; color: #ccc; }

.bot-usage { flex-basis: 250px; flex-grow: 2; padding: 0 15px;}
.usage-text { font-size: 0.85rem; color: #ccc; margin-bottom: 5px; }
.progress { height: 8px; background-color: rgba(0,0,0,0.3); }
.progress-bar { background: linear-gradient(90deg, var(--accent-color), var(--primary-color)); }

.bot-actions { flex-basis: 220px; flex-grow: 1; text-align: right; }
.btn-action { background: rgba(255,255,255,0.1); border: 1px solid transparent; color: #fff; margin: 5px 0 5px 5px; }
.btn-action:hover { background: rgba(255,255,255,0.2); border-color: var(--glass-border); }
.btn-action.delete:hover { background: var(--secondary-color); border-color: var(--secondary-color); }

/* Modal Styling */
.modal-content { background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 20px; }
.modal-header { border-bottom-color: var(--glass-border); }
.modal-footer { border-top-color: var(--glass-border); }
.btn-close { filter: invert(1) grayscale(100%) brightness(200%); }
.form-control, .form-select { background-color: rgba(0,0,0,0.3); border: 1px solid var(--glass-border); color: #fff; padding: 0.8rem 1rem; }
.form-control:focus, .form-select:focus { background-color: rgba(0,0,0,0.4); border-color: var(--secondary-color); box-shadow: 0 0 0 2px rgba(255, 59, 129, 0.25); color: #fff; }
.form-select option { background-color: var(--dark-bg); }
.form-control::placeholder { color: #aaa; }


/*
==============================================
=== NEW: RESPONSIVE STYLES FOR BOT LIST ======
==============================================
*/
@media (max-width: 991.98px) {
    .page-header .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .page-header .btn-glow {
        margin-top: 20px;
    }

    .bot-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .bot-status,
    .bot-info,
    .bot-usage,
    .bot-actions {
        flex-basis: auto; /* Reset flex-basis */
        width: 100%;     /* Take full width */
        padding: 0;      /* Reset padding */
        text-align: left;/* Align text to left */
        margin-bottom: 15px; /* Add space between stacked items */
    }
    .bot-actions {
        margin-bottom: 0; /* No margin for the last item */
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .bot-actions .btn {
         margin: 5px 5px 5px 0; /* Adjust button margin */
    }
}
@media (max-width: 576px) {
    .page-title {
        font-size: 2.2rem;
    }
    .bot-list-container {
        padding: 0;
        background: transparent;
        border: none;
    }
    .bot-item {
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        margin-bottom: 20px;
    }
}

.payment-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.payment-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.payment-details-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 1.1rem;
}
.payment-details-list li:last-child {
    border-bottom: none;
}
.payment-details-list .label {
    color: #ccc;
}
.payment-details-list .value {
    font-weight: 700;
    color: #fff;
}
.payment-details-list .value.amount {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.btn-copy {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #ccc;
    border-radius: 5px;
    padding: 5px 10px;
    margin-left: 15px;
    transition: all 0.2s ease;
}
.btn-copy:hover {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-color: var(--accent-color);
}

.qr-code-wrapper {
    text-align: center;
}
.qr-code-wrapper h3 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.qr-code-wrapper img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 5px solid #fff;
    background: #fff;
}
.qr-code-wrapper .qr-note {
    margin-top: 1.5rem;
    color: #ccc;
}

.transaction-footer {
    border-top: 1px solid var(--glass-border);
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    text-align: center;
}

@media (max-width: 991.98px) {
    .qr-code-wrapper {
        margin-top: 40px;
    }
}