:root {
    --bg-main: #0c1120;
    --bg-card: #171c2b;
    --bg-card2: #1c2237;
    --border-card: #232846;
    --text-main: #f3f4fa;
    --text-muted: #8f98be;
    --accent: #9483fe;
    --accent2: #7543db;
    --green: #6ee7b7;
    --danger: #ef4444;
    --pinger-good: #6ee7b7;
    --pinger-medium: #fbbf24;
    --pinger-bad: #ef4444;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.dashboard-section {
    padding: 48px 0 24px 0;
    background: #101920;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(170px, auto);
    gap: 22px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
}

.dashboardcard {
    background: var(--bg-card);
    border-radius: 15px;
    box-shadow: 0 2px 18px 0 rgba(20, 24, 54, .17);
    border: 1px solid var(--border-card);
    padding: 22px 16px;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    min-height: 170px;
    transition: box-shadow .18s, transform 0.2s ease;
}

.dashboardcard:hover {
    box-shadow: 0 6px 28px 0 rgba(148, 131, 254, 0.15), 0 1.5px 10px 0 rgba(20, 24, 54, 0.14);
    transform: translateY(-3px);
}

.dashboardcard-header {
    font-weight: 700;
    font-size: 1.13em;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
}

.dashboardcard[data-wide="true"] {
    grid-column: span 2;
}

.dashboardcard[data-ultrawide="true"] {
    grid-column: span 3;
}

.dashboardcard[data-tall="true"] {
    grid-row: span 2;
}

.icon {
    font-size: 1.15em;
    margin-right: 8px;
    color: var(--accent);
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 8px;
    margin: 10px 0 14px 0;
}

.feature-list span {
    background: #232846;
    color: var(--text-muted);
    font-size: 0.98em;
    border-radius: 7px;
    padding: 7px 14px;
    margin: 2px 0;
    display: inline-block;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 130px;
    text-align: center;
}

.feature-list span:hover {
    background: #1c2237;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--accent);
}

.feature-list span::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent2), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-list span:hover::after {
    opacity: 0.2;
}

.specs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 5px;
    margin: 10px 0 14px 0;
}

.specs-list span {
    background: #232846;
    color: var(--text-muted);
    font-size: 0.98em;
    border-radius: 7px;
    padding: 4px 13px;
    margin: 2px 0;
    display: inline-block;
}

.pinger-box {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    margin-top: 16px;
}

