* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: radial-gradient(ellipse at 30% 20%, #0a0e1a, #000000);
    font-family: 'Inter', 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.8rem;
}

/* Main glass container */
.hyperion {
    max-width: 1350px;
    width: 100%;
    background: rgba(4, 7, 18, 0.72);
    backdrop-filter: blur(18px);
    border-radius: 3rem;
    border: 1px solid rgba(80, 110, 180, 0.4);
    box-shadow: 0 35px 55px -25px black, inset 0 1px 0 rgba(255,255,255,0.04);
    padding: 2rem 2rem 2rem;
    transition: all 0.2s;
}

/* Header */
.aurora-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(80, 105, 165, 0.4);
    padding-bottom: 1.2rem;
}
.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(125deg, #EFF3FF, #B2C9FF, #7F9EFF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}
.logo p {
    font-size: 0.7rem;
    color: #9dabcf;
    margin-top: 4px;
}
.status-chip {
    background: #0c1124cc;
    padding: 0.45rem 1.3rem;
    border-radius: 80px;
    border: 0.5px solid #3e4a74;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d2e3ff;
}
.green-dot {
    width: 9px;
    height: 9px;
    background: #2affb6;
    border-radius: 50%;
    animation: pulseDot 1.3s infinite;
}
@keyframes pulseDot { 0% { opacity: 0.5; transform: scale(0.7); } 100% { opacity: 1; transform: scale(1.2); } }

/* 2 column layout */
.dual-panel {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 1.8rem;
    margin: 1.8rem 0 1.5rem;
}
@media (max-width: 800px) {
    .dual-panel { grid-template-columns: 1fr; gap: 1.8rem; }
    .hyperion { padding: 1.4rem; }
}

/* Cards */
.glass-card {
    background: rgba(0, 2, 12, 0.55);
    backdrop-filter: blur(4px);
    border-radius: 2rem;
    border: 1px solid rgba(70, 95, 150, 0.45);
    padding: 1.4rem 1.6rem;
}
.section-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
    color: #b7c6f0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Text area */
.text-pot textarea {
    width: 100%;
    background: #01030c;
    border: 1px solid #2a345a;
    border-radius: 1.6rem;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    font-family: inherit;
    color: #F0F4FF;
    resize: vertical;
    outline: none;
    transition: 0.2s;
}
.text-pot textarea:focus { border-color: #7c9aff; box-shadow: 0 0 0 3px rgba(100, 140, 255, 0.25); }
.stats-row {
    display: flex;
    gap: 1rem;
    margin-top: 10px;
    font-size: 0.7rem;
    color: #8f9fc9;
}
.chip-sm {
    background: #0e1326;
    padding: 0.2rem 1rem;
    border-radius: 40px;
}

/* Language Button & Dropdown */
.lang-selector-area {
    margin-top: 1.2rem;
    position: relative;
}
.lang-trigger {
    background: linear-gradient(95deg, #151e36, #0c1126);
    border: 1px solid #5366a0;
    padding: 0.7rem 1.2rem;
    border-radius: 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #E5F0FF;
    transition: 0.2s;
}
.lang-trigger:hover { background: #1f2b4e; border-color: #7b97f0; }
.lang-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #0b1022e6;
    backdrop-filter: blur(20px);
    border: 1px solid #475c97;
    border-radius: 1.5rem;
    max-height: 260px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    margin-bottom: 8px;
    padding: 0.6rem 0;
    box-shadow: 0 15px 30px -12px black;
}
.lang-dropdown.show { display: block; animation: fadeSlide 0.2s ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.lang-option {
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.1s;
    color: #dae6ff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lang-option:hover { background: #233062; color: white; }
.lang-option.selected { background: #2d3f7a; color: white; }

/* Voice Engine Section - Pure Gender Filter */
.voice-gender {
    display: flex;
    gap: 12px;
    margin-bottom: 1rem;
}
.gender-pill {
    background: #0f1428;
    border: 1px solid #394873;
    padding: 0.35rem 1.2rem;
    border-radius: 3rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.1s;
    color: #cbdaff;
}
.gender-pill.active { background: #2c3f77; border-color: #7f9eff; color: white; box-shadow: 0 0 6px #4a6ad6; }
select {
    background: #0b1022;
    border: 1px solid #3a4670;
    border-radius: 2rem;
    padding: 0.7rem 1rem;
    width: 100%;
    color: white;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}
select option { background: #0f1430; }
.slider-pack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.2rem 0;
}
.slider-unit {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.slider-unit label { min-width: 55px; font-size: 0.8rem; color: #c2d0fc; }
input[type="range"] { flex: 2; height: 5px; -webkit-appearance: none; background: #1f2948; border-radius: 10px; }
input[type="range"]::-webkit-slider-thumb { width: 15px; height: 15px; background: #94adff; border-radius: 50%; cursor: pointer; }
.val-badge { background: #0d132a; padding: 0.2rem 0.8rem; border-radius: 2rem; font-size: 0.7rem; min-width: 50px; text-align: center; }

/* Visualizer */
canvas {
    width: 100%;
    height: 95px;
    background: #030613;
    border-radius: 1.5rem;
    display: block;
    margin-top: 0.3rem;
}

/* Buttons */
.action-fleet {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0 0.8rem;
}
.neo-button {
    background: #12182a;
    border: 1px solid #40507e;
    padding: 0.7rem 1.8rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #edf3ff;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.neo-primary { background: linear-gradient(110deg, #1f2d5a, #111833); border-color: #728be7; box-shadow: 0 6px 12px -8px black; }
.neo-primary:hover { background: #2c3f78; transform: translateY(-2px); }
.neo-button:hover { background: #1e2748; border-color: #6b87ed; transform: scale(0.97); }
footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1.2rem;
    font-size: 0.68rem;
    color: #6d7da8;
}
.toast-notify {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: #111a2bd9;
    backdrop-filter: blur(16px);
    padding: 8px 28px;
    border-radius: 50px;
    border: 1px solid #7b96f0;
    color: #fff;
    font-size: 0.8rem;
    z-index: 9999;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
}
.voice-engine-title {
    font-size: 0.85rem;
    font-weight: 600;
    background: #1e2a4e;
    display: inline-block;
    padding: 0.2rem 0.9rem;
    border-radius: 40px;
    margin-bottom: 0.8rem;
    color: #bdd3ff;
}