/* Base page styling */
:root { 
    --text: white;
    --text-muted: #cbd7f8;
}

* {
    box-sizing: border-box;
}

body {
    background: rgba(190, 190, 191, 0.48);
    margin: 0; 
    display: flex;
    flex-direction: column;
    font-family: "Inter", "Poppins", sans-serif;
    color: var(--text);
    /*background: radial-gradient(circle at top left, rgba(100, 180, 255, 0.14), transparent 22%),
                radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 20%),
                linear-gradient(180deg, #05123f 0%, #031028 100%);*/
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(255,255,255,0.05), transparent 35%),
        linear-gradient(240deg, rgba(100,180,255,0.06), transparent 30%);
}

/* Header styling */
header {
    position: sticky;
    top: 0;
    background: rgb(0, 8, 23);
    border-bottom: 1px solid rgba(15, 15, 102, 0.283);
    backdrop-filter: blur(18px);
    display: flex;
    justify-content: space-between;
    z-index: 100;
    padding: 0 50px;
}

/* Header platform logo and name */ 
header > div {
    margin: 0;
    padding: 1.5rem;
}

header > div > h1 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.5;
    color: #ffffff;
}

/* Header navigation styling */
nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav ul {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a,
nav li {
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    padding: 0.55rem 0.65rem;
    position: relative;
}

nav a:hover,
nav li:hover > a {
    color: #ffffff;
    font-weight: bold;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

nav ul a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: white;
    transition: transform 180ms ease;
    transform-origin: left;
    transform: scaleX(0);
}

nav ul a:hover::after {
    transform: scaleX(1);
}
nav > div {
    display: flex;
    align-items: center;
    gap: 1rem;
}

        .profile-section {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 16px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }
        
        .avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--soft-blue), #0B4F9A);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-weight: 700;
            font-size: 1.1rem;
            box-shadow: 0 4px 12px rgba(11, 79, 154, 0.3);
        }
        
        .user-info {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        
        .user-info .name {
            font-weight: 600;
            color: var(--white);
            font-size: 0.95rem;
        }
        
        .user-info .email {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.82rem;
        }
        
        
        .logout-btn {
            background: #E74C3C !important;
            color: var(--white) !important;
            border-radius: 8px !important;
        }
        
        .logout-btn:hover {
            background: #C0392B !important;
        }


main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    display: grid;
    gap: 2.5rem;
    flex: 1;
}

section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(360deg, rgba(11, 33, 84, 0.88), rgb(1, 7, 18));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 28px;
    padding: 2.4rem;
    box-shadow: var(--shadow);
}

section:first-of-type button {
    appearance: none;
    border: none;
    border-radius: 999px;
    padding: 0.95rem 1.8rem;
    font-size: 0.99rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

section:first-of-type button:first-of-type {
    background: linear-gradient(135deg, rgba(100, 180, 255, 0.95), rgba(2, 45, 92, 0.08));
    color: #e7f3ff;
    box-shadow: 0 20px 40px rgba(49, 151, 255, 0.32);
}

/*section:first-of-type button:last-of-type {
    background: rgba(255, 255, 255, 0.08);
    color: #e7f3ff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}*/

section:first-of-type button:hover {
    transform: translateY(-4px);
}

section:first-of-type button:first-of-type:hover {
    box-shadow: 0 24px 48px rgba(49, 151, 255, 0.4);
}

/*section:first-of-type button:last-of-type:hover {
    box-shadow: 0 24px 48px rgba(49, 151, 255, 0.4);
}


/*#free_demo_session_button {
    background: linear-gradient(90deg, #ffffff 0%, #e6f0ff 50%, #ffffff 100%);
    color: #05123f;
    border: none;
    border-radius: 50px;
    padding: 1.25rem 1.5rem;
    font-size: 0.99rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    box-shadow: 0 6px 18px rgba(49,151,255,0.18), 0 0 12px rgba(49,151,255,0.08) inset;
    position: relative;
    z-index: 0;
    animation: demo-glow 2.2s ease-in-out infinite, demo-blink 3s linear infinite;
}

/* Glowy outer pulse */
/*@keyframes demo-glow {
    0% {
        box-shadow: 0 6px 18px rgba(49,151,255,0.08), 0 0 0 rgba(49,151,255,0.0);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 18px 40px rgba(49,151,255,0.26), 0 15px 20px rgba(49,151,255,0.12);
        transform: translateY(-2px);
    }
    100% {
        box-shadow: 0 6px 18px rgba(49,151,255,0.08), 0 0 0 rgba(49,151,255,0.0);
        transform: translateY(0);
    }
}

/* Subtle blinking highlight (changes brightness) */
/*@keyframes demo-blink {
    0%, 20% { filter: brightness(1); }
    30% { filter: brightness(1.25); }
    40% { filter: brightness(1); }
    60% { filter: brightness(1); }
    70% { filter: brightness(1.2); }
    100% { filter: brightness(1); }
}
*/

section::before {
    content: "";
    position: absolute;
    inset: -20% 40% auto auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(102, 178, 255, 0.16), transparent 55%);
    filter: blur(18px);
    pointer-events: none;
}

section:nth-child(even)::before {
    inset: -18% auto auto 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 55%);
}

section h2 {
    margin-top: 0;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #ffffff;
}

section p,
section li {
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 1rem;
}

section ul {
    margin: 1.6rem 0 0;
    padding-left: 1.35rem;
}

section ul li {
    margin-bottom: 1rem;
}

.services .service-grid {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.services .service-grid li {
    margin: 0;
    padding: 1.6rem 1.6rem;
    border-radius: 24px;
    background: rgba(2, 18, 50, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.services .service-grid li:hover {
    transform: translateY(-4px);
    border-color: rgba(100, 180, 255, 0.4);
    background: rgba(2, 18, 50, 0.96);
}

.services .service-grid li a {
    display: grid;
    gap: 0.5rem;
    color: var(--text);
    text-decoration: none;
    position: static;
}

.services .service-grid li a::after {
    content: none;
}

.services .service-grid li strong {
    display: block;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.services .service-grid li span {
    color: var(--text-muted);
    line-height: 1.75;
}



#contact ul {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: block;
}

#contact li {
    margin-bottom: 1rem;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

#contact li strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

#contact li a {
    color: var(--accent-strong);
    word-break: break-word;
}

footer {
    position: sticky;
    bottom: 0;
    z-index: 10;
    text-align: center;
    padding: 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    background: rgba(2, 18, 50, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

@media (max-width: 900px) {
    header > div,
    main {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    nav ul {
        justify-content: center;
    }
}

@media (max-width: 720px) {
    header > div {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        width: 100%;
        justify-content: flex-start;
        gap: 0.75rem;
    }

    section {
        padding: 1.8rem;
    }

    section:first-of-type {
        grid-template-columns: 1fr;
    }

    section h2 {
        font-size: 2rem;
    }

    main {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }
}

        
        
        