.pinger-label {
    font-size: 0.97em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.pinger-value {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.pinger-value:hover {
    transform: scale(1.05);
}

.pinger-value.latency {
    color: var(--pinger-good);
    transition: color .3s;
}

.pinger-value.latency.medium {
    color: var(--pinger-medium);
}

.pinger-value.latency.bad {
    color: var(--pinger-bad);
}

.pinger-value.refreshing::after {
    content: "";
    position: absolute;
    top: 0;
    right: -25px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Statistics Bar */
.statistics-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 25px 0 10px 0;
    background: #1c2237;
    border-radius: 14px;
    padding: 32px 22px 22px 22px;
    gap: 30px;
    overflow-x: auto;
}

.statistics-bar>div {
    text-align: center;
    min-width: 110px;
}

.stat-count {
    font-size: 2.2em;
    color: var(--accent2);
    font-weight: 700;
    display: block;
    line-height: 1.1;
    margin-bottom: 7px;
}

.stat-label {
    font-size: 1.07em;
    color: var(--text-muted);
    font-weight: 500;
}

/* Review Section */
.review-slider {
    width: 100%;
    margin: 0 auto 22px auto;
    min-height: 160px;
    position: relative;
}

.review-card {
    background: #232846;
    border-radius: 13px;
    box-shadow: 0 2px 16px rgba(62, 62, 79, 0.11);
    padding: 32px 24px;
    text-align: center;
    min-height: 140px;
    display: none;
}

.review-slider .review-stars {
    color: #f7b731;
    margin-bottom: 8px;
}

.review-slider .review-author {
    font-weight: bold;
    color: #9483fe;
    margin-top: 12px;
}

.review-loading {
    color: var(--text-muted);
    font-size: 1.1em;
    text-align: center;
    min-height: 140px;
    padding: 20px;
}

.btn,
.btn-default-purple-fill,
.btn-default-grad-purple-fill,
.btn-default-yellow-fill,
.btn-default-pink-fill {
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    background: var(--accent2) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 8px 0 rgba(148, 131, 254, 0.13) !important;
    transition: background .2s, color .2s, transform .2s;
    padding: 14px 20px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.btn:hover,
.btn-default-purple-fill:hover,
.btn-default-grad-purple-fill:hover,
.btn-default-yellow-fill:hover,
.btn-default-pink-fill:hover {
    background: var(--accent2) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Feature video modal for all screens */
.feature-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 17, 32, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-modal.active {
    display: flex;
    opacity: 1;
}

.feature-modal-content {
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-card);
    max-width: 95vw;
    max-height: 90vh;
    width: 800px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.feature-modal.active .feature-modal-content {
    transform: scale(1);
}

.feature-modal-video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    background: #000;
}

.feature-modal-caption {
    padding: 20px;
    background: var(--bg-card2);
    color: var(--text-main);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}

.feature-modal-caption h3 {
    color: var(--accent);
    margin-top: 0;
}

.feature-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(35, 40, 70, 0.8);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    border: 1px solid var(--border-card);
}

.feature-modal-close:hover {
    background: var(--accent2);
    transform: rotate(90deg);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-list span:hover .video-play-icon {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .dashboardcard[data-wide="true"],
    .dashboardcard[data-ultrawide="true"] {
        grid-column: span 3;
    }
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .dashboardcard[data-wide="true"],
    .dashboardcard[data-ultrawide="true"] {
        grid-column: span 2;
    }

    .statistics-bar {
        gap: 18px;
        padding: 18px 5px;
    }
}

@media (max-width: 600px) {
    .dashboard-section {
        padding: 28px 0 12px 0;
    }

    .dashboard-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px;
        padding: 0 4px;
        width: 100%;
    }

    .dashboardcard,
    .dashboardcard[data-wide="true"],
    .dashboardcard[data-ultrawide="true"] {
        grid-column: 1 / -1 !important;
        min-width: 0;
        width: 100%;
        max-width: 400px;
        margin-bottom: 12px;
        padding: 14px 7px;
        font-size: 1em;
        align-self: center;
    }

    .dashboardcard-header {
        font-size: 1em;
        margin-bottom: 4px;
        text-align: center;
    }

    .section-heading {
        font-size: 1.45rem;
        margin-bottom: 0.6rem;
        text-align: center;
    }

    .section-subheading {
        font-size: 1em;
        margin-bottom: 1.2rem;
        text-align: center;
    }

    .feature-list {
        flex-direction: column;
        gap: 7px 0;
        margin: 6px 0 7px 0;
    }

    .feature-list span {
        font-size: 0.98em;
        padding: 9px 0;
        width: 100%;
        min-width: 0;
        margin-bottom: 3px;
    }

    .specs-list {
        flex-direction: column;
        gap: 6px 0;
    }

    .specs-list span {
        font-size: 0.97em;
        padding: 7px 0;
        width: 100%;
        border-radius: 4px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .statistics-bar {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px;
        padding: 10px 0;
        margin: 12px 0 5px 0;
        width: 100%;
    }

    .statistics-bar>div {
        min-width: unset;
        width: 100%;
        text-align: center;
    }

    .review-slider {
        min-height: 120px;
    }

    .btn,
    .btn-default-purple-fill,
    .btn-default-grad-purple-fill,
    .btn-default-yellow-fill,
    .btn-default-pink-fill {
        font-size: .98rem !important;
        padding: 12px 3px;
        width: 100%;
    }

    .feature-modal-content {
        width: 99vw;
        max-width: 100vw;
        border-radius: 0;
        padding: 0;
    }

    .feature-modal-caption {
        padding: 12px 5px;
        font-size: 0.95rem;
    }
}

/* Animation for feature items */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

.section-heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.section-subheading {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.dashboard-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(117, 67, 219, 0.3);
}
/*FAQ */
.faq-section {
  background: #161e2d;
}
.faq-box {
  background: #21243a;
  border: 1px solid #282e47;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(54, 65, 120, 0.18);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-box:hover,
.faq-box:focus-within {
  box-shadow: 0 0 0 3px #a68cff44, 0 2px 16px 0 rgba(54, 65, 120, 0.18);
  border-color: #a68cffcc;
}
.section-heading {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
}
.section-subheading {
  color: #b1b3e3;
  font-size: 1.1rem;
}
.link-purple {
  color: #a68cff;
  text-decoration: underline;
}
.link-purple:hover {
  color: #d0bfff;
}
.faq-question {
  color: #a68cff;
  font-weight: 600;
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem 1.2rem 1.5rem;
  border-radius: 16px;
  transition: background 0.2s;
  box-shadow: none;
}
.faq-question:focus, .faq-question:hover {
  background: #252850;
  color: #fff;
  text-decoration: none;
}
.faq-answer {
  color: #e4e5f1;
  font-size: 1rem;
}
.card-body {
  padding: 1.5rem 1.5rem 1rem 1.5rem;
}
.card-header {
  border-bottom: none;
}
/* Arrow rotation */
.faq-arrow {
  transition: transform 0.25s;
  display: flex;
  align-items: center;
}
.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(90deg);
}

/* Learn more section */
.learn-more-section {
  background: #101920 !important;
}
.learn-more-box {
  background: var(--bg-card);
  border: 1px solid #282e47;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(54, 65, 120, 0.18);
  transition: box-shadow 0.2s, border-color 0.2s;
  max-width: 1000px;
}
.learn-more-box:hover,
.learn-more-box:focus-within {
  box-shadow: 0 0 0 3px #a68cff44, 0 2px 16px 0 rgba(54, 65, 120, 0.18);
  border-color: #a68cffcc;
}
.learn-more-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}
.learn-more-text {
  color: #e4e5f1;
  font-size: 1.15rem;
}
.learn-more-btn {
  background: #a68cff;
  border: none;
  color: #181f2d;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.8rem 2.5rem;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px 0 rgba(166, 140, 255, 0.14);
}
.learn-more-btn:hover,
.learn-more-btn:focus {
  background: #8f6aff;
  color: #fff;
}
.learn-more-link {
  color: #a68cff;
  text-decoration: underline;
  font-size: 1.05rem;
}
.learn-more-link:hover {
  color: #d0bfff;
  text-decoration: underline;
}