:root {
    --bg-black: #000000;
    --deep-teal: #008080;
    --electric-orange: #FF5733;
    --text-white: #ffffff;
    --font-inter: 'Inter', sans-serif;
}

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

body,
html {
    width: 100%;
    height: 100%;
    background: url('../common_assets/background-blur.png') no-repeat center center;
    background-size: cover;
    font-family: var(--font-inter);
    color: var(--text-white);
    overflow: hidden;
}

.app-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Grid Background */
.lab-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 128, 128, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 128, 128, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    opacity: 0.5;
}

/* AI Orb */
.orb-container {
    position: absolute;
    top: 15%;
    z-index: 10;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.orb-container.listening {
    transform: scale(1.1);
    animation: listen-pulse 0.5s infinite alternate;
}

.orb-glow {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--deep-teal);
    filter: blur(30px);
    opacity: 0.6;
    z-index: 1;
}

.orb-outer-glass {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 3;
}

.orb-core {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, var(--deep-teal) 100%);
    box-shadow: 0 0 20px var(--deep-teal);
    z-index: 2;
}

@keyframes listen-pulse {
    0% {
        opacity: 0.8;
        box-shadow: 0 0 20px var(--deep-teal);
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 40px var(--deep-teal);
        transform: scale(1.05);
    }
}

.message-wrapper {
    position: absolute;
    top: 22%;
    width: 100%;
    padding: 0 24px;
    text-align: center;
    z-index: 10;
}

.ai-text {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    min-height: 60px;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: var(--electric-orange);
    vertical-align: middle;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Glass Pane */
.glass-pane {
    position: absolute;
    top: 35%;
    width: 90%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 24px;
    z-index: 10;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.glass-pane.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    margin-bottom: -10px;
}

.tiles-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

.glass-tile {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-tile span {
    font-size: 0.85rem;
    font-weight: 600;
}

.glass-tile svg {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.glass-tile.active {
    border-color: rgba(255, 87, 51, 0.5);
    box-shadow: inset 0 0 25px rgba(255, 87, 51, 0.3), 0 5px 15px rgba(0, 0, 0, 0.3);
}

.glass-tile.active svg {
    color: var(--electric-orange);
}

.glass-tile::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.glass-tile.ripple::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
}

/* Slider */
.slider-container {
    width: 100%;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    z-index: 2;
    position: absolute;
    top: 12px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--electric-orange);
    cursor: pointer;
    box-shadow: 0 0 15px var(--electric-orange);
    transition: transform 0.1s;
}

.slider::-webkit-slider-thumb:active {
    transform: scale(1.2);
}

.slider-fill {
    position: absolute;
    height: 6px;
    background: var(--electric-orange);
    border-radius: 3px;
    top: 12px;
    left: 0;
    z-index: 1;
    transition: width 0.1s;
    box-shadow: 0 0 10px var(--electric-orange);
    opacity: 0.5;
}

/* Submenu */
.submenu {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 16px;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: opacity 0.4s, max-height 0.4s;
    overflow: hidden;
    opacity: 1;
    max-height: 200px;
}

.submenu.hidden {
    opacity: 0;
    max-height: 0;
    padding: 0 16px;
    border: none;
    margin-top: 0;
}

.submenu p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-bottom: 12px;
}

.submenu-actions {
    display: flex;
    gap: 8px;
}

.btn-sub {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
}

.btn-sub.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-continue {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--electric-orange);
    color: white;
    border: none;
    transition: opacity 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(255, 87, 51, 0.3);
}

.btn-continue.hidden {
    opacity: 0;
    pointer-events: none;
}

.btn-continue:active {
    transform: scale(0.98);
}
.cuesz-logo {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    z-index: 100;
}
