/* ---------------------------------------------------------
   Aluxis AI Homepage Styling
   --------------------------------------------------------- */

:root {
    --aluxis-cyan: #22d3ee;
    --aluxis-blue: #3b82f6;
    --aluxis-green: #34d399;

    --panel-bg: rgba(4, 18, 38, 0.68);
    --panel-bg-hover: rgba(7, 28, 56, 0.82);

    --panel-border: rgba(90, 180, 255, 0.20);
    --panel-border-hover: rgba(34, 211, 238, 0.50);
}

/* Full viewport background behaviour */
body {
    background-attachment: fixed !important;
    background-position: center center !important;
    background-size: cover !important;
}

/* Dark atmospheric overlay so text stays readable */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    background:
        linear-gradient(
            180deg,
            rgba(0, 10, 28, 0.30) 0%,
            rgba(0, 10, 28, 0.10) 45%,
            rgba(0, 8, 20, 0.40) 100%
        );
}

/* Keep main page reasonably wide */
#page_container {
    max-width: 1500px !important;
    margin: 0 auto;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

header {
    background: rgba(2, 12, 30, 0.72) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(100, 180, 255, 0.10);
    border-radius: 16px;

    margin-top: 16px;
    padding-left: 18px;
    padding-right: 18px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* ---------------------------------------------------------
   Group headings
   --------------------------------------------------------- */

.services-group h2,
.bookmarks-group h2 {
    color: #f8fafc !important;

    font-size: 1.15rem !important;
    font-weight: 600 !important;

    letter-spacing: 0.02em;

    text-shadow:
        0 1px 8px rgba(0, 0, 0, 0.7);
}

/* Accent line beneath/around section headings */
.services-group h2::after,
.bookmarks-group h2::after {
    content: "";
    display: inline-block;

    height: 1px;
    width: 120px;

    margin-left: 14px;
    margin-bottom: 4px;

    background:
        linear-gradient(
            90deg,
            rgba(34, 211, 238, 0.65),
            rgba(34, 211, 238, 0)
        );
}

/* ---------------------------------------------------------
   Service cards
   --------------------------------------------------------- */

.service-card {
    background: var(--panel-bg) !important;

    border: 1px solid var(--panel-border) !important;
    border-radius: 14px !important;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.service-card:hover {
    transform: translateY(-3px);

    background: var(--panel-bg-hover) !important;
    border-color: var(--panel-border-hover) !important;

    box-shadow:
        0 12px 38px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(34, 211, 238, 0.08);
}

/* ---------------------------------------------------------
   Service text
   --------------------------------------------------------- */

.service-name {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.service-description {
    color: #cbd5e1 !important;
}

.service-url {
    color: var(--aluxis-cyan) !important;
}

/* ---------------------------------------------------------
   Icons
   --------------------------------------------------------- */

.service-card img {
    filter:
        drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
}

/* ---------------------------------------------------------
   Search
   --------------------------------------------------------- */

input {
    background: rgba(4, 18, 38, 0.78) !important;
    border-color: rgba(100, 180, 255, 0.20) !important;

    backdrop-filter: blur(10px);
}

input:focus {
    border-color: var(--aluxis-cyan) !important;

    box-shadow:
        0 0 0 1px rgba(34, 211, 238, 0.25) !important;
}

/* ---------------------------------------------------------
   Widgets
   --------------------------------------------------------- */

.information-widget,
.widget {
    background: rgba(4, 18, 38, 0.68) !important;

    border: 1px solid rgba(90, 180, 255, 0.18) !important;
    border-radius: 14px !important;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

footer {
    color: rgba(220, 230, 240, 0.70) !important;

    text-shadow:
        0 1px 5px rgba(0, 0, 0, 0.8);
}

/* ---------------------------------------------------------
   Scrollbar
   --------------------------------------------------------- */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.15);
}

::-webkit-scrollbar-thumb {
    background: rgba(60, 150, 220, 0.45);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(34, 211, 238, 0.65);
}
