:root {
    /* Dark Theme Variables (Default) */
    --primary-accent: #8B5CF6;
    --primary-accent-dark: #7C3AED;
    --primary-accent-light: #A78BFA;
    --secondary-accent: #3B82F6;
    --primary-accent-glow: rgba(139, 92, 246, 0.35);
    --primary-accent-rgb: 139, 92, 246;

    --bg-deep-space: #030712;
    --bg-nebula-dark: #111827;
    --bg-card-surface: #1F2937;
    --cta-background-image: url('https://i.imgur.com/5D0Jfpa.jpeg');
    --cta-overlay-color: rgba(3, 7, 18, 0.75);

    --border-subtle: rgba(71, 85, 105, 0.4);
    --border-active: var(--primary-accent-light);

    --text-bright: #F9FAFB;
    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --dot-color-base: rgba(55, 65, 81, 0.2);
    --dot-color-active: var(--primary-accent-light);
    --particle-color: rgba(100, 116, 139, 0.2);


    /* Status Colors */
    --status-online-text-color: #34D399;
    --status-maintenance-text-color: #60A5FA;
    --status-offline-text-color: #F87171;

    --status-online-badge-bg: rgba(16, 185, 129, 0.1);
    --status-online-badge-text: #A7F3D0;
    --status-maintenance-badge-bg: rgba(59, 130, 246, 0.1);
    --status-maintenance-badge-text: #BFDBFE;
    --status-offline-badge-bg: rgba(239, 68, 68, 0.1);
    --status-offline-badge-text: #FECACA;
}

html[data-theme="light"] {
    --primary-accent: #7C3AED;
    --primary-accent-dark: #6D28D9;
    --primary-accent-light: #8B5CF6;
    --secondary-accent: #2563EB;
    --primary-accent-glow: rgba(124, 58, 237, 0.2);
    --primary-accent-rgb: 124, 58, 237;

    --bg-deep-space: #F9FAFB;
    --bg-nebula-dark: #F3F4F6;
    --bg-card-surface: #FFFFFF;
    --cta-overlay-color: rgba(249, 250, 251, 0.2);

    --border-subtle: #D1D5DB;
    --border-active: var(--primary-accent);

    --text-bright: #111827;
    --text-primary: #374151;
    --text-secondary: #6B7280;
    --dot-color-base: rgba(209, 213, 219, 0.5);
    --dot-color-active: var(--primary-accent);
    --particle-color: rgba(156, 163, 175, 0.3);

    --status-online-text-color: #059669;
    --status-maintenance-text-color: #2563EB;
    --status-offline-text-color: #DC2626;

    --status-online-badge-bg: rgba(16, 185, 129, 0.15);
    --status-online-badge-text: #065F46;
    --status-maintenance-badge-bg: rgba(59, 130, 246, 0.15);
    --status-maintenance-badge-text: #1E40AF;
    --status-offline-badge-bg: rgba(239, 68, 68, 0.15);
    --status-offline-badge-text: #991B1B;
}


body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep-space);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}



#background-particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

#cursor-follower-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(800px circle at var(--cursor-x) var(--cursor-y),
            rgba(var(--primary-accent-rgb), 0.07),
            transparent 75%);
    transition: background 0.1s linear;
}

.hero-bg {
    background-image: linear-gradient(rgba(3, 7, 18, 0.6), rgba(3, 7, 18, 0.85)),
        url('https://i.imgur.com/67TIZ9Y.jpeg');
    background-size: cover, cover;
    background-position: center, center bottom;
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 70vh;
}

.hero-content-overlay {
    position: relative;
    z-index: 2;
    padding-top: 6rem;
    padding-bottom: 8rem;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-content-overlay {
        padding-top: 8rem;
        padding-bottom: 10rem;
    }
}

@keyframes gradientTextAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient-text {
    background: linear-gradient(90deg, var(--primary-accent-light), var(--secondary-accent), var(--primary-accent-light), var(--primary-accent));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientTextAnimation 6s ease-in-out infinite;
    display: inline;
}

.features-section {
    position: relative;
    background-color: var(--bg-deep-space);
    overflow: hidden;
    z-index: 1;
}

#features-dots-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.feature-card {
    background-color: var(--bg-card-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    transition: transform 0.2s ease-out, box-shadow 0.3s ease, opacity 0.6s ease-out, border-color 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform;
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 35px var(--primary-accent-glow), 0 0 20px var(--primary-accent-glow);
    border-color: var(--border-active);
}

