html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
}
:root {
    --primary-color: #3583e2;
    --primary-color-rgb: 96, 165, 250;
    --secondary-color: #2563eb;
    --background-color: #0F172A;
    --surface-color: #1E293B;
    --surface-color-hover: #334155;
    --border-color: #334155;
    --text-color: #cfdae7;
    --text-color-secondary: #94A3B8;
    font-size: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:Arial, Helvetica, sans-serif;
    letter-spacing: 0.035rem;
    font-weight: 400;
    background-color: var(--background-color);
    color: var(--text-color);
}

nav {
    background-color: var(--surface-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.logo {
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

.avatar {
    height: 3rem;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    padding: 1px;
    border: 2px solid var(--text-color-secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color-secondary);
}

@media (max-width: 900px) {
    .nav-links {
        font-size: 0.75rem;
        gap: 1rem;
        padding: 0.5rem 1rem;
    }

    .logo {
        font-size: 1rem;
        color: var(--primary-color);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .logo-img {
        height: 1.5rem;
        width: auto;
        object-fit: contain;
    }

    .avatar {
        height: 1.5rem;
        width: 1.5rem;
        object-fit: contain;
        border-radius: 50%;
        padding: 1px;
        border: 2px solid var(--text-color-secondary);
    }
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.login-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.login-btn:hover {
    background-color: var(--secondary-color);
}

.home-container {
    max-width: 1200px;
    margin: 4rem auto;
    text-align: center;
    padding: 0 1rem;
}

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.home-container h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.home-container p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: all 0.2s;
}

.cta-button:first-child {
    background-color: var(--primary-color);
    color: white;
}

.cta-button.secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tooltip-floating {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    font-size: 20px;
    color: var(--text-color-secondary);
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: background-color 0.2s, border-color 0.2s;
}

.tooltip-floating img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: invert(1);
}

.tooltip-floating:hover {
    background-color: var(--surface-color-hover);
    border-color: var(--primary-color);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--surface-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 6px;
    border: 3px solid var(--surface-color);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color);
}

::-webkit-scrollbar-corner {
    display: none;
}

.tooltip-floating .tooltip-text {
    visibility: hidden;
    opacity: 0;
    background-color: var(--surface-color);
    color: var(--text-color);
    text-align: left;
    border-radius: 6px;
    padding: 12px;
    position: absolute;
    bottom: 120%;
    right: 0;
    white-space: nowrap;
    font-size: 0.85rem;
    font-family: Arial, Helvetica, sans-serif;
    z-index: 1001;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
}

.tooltip-floating .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 12px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--surface-color) transparent transparent transparent;
}

.tooltip-floating:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.disclaimer-tooltip {
    right: 1rem;
}

.shortcuts-tooltip {
    right: 4rem;
}

.environments-tooltip {
    right: 7rem;
}

.shortcuts-text,
.environments-text {
    min-width: 200px;
    white-space: normal;
}

.shortcuts-text h4,
.environments-text h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.shortcuts-text ul,
.environments-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shortcuts-text li,
.environments-text li {
    margin: 0.25rem 0;
    color: var(--text-color-secondary);
}

.environments-text li {
    padding-left: 1rem;
    position: relative;
}

.environments-text li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Ensure text in tooltips is properly styled */
.tooltip-floating:not(:has(img)) {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

/* Ensure tooltip text is properly sized */
.tooltip-floating .tooltip-text:not(.shortcuts-text):not(.environments-text) {
    min-width: 300px;
    white-space: normal;
    text-align: center;
}

  
web {
    display: none;
}