.feature-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-primary {
    background-image: linear-gradient(to right, var(--primary-accent-light) 0%, var(--primary-accent) 50%, var(--primary-accent-dark) 100%);
    background-size: 200% auto;
    color: white;
    border-radius: 0.375rem;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    transition: background-position 0.4s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

html[data-theme="light"] .btn-primary {
    color: var(--text-bright);
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 25px var(--primary-accent-glow);
}

.btn-nav-signup {
    background-color: var(--primary-accent);
    color: var(--text-bright);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-nav-signup:hover {
    background-color: var(--primary-accent-dark);
    transform: translateY(-1px);
}


.btn-cta-section {
    display: inline-block;
    background-color: var(--primary-accent);
    color: var(--text-bright);
    font-weight: 600;
    padding: 0.75rem 2.5rem;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

html[data-theme="light"] .btn-cta-section {
    background-color: var(--primary-accent-dark);
    color: var(--text-bright);
}

.btn-cta-section:hover {
    background-color: var(--primary-accent-dark);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 15px -3px var(--primary-accent-glow), 0 4px 6px -2px var(--primary-accent-glow);
}


.header-mini-link,
.header-link,
.footer-link {
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.header-mini-link:hover,
.header-link:hover,
.footer-link:hover {
    color: var(--primary-accent-light);
    transform: translateY(-1px);
}

.section-title {
    color: var(--text-bright);
    font-weight: 800;
}

.section-title .highlight {
    background: linear-gradient(to right, var(--primary-accent-light), var(--primary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

html[data-theme="light"] .section-title .highlight {
    background: linear-gradient(to right, var(--primary-accent), var(--primary-accent-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 100;
    transition: opacity 0.3s ease, transform 0.3s ease;
    background-color: var(--primary-accent);
    color: var(--text-bright);
    border-radius: 0.375rem;
}

#scrollTopBtn:hover {
    transform: scale(1.1);
    background-color: var(--primary-accent-dark);
}

.animated-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.material-icons-outlined {
    vertical-align: middle;
}

.text-accent {
    color: var(--primary-accent-light);
}

html[data-theme="light"] .text-accent {
    color: var(--primary-accent);
}


.cta-section {
    position: relative;
    background-image: var(--cta-background-image);
    background-size: cover;
    background-position: center;
    color: var(--text-bright);
    z-index: 1;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--cta-overlay-color);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

/* Server Status Specific Styles (Can be removed if not using status items) */
.status-item {
    background-color: var(--bg-card-surface);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-item:hover {
    box-shadow: 0 0 20px var(--primary-accent-glow);
}

.status-item-flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.75rem;
    border: 1px solid var(--border-subtle);
}

.status-item-info {
    flex-grow: 1;
}

.status-item-name {
    color: var(--text-bright);
    font-weight: 500;
    font-size: 0.875rem;
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.status-online {
    background-color: var(--status-online-badge-bg);
    color: var(--status-online-badge-text);
    border: 1px solid var(--status-online-text-color);
}

.status-maintenance {
    background-color: var(--status-maintenance-badge-bg);
    color: var(--status-maintenance-badge-text);
    border: 1px solid var(--status-maintenance-text-color);
}

.status-offline {
    background-color: var(--status-offline-badge-bg);
    color: var(--status-offline-badge-text);
    border: 1px solid var(--status-offline-text-color);
}

/* Reviews Section Styles (Can be removed if not using reviews carousel) */
.reviews-section {
    background-color: var(--bg-deep-space);
}

.reviews-carousel-viewport {
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

@keyframes scrollReviews {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

#reviews-grid-carousel {
    display: flex;
    flex-wrap: nowrap;
}

.review-card-item {
    background-color: var(--bg-card-surface);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    width: 320px;
    margin-right: 1.5rem;
    flex-shrink: 0;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.review-card-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 0 30px 2px var(--primary-accent-glow);
    border-color: var(--border-active);
}

.review-header-flex {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-quote-icon-carousel {
    font-size: 2.5rem;
    color: var(--primary-accent-light);
    line-height: 1;
    margin-top: -0.25rem;
    opacity: 0.7;
}

.review-author-block {
    flex-grow: 1;
}

.review-author-name-stars-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.25rem;
}

.review-author-name-role {}

.review-author-name-carousel {
    font-weight: 600;
    color: var(--text-bright);
    font-size: 1rem;
}

.review-author-role-carousel {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: -0.125rem;
}

.review-stars-carousel {
    display: flex;
    margin-left: 0.5rem;
}

.review-stars-carousel .star-icon {
    color: var(--primary-accent);
    font-size: 1rem;
    margin-left: 0.125rem;
}

.review-text-content-carousel {
    color: var(--text-primary);
    font-size: 0.875rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Mission & Vision Section Styles (Can be removed if not using this layout) */
.mission-vision-section {
    background-color: var(--bg-nebula-dark);
}

.mission-statement p {
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.looking-forward-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.looking-forward-item:last-child {
    border-bottom: none;
}

.looking-forward-item .icon-wrapper {
    background-color: rgba(var(--primary-accent-rgb), 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: inline-flex;
    flex-shrink: 0;
}

.looking-forward-item .icon-wrapper .material-icons-outlined {
    color: var(--primary-accent-light);
    font-size: 1.75rem;
}

.looking-forward-item .text-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 0.375rem;
}

.looking-forward-item .text-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.performance-metrics-card {
    background-color: var(--bg-card-surface);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.metric-item {
    margin-bottom: 1.5rem;
}

.metric-item:last-child {
    margin-bottom: 0;
}

.metric-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.metric-label span:first-child {
    font-weight: 500;
}

.metric-bar-bg {
    background-color: var(--bg-deep-space);
    border-radius: 9999px;
    height: 0.625rem;
    overflow: hidden;
}

.metric-bar-fill {
    background-color: var(--primary-accent);
    height: 100%;
    border-radius: 9999px;
    transition: width 0.8s ease-in-out;
}

/* Control Panel Showcase Section (Can be removed if not using this layout) */
.panel-showcase-section {
    background-color: var(--bg-nebula-dark);
}

#panel-features-list {
    /* Styles for the left column of buttons if needed */
}

.panel-feature-button {
    background-color: var(--bg-card-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.panel-feature-button:hover,
.panel-feature-button.active {
    background-color: rgba(var(--primary-accent-rgb), 0.15);
    border-color: var(--primary-accent-light);
}

.panel-feature-button .material-icons-outlined {
    color: var(--primary-accent-light);
    font-size: 1.75rem;
}

.panel-feature-button span {
    color: var(--text-bright);
    font-weight: 500;
}

.panel-feature-description {
    background-color: var(--bg-card-surface);
    border: 1px solid var(--border-subtle);
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    padding: 1rem;
    margin-top: -0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
}

.panel-feature-description.expanded {
    max-height: 200px;
    padding: 1rem;
    opacity: 1;
}

.panel-image-display-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 8rem;
    align-self: flex-start;
    max-height: calc(100vh - 9rem);
    overflow: hidden;
}

.panel-image-display {
    background-color: var(--bg-card-surface);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.panel-image-display img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 10rem);
    object-fit: contain;
    border-radius: 0.5rem;
    transition: opacity 0.5s ease-in-out;
}


header,
section:not(.hero-bg),
footer,
main {
    /* Added main here */
    position: relative;
    z-index: 2;
}

.header-mini-bar {
    background-color: var(--bg-nebula-dark);
    position: relative;
    z-index: 51;
}

header.sticky {
    z-index: 50;
}

/* Theme Toggle Button */
#theme-toggle-button,
#theme-toggle-button-mobile {
    /* Combined for consistency */
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    /* rounded-md */
    transition: color 0.2s ease, background-color 0.2s ease;
}

#theme-toggle-button:hover,
#theme-toggle-button-mobile:hover {
    color: var(--primary-accent-light);
    background-color: rgba(var(--primary-accent-rgb), 0.1);
}

#theme-toggle-button .material-icons-outlined,
#theme-toggle-button-mobile .material-icons-outlined {
    font-size: 1.75rem;
    /* text-2xl */
    transition: transform 0.3s ease;
    /* Smooth icon transition */
}

/* Styling for main content placeholder */
.main-content-placeholder {
    background-color: var(--bg-card-surface);
    color: var(--text-primary);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

html[data-theme="light"] .main-content-placeholder {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html[data-theme="light"] .hero-bg,
html[data-theme="light"] .hero-bg .text-text-bright,
html[data-theme="light"] .hero-bg .text-text-primary {
    --text-bright: #ffffff;
    --text-primary: #f5f5f5;
    color: var(--text-bright) !important;
}

html[data-theme="light"] .cta-section,
html[data-theme="light"] .cta-section .text-text-bright,
html[data-theme="light"] .cta-section .text-text-primary {
    --text-bright: #ffffff;
    --text-primary: #f5f5f5;
    color: var(--text-bright) !important;
}

html[data-theme="light"] .cta-section .btn-cta-section {
    background-color: var(--primary-accent-dark);
    color: #ffffff !important;
}